Skip to content

Integration Test

Integration Test #83

Manually triggered October 25, 2024 10:51
Status Failure
Total duration 20s
Artifacts

integration-test.yml

on: workflow_dispatch
deploy-and-run
10s
deploy-and-run
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
deploy-and-run
ERROR: unrecognized arguments: schema: https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#, contentVersion: 1.0.0.0, parameters: ***, variables: *** vmName: [parameters('vmName')], nsgName: [parameters('vmName')]-nsg, location: [parameters('location')] ***, parameters: *** vmName: *** type: string, defaultValue: integration-test-vm ***, location: *** type: string, defaultValue: eastus *** ***, resources: [ *** type: Microsoft.Network/publicIPAddresses, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-ip')], location: [variables('location')], sku: *** name: Basic ***, properties: *** publicIPAllocationMethod: Dynamic *** ***, *** type: Microsoft.Network/virtualNetworks, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-vnet')], location: [variables('location')], properties: *** addressSpace: *** addressPrefixes: [10.0.0.0/16] ***, subnets: [ *** name: default, properties: *** addressPrefix: 10.0.0.0/24 *** *** ] *** ***, *** type: Microsoft.Network/networkSecurityGroups, apiVersion: 2021-02-01, name: [variables('nsgName')], location: [variables('location')], properties: *** securityRules: [ *** name: allow-ssh, properties: *** priority: 1000, protocol: Tcp, access: Allow, direction: Inbound, sourceAddressPrefix: *, sourcePortRange: *, destinationAddressPrefix: *, destinationPortRange: 22 *** ***, *** name: allow-4000, properties: *** priority: 1010, protocol: Tcp, access: Allow, direction: Inbound, sourceAddressPrefix: *, sourcePortRange: *, destinationAddressPrefix: *, destinationPortRange: 4000 *** *** ] *** ***, *** type: Microsoft.Network/networkInterfaces, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-nic')], location: [variables('location')], dependsOn: [ [resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))], [resourceId('Microsoft.Network/virtualNetworks', concat(variables('vmName'), '-vnet'))], [resourceId('Microsoft.Network/networkSecurityGroups', variables('nsgName'))] ], properties: *** ipConfigurations: [ *** name: ipconfig1, properties: *** privateIPAllocationMethod: Dynamic, publicIPAddress: *** id: [resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))] ***, subnet: *** id: [resourceId('Microsoft.Network/virtualNetworks/subnets', concat(variables('vmName'), '-vnet'), 'default')] *** *** *** ], networkSecurityGroup: *** id: [resourceId('Microsoft.Network/networkSecurityGroups', variables('nsgName'))] *** *** ***, *** type: Microsoft.Compute/virtualMachines, apiVersion: 2021-03-01, name: [variables('vmName')], location: [variables('location')], dependsOn: [ [resourceId('Microsoft.Network/networkInterfaces', concat(variables('vmName'), '-nic'))] ], properties: *** hardwareProfile: *** vmSize: Standard_D16_v5 ***, osProfile: *** computerName: [variables('vmName')], adminUsername: azureuser, linuxConfiguration: *** disablePasswordAuthentication: true, ssh: *** publicKeys: [ *** path: /home/azureuser/.ssh/authorized_keys, keyData: *** *** ] *** *** ***, storageProfile: *** imageReference: *** publisher: Canonical, offer: 0001-com-ubuntu-server-jammy, sku: 22_04-lts, version: latest ***, osDisk: *** createOption: FromImage *** ***, networkProfile: *** networkInterfaces: [ *** id: [resourceId('Microsoft.Network/networkInterfaces', concat(variables('vmName'), '-nic'))] *** ] *** *** *** ], outputs: *** publicIpAddress: *** type: string, value: [reference(resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))).ipAddress] *** *** ***
deploy-and-run
Examples from AI knowledge base: az deployment group create --resource-group testgroup --template-file demotemplate.json --parameters exampleString='inline Create a deployment at resource group from a local template file, using parameters from an array string. az deployment group create --parameters '*** \"policyName\": *** \"value\": \"policy2\" *** ***' --resource-group testgroup --template-uri https://myresource/azuredeploy.json Start a deployment at resource group. (autogenerated) https://docs.microsoft.com/en-US/cli/azure/deployment/group#az_deployment_group_create Read more about the command in reference docs
deploy-and-run
Error: Deployment failed.
deploy-and-run
ERROR: unrecognized arguments: schema: https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#, contentVersion: 1.0.0.0, parameters: ***, variables: *** vmName: [parameters('vmName')], nsgName: [parameters('vmName')]-nsg, location: [parameters('location')] ***, parameters: *** vmName: *** type: string, defaultValue: integration-test-vm ***, location: *** type: string, defaultValue: eastus *** ***, resources: [ *** type: Microsoft.Network/publicIPAddresses, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-ip')], location: [variables('location')], sku: *** name: Basic ***, properties: *** publicIPAllocationMethod: Dynamic *** ***, *** type: Microsoft.Network/virtualNetworks, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-vnet')], location: [variables('location')], properties: *** addressSpace: *** addressPrefixes: [10.0.0.0/16] ***, subnets: [ *** name: default, properties: *** addressPrefix: 10.0.0.0/24 *** *** ] *** ***, *** type: Microsoft.Network/networkSecurityGroups, apiVersion: 2021-02-01, name: [variables('nsgName')], location: [variables('location')], properties: *** securityRules: [ *** name: allow-ssh, properties: *** priority: 1000, protocol: Tcp, access: Allow, direction: Inbound, sourceAddressPrefix: *, sourcePortRange: *, destinationAddressPrefix: *, destinationPortRange: 22 *** ***, *** name: allow-4000, properties: *** priority: 1010, protocol: Tcp, access: Allow, direction: Inbound, sourceAddressPrefix: *, sourcePortRange: *, destinationAddressPrefix: *, destinationPortRange: 4000 *** *** ] *** ***, *** type: Microsoft.Network/networkInterfaces, apiVersion: 2021-02-01, name: [concat(variables('vmName'), '-nic')], location: [variables('location')], dependsOn: [ [resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))], [resourceId('Microsoft.Network/virtualNetworks', concat(variables('vmName'), '-vnet'))], [resourceId('Microsoft.Network/networkSecurityGroups', variables('nsgName'))] ], properties: *** ipConfigurations: [ *** name: ipconfig1, properties: *** privateIPAllocationMethod: Dynamic, publicIPAddress: *** id: [resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))] ***, subnet: *** id: [resourceId('Microsoft.Network/virtualNetworks/subnets', concat(variables('vmName'), '-vnet'), 'default')] *** *** *** ], networkSecurityGroup: *** id: [resourceId('Microsoft.Network/networkSecurityGroups', variables('nsgName'))] *** *** ***, *** type: Microsoft.Compute/virtualMachines, apiVersion: 2021-03-01, name: [variables('vmName')], location: [variables('location')], dependsOn: [ [resourceId('Microsoft.Network/networkInterfaces', concat(variables('vmName'), '-nic'))] ], properties: *** hardwareProfile: *** vmSize: Standard_D16_v5 ***, osProfile: *** computerName: [variables('vmName')], adminUsername: azureuser, linuxConfiguration: *** disablePasswordAuthentication: true, ssh: *** publicKeys: [ *** path: /home/azureuser/.ssh/authorized_keys, keyData: *** *** ] *** *** ***, storageProfile: *** imageReference: *** publisher: Canonical, offer: 0001-com-ubuntu-server-jammy, sku: 22_04-lts, version: latest ***, osDisk: *** createOption: FromImage *** ***, networkProfile: *** networkInterfaces: [ *** id: [resourceId('Microsoft.Network/networkInterfaces', concat(variables('vmName'), '-nic'))] *** ] *** *** *** ], outputs: *** publicIpAddress: *** type: string, value: [reference(resourceId('Microsoft.Network/publicIPAddresses', concat(variables('vmName'), '-ip'))).ipAddress] *** *** ***
deploy-and-run
Examples from AI knowledge base: az deployment group validate --resource-group testrg --template-file ***template-file*** Validate whether a template is valid at resource group. az deployment group validate --parameters MyValue=This [email protected] --resource-group testrg --template-uri https://myresource/azuredeploy.json Validate whether a template is valid at resource group. (autogenerated) https://docs.microsoft.com/en-US/cli/azure/deployment/group#az_deployment_group_validate Read more about the command in reference docs
deploy-and-run
Template validation failed.