Pull request #282 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2aad31ac67166435ab4b625a89e2b621c21f6a25+a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 (075d0c97291c6ae91bd3772e3f28d9d8c090f48d) 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-ssh11246926277176970184.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh17037293835119991774.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-282/workspace@libs/edgex-global-pipelines # timeout=10 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-282/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1347075462596769016.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-282/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15147064794386690778.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh12169752557214521112.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-282/workspace@libs/lf-pipelines # timeout=10 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-282/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1417775826543798798.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34473 in /w/workspace/foundry_device-virtual-go_PR-282 [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-282 # 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 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 into PR head commit 2aad31ac67166435ab4b625a89e2b621c21f6a25 Merge succeeded, producing 2aad31ac67166435ab4b625a89e2b621c21f6a25 Checking out Revision 2aad31ac67166435ab4b625a89e2b621c21f6a25 (PR-282) > 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/282/head:refs/remotes/origin/PR-282 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2aad31ac67166435ab4b625a89e2b621c21f6a25 # 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 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2aad31ac67166435ab4b625a89e2b621c21f6a25 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:28 ========================================================= 11:04:28 EdgeX Global Pipelines Version Info 11:04:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:29 ------------------- 11:04:29 stable info: 11:04:29 ------------------- 11:04:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:29 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:04:29 Message: update stable to v1.0.227 11:04:30 ------------------- 11:04:30 experimental info: 11:04:30 ------------------- 11:04:30 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:30 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:04:30 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-282 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-282 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-282 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2aad31ac67166435ab4b625a89e2b621c21f6a25 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2aad31a [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:31 provisioning config files... 11:04:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-282@tmp/config821585014056743701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:32 ---> docker-login.sh 11:04:32 nexus3.edgexfoundry.org:10001 11:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:32 Configure a credential helper to remove this warning. See 11:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:32 11:04:32 Login Succeeded 11:04:32 nexus3.edgexfoundry.org:10002 11:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:32 Configure a credential helper to remove this warning. See 11:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:32 11:04:32 Login Succeeded 11:04:32 nexus3.edgexfoundry.org:10003 11:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:32 Configure a credential helper to remove this warning. See 11:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:32 11:04:32 Login Succeeded 11:04:32 nexus3.edgexfoundry.org:10004 11:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:33 Configure a credential helper to remove this warning. See 11:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:33 11:04:33 Login Succeeded 11:04:33 docker.io 11:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:33 Configure a credential helper to remove this warning. See 11:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:33 11:04:33 Login Succeeded 11:04:33 ---> docker-login.sh ends [Pipeline] } 11:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:34 + git rev-list -1 --merges 2aad31ac67166435ab4b625a89e2b621c21f6a25~1..2aad31ac67166435ab4b625a89e2b621c21f6a25 [Pipeline] echo 11:04:34 -----------> git rev-list -1 --merges 2aad31ac67166435ab4b625a89e2b621c21f6a25~1..2aad31ac67166435ab4b625a89e2b621c21f6a25 2aad31ac67166435ab4b625a89e2b621c21f6a25 [false] [Pipeline] sh 11:04:34 + git log --format=format:%s -1 2aad31ac67166435ab4b625a89e2b621c21f6a25 [Pipeline] echo 11:04:34 ========================================================= 11:04:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:35 + git log --format=format:%s -1 2aad31ac67166435ab4b625a89e2b621c21f6a25 [Pipeline] echo 11:04:35 [semverPrep] GIT_COMMIT: 2aad31ac67166435ab4b625a89e2b621c21f6a25, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:35 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:35 + grep -v github /etc/ssh/ssh_known_hosts 11:04:35 + [ -e /tmp/ssh_known_hosts ] 11:04:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:35 + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:04:36 11:04:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:04:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:04:36 latest: Pulling from edgex-devops/py-git-semver 11:04:36 1fe172e4850f: Pulling fs layer 11:04:36 caf521ccaac6: Pulling fs layer 11:04:36 3ead6fa29328: Pulling fs layer 11:04:36 5c2a1cbceb83: Pulling fs layer 11:04:36 a8d5f1318db7: Pulling fs layer 11:04:36 c427282e49a2: Pulling fs layer 11:04:36 1827001aaf11: Pulling fs layer 11:04:36 0714d37db230: Pulling fs layer 11:04:36 ac28cf19c067: Pulling fs layer 11:04:36 5c2a1cbceb83: Waiting 11:04:36 a8d5f1318db7: Waiting 11:04:36 c427282e49a2: Waiting 11:04:36 1827001aaf11: Waiting 11:04:36 ca983d60f3e2: Pulling fs layer 11:04:36 0714d37db230: Waiting 11:04:36 ac28cf19c067: Waiting 11:04:36 9f894cec8388: Pulling fs layer 11:04:36 ca983d60f3e2: Waiting 11:04:36 caf521ccaac6: Download complete 11:04:36 5c2a1cbceb83: Verifying Checksum 11:04:36 5c2a1cbceb83: Download complete 11:04:36 a8d5f1318db7: Verifying Checksum 11:04:36 a8d5f1318db7: Download complete 11:04:36 3ead6fa29328: Verifying Checksum 11:04:36 3ead6fa29328: Download complete 11:04:36 c427282e49a2: Verifying Checksum 11:04:36 c427282e49a2: Download complete 11:04:36 0714d37db230: Verifying Checksum 11:04:36 0714d37db230: Download complete 11:04:36 ac28cf19c067: Verifying Checksum 11:04:36 ac28cf19c067: Download complete 11:04:36 ca983d60f3e2: Verifying Checksum 11:04:36 ca983d60f3e2: Download complete 11:04:36 9f894cec8388: Verifying Checksum 11:04:36 9f894cec8388: Download complete 11:04:36 1fe172e4850f: Verifying Checksum 11:04:36 1fe172e4850f: Download complete 11:04:36 1827001aaf11: Verifying Checksum 11:04:36 1827001aaf11: Download complete 11:04:38 1fe172e4850f: Pull complete 11:04:38 caf521ccaac6: Pull complete 11:04:38 3ead6fa29328: Pull complete 11:04:38 5c2a1cbceb83: Pull complete 11:04:39 a8d5f1318db7: Pull complete 11:04:39 c427282e49a2: Pull complete 11:04:41 1827001aaf11: Pull complete 11:04:41 0714d37db230: Pull complete 11:04:41 ac28cf19c067: Pull complete 11:04:41 ca983d60f3e2: Pull complete 11:04:41 9f894cec8388: Pull complete 11:04:41 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 11:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:04:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 11:04:41 prd-ubuntu20.04-docker-8c-8g-34473 does not seem to be running inside a container 11:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-282 -v /w/workspace/foundry_device-virtual-go_PR-282:/w/workspace/foundry_device-virtual-go_PR-282:rw,z -v /w/workspace/foundry_device-virtual-go_PR-282@tmp:/w/workspace/foundry_device-virtual-go_PR-282@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:04:43 $ docker top f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 -eo pid,comm 11:04:43 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). 11:04:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:43 [ssh-agent] Looking for ssh-agent implementation... 11:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:43 $ docker exec f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 ssh-agent 11:04:43 SSH_AUTH_SOCK=/tmp/ssh-aeSDyhnn48Zu/agent.33 11:04:43 SSH_AGENT_PID=39 11:04:43 Running ssh-add (command line suppressed) 11:04:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-282@tmp/private_key_4511410514538444031.key (/w/workspace/foundry_device-virtual-go_PR-282@tmp/private_key_4511410514538444031.key) 11:04:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:44 + git tag --points-at HEAD [Pipeline] } 11:04:44 $ docker exec --env ******** --env ******** f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 ssh-agent -k 11:04:44 unset SSH_AUTH_SOCK; 11:04:44 unset SSH_AGENT_PID; 11:04:44 echo Agent pid 39 killed; 11:04:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:44 [ssh-agent] Looking for ssh-agent implementation... 11:04:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:44 $ docker exec f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 ssh-agent 11:04:44 SSH_AUTH_SOCK=/tmp/ssh-PYSByRbRfiOr/agent.74 11:04:44 SSH_AGENT_PID=80 11:04:44 Running ssh-add (command line suppressed) 11:04:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-282@tmp/private_key_4012433398159713423.key (/w/workspace/foundry_device-virtual-go_PR-282@tmp/private_key_4012433398159713423.key) 11:04:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:44 + git semver init 11:04:45 2022-05-02 11:04:45,180 [run_init] DEBUG init version:0.0.0 force:False 11:04:45 2022-05-02 11:04:45,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-282/.semver 11:04:45 2022-05-02 11:04:45,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-282/.semver 11:04:45 2022-05-02 11:04:45,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-282/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-282, universal_newlines=False, shell=None, istream=None) 11:04:46 2022-05-02 11:04:46,206 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-282/.git/info/exclude 11:04:46 2022-05-02 11:04:46,207 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-282/.semver/PR-282 with force:False 11:04:46 2022-05-02 11:04:46,207 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-282/.semver/PR-282 11:04:46 2022-05-02 11:04:46,212 [execute] INFO git cat-file --batch-check 11:04:46 2022-05-02 11:04:46,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-282/.semver, universal_newlines=False, shell=None, istream=) 11:04:46 2022-05-02 11:04:46,219 [execute] INFO git cat-file --batch 11:04:46 2022-05-02 11:04:46,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-282/.semver, universal_newlines=False, shell=None, istream=) 11:04:46 2022-05-02 11:04:46,224 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-282/.semver/PR-282 11:04:46 0.0.0 [Pipeline] } 11:04:46 $ docker exec --env ******** --env ******** f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 ssh-agent -k 11:04:46 unset SSH_AUTH_SOCK; 11:04:46 unset SSH_AGENT_PID; 11:04:46 echo Agent pid 80 killed; 11:04:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:47 + git semver [Pipeline] } 11:04:47 $ docker stop --time=1 f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 11:04:48 $ docker rm -f f37b6faa1e2d1edcb3211669e58f683579b6089557d88a9164b29ca00d393687 [Pipeline] // withDockerContainer [Pipeline] sh 11:04:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:49 Stashed 1 file(s) [Pipeline] echo 11:04:49 [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 11:04:50 provisioning config files... 11:04:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-282@tmp/config7794997363974565119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:50 ---> docker-login.sh 11:04:50 nexus3.edgexfoundry.org:10001 11:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:50 Configure a credential helper to remove this warning. See 11:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:50 11:04:50 Login Succeeded 11:04:50 nexus3.edgexfoundry.org:10002 11:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:50 Configure a credential helper to remove this warning. See 11:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:50 11:04:50 Login Succeeded 11:04:50 nexus3.edgexfoundry.org:10003 11:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:50 Configure a credential helper to remove this warning. See 11:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:50 11:04:50 Login Succeeded 11:04:50 nexus3.edgexfoundry.org:10004 11:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 docker.io 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 ---> docker-login.sh ends [Pipeline] } 11:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:51 ========================================================= 11:04:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:04:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:04:51 + 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 . 11:04:51 Sending build context to Docker daemon 22.92MB 11:04:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:04:51 Step 2/12 : FROM ${BASE} AS builder 11:04:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:52 59bf1c3509f3: Pulling fs layer 11:04:52 666ba61612fd: Pulling fs layer 11:04:52 8ed8ca486205: Pulling fs layer 11:04:52 4fe6c5a15a65: Pulling fs layer 11:04:52 22a0e8bec74d: Pulling fs layer 11:04:52 ca2b28591e48: Pulling fs layer 11:04:52 a51346096db8: Pulling fs layer 11:04:52 daebc70d1ce1: Pulling fs layer 11:04:52 0e18a0eac166: Pulling fs layer 11:04:52 4fe6c5a15a65: Waiting 11:04:52 ca2b28591e48: Waiting 11:04:52 22a0e8bec74d: Waiting 11:04:52 a51346096db8: Waiting 11:04:52 daebc70d1ce1: Waiting 11:04:52 0e18a0eac166: Waiting 11:04:52 8ed8ca486205: Verifying Checksum 11:04:52 8ed8ca486205: Download complete 11:04:52 666ba61612fd: Verifying Checksum 11:04:52 666ba61612fd: Download complete 11:04:52 22a0e8bec74d: Download complete 11:04:52 ca2b28591e48: Verifying Checksum 11:04:52 ca2b28591e48: Download complete 11:04:52 59bf1c3509f3: Verifying Checksum 11:04:52 59bf1c3509f3: Download complete 11:04:52 a51346096db8: Verifying Checksum 11:04:52 a51346096db8: Download complete 11:04:52 daebc70d1ce1: Verifying Checksum 11:04:52 daebc70d1ce1: Download complete 11:04:52 59bf1c3509f3: Pull complete 11:04:52 666ba61612fd: Pull complete 11:04:52 8ed8ca486205: Pull complete 11:04:52 0e18a0eac166: Verifying Checksum 11:04:52 0e18a0eac166: Download complete 11:04:53 4fe6c5a15a65: Verifying Checksum 11:04:53 4fe6c5a15a65: Download complete 11:04:57 4fe6c5a15a65: Pull complete 11:04:57 22a0e8bec74d: Pull complete 11:04:57 ca2b28591e48: Pull complete 11:04:57 a51346096db8: Pull complete 11:04:57 daebc70d1ce1: Pull complete 11:04:59 0e18a0eac166: Pull complete 11:04:59 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:04:59 ---> f018257e8ee9 11:04:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:00 ---> Running in aa7e612e1a77 11:05:00 Removing intermediate container aa7e612e1a77 11:05:00 ---> 701eb384ffa0 11:05:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:05:00 ---> Running in d91e76668d5a 11:05:00 Removing intermediate container d91e76668d5a 11:05:00 ---> 2c80f5a2a834 11:05:00 Step 5/12 : WORKDIR /device-virtual-go 11:05:00 ---> Running in 17c0e544de1a 11:05:01 Removing intermediate container 17c0e544de1a 11:05:01 ---> 87ba363cdcae 11:05:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:01 ---> Running in 0ea31a5a9f2c 11:05:01 Removing intermediate container 0ea31a5a9f2c 11:05:01 ---> 6d632cafc8a6 11:05:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:01 ---> Running in d7b376695f1d 11:05:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:05:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:05:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:05:03 (2/4) Installing libedit (20210910.3.1-r0) 11:05:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:05:03 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:05:03 Executing busybox-1.34.1-r3.trigger 11:05:03 OK: 224 MiB in 56 packages 11:05:03 Removing intermediate container d7b376695f1d 11:05:03 ---> ec7041e20ae7 11:05:03 Step 8/12 : COPY go.mod vendor* ./ 11:05:03 ---> 6aa52ceb4c6a 11:05:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:03 ---> Running in 8549893be7cb 11:05:05 Still waiting to schedule task 11:05:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:05:18 Removing intermediate container 8549893be7cb 11:05:18 ---> 2fd7fb8dcf8b 11:05:18 Step 10/12 : COPY . . 11:05:19 ---> c793caea1b01 11:05:19 Step 11/12 : ARG MAKE='make build' 11:05:19 ---> Running in e03797264ce6 11:05:19 Removing intermediate container e03797264ce6 11:05:19 ---> cc3ef87a8fa8 11:05:19 Step 12/12 : RUN $MAKE 11:05:19 ---> Running in 673882039a24 11:05:20 noop 11:05:20 Removing intermediate container 673882039a24 11:05:20 ---> 00540f44b78d 11:05:20 Successfully built 00540f44b78d 11:05:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:05:20 + docker inspect -f . ci-base-image-x86_64 11:05:20 . [Pipeline] withDockerContainer 11:05:20 prd-ubuntu20.04-docker-8c-8g-34473 does not seem to be running inside a container 11:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-282 -v /w/workspace/foundry_device-virtual-go_PR-282:/w/workspace/foundry_device-virtual-go_PR-282:rw,z -v /w/workspace/foundry_device-virtual-go_PR-282@tmp:/w/workspace/foundry_device-virtual-go_PR-282@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 ******** ci-base-image-x86_64 cat 11:05:21 $ docker top 29c1f84f5832cc066dc9bf258b14cbcb09cd3938481d8463aa74c6ba81944fe3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:21 + go version 11:05:21 go version go1.17.6 linux/amd64 [Pipeline] } 11:05:21 $ docker stop --time=1 29c1f84f5832cc066dc9bf258b14cbcb09cd3938481d8463aa74c6ba81944fe3 11:05:22 $ docker rm -f 29c1f84f5832cc066dc9bf258b14cbcb09cd3938481d8463aa74c6ba81944fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:05:23 + docker inspect -f . ci-base-image-x86_64 11:05:23 . [Pipeline] withDockerContainer 11:05:23 prd-ubuntu20.04-docker-8c-8g-34473 does not seem to be running inside a container 11:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-282 -v /w/workspace/foundry_device-virtual-go_PR-282:/w/workspace/foundry_device-virtual-go_PR-282:rw,z -v /w/workspace/foundry_device-virtual-go_PR-282@tmp:/w/workspace/foundry_device-virtual-go_PR-282@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 ******** ci-base-image-x86_64 cat 11:05:24 $ docker top 12e0c8e9bf0a79bfbc0911c0b2216f9e0b1d0e2d84b4e7581e743a7ebffc3f9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:05:24 + make test 11:05:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 11:05:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:44 ./bin/test-attribution-txt.sh [Pipeline] echo 11:05:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:44 $ docker stop --time=1 12e0c8e9bf0a79bfbc0911c0b2216f9e0b1d0e2d84b4e7581e743a7ebffc3f9d 11:05:46 $ docker rm -f 12e0c8e9bf0a79bfbc0911c0b2216f9e0b1d0e2d84b4e7581e743a7ebffc3f9d [Pipeline] // withDockerContainer [Pipeline] sh 11:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:47 + ls -al . 11:05:47 total 184 11:05:47 drwxrwxr-x 8 jenkins jenkins 4096 May 2 11:05 . 11:05:47 drwxrwxr-x 4 jenkins jenkins 4096 May 2 11:04 .. 11:05:47 drwxrwxr-x 8 jenkins jenkins 4096 May 2 11:04 .git 11:05:47 drwxrwxr-x 2 jenkins jenkins 4096 May 2 11:04 .github 11:05:47 -rw-rw-r-- 1 jenkins jenkins 270 May 2 11:04 .gitignore 11:05:47 -rw-rw-r-- 1 jenkins jenkins 41 May 2 11:04 .golangci.yml 11:05:47 drwxr-xr-x 3 jenkins jenkins 4096 May 2 11:04 .semver 11:05:47 -rw-rw-r-- 1 jenkins jenkins 7893 May 2 11:04 Attribution.txt 11:05:47 -rw-rw-r-- 1 jenkins jenkins 6349 May 2 11:04 CHANGELOG.md 11:05:47 -rw-rw-r-- 1 jenkins jenkins 1974 May 2 11:04 Dockerfile 11:05:47 -rw-rw-r-- 1 jenkins jenkins 677 May 2 11:04 GOVERNANCE.md 11:05:47 -rw-rw-r-- 1 jenkins jenkins 660 May 2 11:04 Jenkinsfile 11:05:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 11:04 LICENSE 11:05:47 -rw-rw-r-- 1 jenkins jenkins 2248 May 2 11:04 Makefile 11:05:47 -rw-rw-r-- 1 jenkins jenkins 623 May 2 11:04 OWNERS.md 11:05:47 -rw-rw-r-- 1 jenkins jenkins 2914 May 2 11:04 README.md 11:05:47 -rw-rw-r-- 1 jenkins jenkins 5 May 2 11:04 VERSION 11:05:47 drwxrwxr-x 2 jenkins jenkins 4096 May 2 11:04 bin 11:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 2 11:04 cmd 11:05:47 -rw-r--r-- 1 jenkins jenkins 44128 May 2 11:05 coverage.out 11:05:47 -rw-rw-r-- 1 jenkins jenkins 3185 May 2 11:04 go.mod 11:05:47 -rw-rw-r-- 1 jenkins jenkins 35098 May 2 11:04 go.sum 11:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 2 11:04 internal 11:05:47 -rw-rw-r-- 1 jenkins jenkins 235 May 2 11:04 version.go [Pipeline] isUnix [Pipeline] sh 11:05:48 + 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=2aad31ac67166435ab4b625a89e2b621c21f6a25 --label arch=amd64 --label version=0.0.0 . 11:05:48 Sending build context to Docker daemon 22.96MB 11:05:48 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:05:48 Step 2/26 : FROM ${BASE} AS builder 11:05:48 ---> 00540f44b78d 11:05:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:48 ---> Running in 1a07296fc6c7 11:05:48 Removing intermediate container 1a07296fc6c7 11:05:48 ---> fa2aa01e02ba 11:05:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:05:48 ---> Running in f7771b2a15ee 11:05:48 Removing intermediate container f7771b2a15ee 11:05:48 ---> 1e65604e025f 11:05:48 Step 5/26 : WORKDIR /device-virtual-go 11:05:48 ---> Running in 26c0829bb85f 11:05:48 Removing intermediate container 26c0829bb85f 11:05:48 ---> 435bc8bef281 11:05:48 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:49 ---> Running in 03b22b06d84f 11:05:49 Removing intermediate container 03b22b06d84f 11:05:49 ---> 168d26aebe8a 11:05:49 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:49 ---> Running in 0c7e26372851 11:05:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:05:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:05:51 OK: 224 MiB in 56 packages 11:05:51 Removing intermediate container 0c7e26372851 11:05:51 ---> c0dc1fa88d98 11:05:51 Step 8/26 : COPY go.mod vendor* ./ 11:05:51 ---> ddbfe712d6ef 11:05:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:51 ---> Running in 18dfc80e28e3 11:05:52 Removing intermediate container 18dfc80e28e3 11:05:52 ---> e958aeb2d7cd 11:05:52 Step 10/26 : COPY . . 11:05:52 ---> 0580493225f3 11:05:52 Step 11/26 : ARG MAKE='make build' 11:05:52 ---> Running in 5b4264d1a945 11:05:52 Removing intermediate container 5b4264d1a945 11:05:52 ---> be56f3e0aace 11:05:52 Step 12/26 : RUN $MAKE 11:05:52 ---> Running in 7b29850d559d 11:05:52 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 11:06:14 Removing intermediate container 7b29850d559d 11:06:14 ---> f68f7fd12602 11:06:14 Step 13/26 : FROM alpine:3.14 11:06:14 3.14: Pulling from library/alpine 11:06:14 8663204ce13b: Pulling fs layer 11:06:14 8663204ce13b: Verifying Checksum 11:06:14 8663204ce13b: Download complete 11:06:14 8663204ce13b: Pull complete 11:06:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:06:14 Status: Downloaded newer image for alpine:3.14 11:06:14 ---> e04c818066af 11:06:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:14 ---> Running in 98935d44110d 11:06:14 Removing intermediate container 98935d44110d 11:06:14 ---> b71591888fcb 11:06:14 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:14 ---> Running in 398bec2fa2a7 11:06:14 Removing intermediate container 398bec2fa2a7 11:06:14 ---> 4ece5aa7ca6a 11:06:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:06:14 ---> Running in 777ac92efa28 11:06:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:06:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:06:15 (1/6) Installing dumb-init (1.2.5-r1) 11:06:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:06:15 (3/6) Installing libsodium (1.0.18-r0) 11:06:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:06:15 (5/6) Installing libzmq (4.3.4-r0) 11:06:15 (6/6) Installing zeromq (4.3.4-r0) 11:06:15 Executing busybox-1.33.1-r7.trigger 11:06:15 OK: 8 MiB in 20 packages 11:06:16 Removing intermediate container 777ac92efa28 11:06:16 ---> e1dc100ac29e 11:06:16 Step 17/26 : WORKDIR / 11:06:16 ---> Running in 15be0271f918 11:06:16 Removing intermediate container 15be0271f918 11:06:16 ---> 632e43ba0e2a 11:06:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:16 ---> cbc9f15d7544 11:06:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:16 ---> 56c426ce35a5 11:06:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:06:17 ---> d088211a5dd6 11:06:17 Step 21/26 : EXPOSE 59900 11:06:17 ---> Running in 1df872ae350a 11:06:17 Removing intermediate container 1df872ae350a 11:06:17 ---> 0e0bdce199af 11:06:17 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:06:17 ---> Running in 0c9a2688fe2c 11:06:17 Removing intermediate container 0c9a2688fe2c 11:06:17 ---> b8391d7a72bd 11:06:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:17 ---> Running in f302c18634b0 11:06:17 Removing intermediate container f302c18634b0 11:06:17 ---> b48ff0dacd0e 11:06:17 Step 24/26 : LABEL arch=amd64 11:06:17 ---> Running in a3ea40c4318e 11:06:17 Removing intermediate container a3ea40c4318e 11:06:17 ---> f293cc861ceb 11:06:17 Step 25/26 : LABEL git_sha=2aad31ac67166435ab4b625a89e2b621c21f6a25 11:06:17 ---> Running in 5071f861ad5b 11:06:17 Removing intermediate container 5071f861ad5b 11:06:17 ---> 9eb328689777 11:06:17 Step 26/26 : LABEL version=0.0.0 11:06:17 ---> Running in 82d2cb5d7368 11:06:17 Removing intermediate container 82d2cb5d7368 11:06:17 ---> 1a3ed0a700fd 11:06:17 [Warning] One or more build-args [ARCH] were not consumed 11:06:17 Successfully built 1a3ed0a700fd 11:06:17 Successfully tagged device-virtual:latest [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] sh 11:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:18 11:06:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:06:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:18 latest: Pulling from edgex-lftools-log-publisher 11:06:18 5eb5b503b376: Pulling fs layer 11:06:18 5c69ac0246d0: Pulling fs layer 11:06:18 ec43610c2a17: Pulling fs layer 11:06:18 3a2ae6a8a46f: Pulling fs layer 11:06:18 33b1e0a273af: Pulling fs layer 11:06:18 5d3b04190fa2: Pulling fs layer 11:06:18 2f39f015ded8: Pulling fs layer 11:06:18 33b1e0a273af: Waiting 11:06:18 3a2ae6a8a46f: Waiting 11:06:18 2f39f015ded8: Waiting 11:06:18 5c69ac0246d0: Verifying Checksum 11:06:18 5c69ac0246d0: Download complete 11:06:18 3a2ae6a8a46f: Verifying Checksum 11:06:18 3a2ae6a8a46f: Download complete 11:06:18 33b1e0a273af: Download complete 11:06:18 ec43610c2a17: Verifying Checksum 11:06:18 ec43610c2a17: Download complete 11:06:18 5d3b04190fa2: Verifying Checksum 11:06:18 5d3b04190fa2: Download complete 11:06:19 5eb5b503b376: Verifying Checksum 11:06:19 5eb5b503b376: Download complete 11:06:19 2f39f015ded8: Download complete 11:06:20 5eb5b503b376: Pull complete 11:06:20 5c69ac0246d0: Pull complete 11:06:21 ec43610c2a17: Pull complete 11:06:21 3a2ae6a8a46f: Pull complete 11:06:21 33b1e0a273af: Pull complete 11:06:21 5d3b04190fa2: Pull complete 11:06:25 2f39f015ded8: Pull complete 11:06:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:06:25 prd-ubuntu20.04-docker-8c-8g-34473 does not seem to be running inside a container 11:06:25 $ 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-282 -v /w/workspace/foundry_device-virtual-go_PR-282:/w/workspace/foundry_device-virtual-go_PR-282:rw,z -v /w/workspace/foundry_device-virtual-go_PR-282@tmp:/w/workspace/foundry_device-virtual-go_PR-282@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:06:27 $ docker top f42ebd797de76597ff235570776b5317e8ef75da265d49c2de1cdf6c7409507b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:28 ---> job-cost.sh 11:06:28 lf-activate-venv: SKIPPING 11:06:28 INFO: No Stack... 11:06:28 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:28 INFO: Archiving Costs [Pipeline] sh 11:06:29 + cat /w/workspace/foundry_device-virtual-go_PR-282/archives/cost.csv 11:06:29 + cut -d, -f6 [Pipeline] lock 11:06:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] 11:06:29 Resource [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] did not exist. Created. 11:06:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:29 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:29 Stashed 1 file(s) [Pipeline] } 11:06:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:29 $ docker stop --time=1 f42ebd797de76597ff235570776b5317e8ef75da265d49c2de1cdf6c7409507b 11:06:30 $ docker rm -f f42ebd797de76597ff235570776b5317e8ef75da265d49c2de1cdf6c7409507b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34474 in /w/workspace/foundry_device-virtual-go_PR-282 [Pipeline] { [Pipeline] ws 11:06:38 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:38 The recommended git tool is: git 11:06:46 using credential edgex-jenkins-ssh 11:06:46 Cloning the remote Git repository 11:06:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:46 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:46 > git --version # timeout=10 11:06:46 > git --version # 'git version 2.25.1' 11:06:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:49 Merging remotes/origin/main commit a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 into PR head commit 2aad31ac67166435ab4b625a89e2b621c21f6a25 11:06:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:06:49 > git config core.sparsecheckout # timeout=10 11:06:49 > git checkout -f 2aad31ac67166435ab4b625a89e2b621c21f6a25 # timeout=10 11:06:49 Merge succeeded, producing 2aad31ac67166435ab4b625a89e2b621c21f6a25 11:06:49 Checking out Revision 2aad31ac67166435ab4b625a89e2b621c21f6a25 (PR-282) 11:06:49 > git remote # timeout=10 11:06:49 > git config --get remote.origin.url # timeout=10 11:06:49 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:49 > git merge a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 11:06:49 > git rev-parse HEAD^{commit} # timeout=10 11:06:49 > git config core.sparsecheckout # timeout=10 11:06:49 > git checkout -f 2aad31ac67166435ab4b625a89e2b621c21f6a25 # timeout=10 11:06:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:06:53 > git --version # timeout=10 11:06:53 > git --version # 'git version 2.25.1' 11:06:53 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:54 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:54 Dload Upload Total Spent Left Speed 11:06:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 99521 [Pipeline] sh 11:06:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:06:55 + sudo tee /etc/docker/daemon.new 11:06:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:55 { 11:06:55 "registry-mirrors": [ 11:06:55 "https://nexus3.edgexfoundry.org:10001" 11:06:55 ], 11:06:55 "bip": "10.250.0.254/24", 11:06:55 "hosts": [ 11:06:55 "tcp://0.0.0.0:5555", 11:06:55 "unix:///var/run/docker.sock" 11:06:55 ], 11:06:55 "mtu": 1458, 11:06:55 "selinux-enabled": true, 11:06:55 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:55 } [Pipeline] sh 11:06:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:06:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:15 provisioning config files... 11:07:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6614667510546153162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:15 ---> docker-login.sh 11:07:15 nexus3.edgexfoundry.org:10001 11:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:16 Configure a credential helper to remove this warning. See 11:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:16 11:07:16 Login Succeeded 11:07:16 nexus3.edgexfoundry.org:10002 11:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:16 Configure a credential helper to remove this warning. See 11:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:16 11:07:16 Login Succeeded 11:07:17 nexus3.edgexfoundry.org:10003 11:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:17 Configure a credential helper to remove this warning. See 11:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:17 11:07:17 Login Succeeded 11:07:17 nexus3.edgexfoundry.org:10004 11:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:17 Configure a credential helper to remove this warning. See 11:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:17 11:07:17 Login Succeeded 11:07:17 docker.io 11:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:19 Configure a credential helper to remove this warning. See 11:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:19 11:07:19 Login Succeeded 11:07:19 ---> docker-login.sh ends [Pipeline] } 11:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:19 ========================================================= 11:07:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:07:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:07:20 + 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 . 11:07:20 Sending build context to Docker daemon 11.59MB 11:07:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:07:20 Step 2/12 : FROM ${BASE} AS builder 11:07:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:20 9b3977197b4f: Pulling fs layer 11:07:20 1a89e8eeedd5: Pulling fs layer 11:07:20 94645a83ff95: Pulling fs layer 11:07:20 3f3a8bcf1eab: Pulling fs layer 11:07:20 0c92f367c5e7: Pulling fs layer 11:07:20 3096ccb668a1: Pulling fs layer 11:07:20 e8cf19c19ddd: Pulling fs layer 11:07:20 a4caa8a26152: Pulling fs layer 11:07:20 0c92f367c5e7: Waiting 11:07:20 3096ccb668a1: Waiting 11:07:20 e8cf19c19ddd: Waiting 11:07:20 a4caa8a26152: Waiting 11:07:20 3f3a8bcf1eab: Waiting 11:07:20 94645a83ff95: Verifying Checksum 11:07:20 94645a83ff95: Download complete 11:07:20 1a89e8eeedd5: Download complete 11:07:20 0c92f367c5e7: Verifying Checksum 11:07:20 0c92f367c5e7: Download complete 11:07:20 3096ccb668a1: Verifying Checksum 11:07:20 3096ccb668a1: Download complete 11:07:20 e8cf19c19ddd: Verifying Checksum 11:07:20 e8cf19c19ddd: Download complete 11:07:20 9b3977197b4f: Verifying Checksum 11:07:20 9b3977197b4f: Download complete 11:07:21 9b3977197b4f: Pull complete 11:07:22 1a89e8eeedd5: Pull complete 11:07:22 94645a83ff95: Pull complete 11:07:22 a4caa8a26152: Verifying Checksum 11:07:22 a4caa8a26152: Download complete 11:07:23 3f3a8bcf1eab: Verifying Checksum 11:07:23 3f3a8bcf1eab: Download complete 11:07:35 3f3a8bcf1eab: Pull complete 11:07:35 0c92f367c5e7: Pull complete 11:07:35 3096ccb668a1: Pull complete 11:07:35 e8cf19c19ddd: Pull complete 11:07:42 a4caa8a26152: Pull complete 11:07:42 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:07:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:07:42 ---> 725f1c02e7f9 11:07:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:42 ---> Running in 42531860b312 11:07:43 Removing intermediate container 42531860b312 11:07:43 ---> 833a14ad48df 11:07:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:07:43 ---> Running in e295c45bf104 11:07:43 Removing intermediate container e295c45bf104 11:07:43 ---> 2a9a7a844fbf 11:07:43 Step 5/12 : WORKDIR /device-virtual-go 11:07:43 ---> Running in 6a4ece0978b0 11:07:44 Removing intermediate container 6a4ece0978b0 11:07:44 ---> c53b9147d528 11:07:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:44 ---> Running in e6ceeeae8d8c 11:07:46 Removing intermediate container e6ceeeae8d8c 11:07:46 ---> 1c368128f21d 11:07:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:46 ---> Running in 75248840fe2b 11:07:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:07:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:07:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:48 (2/4) Installing libedit (20210910.3.1-r0) 11:07:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:48 Executing busybox-1.34.1-r3.trigger 11:07:48 OK: 224 MiB in 56 packages 11:07:50 Removing intermediate container 75248840fe2b 11:07:50 ---> 2e84dffd1037 11:07:50 Step 8/12 : COPY go.mod vendor* ./ 11:07:51 ---> 939369a8cd99 11:07:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:51 ---> Running in 8a37d1688dd3 11:08:38 Removing intermediate container 8a37d1688dd3 11:08:38 ---> 57ec7894a4d4 11:08:38 Step 10/12 : COPY . . 11:08:38 ---> e056a8059230 11:08:38 Step 11/12 : ARG MAKE='make build' 11:08:38 ---> Running in 73fba8d8a66d 11:08:38 Removing intermediate container 73fba8d8a66d 11:08:38 ---> e754adf3e62f 11:08:38 Step 12/12 : RUN $MAKE 11:08:38 ---> Running in 2c70a7d79b37 11:08:39 noop 11:08:40 Removing intermediate container 2c70a7d79b37 11:08:40 ---> eaa5242eae63 11:08:40 Successfully built eaa5242eae63 11:08:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:08:40 + docker inspect -f . ci-base-image-arm64 11:08:40 . [Pipeline] withDockerContainer 11:08:40 prd-ubuntu20.04-docker-arm64-4c-16g-34474 does not seem to be running inside a container 11:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 11:08:42 $ docker top 4798f1b5d2b960f3a87a3d8934be94ed0d4f29a99ee04ee50711fe0cb9811505 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:43 + go version 11:08:43 go version go1.17.6 linux/arm64 [Pipeline] } 11:08:43 $ docker stop --time=1 4798f1b5d2b960f3a87a3d8934be94ed0d4f29a99ee04ee50711fe0cb9811505 11:08:44 $ docker rm -f 4798f1b5d2b960f3a87a3d8934be94ed0d4f29a99ee04ee50711fe0cb9811505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:45 + docker inspect -f . ci-base-image-arm64 11:08:45 . [Pipeline] withDockerContainer 11:08:45 prd-ubuntu20.04-docker-arm64-4c-16g-34474 does not seem to be running inside a container 11:08:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 11:08:47 $ docker top f49ac9db25c8f80cdccaf1862ce450882c3927bc8936356f04f9a90dc3f06c0c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:48 + make test 11:08:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:10:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:10:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 11:10:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:10:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:38 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:38 $ docker stop --time=1 f49ac9db25c8f80cdccaf1862ce450882c3927bc8936356f04f9a90dc3f06c0c 11:10:40 $ docker rm -f f49ac9db25c8f80cdccaf1862ce450882c3927bc8936356f04f9a90dc3f06c0c [Pipeline] // withDockerContainer [Pipeline] sh 11:10:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:41 Warning: overwriting stash ‘coverage-report’ 11:10:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:42 + ls -al . 11:10:42 total 180 11:10:42 drwxrwxr-x 7 jenkins jenkins 4096 May 2 11:10 . 11:10:42 drwxrwxr-x 4 jenkins jenkins 4096 May 2 11:06 .. 11:10:42 drwxrwxr-x 8 jenkins jenkins 4096 May 2 11:06 .git 11:10:42 drwxrwxr-x 2 jenkins jenkins 4096 May 2 11:06 .github 11:10:42 -rw-rw-r-- 1 jenkins jenkins 270 May 2 11:06 .gitignore 11:10:42 -rw-rw-r-- 1 jenkins jenkins 41 May 2 11:06 .golangci.yml 11:10:42 -rw-rw-r-- 1 jenkins jenkins 7893 May 2 11:06 Attribution.txt 11:10:42 -rw-rw-r-- 1 jenkins jenkins 6349 May 2 11:06 CHANGELOG.md 11:10:42 -rw-rw-r-- 1 jenkins jenkins 1974 May 2 11:06 Dockerfile 11:10:42 -rw-rw-r-- 1 jenkins jenkins 677 May 2 11:06 GOVERNANCE.md 11:10:42 -rw-rw-r-- 1 jenkins jenkins 660 May 2 11:06 Jenkinsfile 11:10:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 11:06 LICENSE 11:10:42 -rw-rw-r-- 1 jenkins jenkins 2248 May 2 11:06 Makefile 11:10:42 -rw-rw-r-- 1 jenkins jenkins 623 May 2 11:06 OWNERS.md 11:10:42 -rw-rw-r-- 1 jenkins jenkins 2914 May 2 11:06 README.md 11:10:42 -rw-rw-r-- 1 jenkins jenkins 5 May 2 11:04 VERSION 11:10:42 drwxrwxr-x 2 jenkins jenkins 4096 May 2 11:06 bin 11:10:42 drwxrwxr-x 3 jenkins jenkins 4096 May 2 11:06 cmd 11:10:42 -rw-r--r-- 1 jenkins jenkins 44128 May 2 11:10 coverage.out 11:10:42 -rw-rw-r-- 1 jenkins jenkins 3185 May 2 11:06 go.mod 11:10:42 -rw-rw-r-- 1 jenkins jenkins 35098 May 2 11:06 go.sum 11:10:42 drwxrwxr-x 3 jenkins jenkins 4096 May 2 11:06 internal 11:10:42 -rw-rw-r-- 1 jenkins jenkins 235 May 2 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:10:43 + 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=2aad31ac67166435ab4b625a89e2b621c21f6a25 --label arch=arm64 --label version=0.0.0 . 11:10:43 Sending build context to Docker daemon 11.63MB 11:10:43 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:10:43 Step 2/26 : FROM ${BASE} AS builder 11:10:43 ---> eaa5242eae63 11:10:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:43 ---> Running in 5ad9b1639f33 11:10:44 Removing intermediate container 5ad9b1639f33 11:10:44 ---> d95e3baadf60 11:10:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:10:44 ---> Running in 67461e5f6194 11:10:44 Removing intermediate container 67461e5f6194 11:10:44 ---> 0cd07e00fe82 11:10:44 Step 5/26 : WORKDIR /device-virtual-go 11:10:44 ---> Running in 8f88bd9c6641 11:10:44 Removing intermediate container 8f88bd9c6641 11:10:44 ---> f73a7b039dd8 11:10:44 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:44 ---> Running in c2c8d20520c7 11:10:46 Removing intermediate container c2c8d20520c7 11:10:46 ---> 5eaa48e92d5b 11:10:46 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:46 ---> Running in 25190265899f 11:10:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:10:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:10:49 OK: 224 MiB in 56 packages 11:10:50 Removing intermediate container 25190265899f 11:10:50 ---> 60ecabb306d1 11:10:50 Step 8/26 : COPY go.mod vendor* ./ 11:10:50 ---> ad46edf4f2fa 11:10:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:50 ---> Running in bb4169bb1fde 11:10:52 Removing intermediate container bb4169bb1fde 11:10:52 ---> d0f4e41f1c47 11:10:52 Step 10/26 : COPY . . 11:10:53 ---> cd5ae79a0b93 11:10:53 Step 11/26 : ARG MAKE='make build' 11:10:53 ---> Running in 81d0325e524a 11:10:53 Removing intermediate container 81d0325e524a 11:10:53 ---> 9a370fbd74a1 11:10:53 Step 12/26 : RUN $MAKE 11:10:54 ---> Running in 5cdd081a28fa 11:10:55 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 11:13:02 Removing intermediate container 5cdd081a28fa 11:13:02 ---> e113c0a8f6c9 11:13:02 Step 13/26 : FROM alpine:3.14 11:13:02 3.14: Pulling from library/alpine 11:13:02 455c02918c45: Pulling fs layer 11:13:02 455c02918c45: Download complete 11:13:02 455c02918c45: Pull complete 11:13:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:13:02 Status: Downloaded newer image for alpine:3.14 11:13:02 ---> ac73e934f311 11:13:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:02 ---> Running in 6f3a092143a6 11:13:02 Removing intermediate container 6f3a092143a6 11:13:02 ---> 9e429feb2f80 11:13:02 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:02 ---> Running in 69b1b2bcdaf8 11:13:02 Removing intermediate container 69b1b2bcdaf8 11:13:02 ---> e744c9214af8 11:13:02 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:13:02 ---> Running in e7bce86689db 11:13:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:13:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:13:02 (1/6) Installing dumb-init (1.2.5-r1) 11:13:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:13:02 (3/6) Installing libsodium (1.0.18-r0) 11:13:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:13:02 (5/6) Installing libzmq (4.3.4-r0) 11:13:02 (6/6) Installing zeromq (4.3.4-r0) 11:13:02 Executing busybox-1.33.1-r7.trigger 11:13:02 OK: 8 MiB in 20 packages 11:13:02 Removing intermediate container e7bce86689db 11:13:02 ---> bfae1e11b179 11:13:02 Step 17/26 : WORKDIR / 11:13:02 ---> Running in 624bf85ff3c1 11:13:02 Removing intermediate container 624bf85ff3c1 11:13:02 ---> dc0cce95fcdb 11:13:02 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:02 ---> 2a67e0ef253f 11:13:02 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:02 ---> cbe66c9c77c7 11:13:02 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:13:02 ---> 7e7680e16cad 11:13:02 Step 21/26 : EXPOSE 59900 11:13:02 ---> Running in 404f7bfb7a33 11:13:02 Removing intermediate container 404f7bfb7a33 11:13:02 ---> 59a63b3dba2b 11:13:02 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:13:02 ---> Running in a1415603c858 11:13:02 Removing intermediate container a1415603c858 11:13:02 ---> 14f6d0f95ee4 11:13:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:02 ---> Running in 1e5526ecb71c 11:13:02 Removing intermediate container 1e5526ecb71c 11:13:02 ---> a4eec80bfdc4 11:13:02 Step 24/26 : LABEL arch=arm64 11:13:02 ---> Running in 54e1c850aa7b 11:13:02 Removing intermediate container 54e1c850aa7b 11:13:02 ---> 387cefbc1cd1 11:13:02 Step 25/26 : LABEL git_sha=2aad31ac67166435ab4b625a89e2b621c21f6a25 11:13:02 ---> Running in 9e301100e584 11:13:02 Removing intermediate container 9e301100e584 11:13:02 ---> 4c2465c49e25 11:13:02 Step 26/26 : LABEL version=0.0.0 11:13:02 ---> Running in a1b008249239 11:13:02 Removing intermediate container a1b008249239 11:13:02 ---> f19a323a7681 11:13:02 [Warning] One or more build-args [ARCH] were not consumed 11:13:02 Successfully built f19a323a7681 11:13:02 Successfully tagged device-virtual-arm64:latest [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] sh 11:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:02 11:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:03 arm64: Pulling from edgex-lftools-log-publisher 11:13:03 8998bd30e6a1: Pulling fs layer 11:13:03 04944245beec: Pulling fs layer 11:13:03 699f458cf7ca: Pulling fs layer 11:13:03 765212b225bb: Pulling fs layer 11:13:03 f23df028b6ca: Pulling fs layer 11:13:03 d65c8cfc05b1: Pulling fs layer 11:13:03 2437ff75d9bd: Pulling fs layer 11:13:03 f23df028b6ca: Waiting 11:13:03 d65c8cfc05b1: Waiting 11:13:03 765212b225bb: Waiting 11:13:03 2437ff75d9bd: Waiting 11:13:03 04944245beec: Verifying Checksum 11:13:03 04944245beec: Download complete 11:13:03 765212b225bb: Verifying Checksum 11:13:03 765212b225bb: Download complete 11:13:03 f23df028b6ca: Verifying Checksum 11:13:03 f23df028b6ca: Download complete 11:13:03 d65c8cfc05b1: Verifying Checksum 11:13:03 d65c8cfc05b1: Download complete 11:13:03 699f458cf7ca: Verifying Checksum 11:13:03 699f458cf7ca: Download complete 11:13:03 8998bd30e6a1: Verifying Checksum 11:13:03 8998bd30e6a1: Download complete 11:13:05 2437ff75d9bd: Verifying Checksum 11:13:05 2437ff75d9bd: Download complete 11:13:08 8998bd30e6a1: Pull complete 11:13:08 04944245beec: Pull complete 11:13:10 699f458cf7ca: Pull complete 11:13:10 765212b225bb: Pull complete 11:13:11 f23df028b6ca: Pull complete 11:13:11 d65c8cfc05b1: Pull complete 11:13:26 2437ff75d9bd: Pull complete 11:13:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:13:26 prd-ubuntu20.04-docker-arm64-4c-16g-34474 does not seem to be running inside a container 11:13:26 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:29 $ docker top 5f141bf635a83fd0262734d2ed257b904c89a018e3e2b9da27d1ec1a557afcdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:30 ---> job-cost.sh 11:13:30 lf-activate-venv: SKIPPING 11:13:30 INFO: No Stack... 11:13:30 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:31 INFO: Archiving Costs [Pipeline] sh 11:13:32 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:32 + cut -d, -f6 [Pipeline] lock 11:13:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] 11:13:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] did not exist. Created. 11:13:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:33 /w/workspace/device-virtual-go/1@tmp/durable-42d5602a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:34 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:34 Warning: overwriting stash ‘stack-cost’ 11:13:34 Stashed 1 file(s) [Pipeline] } 11:13:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:34 $ docker stop --time=1 5f141bf635a83fd0262734d2ed257b904c89a018e3e2b9da27d1ec1a557afcdd 11:13:35 $ docker rm -f 5f141bf635a83fd0262734d2ed257b904c89a018e3e2b9da27d1ec1a557afcdd [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 11:13:36 provisioning config files... 11:13:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-282@tmp/config3225531396598549364tmp [Pipeline] { [Pipeline] sh 11:13:37 + set +x 11:13:37 + + bash -s -- 11:13:37 curl -s https://codecov.io/bash 11:13:37 11:13:37 _____ _ 11:13:37 / ____| | | 11:13:37 | | ___ __| | ___ ___ _____ __ 11:13:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:37 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:37 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:37 Bash-1.0.6 11:13:37 11:13:37 11:13:37 ==> git version 2.25.1 found 11:13:37 ==> 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 11:13:37 Release-Date: 2020-01-08 11:13:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:13:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:37 ==> Jenkins CI detected. 11:13:37 current dir:  /w/workspace/foundry_device-virtual-go_PR-282 11:13:37 project root: . 11:13:37 --> token set from env 11:13:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:37 ==> Running gcov in . (disable via -X gcov) 11:13:37 ==> Python coveragepy not found 11:13:37 ==> Searching for coverage reports in: 11:13:37 + . 11:13:37 -> Found 1 reports 11:13:37 ==> Detecting git/mercurial file structure 11:13:37 ==> Reading reports 11:13:37 + ./coverage.out bytes=44128 11:13:37 ==> Appending adjustments 11:13:37 https://docs.codecov.io/docs/fixing-reports 11:13:37 + Found adjustments 11:13:37 ==> Gzipping contents 11:13:37 8.0K /tmp/codecov.g3XPfS.gz 11:13:37 ==> Uploading reports 11:13:37 url: https://codecov.io 11:13:37 query: branch=PR-282&commit=2aad31ac67166435ab4b625a89e2b621c21f6a25&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=282&job=&cmd_args= 11:13:37 -> Pinging Codecov 11:13:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-282&commit=2aad31ac67166435ab4b625a89e2b621c21f6a25&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=282&job=&cmd_args= 11:13:37 -> Uploading to 11:13:37 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/5E52B4B073DB2E39498172D8E973AA87/2aad31ac67166435ab4b625a89e2b621c21f6a25/af482d10-29d4-4913-8f30-dbfe03d5569f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T111337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61beb607fe0d605769b605ba6570ab0fda81108b7ae999e0c9e4d1e1d4f4ad5e 11:13:37 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:37 Dload Upload Total Spent Left Speed 11:13:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5300 0 0 100 5300 0 23348 --:--:-- --:--:-- --:--:-- 23245 11:13:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2aad31ac67166435ab4b625a89e2b621c21f6a25 [Pipeline] } 11:13:37 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 11:13:39 + [ -d /w/workspace/foundry_device-virtual-go_PR-282/archives ] 11:13:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-282/archives 11:13:39 total 16 11:13:39 drwxr-xr-x 3 root root 4096 May 2 11:06 . 11:13:39 drwxrwxr-x 9 jenkins jenkins 4096 May 2 11:06 .. 11:13:39 drwxr-xr-x 2 root root 4096 May 2 11:06 cost 11:13:39 -rw-r--r-- 1 root root 88 May 2 11:06 cost.csv 11:13:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-282/archives 11:13:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-282/archives 11:13:39 total 16 11:13:39 drwxr-xr-x 3 jenkins jenkins 4096 May 2 11:06 . 11:13:39 drwxrwxr-x 9 jenkins jenkins 4096 May 2 11:06 .. 11:13:39 drwxr-xr-x 2 jenkins jenkins 4096 May 2 11:06 cost 11:13:39 -rw-r--r-- 1 jenkins jenkins 88 May 2 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:40 ---> package-listing.sh 11:13:40 ++ facter osfamily 11:13:40 ++ tr '[:upper:]' '[:lower:]' 11:13:41 + OS_FAMILY=debian 11:13:41 + workspace=/w/workspace/foundry_device-virtual-go_PR-282 11:13:41 + START_PACKAGES=/tmp/packages_start.txt 11:13:41 + END_PACKAGES=/tmp/packages_end.txt 11:13:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:41 + PACKAGES=/tmp/packages_start.txt 11:13:41 + '[' /w/workspace/foundry_device-virtual-go_PR-282 ']' 11:13:41 + PACKAGES=/tmp/packages_end.txt 11:13:41 + case "${OS_FAMILY}" in 11:13:41 + dpkg -l 11:13:41 + grep '^ii' 11:13:41 + '[' -f /tmp/packages_start.txt ']' 11:13:41 + '[' -f /tmp/packages_end.txt ']' 11:13:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:41 + '[' /w/workspace/foundry_device-virtual-go_PR-282 ']' 11:13:41 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-282/archives/ 11:13:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-282/archives/ [Pipeline] echo 11:13:41 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-282/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:13:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:42 . [Pipeline] withDockerContainer 11:13:42 prd-ubuntu20.04-docker-8c-8g-34473 does not seem to be running inside a container 11:13:42 $ 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-282/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-282 -v /w/workspace/foundry_device-virtual-go_PR-282:/w/workspace/foundry_device-virtual-go_PR-282:rw,z -v /w/workspace/foundry_device-virtual-go_PR-282@tmp:/w/workspace/foundry_device-virtual-go_PR-282@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:13:42 $ docker top 1a66504401f89d601bf1c8376b23ff83ed0bedf31991b49467981e8fca31c1eb -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:42 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:43 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:43 + ls /var/log/sa-host 11:13:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:43 provisioning config files... 11:13:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-282@tmp/config5401169963892608640tmp [Pipeline] { [Pipeline] echo 11:13:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:44 ---> create-netrc.sh [Pipeline] } 11:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:44 ---> python-tools-install.sh [Pipeline] echo 11:13:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:44 ---> sudo-logs.sh 11:13:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:45 ---> job-cost.sh 11:13:45 lf-activate-venv: SKIPPING 11:13:45 DEBUG: total: 0.2199999988079071 11:13:45 INFO: Retrieving Stack Cost... 11:13:45 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:46 INFO: Archiving Costs [Pipeline] echo 11:13:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:13:46 ---> logs-deploy.sh 11:13:46 lf-activate-venv: SKIPPING 11:13:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-282/1 11:13:46 INFO: archiving workspace using pattern(s): 11:13:47 Archives upload complete. 11:13:47 INFO: archiving logs to Nexus