Pull request #283 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 106ada734bee3b96ae747a4ada8c53ae48e75cb7+099b8ea86ae346ef1d450a8d185b2283d3122d98 (bc16eb401ceb5269727bf513b99a567bcf44f085) 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-ssh4783669441769506903.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-ssh12795934307580832771.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-283/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-283/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3114857071410743934.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-283/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6654168221949824435.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-ssh4371375732247132033.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-283/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-283/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh382121694688800439.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41435 in /w/workspace/foundry_device-virtual-go_PR-283 [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-283 # 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 099b8ea86ae346ef1d450a8d185b2283d3122d98 into PR head commit 106ada734bee3b96ae747a4ada8c53ae48e75cb7 Merge succeeded, producing 106ada734bee3b96ae747a4ada8c53ae48e75cb7 Checking out Revision 106ada734bee3b96ae747a4ada8c53ae48e75cb7 (PR-283) > 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/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # 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 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura" 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 01:04:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:38 ========================================================= 01:04:38 EdgeX Global Pipelines Version Info 01:04:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:39 ------------------- 01:04:39 stable info: 01:04:39 ------------------- 01:04:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:39 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:04:39 Message: update stable to v1.0.227 01:04:39 ------------------- 01:04:39 experimental info: 01:04:39 ------------------- 01:04:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:39 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 01:04:39 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:04:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:04:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 106ada734bee3b96ae747a4ada8c53ae48e75cb7 [Pipeline] echo 01:04:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 106ada7 [Pipeline] echo 01:04:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:41 provisioning config files... 01:04:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config8588226854868499036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:41 ---> docker-login.sh 01:04:41 nexus3.edgexfoundry.org:10001 01:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:42 Configure a credential helper to remove this warning. See 01:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:42 01:04:42 Login Succeeded 01:04:42 nexus3.edgexfoundry.org:10002 01:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:42 Configure a credential helper to remove this warning. See 01:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:42 01:04:42 Login Succeeded 01:04:42 nexus3.edgexfoundry.org:10003 01:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:42 Configure a credential helper to remove this warning. See 01:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:42 01:04:42 Login Succeeded 01:04:42 nexus3.edgexfoundry.org:10004 01:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:42 Configure a credential helper to remove this warning. See 01:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:42 01:04:42 Login Succeeded 01:04:42 docker.io 01:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:42 Configure a credential helper to remove this warning. See 01:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:42 01:04:42 Login Succeeded 01:04:42 ---> docker-login.sh ends [Pipeline] } 01:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:43 + git rev-list -1 --merges 106ada734bee3b96ae747a4ada8c53ae48e75cb7~1..106ada734bee3b96ae747a4ada8c53ae48e75cb7 [Pipeline] echo 01:04:43 -----------> git rev-list -1 --merges 106ada734bee3b96ae747a4ada8c53ae48e75cb7~1..106ada734bee3b96ae747a4ada8c53ae48e75cb7 106ada734bee3b96ae747a4ada8c53ae48e75cb7 [false] [Pipeline] sh 01:04:43 + git log --format=format:%s -1 106ada734bee3b96ae747a4ada8c53ae48e75cb7 [Pipeline] echo 01:04:43 ========================================================= 01:04:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:44 + git log --format=format:%s -1 106ada734bee3b96ae747a4ada8c53ae48e75cb7 [Pipeline] echo 01:04:44 [semverPrep] GIT_COMMIT: 106ada734bee3b96ae747a4ada8c53ae48e75cb7, Commit Message: docs: update CHANGELOG for Kamakura [Pipeline] echo 01:04:44 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:44 + grep -v github /etc/ssh/ssh_known_hosts 01:04:44 + [ -e /tmp/ssh_known_hosts ] 01:04:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:44 + sudo tee -a /etc/ssh/ssh_known_hosts 01:04:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:04:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:04:45 01:04:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:04:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:04:45 latest: Pulling from edgex-devops/py-git-semver 01:04:45 1fe172e4850f: Pulling fs layer 01:04:45 caf521ccaac6: Pulling fs layer 01:04:45 3ead6fa29328: Pulling fs layer 01:04:45 5c2a1cbceb83: Pulling fs layer 01:04:45 a8d5f1318db7: Pulling fs layer 01:04:45 c427282e49a2: Pulling fs layer 01:04:45 1827001aaf11: Pulling fs layer 01:04:45 0714d37db230: Pulling fs layer 01:04:45 c427282e49a2: Waiting 01:04:45 a8d5f1318db7: Waiting 01:04:45 5c2a1cbceb83: Waiting 01:04:45 1827001aaf11: Waiting 01:04:45 ac28cf19c067: Pulling fs layer 01:04:45 ca983d60f3e2: Pulling fs layer 01:04:45 9f894cec8388: Pulling fs layer 01:04:45 ca983d60f3e2: Waiting 01:04:45 0714d37db230: Waiting 01:04:45 9f894cec8388: Waiting 01:04:45 ac28cf19c067: Waiting 01:04:45 caf521ccaac6: Download complete 01:04:45 5c2a1cbceb83: Verifying Checksum 01:04:45 5c2a1cbceb83: Download complete 01:04:45 a8d5f1318db7: Verifying Checksum 01:04:45 a8d5f1318db7: Download complete 01:04:45 c427282e49a2: Download complete 01:04:45 3ead6fa29328: Verifying Checksum 01:04:45 3ead6fa29328: Download complete 01:04:45 0714d37db230: Download complete 01:04:45 ac28cf19c067: Download complete 01:04:45 ca983d60f3e2: Download complete 01:04:45 9f894cec8388: Verifying Checksum 01:04:45 9f894cec8388: Download complete 01:04:45 1fe172e4850f: Verifying Checksum 01:04:45 1fe172e4850f: Download complete 01:04:46 1827001aaf11: Verifying Checksum 01:04:46 1827001aaf11: Download complete 01:04:47 1fe172e4850f: Pull complete 01:04:47 caf521ccaac6: Pull complete 01:04:48 3ead6fa29328: Pull complete 01:04:48 5c2a1cbceb83: Pull complete 01:04:48 a8d5f1318db7: Pull complete 01:04:48 c427282e49a2: Pull complete 01:04:50 1827001aaf11: Pull complete 01:04:50 0714d37db230: Pull complete 01:04:50 ac28cf19c067: Pull complete 01:04:51 ca983d60f3e2: Pull complete 01:04:51 9f894cec8388: Pull complete 01:04:51 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:04:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:04:51 prd-ubuntu20.04-docker-8c-8g-41435 does not seem to be running inside a container 01:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@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-devops/py-git-semver:latest cat 01:04:52 $ docker top 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac -eo pid,comm 01:04:52 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). 01:04:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:53 [ssh-agent] Looking for ssh-agent implementation... 01:04:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:53 $ docker exec 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac ssh-agent 01:04:53 SSH_AUTH_SOCK=/tmp/ssh-yO3QgZCpBnCT/agent.34 01:04:53 SSH_AGENT_PID=40 01:04:53 Running ssh-add (command line suppressed) 01:04:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_1004276913745279471.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_1004276913745279471.key) 01:04:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:53 + git tag --points-at HEAD [Pipeline] } 01:04:53 $ docker exec --env ******** --env ******** 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac ssh-agent -k 01:04:53 unset SSH_AUTH_SOCK; 01:04:53 unset SSH_AGENT_PID; 01:04:53 echo Agent pid 40 killed; 01:04:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:54 [ssh-agent] Looking for ssh-agent implementation... 01:04:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:54 $ docker exec 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac ssh-agent 01:04:54 SSH_AUTH_SOCK=/tmp/ssh-pNUx7V8ZYERX/agent.75 01:04:54 SSH_AGENT_PID=83 01:04:54 Running ssh-add (command line suppressed) 01:04:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_7578448707964926882.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_7578448707964926882.key) 01:04:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:54 + git semver init 01:04:55 2022-05-08 01:04:55,056 [run_init] DEBUG init version:0.0.0 force:False 01:04:55 2022-05-08 01:04:55,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-283/.semver 01:04:55 2022-05-08 01:04:55,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-283/.semver 01:04:55 2022-05-08 01:04:55,057 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-283/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-283, universal_newlines=False, shell=None, istream=None) 01:04:56 2022-05-08 01:04:56,108 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-283/.git/info/exclude 01:04:56 2022-05-08 01:04:56,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 with force:False 01:04:56 2022-05-08 01:04:56,109 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 01:04:56 2022-05-08 01:04:56,113 [execute] INFO git cat-file --batch-check 01:04:56 2022-05-08 01:04:56,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 01:04:56 2022-05-08 01:04:56,120 [execute] INFO git cat-file --batch 01:04:56 2022-05-08 01:04:56,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 01:04:56 2022-05-08 01:04:56,126 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 01:04:56 0.0.0 [Pipeline] } 01:04:56 $ docker exec --env ******** --env ******** 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac ssh-agent -k 01:04:56 unset SSH_AUTH_SOCK; 01:04:56 unset SSH_AGENT_PID; 01:04:56 echo Agent pid 83 killed; 01:04:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:57 + git semver [Pipeline] } 01:04:57 $ docker stop --time=1 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac 01:04:58 $ docker rm -f 47bc4a99de5e32f62e424ab76c8179abaf18f4b45bdd7d396d2cd780cce673ac [Pipeline] // withDockerContainer [Pipeline] sh 01:04:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:59 Stashed 1 file(s) [Pipeline] echo 01:04:59 [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 01:05:00 provisioning config files... 01:05:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config1981736372423459892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:00 ---> docker-login.sh 01:05:00 nexus3.edgexfoundry.org:10001 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:00 Configure a credential helper to remove this warning. See 01:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:00 01:05:00 Login Succeeded 01:05:00 nexus3.edgexfoundry.org:10002 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:00 Configure a credential helper to remove this warning. See 01:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:00 01:05:00 Login Succeeded 01:05:00 nexus3.edgexfoundry.org:10003 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:00 Configure a credential helper to remove this warning. See 01:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:00 01:05:00 Login Succeeded 01:05:00 nexus3.edgexfoundry.org:10004 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:00 Configure a credential helper to remove this warning. See 01:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:00 01:05:00 Login Succeeded 01:05:00 docker.io 01:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:01 Configure a credential helper to remove this warning. See 01:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:01 01:05:01 Login Succeeded 01:05:01 ---> docker-login.sh ends [Pipeline] } 01:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:01 ========================================================= 01:05:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:05:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:05:01 + 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 . 01:05:01 Sending build context to Docker daemon 22.93MB 01:05:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:05:01 Step 2/12 : FROM ${BASE} AS builder 01:05:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:05:02 59bf1c3509f3: Pulling fs layer 01:05:02 666ba61612fd: Pulling fs layer 01:05:02 8ed8ca486205: Pulling fs layer 01:05:02 4fe6c5a15a65: Pulling fs layer 01:05:02 22a0e8bec74d: Pulling fs layer 01:05:02 ca2b28591e48: Pulling fs layer 01:05:02 a51346096db8: Pulling fs layer 01:05:02 22a0e8bec74d: Waiting 01:05:02 ca2b28591e48: Waiting 01:05:02 4fe6c5a15a65: Waiting 01:05:02 a51346096db8: Waiting 01:05:02 daebc70d1ce1: Pulling fs layer 01:05:02 0e18a0eac166: Pulling fs layer 01:05:02 0e18a0eac166: Waiting 01:05:02 8ed8ca486205: Verifying Checksum 01:05:02 8ed8ca486205: Download complete 01:05:02 666ba61612fd: Download complete 01:05:02 22a0e8bec74d: Verifying Checksum 01:05:02 22a0e8bec74d: Download complete 01:05:02 ca2b28591e48: Verifying Checksum 01:05:02 ca2b28591e48: Download complete 01:05:02 a51346096db8: Download complete 01:05:02 59bf1c3509f3: Verifying Checksum 01:05:02 59bf1c3509f3: Download complete 01:05:02 daebc70d1ce1: Verifying Checksum 01:05:02 daebc70d1ce1: Download complete 01:05:02 59bf1c3509f3: Pull complete 01:05:02 666ba61612fd: Pull complete 01:05:02 8ed8ca486205: Pull complete 01:05:02 0e18a0eac166: Download complete 01:05:02 4fe6c5a15a65: Verifying Checksum 01:05:02 4fe6c5a15a65: Download complete 01:05:07 4fe6c5a15a65: Pull complete 01:05:07 22a0e8bec74d: Pull complete 01:05:07 ca2b28591e48: Pull complete 01:05:07 a51346096db8: Pull complete 01:05:07 daebc70d1ce1: Pull complete 01:05:09 0e18a0eac166: Pull complete 01:05:09 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:05:09 ---> f018257e8ee9 01:05:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:05:11 ---> Running in 53ec4bd48ddb 01:05:11 Removing intermediate container 53ec4bd48ddb 01:05:11 ---> fe3b1891b39f 01:05:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:05:11 ---> Running in 0ce828a1b5d6 01:05:11 Removing intermediate container 0ce828a1b5d6 01:05:11 ---> abdfcbedb14d 01:05:11 Step 5/12 : WORKDIR /device-virtual-go 01:05:11 ---> Running in c43b1855da85 01:05:11 Removing intermediate container c43b1855da85 01:05:11 ---> ad4587e12ea5 01:05:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:11 ---> Running in 9e6652ad9a2c 01:05:12 Removing intermediate container 9e6652ad9a2c 01:05:12 ---> 88428009f35e 01:05:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:12 ---> Running in 52763a415b22 01:05:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:05:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:05:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:05:13 (2/4) Installing libedit (20210910.3.1-r0) 01:05:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:05:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:05:14 Executing busybox-1.34.1-r3.trigger 01:05:14 OK: 224 MiB in 56 packages 01:05:14 Removing intermediate container 52763a415b22 01:05:14 ---> 5b963d6fda87 01:05:14 Step 8/12 : COPY go.mod vendor* ./ 01:05:14 ---> d18999b21316 01:05:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:14 ---> Running in b614fc26ab9b 01:05:14 Still waiting to schedule task 01:05:14 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41433’ 01:05:32 Removing intermediate container b614fc26ab9b 01:05:32 ---> 781a426fea76 01:05:32 Step 10/12 : COPY . . 01:05:32 ---> 54b55fbb912d 01:05:32 Step 11/12 : ARG MAKE='make build' 01:05:32 ---> Running in 73a1ec65b275 01:05:32 Removing intermediate container 73a1ec65b275 01:05:32 ---> 62ce12ad99a8 01:05:32 Step 12/12 : RUN $MAKE 01:05:32 ---> Running in 1d09624b9122 01:05:32 noop 01:05:32 Removing intermediate container 1d09624b9122 01:05:32 ---> eef3038187b1 01:05:32 Successfully built eef3038187b1 01:05:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:05:33 + docker inspect -f . ci-base-image-x86_64 01:05:33 . [Pipeline] withDockerContainer 01:05:33 prd-ubuntu20.04-docker-8c-8g-41435 does not seem to be running inside a container 01:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:33 $ docker top 226b41d6a0e6e90c46b415a1bc1e731f47ff7a0301d06b4985ee0b28f5d2ed28 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:34 + go version 01:05:34 go version go1.17.6 linux/amd64 [Pipeline] } 01:05:34 $ docker stop --time=1 226b41d6a0e6e90c46b415a1bc1e731f47ff7a0301d06b4985ee0b28f5d2ed28 01:05:35 $ docker rm -f 226b41d6a0e6e90c46b415a1bc1e731f47ff7a0301d06b4985ee0b28f5d2ed28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:05:36 + docker inspect -f . ci-base-image-x86_64 01:05:36 . [Pipeline] withDockerContainer 01:05:36 prd-ubuntu20.04-docker-8c-8g-41435 does not seem to be running inside a container 01:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:36 $ docker top af47853865a86fa1b3e7a1a1eb5de5cab8df7eebf25acc9f815bebe682a9c649 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:05:37 + make test 01:05:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:05:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:05:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:05:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 01:05:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:05:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:58 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:58 $ docker stop --time=1 af47853865a86fa1b3e7a1a1eb5de5cab8df7eebf25acc9f815bebe682a9c649 01:06:00 $ docker rm -f af47853865a86fa1b3e7a1a1eb5de5cab8df7eebf25acc9f815bebe682a9c649 [Pipeline] // withDockerContainer [Pipeline] sh 01:06:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:02 + ls -al . 01:06:02 total 188 01:06:02 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:05 . 01:06:02 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:04 .. 01:06:02 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:04 .git 01:06:02 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:04 .github 01:06:02 -rw-rw-r-- 1 jenkins jenkins 270 May 8 01:04 .gitignore 01:06:02 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:04 .golangci.yml 01:06:02 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:04 .semver 01:06:02 -rw-rw-r-- 1 jenkins jenkins 7893 May 8 01:04 Attribution.txt 01:06:02 -rw-rw-r-- 1 jenkins jenkins 9649 May 8 01:04 CHANGELOG.md 01:06:02 -rw-rw-r-- 1 jenkins jenkins 1974 May 8 01:04 Dockerfile 01:06:02 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:04 GOVERNANCE.md 01:06:02 -rw-rw-r-- 1 jenkins jenkins 660 May 8 01:04 Jenkinsfile 01:06:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:04 LICENSE 01:06:02 -rw-rw-r-- 1 jenkins jenkins 2248 May 8 01:04 Makefile 01:06:02 -rw-rw-r-- 1 jenkins jenkins 623 May 8 01:04 OWNERS.md 01:06:02 -rw-rw-r-- 1 jenkins jenkins 2914 May 8 01:04 README.md 01:06:02 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:04 VERSION 01:06:02 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:04 bin 01:06:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:04 cmd 01:06:02 -rw-r--r-- 1 jenkins jenkins 44128 May 8 01:05 coverage.out 01:06:02 -rw-rw-r-- 1 jenkins jenkins 3185 May 8 01:04 go.mod 01:06:02 -rw-rw-r-- 1 jenkins jenkins 35098 May 8 01:04 go.sum 01:06:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:04 internal 01:06:02 -rw-rw-r-- 1 jenkins jenkins 235 May 8 01:04 version.go [Pipeline] isUnix [Pipeline] sh 01:06:02 + 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=106ada734bee3b96ae747a4ada8c53ae48e75cb7 --label arch=amd64 --label version=0.0.0 . 01:06:02 Sending build context to Docker daemon 22.97MB 01:06:02 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:06:02 Step 2/26 : FROM ${BASE} AS builder 01:06:02 ---> eef3038187b1 01:06:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:06:02 ---> Running in df298a13e77b 01:06:03 Removing intermediate container df298a13e77b 01:06:03 ---> f69af3914d30 01:06:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:06:03 ---> Running in f7875036e2ab 01:06:03 Removing intermediate container f7875036e2ab 01:06:03 ---> 099b979fed02 01:06:03 Step 5/26 : WORKDIR /device-virtual-go 01:06:03 ---> Running in 465357bbcde8 01:06:03 Removing intermediate container 465357bbcde8 01:06:03 ---> 6b4f7c4fd820 01:06:03 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:03 ---> Running in b7a2bcbde4c6 01:06:04 Removing intermediate container b7a2bcbde4c6 01:06:04 ---> 6f09189b644f 01:06:04 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:04 ---> Running in 75acc5206e04 01:06:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:06:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:06:05 OK: 224 MiB in 56 packages 01:06:06 Removing intermediate container 75acc5206e04 01:06:06 ---> 999fcf60215c 01:06:06 Step 8/26 : COPY go.mod vendor* ./ 01:06:06 ---> 12a794dd1825 01:06:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:06 ---> Running in 9158c236a7b8 01:06:06 Removing intermediate container 9158c236a7b8 01:06:06 ---> 49e2b6a99d2b 01:06:06 Step 10/26 : COPY . . 01:06:07 ---> 595f58ad4246 01:06:07 Step 11/26 : ARG MAKE='make build' 01:06:07 ---> Running in 34929f832e9d 01:06:07 Removing intermediate container 34929f832e9d 01:06:07 ---> 852e557b83a9 01:06:07 Step 12/26 : RUN $MAKE 01:06:07 ---> Running in 213dbee7f6c1 01:06:08 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 01:06:30 Removing intermediate container 213dbee7f6c1 01:06:30 ---> 6b484e7cbc93 01:06:30 Step 13/26 : FROM alpine:3.14 01:06:30 3.14: Pulling from library/alpine 01:06:30 8663204ce13b: Pulling fs layer 01:06:30 8663204ce13b: Verifying Checksum 01:06:30 8663204ce13b: Download complete 01:06:30 8663204ce13b: Pull complete 01:06:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:06:30 Status: Downloaded newer image for alpine:3.14 01:06:30 ---> e04c818066af 01:06:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:06:30 ---> Running in 32f194e1d9f4 01:06:30 Removing intermediate container 32f194e1d9f4 01:06:30 ---> 3094d870f426 01:06:30 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:30 ---> Running in 3974ef966959 01:06:30 Removing intermediate container 3974ef966959 01:06:30 ---> 9c6d6a7ce10d 01:06:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:06:30 ---> Running in 69aa2c86de17 01:06:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:06:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:06:31 (1/6) Installing dumb-init (1.2.5-r1) 01:06:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:06:31 (3/6) Installing libsodium (1.0.18-r0) 01:06:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:06:31 (5/6) Installing libzmq (4.3.4-r0) 01:06:31 (6/6) Installing zeromq (4.3.4-r0) 01:06:31 Executing busybox-1.33.1-r7.trigger 01:06:31 OK: 8 MiB in 20 packages 01:06:32 Removing intermediate container 69aa2c86de17 01:06:32 ---> c8fe87fd1036 01:06:32 Step 17/26 : WORKDIR / 01:06:32 ---> Running in 60d8ae287bc8 01:06:32 Removing intermediate container 60d8ae287bc8 01:06:32 ---> 48bc64e0fdb5 01:06:32 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:06:32 ---> f78f895765f9 01:06:32 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:06:32 ---> 3eef2b4cb7e0 01:06:32 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:06:33 ---> 942bec6312e7 01:06:33 Step 21/26 : EXPOSE 59900 01:06:33 ---> Running in a057c4a6d993 01:06:33 Removing intermediate container a057c4a6d993 01:06:33 ---> 6a02bf111bc2 01:06:33 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:06:33 ---> Running in 11e1fb17ea3a 01:06:33 Removing intermediate container 11e1fb17ea3a 01:06:33 ---> 169b537c9cb5 01:06:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:06:33 ---> Running in cc0439db9954 01:06:33 Removing intermediate container cc0439db9954 01:06:33 ---> 268a4c919187 01:06:33 Step 24/26 : LABEL arch=amd64 01:06:33 ---> Running in 6494562cb118 01:06:34 Removing intermediate container 6494562cb118 01:06:34 ---> 3f8a977f9855 01:06:34 Step 25/26 : LABEL git_sha=106ada734bee3b96ae747a4ada8c53ae48e75cb7 01:06:34 ---> Running in 4a1aee034688 01:06:34 Removing intermediate container 4a1aee034688 01:06:34 ---> e0371687df60 01:06:34 Step 26/26 : LABEL version=0.0.0 01:06:34 ---> Running in 0cb7ac173aad 01:06:34 Removing intermediate container 0cb7ac173aad 01:06:34 ---> 14842f83eef2 01:06:34 [Warning] One or more build-args [ARCH] were not consumed 01:06:34 Successfully built 14842f83eef2 01:06:34 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 01:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:35 01:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:35 latest: Pulling from edgex-lftools-log-publisher 01:06:35 5eb5b503b376: Pulling fs layer 01:06:35 5c69ac0246d0: Pulling fs layer 01:06:35 ec43610c2a17: Pulling fs layer 01:06:35 3a2ae6a8a46f: Pulling fs layer 01:06:35 33b1e0a273af: Pulling fs layer 01:06:35 5d3b04190fa2: Pulling fs layer 01:06:35 2f39f015ded8: Pulling fs layer 01:06:35 5d3b04190fa2: Waiting 01:06:35 3a2ae6a8a46f: Waiting 01:06:35 2f39f015ded8: Waiting 01:06:35 5c69ac0246d0: Download complete 01:06:35 3a2ae6a8a46f: Verifying Checksum 01:06:35 3a2ae6a8a46f: Download complete 01:06:35 ec43610c2a17: Verifying Checksum 01:06:35 ec43610c2a17: Download complete 01:06:35 33b1e0a273af: Verifying Checksum 01:06:35 33b1e0a273af: Download complete 01:06:35 5d3b04190fa2: Download complete 01:06:35 5eb5b503b376: Verifying Checksum 01:06:35 5eb5b503b376: Download complete 01:06:36 2f39f015ded8: Download complete 01:06:36 5eb5b503b376: Pull complete 01:06:37 5c69ac0246d0: Pull complete 01:06:37 ec43610c2a17: Pull complete 01:06:37 3a2ae6a8a46f: Pull complete 01:06:37 33b1e0a273af: Pull complete 01:06:37 5d3b04190fa2: Pull complete 01:06:42 2f39f015ded8: Pull complete 01:06:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:06:42 prd-ubuntu20.04-docker-8c-8g-41435 does not seem to be running inside a container 01:06:42 $ 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-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:44 $ docker top 8ef7b22e12d519d145b80ee3d39f9b1f2b0e0a2099ee9920108784590f449771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:44 ---> job-cost.sh 01:06:44 lf-activate-venv: SKIPPING 01:06:44 INFO: No Stack... 01:06:45 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:45 INFO: Archiving Costs [Pipeline] sh 01:06:46 + cat /w/workspace/foundry_device-virtual-go_PR-283/archives/cost.csv 01:06:46 + cut -d, -f6 [Pipeline] lock 01:06:46 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] 01:06:46 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] did not exist. Created. 01:06:46 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:46 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:46 Stashed 1 file(s) [Pipeline] } 01:06:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:46 $ docker stop --time=1 8ef7b22e12d519d145b80ee3d39f9b1f2b0e0a2099ee9920108784590f449771 01:06:47 $ docker rm -f 8ef7b22e12d519d145b80ee3d39f9b1f2b0e0a2099ee9920108784590f449771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41436 in /w/workspace/foundry_device-virtual-go_PR-283 [Pipeline] { [Pipeline] ws 01:08:53 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 01:08:54 The recommended git tool is: git 01:09:00 using credential edgex-jenkins-ssh 01:09:00 Cloning the remote Git repository 01:09:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:09:00 > git init /w/workspace/device-virtual-go/1 # timeout=10 01:09:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:09:01 > git --version # timeout=10 01:09:01 > git --version # 'git version 2.25.1' 01:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:04 Merging remotes/origin/main commit 099b8ea86ae346ef1d450a8d185b2283d3122d98 into PR head commit 106ada734bee3b96ae747a4ada8c53ae48e75cb7 01:09:04 Merge succeeded, producing 106ada734bee3b96ae747a4ada8c53ae48e75cb7 01:09:04 Checking out Revision 106ada734bee3b96ae747a4ada8c53ae48e75cb7 (PR-283) 01:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:09:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:09:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:09:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:09:04 > git config core.sparsecheckout # timeout=10 01:09:04 > git checkout -f 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 01:09:04 > git remote # timeout=10 01:09:04 > git config --get remote.origin.url # timeout=10 01:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:04 > git merge 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 01:09:04 > git rev-parse HEAD^{commit} # timeout=10 01:09:04 > git config core.sparsecheckout # timeout=10 01:09:04 > git checkout -f 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 01:09:08 Commit message: "docs: update CHANGELOG for Kamakura" 01:09:08 > git --version # timeout=10 01:09:08 > git --version # 'git version 2.25.1' 01:09:08 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:09:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:09 Dload Upload Total Spent Left Speed 01:09:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 52870 0 --:--:-- --:--:-- --:--:-- 52870 [Pipeline] sh 01:09:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:09:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:09:10 + sudo tee /etc/docker/daemon.new 01:09:10 { 01:09:10 "registry-mirrors": [ 01:09:10 "https://nexus3.edgexfoundry.org:10001" 01:09:10 ], 01:09:10 "bip": "10.250.0.254/24", 01:09:10 "hosts": [ 01:09:10 "tcp://0.0.0.0:5555", 01:09:10 "unix:///var/run/docker.sock" 01:09:10 ], 01:09:10 "mtu": 1458, 01:09:10 "selinux-enabled": true, 01:09:10 "seccomp-profile": "/etc/docker/seccomp.json" 01:09:10 } [Pipeline] sh 01:09:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:09:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:29 provisioning config files... 01:09:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8074237470974642214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:30 ---> docker-login.sh 01:09:30 nexus3.edgexfoundry.org:10001 01:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:31 Configure a credential helper to remove this warning. See 01:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:31 01:09:31 Login Succeeded 01:09:31 nexus3.edgexfoundry.org:10002 01:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:31 Configure a credential helper to remove this warning. See 01:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:31 01:09:31 Login Succeeded 01:09:31 nexus3.edgexfoundry.org:10003 01:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:32 Configure a credential helper to remove this warning. See 01:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:32 01:09:32 Login Succeeded 01:09:32 nexus3.edgexfoundry.org:10004 01:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:33 Configure a credential helper to remove this warning. See 01:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:33 01:09:33 Login Succeeded 01:09:33 docker.io 01:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:33 Configure a credential helper to remove this warning. See 01:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:33 01:09:33 Login Succeeded 01:09:33 ---> docker-login.sh ends [Pipeline] } 01:09:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:34 ========================================================= 01:09:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:09:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:09:34 + 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 . 01:09:35 Sending build context to Docker daemon 11.59MB 01:09:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:09:35 Step 2/12 : FROM ${BASE} AS builder 01:09:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:09:35 9b3977197b4f: Pulling fs layer 01:09:35 1a89e8eeedd5: Pulling fs layer 01:09:35 94645a83ff95: Pulling fs layer 01:09:35 3f3a8bcf1eab: Pulling fs layer 01:09:35 0c92f367c5e7: Pulling fs layer 01:09:35 3096ccb668a1: Pulling fs layer 01:09:35 e8cf19c19ddd: Pulling fs layer 01:09:35 a4caa8a26152: Pulling fs layer 01:09:35 3096ccb668a1: Waiting 01:09:35 e8cf19c19ddd: Waiting 01:09:35 a4caa8a26152: Waiting 01:09:35 3f3a8bcf1eab: Waiting 01:09:35 0c92f367c5e7: Waiting 01:09:35 94645a83ff95: Download complete 01:09:35 1a89e8eeedd5: Verifying Checksum 01:09:35 1a89e8eeedd5: Download complete 01:09:35 0c92f367c5e7: Verifying Checksum 01:09:35 0c92f367c5e7: Download complete 01:09:35 3096ccb668a1: Verifying Checksum 01:09:35 3096ccb668a1: Download complete 01:09:35 9b3977197b4f: Verifying Checksum 01:09:35 e8cf19c19ddd: Verifying Checksum 01:09:35 e8cf19c19ddd: Download complete 01:09:35 9b3977197b4f: Download complete 01:09:36 9b3977197b4f: Pull complete 01:09:36 1a89e8eeedd5: Pull complete 01:09:36 94645a83ff95: Pull complete 01:09:37 a4caa8a26152: Verifying Checksum 01:09:37 a4caa8a26152: Download complete 01:09:37 3f3a8bcf1eab: Verifying Checksum 01:09:37 3f3a8bcf1eab: Download complete 01:09:50 3f3a8bcf1eab: Pull complete 01:09:50 0c92f367c5e7: Pull complete 01:09:50 3096ccb668a1: Pull complete 01:09:50 e8cf19c19ddd: Pull complete 01:09:57 a4caa8a26152: Pull complete 01:09:57 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:09:57 ---> 725f1c02e7f9 01:09:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:09:57 ---> Running in 7d8d0d0a5b78 01:09:57 Removing intermediate container 7d8d0d0a5b78 01:09:57 ---> 7dc4b45f53c2 01:09:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:09:58 ---> Running in 06585499b424 01:09:58 Removing intermediate container 06585499b424 01:09:58 ---> e2b3335404c2 01:09:58 Step 5/12 : WORKDIR /device-virtual-go 01:09:58 ---> Running in 351c49fab8d9 01:09:58 Removing intermediate container 351c49fab8d9 01:09:58 ---> f280ec229456 01:09:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:59 ---> Running in f318dc0230f4 01:10:01 Removing intermediate container f318dc0230f4 01:10:01 ---> 9445d8737438 01:10:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:01 ---> Running in f36c306360d8 01:10:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:10:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:10:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:10:04 (2/4) Installing libedit (20210910.3.1-r0) 01:10:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:10:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:10:05 Executing busybox-1.34.1-r3.trigger 01:10:05 OK: 224 MiB in 56 packages 01:10:06 Removing intermediate container f36c306360d8 01:10:06 ---> 19e91dd86380 01:10:06 Step 8/12 : COPY go.mod vendor* ./ 01:10:06 ---> 09d121c29208 01:10:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:06 ---> Running in 46e2d0877609 01:10:53 Removing intermediate container 46e2d0877609 01:10:53 ---> 6357e67cf756 01:10:53 Step 10/12 : COPY . . 01:10:54 ---> 4b4783e00e60 01:10:54 Step 11/12 : ARG MAKE='make build' 01:10:54 ---> Running in 24f72c3c71a8 01:10:55 Removing intermediate container 24f72c3c71a8 01:10:55 ---> 60d3160e884d 01:10:55 Step 12/12 : RUN $MAKE 01:10:55 ---> Running in b07d4bba013e 01:10:56 noop 01:10:56 Removing intermediate container b07d4bba013e 01:10:56 ---> bc4891385d80 01:10:56 Successfully built bc4891385d80 01:10:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:10:57 + docker inspect -f . ci-base-image-arm64 01:10:57 . [Pipeline] withDockerContainer 01:10:57 prd-ubuntu20.04-docker-arm64-4c-16g-41436 does not seem to be running inside a container 01:10:57 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:58 $ docker top 2d4de10b3b7cc5493bc764da54b809bdc1c16ed11b0fb4af9c2423e34a462a3e -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:59 + go version 01:10:59 go version go1.17.6 linux/arm64 [Pipeline] } 01:10:59 $ docker stop --time=1 2d4de10b3b7cc5493bc764da54b809bdc1c16ed11b0fb4af9c2423e34a462a3e 01:11:01 $ docker rm -f 2d4de10b3b7cc5493bc764da54b809bdc1c16ed11b0fb4af9c2423e34a462a3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:01 + docker inspect -f . ci-base-image-arm64 01:11:01 . [Pipeline] withDockerContainer 01:11:02 prd-ubuntu20.04-docker-arm64-4c-16g-41436 does not seem to be running inside a container 01:11:02 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:11:03 $ docker top cf8af102d8d0540d7d12218002a236113239a22c9397612f3eb9a0003d40a66c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:11:04 + make test 01:11:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:11:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:12:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:12:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.140s coverage: 65.7% of statements 01:12:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:12:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:54 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:55 $ docker stop --time=1 cf8af102d8d0540d7d12218002a236113239a22c9397612f3eb9a0003d40a66c 01:12:57 $ docker rm -f cf8af102d8d0540d7d12218002a236113239a22c9397612f3eb9a0003d40a66c [Pipeline] // withDockerContainer [Pipeline] sh 01:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:58 Warning: overwriting stash ‘coverage-report’ 01:12:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:59 + ls -al . 01:12:59 total 184 01:12:59 drwxrwxr-x 7 jenkins jenkins 4096 May 8 01:12 . 01:12:59 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:09 .. 01:12:59 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:09 .git 01:12:59 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:09 .github 01:12:59 -rw-rw-r-- 1 jenkins jenkins 270 May 8 01:09 .gitignore 01:12:59 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:09 .golangci.yml 01:12:59 -rw-rw-r-- 1 jenkins jenkins 7893 May 8 01:09 Attribution.txt 01:12:59 -rw-rw-r-- 1 jenkins jenkins 9649 May 8 01:09 CHANGELOG.md 01:12:59 -rw-rw-r-- 1 jenkins jenkins 1974 May 8 01:09 Dockerfile 01:12:59 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:09 GOVERNANCE.md 01:12:59 -rw-rw-r-- 1 jenkins jenkins 660 May 8 01:09 Jenkinsfile 01:12:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:09 LICENSE 01:12:59 -rw-rw-r-- 1 jenkins jenkins 2248 May 8 01:09 Makefile 01:12:59 -rw-rw-r-- 1 jenkins jenkins 623 May 8 01:09 OWNERS.md 01:12:59 -rw-rw-r-- 1 jenkins jenkins 2914 May 8 01:09 README.md 01:12:59 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:04 VERSION 01:12:59 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:09 bin 01:12:59 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:09 cmd 01:12:59 -rw-r--r-- 1 jenkins jenkins 44128 May 8 01:12 coverage.out 01:12:59 -rw-rw-r-- 1 jenkins jenkins 3185 May 8 01:09 go.mod 01:12:59 -rw-rw-r-- 1 jenkins jenkins 35098 May 8 01:09 go.sum 01:12:59 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:09 internal 01:12:59 -rw-rw-r-- 1 jenkins jenkins 235 May 8 01:09 version.go [Pipeline] isUnix [Pipeline] sh 01:13:00 + 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=106ada734bee3b96ae747a4ada8c53ae48e75cb7 --label arch=arm64 --label version=0.0.0 . 01:13:00 Sending build context to Docker daemon 11.64MB 01:13:00 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:13:00 Step 2/26 : FROM ${BASE} AS builder 01:13:00 ---> bc4891385d80 01:13:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:13:00 ---> Running in 8b7d158e6f06 01:13:01 Removing intermediate container 8b7d158e6f06 01:13:01 ---> d37376cce953 01:13:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:13:01 ---> Running in f2fc3673a85e 01:13:01 Removing intermediate container f2fc3673a85e 01:13:01 ---> e50d9584d1d0 01:13:01 Step 5/26 : WORKDIR /device-virtual-go 01:13:01 ---> Running in 78e23728d816 01:13:01 Removing intermediate container 78e23728d816 01:13:01 ---> e863f8ab4032 01:13:01 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:13:01 ---> Running in dd00de1cba71 01:13:03 Removing intermediate container dd00de1cba71 01:13:03 ---> 24bede0092e4 01:13:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:03 ---> Running in ddbc65094227 01:13:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:13:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:13:06 OK: 224 MiB in 56 packages 01:13:07 Removing intermediate container ddbc65094227 01:13:07 ---> 6b814cba0be5 01:13:07 Step 8/26 : COPY go.mod vendor* ./ 01:13:07 ---> 21f8e8f596c0 01:13:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:07 ---> Running in 5f807df60365 01:13:09 Removing intermediate container 5f807df60365 01:13:09 ---> 88e151b29a4d 01:13:09 Step 10/26 : COPY . . 01:13:11 ---> 06ebbad9b13c 01:13:11 Step 11/26 : ARG MAKE='make build' 01:13:11 ---> Running in c1a497600b83 01:13:11 Removing intermediate container c1a497600b83 01:13:11 ---> d0caf9cd7be6 01:13:11 Step 12/26 : RUN $MAKE 01:13:11 ---> Running in 30e176a8d62e 01:13:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 01:15:19 Removing intermediate container 30e176a8d62e 01:15:19 ---> 4d3f8995a3d0 01:15:19 Step 13/26 : FROM alpine:3.14 01:15:19 3.14: Pulling from library/alpine 01:15:19 455c02918c45: Pulling fs layer 01:15:19 455c02918c45: Verifying Checksum 01:15:19 455c02918c45: Download complete 01:15:19 455c02918c45: Pull complete 01:15:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:15:19 Status: Downloaded newer image for alpine:3.14 01:15:19 ---> ac73e934f311 01:15:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:15:19 ---> Running in b34e714c87aa 01:15:19 Removing intermediate container b34e714c87aa 01:15:19 ---> b83c51e28302 01:15:19 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:19 ---> Running in 4619fc68e5f3 01:15:19 Removing intermediate container 4619fc68e5f3 01:15:19 ---> 6784931a8525 01:15:19 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:15:19 ---> Running in 1e72453698fb 01:15:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:15:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:15:20 (1/6) Installing dumb-init (1.2.5-r1) 01:15:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:15:20 (3/6) Installing libsodium (1.0.18-r0) 01:15:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:15:20 (5/6) Installing libzmq (4.3.4-r0) 01:15:20 (6/6) Installing zeromq (4.3.4-r0) 01:15:21 Executing busybox-1.33.1-r7.trigger 01:15:21 OK: 8 MiB in 20 packages 01:15:22 Removing intermediate container 1e72453698fb 01:15:22 ---> f758f16a9d44 01:15:22 Step 17/26 : WORKDIR / 01:15:22 ---> Running in 4378682b3529 01:15:22 Removing intermediate container 4378682b3529 01:15:22 ---> b2968677135e 01:15:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:15:23 ---> 6a5938d59243 01:15:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:15:23 ---> 071928a0cd92 01:15:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:15:25 ---> f5bfc3bdcf55 01:15:25 Step 21/26 : EXPOSE 59900 01:15:25 ---> Running in 3306e05dbb62 01:15:25 Removing intermediate container 3306e05dbb62 01:15:25 ---> 5e4f0fdf3bd1 01:15:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:15:25 ---> Running in 3e548863ad35 01:15:25 Removing intermediate container 3e548863ad35 01:15:25 ---> ebf9210dd1f9 01:15:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:15:25 ---> Running in 25c382654d1b 01:15:26 Removing intermediate container 25c382654d1b 01:15:26 ---> bb111a02844a 01:15:26 Step 24/26 : LABEL arch=arm64 01:15:26 ---> Running in 3363b6becb11 01:15:26 Removing intermediate container 3363b6becb11 01:15:26 ---> 94b496ea39ff 01:15:26 Step 25/26 : LABEL git_sha=106ada734bee3b96ae747a4ada8c53ae48e75cb7 01:15:26 ---> Running in 59b2dd8bc6c3 01:15:27 Removing intermediate container 59b2dd8bc6c3 01:15:27 ---> f17b289b8b56 01:15:27 Step 26/26 : LABEL version=0.0.0 01:15:27 ---> Running in 98d4ea660f3e 01:15:27 Removing intermediate container 98d4ea660f3e 01:15:27 ---> 5b619fab2c00 01:15:27 [Warning] One or more build-args [ARCH] were not consumed 01:15:27 Successfully built 5b619fab2c00 01:15:27 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 01:15:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:28 01:15:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:28 arm64: Pulling from edgex-lftools-log-publisher 01:15:28 8998bd30e6a1: Pulling fs layer 01:15:28 04944245beec: Pulling fs layer 01:15:28 699f458cf7ca: Pulling fs layer 01:15:28 765212b225bb: Pulling fs layer 01:15:28 f23df028b6ca: Pulling fs layer 01:15:28 d65c8cfc05b1: Pulling fs layer 01:15:28 2437ff75d9bd: Pulling fs layer 01:15:28 d65c8cfc05b1: Waiting 01:15:28 2437ff75d9bd: Waiting 01:15:28 f23df028b6ca: Waiting 01:15:28 765212b225bb: Waiting 01:15:28 04944245beec: Verifying Checksum 01:15:28 04944245beec: Download complete 01:15:28 765212b225bb: Verifying Checksum 01:15:28 765212b225bb: Download complete 01:15:28 f23df028b6ca: Verifying Checksum 01:15:28 f23df028b6ca: Download complete 01:15:28 d65c8cfc05b1: Verifying Checksum 01:15:28 d65c8cfc05b1: Download complete 01:15:29 699f458cf7ca: Verifying Checksum 01:15:29 699f458cf7ca: Download complete 01:15:29 8998bd30e6a1: Verifying Checksum 01:15:29 8998bd30e6a1: Download complete 01:15:31 2437ff75d9bd: Verifying Checksum 01:15:31 2437ff75d9bd: Download complete 01:15:33 8998bd30e6a1: Pull complete 01:15:34 04944245beec: Pull complete 01:15:35 699f458cf7ca: Pull complete 01:15:35 765212b225bb: Pull complete 01:15:37 f23df028b6ca: Pull complete 01:15:37 d65c8cfc05b1: Pull complete 01:15:52 2437ff75d9bd: Pull complete 01:15:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:15:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:15:52 prd-ubuntu20.04-docker-arm64-4c-16g-41436 does not seem to be running inside a container 01:15:52 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:15:55 $ docker top e5231df90f2e10f7278023712f612b6f41606f9a9f58d4929184ac2737d71c30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:56 ---> job-cost.sh 01:15:56 lf-activate-venv: SKIPPING 01:15:56 INFO: No Stack... 01:15:56 INFO: Retrieving Pricing Info for: v3-standard-4 01:15:57 INFO: Archiving Costs [Pipeline] sh 01:15:58 + cut -d, -f6 01:15:58 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 01:15:58 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] 01:15:58 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] did not exist. Created. 01:15:58 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:15:58 /w/workspace/device-virtual-go/1@tmp/durable-c53b602d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:15:59 + echo total: 0.10999999940395355 [Pipeline] stash 01:15:59 Warning: overwriting stash ‘stack-cost’ 01:15:59 Stashed 1 file(s) [Pipeline] } 01:15:59 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:15:59 $ docker stop --time=1 e5231df90f2e10f7278023712f612b6f41606f9a9f58d4929184ac2737d71c30 01:16:01 $ docker rm -f e5231df90f2e10f7278023712f612b6f41606f9a9f58d4929184ac2737d71c30 [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 01:16:02 provisioning config files... 01:16:02 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config6193617233946259352tmp [Pipeline] { [Pipeline] sh 01:16:02 + set +x 01:16:02 + curl -s https://codecov.io/bash 01:16:02 + bash -s -- 01:16:02 01:16:02 _____ _ 01:16:02 / ____| | | 01:16:02 | | ___ __| | ___ ___ _____ __ 01:16:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:02 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:02 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:02 Bash-1.0.6 01:16:02 01:16:02 01:16:02 ==> git version 2.25.1 found 01:16:02 ==> 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 01:16:02 Release-Date: 2020-01-08 01:16:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:02 ==> Jenkins CI detected. 01:16:02 current dir:  /w/workspace/foundry_device-virtual-go_PR-283 01:16:02 project root: . 01:16:02 --> token set from env 01:16:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:02 ==> Running gcov in . (disable via -X gcov) 01:16:02 ==> Python coveragepy not found 01:16:02 ==> Searching for coverage reports in: 01:16:02 + . 01:16:03 -> Found 1 reports 01:16:03 ==> Detecting git/mercurial file structure 01:16:03 ==> Reading reports 01:16:03 + ./coverage.out bytes=44128 01:16:03 ==> Appending adjustments 01:16:03 https://docs.codecov.io/docs/fixing-reports 01:16:03 + Found adjustments 01:16:03 ==> Gzipping contents 01:16:03 8.0K /tmp/codecov.6IDLYp.gz 01:16:03 ==> Uploading reports 01:16:03 url: https://codecov.io 01:16:03 query: branch=PR-283&commit=106ada734bee3b96ae747a4ada8c53ae48e75cb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 01:16:03 -> Pinging Codecov 01:16:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-283&commit=106ada734bee3b96ae747a4ada8c53ae48e75cb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 01:16:03 -> Uploading to 01:16:03 https://storage.googleapis.com/codecov/v4/raw/2022-05-08/5E52B4B073DB2E39498172D8E973AA87/106ada734bee3b96ae747a4ada8c53ae48e75cb7/c45200b9-7aaf-4367-9b27-c6f7235f9f8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T011603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10d33576188cc98ff0f4a2c8faa61e97cf6924eec2749db85280d705c12c56f6 01:16:03 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:03 Dload Upload Total Spent Left Speed 01:16:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5305 0 0 100 5305 0 23789 --:--:-- --:--:-- --:--:-- 23789 01:16:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/106ada734bee3b96ae747a4ada8c53ae48e75cb7 [Pipeline] } 01:16:03 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 01:16:05 + [ -d /w/workspace/foundry_device-virtual-go_PR-283/archives ] 01:16:05 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 01:16:05 total 16 01:16:05 drwxr-xr-x 3 root root 4096 May 8 01:06 . 01:16:05 drwxrwxr-x 9 jenkins jenkins 4096 May 8 01:06 .. 01:16:05 drwxr-xr-x 2 root root 4096 May 8 01:06 cost 01:16:05 -rw-r--r-- 1 root root 88 May 8 01:06 cost.csv 01:16:05 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-283/archives 01:16:05 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 01:16:05 total 16 01:16:05 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:06 . 01:16:05 drwxrwxr-x 9 jenkins jenkins 4096 May 8 01:06 .. 01:16:05 drwxr-xr-x 2 jenkins jenkins 4096 May 8 01:06 cost 01:16:05 -rw-r--r-- 1 jenkins jenkins 88 May 8 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:06 ---> package-listing.sh 01:16:06 ++ facter osfamily 01:16:06 ++ tr '[:upper:]' '[:lower:]' 01:16:06 + OS_FAMILY=debian 01:16:06 + workspace=/w/workspace/foundry_device-virtual-go_PR-283 01:16:06 + START_PACKAGES=/tmp/packages_start.txt 01:16:06 + END_PACKAGES=/tmp/packages_end.txt 01:16:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:06 + PACKAGES=/tmp/packages_start.txt 01:16:06 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 01:16:06 + PACKAGES=/tmp/packages_end.txt 01:16:06 + case "${OS_FAMILY}" in 01:16:06 + dpkg -l 01:16:06 + grep '^ii' 01:16:06 + '[' -f /tmp/packages_start.txt ']' 01:16:06 + '[' -f /tmp/packages_end.txt ']' 01:16:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:06 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 01:16:06 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-283/archives/ 01:16:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-283/archives/ [Pipeline] echo 01:16:06 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-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:16:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:07 . [Pipeline] withDockerContainer 01:16:07 prd-ubuntu20.04-docker-8c-8g-41435 does not seem to be running inside a container 01:16:07 $ 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-283/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-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:08 $ docker top 19cc3976a9673d0ca39bbfc355684670f58f380e3a8a8e1bddc60d8aeaa33f74 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:08 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:08 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:09 + ls /var/log/sa-host 01:16:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:09 provisioning config files... 01:16:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config7083033922867884180tmp [Pipeline] { [Pipeline] echo 01:16:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:09 ---> create-netrc.sh [Pipeline] } 01:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:10 ---> python-tools-install.sh [Pipeline] echo 01:16:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:10 ---> sudo-logs.sh 01:16:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:11 ---> job-cost.sh 01:16:11 lf-activate-venv: SKIPPING 01:16:11 DEBUG: total: 0.2199999988079071 01:16:11 INFO: Retrieving Stack Cost... 01:16:11 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:11 INFO: Archiving Costs [Pipeline] echo 01:16:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:12 ---> logs-deploy.sh 01:16:12 lf-activate-venv: SKIPPING 01:16:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-283/1 01:16:12 INFO: archiving workspace using pattern(s): 01:16:13 Archives upload complete. 01:16:13 INFO: archiving logs to Nexus