FailedConsole Output

Started by user aguilard
Obtained jenkins/public-clouds-tests/Jenkinsfile from git https://osm.etsi.org/gerrit/osm/devops
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm worker 4 in /home/jenkins/workspace/azure_robot_tests
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops
 > git --version # timeout=10
 > git fetch --tags --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision bff5fd071257f0e285b9806374d78cb0c91f95df (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bff5fd071257f0e285b9806374d78cb0c91f95df
Commit message: "Feature 10982: adapt Jenkinsfile for public clouds to work with ETSI Jenkins"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] sh
[azure_robot_tests] Running shell script
+ docker pull opensourcemano/tests:testing-daily
testing-daily: Pulling from opensourcemano/tests
Digest: sha256:42b3f6723f8d7a57b69359b99fa2c8611fb711411445d3cc09f8517d92b59fd0
Status: Image is up to date for opensourcemano/tests:testing-daily
docker.io/opensourcemano/tests:testing-daily
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[azure_robot_tests] Running shell script
+ docker inspect -f . opensourcemano/tests:testing-daily
.
[Pipeline] withDockerContainer
osm worker 4 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -u root:root --entrypoint= -w /home/jenkins/workspace/azure_robot_tests -v /home/jenkins/workspace/azure_robot_tests:/home/jenkins/workspace/azure_robot_tests:rw,z -v /home/jenkins/workspace/azure_robot_tests@tmp:/home/jenkins/workspace/azure_robot_tests@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat opensourcemano/tests:testing-daily
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Set environment)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[azure_robot_tests] Running shell script
+ mkdir -m 700 /root/.ssh
[Pipeline] sh
[azure_robot_tests] Running shell script
+ ssh-keygen -t rsa -f /root/.ssh/id_rsa -N 
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa
Your public key has been saved in /root/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:W1taf0LtDL8UgfmTBzmyieTgfW2PLkSs0SZ4+xL9xVE root@206cdfbc1028
The key's randomart image is:
+---[RSA 3072]----+
|                 |
|              o.E|
|        ...o.o+..|
|       ..=+.==.=o|
|        S.=O* =*+|
|         o+*o+ B*|
|        . o+ .+o*|
|          . o.oo.|
|           . ... |
+----[SHA256]-----+
[Pipeline] sh
[azure_robot_tests] Running shell script
+ cp /root/.ssh/id_rsa /root/osm_id_rsa
[Pipeline] sh
[azure_robot_tests] Running shell script
+ echo Reading credential azure-credentials
Reading credential azure-credentials
[Pipeline] }
[Pipeline] // script
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] sh
[azure_robot_tests] Running shell script
+ cp **** /root/azure-creds.json
[Pipeline] sh
[azure_robot_tests] Running shell script
+ set +x
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "e6746ab5-ebdc-4e9d-821b-a71bdaf63d9b",
    "id": "8fb7e78d-097b-413d-bc65-41d29be6bab1",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Azure in Open",
    "state": "Enabled",
    "tenantId": "e6746ab5-ebdc-4e9d-821b-a71bdaf63d9b",
    "user": {
      "name": "7c5ba2e6-2013-49a0-bf9a-f2592030f7ff",
      "type": "servicePrincipal"
    }
  }
]
[Pipeline] sh
[azure_robot_tests] Running shell script
+ az vm list -o table
Name                 ResourceGroup       Location    Zones
-------------------  ------------------  ----------  -------
osmtest202311201121  OSM_CICD_GROUP      westeurope
vm-CICD-Host         OSM_CICD_GROUP      westeurope  1
vm-VPN-Host          OSM_GROUP           westeurope
VPN-Gateway          OSM_GROUP           westeurope
vm-Hackfest-Host     OSM_HACKFEST_GROUP  westeurope
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Create k8s cluster)
[Pipeline] sh
[azure_robot_tests] Running shell script
+ /robot-systest/cloud-scripts/create-k8s.sh
Creating a new IaaS k8s cluster in azure
+ az vm create --resource-group OSM_CICD_GROUP --name k8stest202311210707 --image Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest --size Standard_A2_v2 --vnet-name OSM-CICD-net --subnet OSM-CICD-subnet --public-ip-address '' --admin-username ubuntu --priority Regular
Selecting "uksouth" may reduce your costs. The region you've selected may cost more for the same services. You can disable this message in the future with the command "az config set core.display_region_identified=false". Learn more at https://go.microsoft.com/fwlink/?linkid=222571 

