Pull request #287 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than a54fedba6436c684cd67b107c613dd3c445aede6 Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10440037442563946484.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16745195851708229755.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7014662114516342919.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15151428657062480605.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh478367447581773665.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-644 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a54fedba6436c684cd67b107c613dd3c445aede6 Merge succeeded, producing a54fedba6436c684cd67b107c613dd3c445aede6 Checking out Revision a54fedba6436c684cd67b107c613dd3c445aede6 (PR-287) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 Commit message: "feat(snap): add CI workflow" > git rev-list --no-walk 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:33:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:33:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:33:59 ========================================================= 13:33:59 EdgeX Global Pipelines Version Info 13:33:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:33:59 ------------------- 13:33:59 stable info: 13:33:59 ------------------- 13:33:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:33:59 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:33:59 Message: update stable to v1.0.230 13:34:00 ------------------- 13:34:00 experimental info: 13:34:00 ------------------- 13:34:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:34:00 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 13:34:00 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a54fedba6436c684cd67b107c613dd3c445aede6 [Pipeline] echo 13:34:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a54fedb [Pipeline] echo 13:34:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:01 provisioning config files... 13:34:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4389541935285318866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:01 ---> docker-login.sh 13:34:01 nexus3.edgexfoundry.org:10001 13:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:01 Configure a credential helper to remove this warning. See 13:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:01 13:34:01 Login Succeeded 13:34:01 nexus3.edgexfoundry.org:10002 13:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:01 Configure a credential helper to remove this warning. See 13:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:01 13:34:01 Login Succeeded 13:34:01 nexus3.edgexfoundry.org:10003 13:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:02 Configure a credential helper to remove this warning. See 13:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:02 13:34:02 Login Succeeded 13:34:02 nexus3.edgexfoundry.org:10004 13:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:02 Configure a credential helper to remove this warning. See 13:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:02 13:34:02 Login Succeeded 13:34:02 docker.io 13:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:02 Configure a credential helper to remove this warning. See 13:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:02 13:34:02 Login Succeeded 13:34:02 ---> docker-login.sh ends [Pipeline] } 13:34:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:34:03 + git rev-list -1 --merges a54fedba6436c684cd67b107c613dd3c445aede6~1..a54fedba6436c684cd67b107c613dd3c445aede6 [Pipeline] echo 13:34:03 -----------> git rev-list -1 --merges a54fedba6436c684cd67b107c613dd3c445aede6~1..a54fedba6436c684cd67b107c613dd3c445aede6 a54fedba6436c684cd67b107c613dd3c445aede6 [false] [Pipeline] sh 13:34:03 + git log --format=format:%s -1 a54fedba6436c684cd67b107c613dd3c445aede6 [Pipeline] echo 13:34:03 ========================================================= 13:34:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:34:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:03 + git log --format=format:%s -1 a54fedba6436c684cd67b107c613dd3c445aede6 [Pipeline] echo 13:34:03 [semverPrep] GIT_COMMIT: a54fedba6436c684cd67b107c613dd3c445aede6, Commit Message: feat(snap): add CI workflow [Pipeline] echo 13:34:03 [semverPrep] This is not a build commit. [Pipeline] sh 13:34:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:34:04 + grep -v github /etc/ssh/ssh_known_hosts 13:34:04 + [ -e /tmp/ssh_known_hosts ] 13:34:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:34:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:34:04 + sudo tee -a /etc/ssh/ssh_known_hosts 13:34:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:04 13:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:05 latest: Pulling from edgex-devops/py-git-semver 13:34:05 1fe172e4850f: Pulling fs layer 13:34:05 caf521ccaac6: Pulling fs layer 13:34:05 3ead6fa29328: Pulling fs layer 13:34:05 5c2a1cbceb83: Pulling fs layer 13:34:05 a8d5f1318db7: Pulling fs layer 13:34:05 c427282e49a2: Pulling fs layer 13:34:05 1827001aaf11: Pulling fs layer 13:34:05 0714d37db230: Pulling fs layer 13:34:05 ac28cf19c067: Pulling fs layer 13:34:05 ca983d60f3e2: Pulling fs layer 13:34:05 9f894cec8388: Pulling fs layer 13:34:05 1827001aaf11: Waiting 13:34:05 a8d5f1318db7: Waiting 13:34:05 c427282e49a2: Waiting 13:34:05 ac28cf19c067: Waiting 13:34:05 9f894cec8388: Waiting 13:34:05 ca983d60f3e2: Waiting 13:34:05 5c2a1cbceb83: Waiting 13:34:05 caf521ccaac6: Verifying Checksum 13:34:05 caf521ccaac6: Download complete 13:34:05 5c2a1cbceb83: Verifying Checksum 13:34:05 5c2a1cbceb83: Download complete 13:34:05 a8d5f1318db7: Verifying Checksum 13:34:05 a8d5f1318db7: Download complete 13:34:05 3ead6fa29328: Verifying Checksum 13:34:05 3ead6fa29328: Download complete 13:34:05 0714d37db230: Download complete 13:34:05 ac28cf19c067: Verifying Checksum 13:34:05 ac28cf19c067: Download complete 13:34:05 9f894cec8388: Download complete 13:34:05 1fe172e4850f: Verifying Checksum 13:34:05 1fe172e4850f: Download complete 13:34:05 1827001aaf11: Verifying Checksum 13:34:05 1827001aaf11: Download complete 13:34:06 1fe172e4850f: Pull complete 13:34:06 caf521ccaac6: Pull complete 13:34:07 3ead6fa29328: Pull complete 13:34:07 5c2a1cbceb83: Pull complete 13:34:07 a8d5f1318db7: Pull complete 13:34:07 c427282e49a2: Pull complete 13:34:09 1827001aaf11: Pull complete 13:34:09 0714d37db230: Pull complete 13:34:09 ac28cf19c067: Pull complete 13:34:09 ca983d60f3e2: Pull complete 13:34:09 9f894cec8388: Pull complete 13:34:09 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:34:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:10 prd-ubuntu20.04-docker-8c-8g-644 does not seem to be running inside a container 13:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:34:11 $ docker top 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f -eo pid,comm 13:34:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:34:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:34:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:12 [ssh-agent] Looking for ssh-agent implementation... 13:34:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:12 $ docker exec 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f ssh-agent 13:34:12 SSH_AUTH_SOCK=/tmp/ssh-ksGuU4ai6653/agent.33 13:34:12 SSH_AGENT_PID=40 13:34:12 Running ssh-add (command line suppressed) 13:34:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2007701530429983086.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2007701530429983086.key) 13:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:12 + git tag --points-at HEAD [Pipeline] } 13:34:12 $ docker exec --env ******** --env ******** 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f ssh-agent -k 13:34:12 unset SSH_AUTH_SOCK; 13:34:12 unset SSH_AGENT_PID; 13:34:12 echo Agent pid 40 killed; 13:34:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:34:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:12 [ssh-agent] Looking for ssh-agent implementation... 13:34:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:13 $ docker exec 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f ssh-agent 13:34:13 SSH_AUTH_SOCK=/tmp/ssh-IE0UX8Y7t7Qo/agent.73 13:34:13 SSH_AGENT_PID=79 13:34:13 Running ssh-add (command line suppressed) 13:34:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3400816453900430430.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3400816453900430430.key) 13:34:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:13 + git semver init 13:34:13 2022-06-02 13:34:13,797 [run_init] DEBUG init version:0.0.0 force:False 13:34:13 2022-06-02 13:34:13,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 13:34:13 2022-06-02 13:34:13,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 13:34:13 2022-06-02 13:34:13,798 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) 13:34:14 2022-06-02 13:34:14,779 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 13:34:14 2022-06-02 13:34:14,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 13:34:14 2022-06-02 13:34:14,780 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 13:34:14 2022-06-02 13:34:14,784 [execute] INFO git cat-file --batch-check 13:34:14 2022-06-02 13:34:14,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 13:34:14 2022-06-02 13:34:14,792 [execute] INFO git cat-file --batch 13:34:14 2022-06-02 13:34:14,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 13:34:14 2022-06-02 13:34:14,797 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 13:34:14 0.0.0 [Pipeline] } 13:34:15 $ docker exec --env ******** --env ******** 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f ssh-agent -k 13:34:15 unset SSH_AUTH_SOCK; 13:34:15 unset SSH_AGENT_PID; 13:34:15 echo Agent pid 79 killed; 13:34:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:34:15 + git semver [Pipeline] } 13:34:15 $ docker stop --time=1 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f 13:34:17 $ docker rm -f 5556a5f5494aa4db6667eea2f802470a78c21909ee18979bd82a2677d21a509f [Pipeline] // withDockerContainer [Pipeline] sh 13:34:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:34:17 Stashed 1 file(s) [Pipeline] echo 13:34:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:17 provisioning config files... 13:34:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config6084596604691560902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:18 ---> docker-login.sh 13:34:18 nexus3.edgexfoundry.org:10001 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 nexus3.edgexfoundry.org:10002 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 nexus3.edgexfoundry.org:10003 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 nexus3.edgexfoundry.org:10004 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 docker.io 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:18 Configure a credential helper to remove this warning. See 13:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:18 13:34:18 Login Succeeded 13:34:18 ---> docker-login.sh ends [Pipeline] } 13:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:34:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:34:19 ========================================================= 13:34:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:34:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:34:19 Sending build context to Docker daemon 23.03MB 13:34:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:34:19 Step 2/12 : FROM ${BASE} AS builder 13:34:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:34:19 59bf1c3509f3: Pulling fs layer 13:34:19 666ba61612fd: Pulling fs layer 13:34:19 8ed8ca486205: Pulling fs layer 13:34:19 4fe6c5a15a65: Pulling fs layer 13:34:19 22a0e8bec74d: Pulling fs layer 13:34:19 4fe6c5a15a65: Waiting 13:34:19 22a0e8bec74d: Waiting 13:34:19 ca2b28591e48: Pulling fs layer 13:34:19 a51346096db8: Pulling fs layer 13:34:19 daebc70d1ce1: Pulling fs layer 13:34:19 0e18a0eac166: Pulling fs layer 13:34:19 ca2b28591e48: Waiting 13:34:19 daebc70d1ce1: Waiting 13:34:19 a51346096db8: Waiting 13:34:19 8ed8ca486205: Download complete 13:34:19 666ba61612fd: Verifying Checksum 13:34:19 666ba61612fd: Download complete 13:34:19 22a0e8bec74d: Verifying Checksum 13:34:19 22a0e8bec74d: Download complete 13:34:19 59bf1c3509f3: Download complete 13:34:19 ca2b28591e48: Verifying Checksum 13:34:19 ca2b28591e48: Download complete 13:34:19 a51346096db8: Verifying Checksum 13:34:19 a51346096db8: Download complete 13:34:19 daebc70d1ce1: Verifying Checksum 13:34:19 daebc70d1ce1: Download complete 13:34:19 59bf1c3509f3: Pull complete 13:34:19 666ba61612fd: Pull complete 13:34:19 8ed8ca486205: Pull complete 13:34:20 0e18a0eac166: Verifying Checksum 13:34:20 0e18a0eac166: Download complete 13:34:20 4fe6c5a15a65: Verifying Checksum 13:34:20 4fe6c5a15a65: Download complete 13:34:24 4fe6c5a15a65: Pull complete 13:34:24 22a0e8bec74d: Pull complete 13:34:24 ca2b28591e48: Pull complete 13:34:24 a51346096db8: Pull complete 13:34:24 daebc70d1ce1: Pull complete 13:34:26 0e18a0eac166: Pull complete 13:34:26 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:34:26 ---> f018257e8ee9 13:34:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:34:28 ---> Running in 5f89f8041668 13:34:28 Removing intermediate container 5f89f8041668 13:34:28 ---> 61b155a90e12 13:34:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:34:28 ---> Running in ca43c225b590 13:34:28 Removing intermediate container ca43c225b590 13:34:28 ---> 7e05beeb8b16 13:34:28 Step 5/12 : WORKDIR /device-virtual-go 13:34:28 ---> Running in a260d877b06c 13:34:28 Removing intermediate container a260d877b06c 13:34:28 ---> f5698eae7fda 13:34:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:34:28 ---> Running in ff5e04f06fb5 13:34:29 Removing intermediate container ff5e04f06fb5 13:34:29 ---> e78292dd565e 13:34:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:34:29 ---> Running in e84e69ffaa19 13:34:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:34:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:34:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:34:30 (2/4) Installing libedit (20210910.3.1-r0) 13:34:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:34:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:34:31 Executing busybox-1.34.1-r3.trigger 13:34:31 OK: 224 MiB in 56 packages 13:34:31 Removing intermediate container e84e69ffaa19 13:34:31 ---> 00a3d91cc372 13:34:31 Step 8/12 : COPY go.mod vendor* ./ 13:34:31 ---> 741281fca8b7 13:34:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:31 ---> Running in 47561c33234a 13:34:32 Still waiting to schedule task 13:34:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:34:49 Removing intermediate container 47561c33234a 13:34:49 ---> 9b4b96a37391 13:34:49 Step 10/12 : COPY . . 13:34:49 ---> 1953214069a4 13:34:49 Step 11/12 : ARG MAKE='make build' 13:34:49 ---> Running in 1b9e9259f47e 13:34:49 Removing intermediate container 1b9e9259f47e 13:34:49 ---> 6d469c144d8a 13:34:49 Step 12/12 : RUN $MAKE 13:34:49 ---> Running in e26853e7c05f 13:34:49 noop 13:34:49 Removing intermediate container e26853e7c05f 13:34:49 ---> 770e43aeb088 13:34:49 Successfully built 770e43aeb088 13:34:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:50 + docker inspect -f . ci-base-image-x86_64 13:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:50 prd-ubuntu20.04-docker-8c-8g-644 does not seem to be running inside a container 13:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:34:50 $ docker top 9dd48d3a2a03b9120795715bb70efc3aba9fe989a59e6e599f96d91816fed82f -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:51 + go version 13:34:51 go version go1.17.6 linux/amd64 [Pipeline] } 13:34:51 $ docker stop --time=1 9dd48d3a2a03b9120795715bb70efc3aba9fe989a59e6e599f96d91816fed82f 13:34:52 $ docker rm -f 9dd48d3a2a03b9120795715bb70efc3aba9fe989a59e6e599f96d91816fed82f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:52 + docker inspect -f . ci-base-image-x86_64 13:34:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:52 prd-ubuntu20.04-docker-8c-8g-644 does not seem to be running inside a container 13:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:34:53 $ docker top 68d745535b53370c4771f7b09471bfb2dc9c85b30af72b3c14d2dd21cf7192f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:34:53 + make test 13:34:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:34:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:35:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:35:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 13:35:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:35:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:12 ./bin/test-attribution-txt.sh [Pipeline] echo 13:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:35:13 $ docker stop --time=1 68d745535b53370c4771f7b09471bfb2dc9c85b30af72b3c14d2dd21cf7192f3 13:35:15 $ docker rm -f 68d745535b53370c4771f7b09471bfb2dc9c85b30af72b3c14d2dd21cf7192f3 [Pipeline] // withDockerContainer [Pipeline] sh 13:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:35:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:35:16 + ls -al . 13:35:16 total 192 13:35:16 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 13:35 . 13:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 13:33 .. 13:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 13:34 .git 13:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:33 .github 13:35:16 -rw-rw-r-- 1 jenkins jenkins 337 Jun 2 13:33 .gitignore 13:35:16 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 13:33 .golangci.yml 13:35:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 13:34 .semver 13:35:16 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 2 13:33 Attribution.txt 13:35:16 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 2 13:33 CHANGELOG.md 13:35:16 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 2 13:33 Dockerfile 13:35:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 13:33 GOVERNANCE.md 13:35:16 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 13:33 Jenkinsfile 13:35:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 13:33 LICENSE 13:35:16 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 2 13:33 Makefile 13:35:16 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 13:33 OWNERS.md 13:35:16 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 13:33 README.md 13:35:16 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 13:34 VERSION 13:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 13:33 bin 13:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:33 cmd 13:35:16 -rw-r--r-- 1 jenkins jenkins 44128 Jun 2 13:35 coverage.out 13:35:16 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 2 13:33 go.mod 13:35:16 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 2 13:33 go.sum 13:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:33 internal 13:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:33 snap 13:35:16 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 13:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:16 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a54fedba6436c684cd67b107c613dd3c445aede6 --label arch=amd64 --label version=0.0.0 . 13:35:16 Sending build context to Docker daemon 23.07MB 13:35:16 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:35:16 Step 2/26 : FROM ${BASE} AS builder 13:35:16 ---> 770e43aeb088 13:35:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:35:16 ---> Running in 36700618cd57 13:35:16 Removing intermediate container 36700618cd57 13:35:16 ---> 697f945be42d 13:35:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:35:16 ---> Running in fe2d07755be9 13:35:17 Removing intermediate container fe2d07755be9 13:35:17 ---> be8be83bf9eb 13:35:17 Step 5/26 : WORKDIR /device-virtual-go 13:35:17 ---> Running in 968b62f11e04 13:35:17 Removing intermediate container 968b62f11e04 13:35:17 ---> f6ec795b4824 13:35:17 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:35:17 ---> Running in d99090336f40 13:35:17 Removing intermediate container d99090336f40 13:35:17 ---> b4bf12ac3812 13:35:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:35:17 ---> Running in f2b9081405ef 13:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:35:19 OK: 224 MiB in 56 packages 13:35:19 Removing intermediate container f2b9081405ef 13:35:19 ---> e7863d8a3f7e 13:35:19 Step 8/26 : COPY go.mod vendor* ./ 13:35:19 ---> 56deba4802c2 13:35:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:19 ---> Running in cfc3b121d5c9 13:35:20 Removing intermediate container cfc3b121d5c9 13:35:20 ---> 4141e2f8ee2f 13:35:20 Step 10/26 : COPY . . 13:35:20 ---> beeab1d8de2a 13:35:20 Step 11/26 : ARG MAKE='make build' 13:35:20 ---> Running in e1dff7f7d278 13:35:21 Removing intermediate container e1dff7f7d278 13:35:21 ---> 0a4757e9efab 13:35:21 Step 12/26 : RUN $MAKE 13:35:21 ---> Running in 5d7c711880ff 13:35:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:35:43 Removing intermediate container 5d7c711880ff 13:35:43 ---> 7de2a9147513 13:35:43 Step 13/26 : FROM alpine:3.14 13:35:43 3.14: Pulling from library/alpine 13:35:43 8663204ce13b: Pulling fs layer 13:35:43 8663204ce13b: Verifying Checksum 13:35:43 8663204ce13b: Download complete 13:35:43 8663204ce13b: Pull complete 13:35:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:35:43 Status: Downloaded newer image for alpine:3.14 13:35:43 ---> e04c818066af 13:35:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:35:43 ---> Running in 593cfb70fc9c 13:35:43 Removing intermediate container 593cfb70fc9c 13:35:43 ---> ecf4a5fe6638 13:35:43 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:35:43 ---> Running in dddbe1435a02 13:35:43 Removing intermediate container dddbe1435a02 13:35:43 ---> 5ff728202b67 13:35:43 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:35:43 ---> Running in c21fbccafd7c 13:35:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:35:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:35:43 (1/6) Installing dumb-init (1.2.5-r1) 13:35:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:35:43 (3/6) Installing libsodium (1.0.18-r0) 13:35:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:35:43 (5/6) Installing libzmq (4.3.4-r0) 13:35:43 (6/6) Installing zeromq (4.3.4-r0) 13:35:43 Executing busybox-1.33.1-r7.trigger 13:35:43 OK: 8 MiB in 20 packages 13:35:44 Removing intermediate container c21fbccafd7c 13:35:44 ---> 07be644feddb 13:35:44 Step 17/26 : WORKDIR / 13:35:44 ---> Running in c39cfa2633af 13:35:44 Removing intermediate container c39cfa2633af 13:35:44 ---> 2df685beccef 13:35:44 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:35:44 ---> f47277cb771a 13:35:44 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:35:44 ---> a4c23d71cf2b 13:35:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:35:45 ---> d45f2bd3b895 13:35:45 Step 21/26 : EXPOSE 59900 13:35:45 ---> Running in f7fe3c5cba91 13:35:45 Removing intermediate container f7fe3c5cba91 13:35:45 ---> 1189d3b330d4 13:35:45 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:35:45 ---> Running in 54881b858ce7 13:35:45 Removing intermediate container 54881b858ce7 13:35:45 ---> 4c0844149032 13:35:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:35:45 ---> Running in 2ee31742024c 13:35:45 Removing intermediate container 2ee31742024c 13:35:45 ---> ffb2fae27169 13:35:45 Step 24/26 : LABEL arch=amd64 13:35:45 ---> Running in ff272a10ad80 13:35:46 Removing intermediate container ff272a10ad80 13:35:46 ---> 3f07d57f9748 13:35:46 Step 25/26 : LABEL git_sha=a54fedba6436c684cd67b107c613dd3c445aede6 13:35:46 ---> Running in 282ec64f5b9f 13:35:46 Removing intermediate container 282ec64f5b9f 13:35:46 ---> 279c0b8a0c44 13:35:46 Step 26/26 : LABEL version=0.0.0 13:35:46 ---> Running in fc41aae2dc1b 13:35:46 Removing intermediate container fc41aae2dc1b 13:35:46 ---> 82e61b89b001 13:35:46 [Warning] One or more build-args [ARCH] were not consumed 13:35:46 Successfully built 82e61b89b001 13:35:46 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:46 13:35:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:47 latest: Pulling from edgex-lftools-log-publisher 13:35:47 5eb5b503b376: Pulling fs layer 13:35:47 5c69ac0246d0: Pulling fs layer 13:35:47 ec43610c2a17: Pulling fs layer 13:35:47 3a2ae6a8a46f: Pulling fs layer 13:35:47 33b1e0a273af: Pulling fs layer 13:35:47 5d3b04190fa2: Pulling fs layer 13:35:47 2f39f015ded8: Pulling fs layer 13:35:47 3a2ae6a8a46f: Waiting 13:35:47 33b1e0a273af: Waiting 13:35:47 5d3b04190fa2: Waiting 13:35:47 2f39f015ded8: Waiting 13:35:47 5c69ac0246d0: Download complete 13:35:47 3a2ae6a8a46f: Download complete 13:35:47 ec43610c2a17: Verifying Checksum 13:35:47 ec43610c2a17: Download complete 13:35:47 33b1e0a273af: Verifying Checksum 13:35:47 33b1e0a273af: Download complete 13:35:47 5d3b04190fa2: Download complete 13:35:47 5eb5b503b376: Verifying Checksum 13:35:47 5eb5b503b376: Download complete 13:35:47 2f39f015ded8: Verifying Checksum 13:35:47 2f39f015ded8: Download complete 13:35:48 5eb5b503b376: Pull complete 13:35:48 5c69ac0246d0: Pull complete 13:35:49 ec43610c2a17: Pull complete 13:35:49 3a2ae6a8a46f: Pull complete 13:35:49 33b1e0a273af: Pull complete 13:35:49 5d3b04190fa2: Pull complete 13:35:55 2f39f015ded8: Pull complete 13:35:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:55 prd-ubuntu20.04-docker-8c-8g-644 does not seem to be running inside a container 13:35:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:35:57 $ docker top ec1a48ab7b74d210a1e4fdf247acc8d0ab37097de9f31f53ce7afa749c226089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:57 ---> job-cost.sh 13:35:57 lf-activate-venv: SKIPPING 13:35:57 INFO: No Stack... 13:35:58 INFO: Retrieving Pricing Info for: v3-standard-8 13:35:58 INFO: Archiving Costs [Pipeline] sh 13:35:58 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 13:35:58 + cut -d, -f6 [Pipeline] lock 13:35:58 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] 13:35:58 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] did not exist. Created. 13:35:58 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:35:59 + echo total: 0.2199999988079071 [Pipeline] stash 13:35:59 Stashed 1 file(s) [Pipeline] } 13:35:59 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:35:59 $ docker stop --time=1 ec1a48ab7b74d210a1e4fdf247acc8d0ab37097de9f31f53ce7afa749c226089 13:36:00 $ docker rm -f ec1a48ab7b74d210a1e4fdf247acc8d0ab37097de9f31f53ce7afa749c226089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:36:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-645 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 13:36:05 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 13:36:06 The recommended git tool is: git 13:36:12 using credential edgex-jenkins-ssh 13:36:12 Cloning the remote Git repository 13:36:12 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:36:12 > git init /w/workspace/device-virtual-go/5 # timeout=10 13:36:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:36:12 > git --version # timeout=10 13:36:12 > git --version # 'git version 2.25.1' 13:36:12 using GIT_SSH to set credentials SSH Credentials for GitHub 13:36:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:36:15 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a54fedba6436c684cd67b107c613dd3c445aede6 13:36:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:36:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:36:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:36:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:36:14 using GIT_SSH to set credentials SSH Credentials for GitHub 13:36:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:36:15 > git config core.sparsecheckout # timeout=10 13:36:15 > git checkout -f a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 13:36:15 > git remote # timeout=10 13:36:15 > git config --get remote.origin.url # timeout=10 13:36:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:36:15 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 13:36:15 Merge succeeded, producing a54fedba6436c684cd67b107c613dd3c445aede6 13:36:15 Checking out Revision a54fedba6436c684cd67b107c613dd3c445aede6 (PR-287) 13:36:15 > git rev-parse HEAD^{commit} # timeout=10 13:36:15 > git config core.sparsecheckout # timeout=10 13:36:15 > git checkout -f a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 13:36:19 Commit message: "feat(snap): add CI workflow" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:36:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:36:20 % Total % Received % Xferd Average Speed Time Time Time Current 13:36:20 Dload Upload Total Spent Left Speed 13:36:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh 13:36:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:36:21 + sudo tee /etc/docker/daemon.new 13:36:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:36:21 { 13:36:21 "registry-mirrors": [ 13:36:21 "https://nexus3.edgexfoundry.org:10001" 13:36:21 ], 13:36:21 "bip": "10.250.0.254/24", 13:36:21 "hosts": [ 13:36:21 "tcp://0.0.0.0:5555", 13:36:21 "unix:///var/run/docker.sock" 13:36:21 ], 13:36:21 "mtu": 1458, 13:36:21 "selinux-enabled": true, 13:36:21 "seccomp-profile": "/etc/docker/seccomp.json" 13:36:21 } [Pipeline] sh 13:36:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:36:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:36:40 provisioning config files... 13:36:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config1185108586853395392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:40 ---> docker-login.sh 13:36:40 nexus3.edgexfoundry.org:10001 13:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:41 Configure a credential helper to remove this warning. See 13:36:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:41 13:36:41 Login Succeeded 13:36:41 nexus3.edgexfoundry.org:10002 13:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:42 Configure a credential helper to remove this warning. See 13:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:42 13:36:42 Login Succeeded 13:36:42 nexus3.edgexfoundry.org:10003 13:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:42 Configure a credential helper to remove this warning. See 13:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:42 13:36:42 Login Succeeded 13:36:42 nexus3.edgexfoundry.org:10004 13:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:42 Configure a credential helper to remove this warning. See 13:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:42 13:36:42 Login Succeeded 13:36:42 docker.io 13:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:36:43 Configure a credential helper to remove this warning. See 13:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:36:43 13:36:43 Login Succeeded 13:36:43 ---> docker-login.sh ends [Pipeline] } 13:36:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:36:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:36:44 ========================================================= 13:36:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:36:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:36:45 Sending build context to Docker daemon 11.68MB 13:36:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:36:45 Step 2/12 : FROM ${BASE} AS builder 13:36:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:36:45 9b3977197b4f: Pulling fs layer 13:36:45 1a89e8eeedd5: Pulling fs layer 13:36:45 94645a83ff95: Pulling fs layer 13:36:45 3f3a8bcf1eab: Pulling fs layer 13:36:45 0c92f367c5e7: Pulling fs layer 13:36:45 3096ccb668a1: Pulling fs layer 13:36:45 e8cf19c19ddd: Pulling fs layer 13:36:45 a4caa8a26152: Pulling fs layer 13:36:45 3f3a8bcf1eab: Waiting 13:36:45 0c92f367c5e7: Waiting 13:36:45 3096ccb668a1: Waiting 13:36:45 a4caa8a26152: Waiting 13:36:45 e8cf19c19ddd: Waiting 13:36:45 94645a83ff95: Download complete 13:36:45 1a89e8eeedd5: Download complete 13:36:45 0c92f367c5e7: Verifying Checksum 13:36:45 0c92f367c5e7: Download complete 13:36:45 3096ccb668a1: Verifying Checksum 13:36:45 3096ccb668a1: Download complete 13:36:45 9b3977197b4f: Verifying Checksum 13:36:45 9b3977197b4f: Download complete 13:36:45 e8cf19c19ddd: Download complete 13:36:45 9b3977197b4f: Pull complete 13:36:46 1a89e8eeedd5: Pull complete 13:36:46 94645a83ff95: Pull complete 13:36:47 a4caa8a26152: Verifying Checksum 13:36:47 a4caa8a26152: Download complete 13:36:47 3f3a8bcf1eab: Verifying Checksum 13:36:47 3f3a8bcf1eab: Download complete 13:37:00 3f3a8bcf1eab: Pull complete 13:37:00 0c92f367c5e7: Pull complete 13:37:00 3096ccb668a1: Pull complete 13:37:00 e8cf19c19ddd: Pull complete 13:37:07 a4caa8a26152: Pull complete 13:37:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:37:07 ---> 725f1c02e7f9 13:37:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:37:08 ---> Running in d0c78107f1a5 13:37:08 Removing intermediate container d0c78107f1a5 13:37:08 ---> 12798ad08901 13:37:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:37:08 ---> Running in c9e2712bf5d2 13:37:08 Removing intermediate container c9e2712bf5d2 13:37:08 ---> da5f690685bf 13:37:08 Step 5/12 : WORKDIR /device-virtual-go 13:37:08 ---> Running in 7abe21e3b88c 13:37:08 Removing intermediate container 7abe21e3b88c 13:37:08 ---> 703d70513aa5 13:37:08 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:37:09 ---> Running in 155142a2f776 13:37:10 Removing intermediate container 155142a2f776 13:37:10 ---> 0bb44cd7f543 13:37:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:37:10 ---> Running in 69272c309a29 13:37:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:37:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:37:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:37:13 (2/4) Installing libedit (20210910.3.1-r0) 13:37:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:37:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:37:13 Executing busybox-1.34.1-r3.trigger 13:37:13 OK: 224 MiB in 56 packages 13:37:14 Removing intermediate container 69272c309a29 13:37:14 ---> 2189107257f2 13:37:14 Step 8/12 : COPY go.mod vendor* ./ 13:37:15 ---> dbe25595cd94 13:37:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:37:15 ---> Running in a892a9035878 13:38:02 Removing intermediate container a892a9035878 13:38:02 ---> df9df364e7d6 13:38:02 Step 10/12 : COPY . . 13:38:02 ---> a40b7b4dae50 13:38:02 Step 11/12 : ARG MAKE='make build' 13:38:02 ---> Running in 1ff81d62c8e1 13:38:02 Removing intermediate container 1ff81d62c8e1 13:38:02 ---> 6e7e35ea1f5d 13:38:02 Step 12/12 : RUN $MAKE 13:38:02 ---> Running in 4c4d1210b5b7 13:38:02 noop 13:38:02 Removing intermediate container 4c4d1210b5b7 13:38:02 ---> aa7fb1648a75 13:38:02 Successfully built aa7fb1648a75 13:38:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:02 + docker inspect -f . ci-base-image-arm64 13:38:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:03 prd-ubuntu20.04-docker-arm64-4c-16g-645 does not seem to be running inside a container 13:38:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -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 ******** -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 ******** ci-base-image-arm64 cat 13:38:04 $ docker top f5d55d73de975b891b8d78fc489c2fea9c423b904cfcf83720eda69b1b2045ea -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:05 + go version 13:38:05 go version go1.17.6 linux/arm64 [Pipeline] } 13:38:05 $ docker stop --time=1 f5d55d73de975b891b8d78fc489c2fea9c423b904cfcf83720eda69b1b2045ea 13:38:07 $ docker rm -f f5d55d73de975b891b8d78fc489c2fea9c423b904cfcf83720eda69b1b2045ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:07 + docker inspect -f . ci-base-image-arm64 13:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:07 prd-ubuntu20.04-docker-arm64-4c-16g-645 does not seem to be running inside a container 13:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -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 ******** -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 ******** ci-base-image-arm64 cat 13:38:09 $ docker top a88d3d4c99b20f11256149455ca6e7c3cc04f26412dbc047adb9b9e65b6c4a92 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:38:10 + make test 13:38:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:38:11 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:39:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:39:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements 13:39:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:39:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:39:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:39:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:39:55 ./bin/test-attribution-txt.sh [Pipeline] echo 13:39:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:39:55 $ docker stop --time=1 a88d3d4c99b20f11256149455ca6e7c3cc04f26412dbc047adb9b9e65b6c4a92 13:39:57 $ docker rm -f a88d3d4c99b20f11256149455ca6e7c3cc04f26412dbc047adb9b9e65b6c4a92 [Pipeline] // withDockerContainer [Pipeline] sh 13:39:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:39:58 Warning: overwriting stash ‘coverage-report’ 13:39:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:39:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:39:59 + ls -al . 13:39:59 total 188 13:39:59 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 13:39 . 13:39:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 13:36 .. 13:39:59 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 13:36 .git 13:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:36 .github 13:39:59 -rw-rw-r-- 1 jenkins jenkins 337 Jun 2 13:36 .gitignore 13:39:59 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 13:36 .golangci.yml 13:39:59 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 2 13:36 Attribution.txt 13:39:59 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 2 13:36 CHANGELOG.md 13:39:59 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 2 13:36 Dockerfile 13:39:59 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 13:36 GOVERNANCE.md 13:39:59 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 13:36 Jenkinsfile 13:39:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 13:36 LICENSE 13:39:59 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 2 13:36 Makefile 13:39:59 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 13:36 OWNERS.md 13:39:59 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 13:36 README.md 13:39:59 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 13:34 VERSION 13:39:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 13:36 bin 13:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:36 cmd 13:39:59 -rw-r--r-- 1 jenkins jenkins 44128 Jun 2 13:39 coverage.out 13:39:59 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 2 13:36 go.mod 13:39:59 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 2 13:36 go.sum 13:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:36 internal 13:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 13:36 snap 13:39:59 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 13:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:59 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a54fedba6436c684cd67b107c613dd3c445aede6 --label arch=arm64 --label version=0.0.0 . 13:40:00 Sending build context to Docker daemon 11.72MB 13:40:00 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:40:00 Step 2/26 : FROM ${BASE} AS builder 13:40:00 ---> aa7fb1648a75 13:40:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:40:00 ---> Running in f255b46b5863 13:40:00 Removing intermediate container f255b46b5863 13:40:00 ---> 3e1ecaf5349f 13:40:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:40:01 ---> Running in 9fe4a65e6654 13:40:01 Removing intermediate container 9fe4a65e6654 13:40:01 ---> f2c023bcf18f 13:40:01 Step 5/26 : WORKDIR /device-virtual-go 13:40:01 ---> Running in 6d6f206ca10f 13:40:01 Removing intermediate container 6d6f206ca10f 13:40:01 ---> fbef0c0bf3ab 13:40:01 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:40:01 ---> Running in 870f21f38dd5 13:40:03 Removing intermediate container 870f21f38dd5 13:40:03 ---> f0b014f7d6d6 13:40:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:40:03 ---> Running in 56af3277578e 13:40:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:40:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:40:06 OK: 224 MiB in 56 packages 13:40:06 Removing intermediate container 56af3277578e 13:40:06 ---> 094ce6140e31 13:40:06 Step 8/26 : COPY go.mod vendor* ./ 13:40:07 ---> d6a2e6e873f1 13:40:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:40:07 ---> Running in ea2b2f388d45 13:40:09 Removing intermediate container ea2b2f388d45 13:40:09 ---> 7ea09c2b49ee 13:40:09 Step 10/26 : COPY . . 13:40:10 ---> 2510b56b9335 13:40:10 Step 11/26 : ARG MAKE='make build' 13:40:10 ---> Running in 740a4c4d74c1 13:40:11 Removing intermediate container 740a4c4d74c1 13:40:11 ---> 883fc086bd69 13:40:11 Step 12/26 : RUN $MAKE 13:40:11 ---> Running in 1ea6a24ddb29 13:40:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:42:18 Removing intermediate container 1ea6a24ddb29 13:42:18 ---> b62da1e1136c 13:42:18 Step 13/26 : FROM alpine:3.14 13:42:18 3.14: Pulling from library/alpine 13:42:18 455c02918c45: Pulling fs layer 13:42:18 455c02918c45: Verifying Checksum 13:42:18 455c02918c45: Download complete 13:42:18 455c02918c45: Pull complete 13:42:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:42:18 Status: Downloaded newer image for alpine:3.14 13:42:18 ---> ac73e934f311 13:42:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:42:18 ---> Running in 8733073eae0d 13:42:18 Removing intermediate container 8733073eae0d 13:42:18 ---> 56d103fc849e 13:42:18 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:42:18 ---> Running in 27a214a8635d 13:42:18 Removing intermediate container 27a214a8635d 13:42:18 ---> 0150d732746b 13:42:18 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:42:18 ---> Running in 1c0415b2e1ab 13:42:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:42:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:42:18 (1/6) Installing dumb-init (1.2.5-r1) 13:42:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:42:18 (3/6) Installing libsodium (1.0.18-r0) 13:42:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:42:18 (5/6) Installing libzmq (4.3.4-r0) 13:42:18 (6/6) Installing zeromq (4.3.4-r0) 13:42:18 Executing busybox-1.33.1-r7.trigger 13:42:18 OK: 8 MiB in 20 packages 13:42:18 Removing intermediate container 1c0415b2e1ab 13:42:18 ---> 8a4827969880 13:42:18 Step 17/26 : WORKDIR / 13:42:18 ---> Running in 94d93cb240a7 13:42:18 Removing intermediate container 94d93cb240a7 13:42:18 ---> 5039ea16b7e1 13:42:18 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:42:18 ---> db79f520800d 13:42:18 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:42:18 ---> 7baec0a903e7 13:42:18 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:42:18 ---> 4a376b1a4b4b 13:42:18 Step 21/26 : EXPOSE 59900 13:42:18 ---> Running in 5e2962c11d04 13:42:18 Removing intermediate container 5e2962c11d04 13:42:18 ---> dc7724c6f3c7 13:42:18 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:42:18 ---> Running in 31dc9a0bc801 13:42:18 Removing intermediate container 31dc9a0bc801 13:42:18 ---> c882764d8163 13:42:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:42:18 ---> Running in 28a5c2d41de0 13:42:18 Removing intermediate container 28a5c2d41de0 13:42:18 ---> 742de9604c55 13:42:18 Step 24/26 : LABEL arch=arm64 13:42:18 ---> Running in 48f461c83fe6 13:42:18 Removing intermediate container 48f461c83fe6 13:42:18 ---> fd5dc3125e38 13:42:18 Step 25/26 : LABEL git_sha=a54fedba6436c684cd67b107c613dd3c445aede6 13:42:18 ---> Running in 9c8cdfc366d5 13:42:18 Removing intermediate container 9c8cdfc366d5 13:42:18 ---> b434bf92c9cb 13:42:18 Step 26/26 : LABEL version=0.0.0 13:42:18 ---> Running in 10c6d6660ec4 13:42:18 Removing intermediate container 10c6d6660ec4 13:42:18 ---> ed01616f3748 13:42:18 [Warning] One or more build-args [ARCH] were not consumed 13:42:18 Successfully built ed01616f3748 13:42:18 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:42:19 13:42:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:42:20 arm64: Pulling from edgex-lftools-log-publisher 13:42:20 8998bd30e6a1: Pulling fs layer 13:42:20 04944245beec: Pulling fs layer 13:42:20 699f458cf7ca: Pulling fs layer 13:42:20 765212b225bb: Pulling fs layer 13:42:20 f23df028b6ca: Pulling fs layer 13:42:20 d65c8cfc05b1: Pulling fs layer 13:42:20 2437ff75d9bd: Pulling fs layer 13:42:20 765212b225bb: Waiting 13:42:20 f23df028b6ca: Waiting 13:42:20 d65c8cfc05b1: Waiting 13:42:20 2437ff75d9bd: Waiting 13:42:20 04944245beec: Verifying Checksum 13:42:20 04944245beec: Download complete 13:42:20 765212b225bb: Verifying Checksum 13:42:20 765212b225bb: Download complete 13:42:20 f23df028b6ca: Verifying Checksum 13:42:20 f23df028b6ca: Download complete 13:42:20 d65c8cfc05b1: Verifying Checksum 13:42:20 d65c8cfc05b1: Download complete 13:42:20 699f458cf7ca: Verifying Checksum 13:42:20 699f458cf7ca: Download complete 13:42:20 8998bd30e6a1: Verifying Checksum 13:42:20 8998bd30e6a1: Download complete 13:42:22 2437ff75d9bd: Verifying Checksum 13:42:22 2437ff75d9bd: Download complete 13:42:24 8998bd30e6a1: Pull complete 13:42:25 04944245beec: Pull complete 13:42:26 699f458cf7ca: Pull complete 13:42:27 765212b225bb: Pull complete 13:42:28 f23df028b6ca: Pull complete 13:42:28 d65c8cfc05b1: Pull complete 13:42:43 2437ff75d9bd: Pull complete 13:42:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:42:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:42:43 prd-ubuntu20.04-docker-arm64-4c-16g-645 does not seem to be running inside a container 13:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -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 ******** -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:42:46 $ docker top a89b964cdb2b68be804fbb442fef2bbed93c6e3dcd6314cf86140388fbbb8593 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:47 ---> job-cost.sh 13:42:47 lf-activate-venv: SKIPPING 13:42:47 INFO: No Stack... 13:42:47 INFO: Retrieving Pricing Info for: v3-standard-4 13:42:48 INFO: Archiving Costs [Pipeline] sh 13:42:49 + + cat /w/workspace/device-virtual-go/5/archives/cost.csv 13:42:49 cut -d, -f6 [Pipeline] lock 13:42:49 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] 13:42:49 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] did not exist. Created. 13:42:49 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:42:49 /w/workspace/device-virtual-go/5@tmp/durable-2948e942/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:42:50 + echo total: 0.10999999940395355 [Pipeline] stash 13:42:50 Warning: overwriting stash ‘stack-cost’ 13:42:50 Stashed 1 file(s) [Pipeline] } 13:42:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:42:50 $ docker stop --time=1 a89b964cdb2b68be804fbb442fef2bbed93c6e3dcd6314cf86140388fbbb8593 13:42:52 $ docker rm -f a89b964cdb2b68be804fbb442fef2bbed93c6e3dcd6314cf86140388fbbb8593 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:42:52 provisioning config files... 13:42:52 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config8047690041939498265tmp [Pipeline] { [Pipeline] sh 13:42:52 + set +x 13:42:52 + + bashcurl -s -s -- https://codecov.io/bash 13:42:52 13:42:52 13:42:52 _____ _ 13:42:52 / ____| | | 13:42:52 | | ___ __| | ___ ___ _____ __ 13:42:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:42:52 | |___| (_) | (_| | __/ (_| (_) \ V / 13:42:52 \_____\___/ \__,_|\___|\___\___/ \_/ 13:42:52 Bash-1.0.6 13:42:52 13:42:52 13:42:52 ==> git version 2.25.1 found 13:42:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:42:52 Release-Date: 2020-01-08 13:42:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:42:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:42:52 ==> Jenkins CI detected. 13:42:52 current dir:  /w/workspace/foundry_device-virtual-go_PR-287 13:42:52 project root: . 13:42:52 --> token set from env 13:42:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:42:52 ==> Running gcov in . (disable via -X gcov) 13:42:52 ==> Python coveragepy not found 13:42:52 ==> Searching for coverage reports in: 13:42:52 + . 13:42:52 -> Found 1 reports 13:42:52 ==> Detecting git/mercurial file structure 13:42:52 ==> Reading reports 13:42:52 + ./coverage.out bytes=44128 13:42:52 ==> Appending adjustments 13:42:52 https://docs.codecov.io/docs/fixing-reports 13:42:53 + Found adjustments 13:42:53 ==> Gzipping contents 13:42:53 8.0K /tmp/codecov.QdgIVs.gz 13:42:53 ==> Uploading reports 13:42:53 url: https://codecov.io 13:42:53 query: branch=PR-287&commit=a54fedba6436c684cd67b107c613dd3c445aede6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 13:42:53 -> Pinging Codecov 13:42:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-287&commit=a54fedba6436c684cd67b107c613dd3c445aede6&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 13:42:53 -> Uploading to 13:42:53 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/5E52B4B073DB2E39498172D8E973AA87/a54fedba6436c684cd67b107c613dd3c445aede6/6c3aafa3-fc2a-4d6a-b09a-320ea0fb74b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T134253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0ce97786de61a427da3e7da99979d8cc169b5cf38874212be35e87c2a16adeb 13:42:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:42:53 Dload Upload Total Spent Left Speed 13:42:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5517 0 0 100 5517 0 22518 --:--:-- --:--:-- --:--:-- 22518 13:42:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/a54fedba6436c684cd67b107c613dd3c445aede6 [Pipeline] } 13:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:42:54 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 13:42:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 13:42:54 total 16 13:42:54 drwxr-xr-x 3 root root 4096 Jun 2 13:35 . 13:42:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 13:35 .. 13:42:54 drwxr-xr-x 2 root root 4096 Jun 2 13:35 cost 13:42:54 -rw-r--r-- 1 root root 88 Jun 2 13:35 cost.csv 13:42:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 13:42:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 13:42:54 total 16 13:42:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 13:35 . 13:42:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 13:35 .. 13:42:54 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 13:35 cost 13:42:54 -rw-r--r-- 1 jenkins jenkins 88 Jun 2 13:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:42:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:42:55 ---> package-listing.sh 13:42:55 ++ tr '[:upper:]' '[:lower:]' 13:42:55 ++ facter osfamily 13:42:55 + OS_FAMILY=debian 13:42:55 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 13:42:55 + START_PACKAGES=/tmp/packages_start.txt 13:42:55 + END_PACKAGES=/tmp/packages_end.txt 13:42:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:42:55 + PACKAGES=/tmp/packages_start.txt 13:42:55 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 13:42:55 + PACKAGES=/tmp/packages_end.txt 13:42:55 + case "${OS_FAMILY}" in 13:42:55 + dpkg -l 13:42:55 + grep '^ii' 13:42:55 + '[' -f /tmp/packages_start.txt ']' 13:42:55 + '[' -f /tmp/packages_end.txt ']' 13:42:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:42:55 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 13:42:55 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 13:42:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo 13:42:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:42:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:42:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:42:56 prd-ubuntu20.04-docker-8c-8g-644 does not seem to be running inside a container 13:42:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:42:56 $ docker top 0c1a97efc10d99d06604e722c97bb84f0ab33561fdf3b557e7ba7bfd75a74c15 -eo pid,comm [Pipeline] { [Pipeline] sh 13:42:57 + touch /tmp/pre-build-complete [Pipeline] sh 13:42:57 + mkdir -p /var/log/sysstat [Pipeline] sh 13:42:57 + ls /var/log/sa-host 13:42:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:42:57 provisioning config files... 13:42:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config8345433308053093023tmp [Pipeline] { [Pipeline] echo 13:42:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:42:58 ---> create-netrc.sh [Pipeline] } 13:42:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:42:58 ---> python-tools-install.sh [Pipeline] echo 13:42:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:42:58 ---> sudo-logs.sh 13:42:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:42:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:42:59 ---> job-cost.sh 13:42:59 lf-activate-venv: SKIPPING 13:42:59 DEBUG: total: 0.2199999988079071 13:42:59 INFO: Retrieving Stack Cost... 13:42:59 INFO: Retrieving Pricing Info for: v3-standard-8 13:42:59 INFO: Archiving Costs [Pipeline] echo 13:42:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:43:00 ---> logs-deploy.sh 13:43:00 lf-activate-venv: SKIPPING 13:43:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/5 13:43:00 INFO: archiving workspace using pattern(s): 13:43:01 Archives upload complete. 13:43:01 INFO: archiving logs to Nexus