WARNING: Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch.
{
  "fqdns": "",
  "id": "/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Compute/virtualMachines/k8stest202311210707",
  "location": "westeurope",
  "macAddress": "60-45-BD-8E-42-69",
  "powerState": "VM running",
  "privateIpAddress": "172.21.23.11",
  "publicIpAddress": "",
  "resourceGroup": "OSM_CICD_GROUP",
  "zones": ""
}
++ az vm show -d -g OSM_CICD_GROUP -n k8stest202311210707 --query privateIps
++ tr -d '"'
+ export K8S_IP=172.21.23.11
+ K8S_IP=172.21.23.11
++ az vm show --resource-group OSM_CICD_GROUP --name k8stest202311210707 --query 'networkProfile.networkInterfaces[0].id'
+ INTERFACE_ID='"/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkInterfaces/k8stest202311210707VMNic"'
+ INTERFACE_ID=/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkInterfaces/k8stest202311210707VMNic
++ az network nic show --id /subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkInterfaces/k8stest202311210707VMNic --query networkSecurityGroup.id
+ SECURITY_GROUP_ID='"/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkSecurityGroups/k8stest202311210707NSG"'
+ SECURITY_GROUP_ID=/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkSecurityGroups/k8stest202311210707NSG
++ az resource show --ids /subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkSecurityGroups/k8stest202311210707NSG --query name
+ SECURITY_GROUP_NAME='"k8stest202311210707NSG"'
+ SECURITY_GROUP_NAME=k8stest202311210707NSG
+ az network nsg rule create -n microk8s --nsg-name k8stest202311210707NSG --priority 2000 -g OSM_CICD_GROUP --description 'Microk8s port' --protocol TCP --destination-port-ranges 16443
{
  "access": "Allow",
  "description": "Microk8s port",
  "destinationAddressPrefix": "*",
  "destinationAddressPrefixes": [],
  "destinationPortRange": "16443",
  "destinationPortRanges": [],
  "direction": "Inbound",
  "etag": "W/\"5949a3cc-d834-4a1c-9461-429747694f4d\"",
  "id": "/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Network/networkSecurityGroups/k8stest202311210707NSG/securityRules/microk8s",
  "name": "microk8s",
  "priority": 2000,
  "protocol": "Tcp",
  "provisioningState": "Succeeded",
  "resourceGroup": "OSM_CICD_GROUP",
  "sourceAddressPrefix": "*",
  "sourceAddressPrefixes": [],
  "sourcePortRange": "*",
  "sourcePortRanges": [],
  "type": "Microsoft.Network/networkSecurityGroups/securityRules"
}
+ echo 'export K8S_IP="172.21.23.11"'
+ echo 'export K8S_IMAGE_NAME="k8stest202311210707"'
+ install_remote_microk8s
+ set +e
+ ssh -T -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@172.21.23.11 'sudo apt-get update -y && sudo apt-get upgrade -y && sudo reboot'
Warning: Permanently added '172.21.23.11' (ED25519) to the list of known hosts.
Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:6 http://azure.archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1194 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [251 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [16.1 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1159 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [188 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [520 B]
Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [998 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [219 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22.1 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [41.6 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [9768 B]
Get:22 http://azure.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B]
Get:23 http://azure.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [64.2 kB]
Get:24 http://azure.archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [10.5 kB]
Get:25 http://azure.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]
Get:26 http://azure.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
Get:27 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.8 kB]
Get:28 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.4 kB]
Get:29 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B]
Get:30 http://azure.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
Get:31 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [954 kB]
Get:32 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [188 kB]
Get:33 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11.4 kB]
Get:34 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1093 kB]
Get:35 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [178 kB]
Get:36 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [520 B]
Get:37 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [795 kB]
Get:38 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [147 kB]
Get:39 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16.8 kB]
Get:40 http://azure.archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36.5 kB]
Get:41 http://azure.archive.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7060 B]
Get:42 http://azure.archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B]
Fetched 28.4 MB in 16s (1755 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
  ubuntu-advantage-tools
The following packages will be upgraded:
  apt apt-utils kpartx libapt-pkg6.0 libgssapi-krb5-2 libk5crypto3 libkrb5-3
  libkrb5support0 libprocps8 linux-cloud-tools-common linux-tools-common
  multipath-tools procps python3-urllib3
14 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 4387 kB of archives.
After this operation, 5120 B disk space will be freed.
Get:1 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapt-pkg6.0 amd64 2.4.11 [912 kB]
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt amd64 2.4.11 [1363 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt-utils amd64 2.4.11 [211 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libk5crypto3 amd64 1.19.2-2ubuntu0.3 [86.3 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libkrb5support0 amd64 1.19.2-2ubuntu0.3 [32.2 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libkrb5-3 amd64 1.19.2-2ubuntu0.3 [356 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgssapi-krb5-2 amd64 1.19.2-2ubuntu0.3 [144 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libprocps8 amd64 2:3.3.17-6ubuntu2.1 [36.2 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 procps amd64 2:3.3.17-6ubuntu2.1 [378 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-cloud-tools-common all 5.15.0-89.99 [102 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-tools-common all 5.15.0-89.99 [308 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-urllib3 all 1.26.5-1~exp1ubuntu0.1 [98.2 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 kpartx amd64 0.8.8-1ubuntu1.22.04.3 [28.7 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 multipath-tools amd64 0.8.8-1ubuntu1.22.04.3 [331 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 4387 kB in 0s (22.1 MB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61559 files and directories currently installed.)
Preparing to unpack .../libapt-pkg6.0_2.4.11_amd64.deb ...
Unpacking libapt-pkg6.0:amd64 (2.4.11) over (2.4.10) ...
Setting up libapt-pkg6.0:amd64 (2.4.11) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61559 files and directories currently installed.)
Preparing to unpack .../archives/apt_2.4.11_amd64.deb ...
Unpacking apt (2.4.11) over (2.4.10) ...
Setting up apt (2.4.11) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61557 files and directories currently installed.)
Preparing to unpack .../apt-utils_2.4.11_amd64.deb ...
Unpacking apt-utils (2.4.11) over (2.4.10) ...
Preparing to unpack .../libk5crypto3_1.19.2-2ubuntu0.3_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.19.2-2ubuntu0.3) over (1.19.2-2ubuntu0.2) ...
Setting up libk5crypto3:amd64 (1.19.2-2ubuntu0.3) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61557 files and directories currently installed.)
Preparing to unpack .../libkrb5support0_1.19.2-2ubuntu0.3_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.19.2-2ubuntu0.3) over (1.19.2-2ubuntu0.2) ...
Setting up libkrb5support0:amd64 (1.19.2-2ubuntu0.3) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61557 files and directories currently installed.)
Preparing to unpack .../libkrb5-3_1.19.2-2ubuntu0.3_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.19.2-2ubuntu0.3) over (1.19.2-2ubuntu0.2) ...
Setting up libkrb5-3:amd64 (1.19.2-2ubuntu0.3) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61557 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.19.2-2ubuntu0.3_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.19.2-2ubuntu0.3) over (1.19.2-2ubuntu0.2) ...
Setting up libgssapi-krb5-2:amd64 (1.19.2-2ubuntu0.3) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 61557 files and directories currently installed.)
Preparing to unpack .../0-libprocps8_2%3a3.3.17-6ubuntu2.1_amd64.deb ...
Unpacking libprocps8:amd64 (2:3.3.17-6ubuntu2.1) over (2:3.3.17-6ubuntu2) ...
Preparing to unpack .../1-procps_2%3a3.3.17-6ubuntu2.1_amd64.deb ...
Unpacking procps (2:3.3.17-6ubuntu2.1) over (2:3.3.17-6ubuntu2) ...
Preparing to unpack .../2-linux-cloud-tools-common_5.15.0-89.99_all.deb ...
Unpacking linux-cloud-tools-common (5.15.0-89.99) over (5.15.0-88.98) ...
Preparing to unpack .../3-linux-tools-common_5.15.0-89.99_all.deb ...
Unpacking linux-tools-common (5.15.0-89.99) over (5.15.0-88.98) ...
Preparing to unpack .../4-python3-urllib3_1.26.5-1~exp1ubuntu0.1_all.deb ...
Unpacking python3-urllib3 (1.26.5-1~exp1ubuntu0.1) over (1.26.5-1~exp1) ...
Preparing to unpack .../5-kpartx_0.8.8-1ubuntu1.22.04.3_amd64.deb ...
Unpacking kpartx (0.8.8-1ubuntu1.22.04.3) over (0.8.8-1ubuntu1.22.04.1) ...
Preparing to unpack .../6-multipath-tools_0.8.8-1ubuntu1.22.04.3_amd64.deb ...
Unpacking multipath-tools (0.8.8-1ubuntu1.22.04.3) over (0.8.8-1ubuntu1.22.04.1) ...
Setting up apt-utils (2.4.11) ...
Setting up linux-cloud-tools-common (5.15.0-89.99) ...
Setting up python3-urllib3 (1.26.5-1~exp1ubuntu0.1) ...
Setting up kpartx (0.8.8-1ubuntu1.22.04.3) ...
Setting up linux-tools-common (5.15.0-89.99) ...
Setting up libprocps8:amd64 (2:3.3.17-6ubuntu2.1) ...
Setting up multipath-tools (0.8.8-1ubuntu1.22.04.3) ...
The warning about having to reload systemd units can be safely ignored. Please see LP: #2035098 for details.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 142.
Removing obsolete conffile /etc/init.d/multipath-tools ...
Setting up procps (2:3.3.17-6ubuntu2.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.4) ...

Running kernel seems to be up-to-date.

Services to be restarted:
 systemctl restart packagekit.service
 systemctl restart ssh.service

Service restarts being deferred:
 systemctl restart unattended-upgrades.service
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
Connection to 172.21.23.11 closed by remote host.
+ sleep 90
+ ssh -T -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@172.21.23.11
Warning: Permanently added '172.21.23.11' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1016-azure x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Nov 21 07:11:06 UTC 2023

  System load:  0.71533203125     Processes:             126
  Usage of /:   5.8% of 28.89GB   Users logged in:       0
  Memory usage: 6%                IPv4 address for eth0: 172.21.23.11
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


+ sudo snap install yq
yq v4.35.2 from Mike Farah (mikefarah) installed
+ sudo snap install microk8s --classic
microk8s (1.28/stable) v1.28.3 from Canonical** installed
+ sudo usermod -a -G microk8s ubuntu
+ newgrp microk8s
microk8s is running
high-availability: no
  datastore master nodes: 127.0.0.1:19001
  datastore standby nodes: none
addons:
  enabled:
    dns                  # (core) CoreDNS
    ha-cluster           # (core) Configure high availability on the current node
    helm                 # (core) Helm - the package manager for Kubernetes
    helm3                # (core) Helm 3 - the package manager for Kubernetes
  disabled:
    cert-manager         # (core) Cloud native certificate management
    cis-hardening        # (core) Apply CIS K8s hardening
    community            # (core) The community addons repository
    dashboard            # (core) The Kubernetes dashboard
    gpu                  # (core) Automatic enablement of Nvidia CUDA
    host-access          # (core) Allow Pods connecting to Host services smoothly
    hostpath-storage     # (core) Storage class; allocates storage from host directory
    ingress              # (core) Ingress controller for external access
    kube-ovn             # (core) An advanced network fabric for Kubernetes
    mayastor             # (core) OpenEBS MayaStor
    metallb              # (core) Loadbalancer for your Kubernetes cluster
    metrics-server       # (core) K8s Metrics Server for API access to service metrics
    minio                # (core) MinIO object storage
    observability        # (core) A lightweight observability stack for logs, traces and metrics
    prometheus           # (core) Prometheus operator for monitoring and logging
    rbac                 # (core) Role-Based Access Control for authorisation
    registry             # (core) Private image registry exposed on localhost:32000
    rook-ceph            # (core) Distributed Ceph storage using Rook
    storage              # (core) Alias to hostpath-storage add-on, deprecated
WARNING: Do not enable or disable multiple addons in one command.
         This form of chained operations on addons will be DEPRECATED in the future.
         Please, enable one addon at a time: 'microk8s enable <addon>'
Infer repository core for addon storage
Infer repository core for addon dns
DEPRECATION WARNING: 'storage' is deprecated and will soon be removed. Please use 'hostpath-storage' instead.

Infer repository core for addon hostpath-storage
Enabling default storage class.
WARNING: Hostpath storage is not suitable for production environments.
         A hostpath volume can grow beyond the size limit set in the volume claim manifest.

deployment.apps/hostpath-provisioner created
storageclass.storage.k8s.io/microk8s-hostpath created
serviceaccount/microk8s-hostpath created
clusterrole.rbac.authorization.k8s.io/microk8s-hostpath created
clusterrolebinding.rbac.authorization.k8s.io/microk8s-hostpath created
Storage will be available soon.
Addon core/dns is already enabled
+ ssh -T -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@172.21.23.11
Warning: Permanently added '172.21.23.11' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1016-azure x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Nov 21 07:11:06 UTC 2023

  System load:  0.71533203125     Processes:             126
  Usage of /:   5.8% of 28.89GB   Users logged in:       0
  Memory usage: 6%                IPv4 address for eth0: 172.21.23.11
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


++ hostname -I
++ awk '{print $1}'
172.21.23.11
+ PRIVATE_IP=172.21.23.11
+ echo 172.21.23.11
+ sudo microk8s.enable metallb:172.21.23.11-172.21.23.11
Infer repository core for addon metallb
Enabling MetalLB
Applying Metallb manifest
customresourcedefinition.apiextensions.k8s.io/addresspools.metallb.io created
customresourcedefinition.apiextensions.k8s.io/bfdprofiles.metallb.io created
customresourcedefinition.apiextensions.k8s.io/bgpadvertisements.metallb.io created
customresourcedefinition.apiextensions.k8s.io/bgppeers.metallb.io created
customresourcedefinition.apiextensions.k8s.io/communities.metallb.io created
customresourcedefinition.apiextensions.k8s.io/ipaddresspools.metallb.io created
customresourcedefinition.apiextensions.k8s.io/l2advertisements.metallb.io created
namespace/metallb-system created
serviceaccount/controller created
serviceaccount/speaker created
clusterrole.rbac.authorization.k8s.io/metallb-system:controller created
clusterrole.rbac.authorization.k8s.io/metallb-system:speaker created
role.rbac.authorization.k8s.io/controller created
role.rbac.authorization.k8s.io/pod-lister created
clusterrolebinding.rbac.authorization.k8s.io/metallb-system:controller created
clusterrolebinding.rbac.authorization.k8s.io/metallb-system:speaker created
rolebinding.rbac.authorization.k8s.io/controller created
secret/webhook-server-cert created
service/webhook-service created
rolebinding.rbac.authorization.k8s.io/pod-lister created
daemonset.apps/speaker created
deployment.apps/controller created
validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration created
Waiting for Metallb controller to be ready.
error: timed out waiting for the condition on deployments/controller
MetalLB controller is still not ready
deployment.apps/controller condition met
ipaddresspool.metallb.io/default-addresspool created
l2advertisement.metallb.io/default-advertise-all-pools created
MetalLB is enabled
+ ssh -T -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@172.21.23.11
Warning: Permanently added '172.21.23.11' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1016-azure x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Nov 21 07:11:06 UTC 2023

  System load:  0.71533203125     Processes:             126
  Usage of /:   5.8% of 28.89GB   Users logged in:       0
  Memory usage: 6%                IPv4 address for eth0: 172.21.23.11
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


+ sudo sed -i 's/\#MOREIPS/IP.3 = 172.21.23.11/g' /var/snap/microk8s/current/certs/csr.conf.template
+ cat /var/snap/microk8s/current/certs/csr.conf.template
[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn

[ dn ]
C = GB
ST = Canonical
L = Canonical
O = Canonical
OU = Canonical
CN = 127.0.0.1

[ req_ext ]
subjectAltName = @alt_names

[ alt_names ]
DNS.1 = kubernetes
DNS.2 = kubernetes.default
DNS.3 = kubernetes.default.svc
DNS.4 = kubernetes.default.svc.cluster
DNS.5 = kubernetes.default.svc.cluster.local
IP.1 = 127.0.0.1
IP.2 = 10.152.183.1
IP.3 = 172.21.23.11

[ v3_ext ]
authorityKeyIdentifier=keyid,issuer:always
basicConstraints=CA:FALSE
keyUsage=keyEncipherment,dataEncipherment,digitalSignature
extendedKeyUsage=serverAuth,clientAuth
subjectAltName=@alt_names
+ echo ================================================================
================================================================
+ echo K8s cluster credentials:
K8s cluster credentials:
+ echo ================================================================
================================================================
+ echo

+ tee /robot-systest/results/kubeconfig.yaml
+ ssh -T -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@172.21.23.11 'sudo microk8s.config'
+ sed 's/server: .*/server: https:\/\/172.21.23.11:16443/g'
Warning: Permanently added '172.21.23.11' (ED25519) to the list of known hosts.
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREekNDQWZlZ0F3SUJBZ0lVVUJHVHNvTEhjUWNlYWJMVG5jZGNxU21NM01Nd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0Z6RVZNQk1HQTFVRUF3d01NVEF1TVRVeUxqRTRNeTR4TUI0WERUSXpNVEV5TVRBM01URTBOMW9YRFRNegpNVEV4T0RBM01URTBOMW93RnpFVk1CTUdBMVVFQXd3TU1UQXVNVFV5TGpFNE15NHhNSUlCSWpBTkJna3Foa2lHCjl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUEyWjZTZG9WNS9KZy9SU1FzTFFqcFJyZmd1VVB3bC9hNVEyck4KT2hWekpXTEw4a09zUWtqU2g1UkRrZXhvQ2VCWXdyRDgzVGZuSmxnK0ZaakMxbXJqVFFXSkp1SzBBY3JWS0tKMwowQzlCNGRrNDBjMThLMnJzL2V5U3RxSS9XMUY5cXZGZm9QMzFHMnhmWlpOWXBUcGhGWWpFSHhpVnBQd092V05qCnlYcE9SdFdHbG95QWNzV2REVkJBZ2creVBnVVhwZS9ueUVGZkRqSDFLRjBTdU5VR3IybTRva1FwZ2k0KzNoK3QKT0d2S2ljSjVHekREeUZxbHREbGNVTU5JQVQ3WTJTcWYvbFZMSWM4R1NHOHU0VUVOS3Y2L3drRTFCRUI1YXp1TApScVBpSkNuSTJRVjU0eDNDOWpXS2wweHlYYngwMWZmdThvNGN3Ym1ScC93SXFkUXE5UUlEQVFBQm8xTXdVVEFkCkJnTlZIUTRFRmdRVUdYd3psZjBaWXBYSXZFblk4ZGgySldJVlFQY3dId1lEVlIwakJCZ3dGb0FVR1h3emxmMFoKWXBYSXZFblk4ZGgySldJVlFQY3dEd1lEVlIwVEFRSC9CQVV3QXdFQi96QU5CZ2txaGtpRzl3MEJBUXNGQUFPQwpBUUVBeStmUmdaS1JPUWIxNkRmZSs3Y212QlcyVVN3WFl0TnRSNjJxejhrR29weFZzRVRpWnJib210bkNOUmoxClUrZmNnTEZlWURUNHVrSVVpbjk4aTJnTko2WGJ5ZjZkaUlhZldEMVpSRHkzRWFzQzZXRFB4alYzM21lbktMRTIKODM5U1Q4MGZuSldmb1JkcjRtOUFydm15WUl2dURlYklncFVwbmhlSEEya3Q2Q2lHcWZYSzhUMlB6K0NwMDh1agp3Tm1DbnpLY2FnNXhmRjFqZkdZZW1OV0RCSHJ6ZkVhODd5UmJRWVJCek42U0dVcmFLUU1xMUhGY1p6dGFpZDJLCmdBTFBOUXVYWHVreHd1V0NDcFRua000cWRmRDdxZnFsK1BzTmc2eEFPbEFzTFhoUis0dktmTjRuR0txeUdRNVQKTTdHYzVnK2hqR2pDUmNWUDJLUEIrTXhxZ2c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    server: https://172.21.23.11:16443
  name: microk8s-cluster
contexts:
- context:
    cluster: microk8s-cluster
    user: admin
  name: microk8s
current-context: microk8s
kind: Config
preferences: {}
users:
- name: admin
  user:
    client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN6RENDQWJTZ0F3SUJBZ0lVVzlkdmpobEZEa0ZBTnpoM0tRVXJLcDdtWXVRd0RRWUpLb1pJaHZjTkFRRUwK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Z0ZYdktUb1o1Yzl6RmJGVDRrWGd0Z2lwZGZDYWRreGtoTEphSWpMU1p4cmxOY0NjWXFQaGFxZWoKYXBIQ3pqTHhXZWJWMENtSWo2aGxDdzlpUmNOWTJFTEdmL05NdVNXTUFvK2M1QnFGdUxhdklmTGxtRGJWRkRpQQpxYXBFc0tvckg1M1FNMXc1Y2tWT3VRMldZMjFhdlJSeUdQL1pOTk9BNGJIKzlTdllLOERGCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==

+ echo 'export K8S_CREDENTIALS=/robot-systest/results/kubeconfig.yaml'
+ echo File with new environment was created at /robot-systest/results/k8s_environment.rc
File with new environment was created at /robot-systest/results/k8s_environment.rc
[Pipeline] sh
[azure_robot_tests] Running shell script
+ cat /robot-systest/results/k8s_environment.rc
export CLOUD_TYPE="azure"
export USE_PAAS_K8S="FALSE"
export K8S_IP="172.21.23.11"
export K8S_IMAGE_NAME="k8stest202311210707"
export K8S_CREDENTIALS=/robot-systest/results/kubeconfig.yaml
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install OSM)
[Pipeline] sh
[azure_robot_tests] Running shell script
+ /robot-systest/cloud-scripts/create-osm-vm.sh
+ az vm create --resource-group OSM_CICD_GROUP --name osmtest202311210714 --image Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest --size Standard_D4as_v4 --vnet-name OSM-CICD-net --subnet OSM-CICD-subnet --public-ip-address '' --admin-username ubuntu --priority Regular --os-disk-size-gb 64
Selecting "uksouth" may reduce your costs. The region you've selected may cost more for the same services. You can disable this message in the future with the command "az config set core.display_region_identified=false". Learn more at https://go.microsoft.com/fwlink/?linkid=222571 

WARNING: Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch.
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Resources/deployments/vm_deploy_VqO3um2oAjXkCD02dkFnTVMklz1DmM6G","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/8fb7e78d-097b-413d-bc65-41d29be6bab1/resourceGroups/OSM_CICD_GROUP/providers/Microsoft.Compute/virtualMachines/osmtest202311210714","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"OSProvisioningTimedOut","message":"OS Provisioning for VM 'osmtest202311210714' did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning state later. For details on how to check current provisioning state of Windows VMs, refer to https://aka.ms/WindowsVMLifecycle and Linux VMs, refer to https://aka.ms/LinuxVMLifecycle."}]}]}}
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Add VIM and K8s cluster to OSM)
Stage 'Add VIM and K8s cluster to OSM' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run Robot tests)
Stage 'Run Robot tests' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Retrieve container logs
[Pipeline] sh
[azure_robot_tests] Running shell script
+ . /robot-systest/results/osm_environment.rc
/home/jenkins/workspace/azure_robot_tests@tmp/durable-5ba8c304/script.sh: 3: .: cannot open /robot-systest/results/osm_environment.rc: No such file
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 206cdfbc1028d3c8ff7bb498a08d0c6aa09e142203e08104577fee587f533560
$ docker rm -f 206cdfbc1028d3c8ff7bb498a08d0c6aa09e142203e08104577fee587f533560
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE