Pull request #284 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec+099b8ea86ae346ef1d450a8d185b2283d3122d98 (d1d598bc0e70d9ad726a9df044a4541f43887374) 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-ssh11060472277501737236.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-ssh9323078592257014671.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-284/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-284/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh986783702007730032.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-284/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2859587374384169544.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-ssh13200623242809811219.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-284/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-284/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15573658279720274652.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-41800 in /w/workspace/foundry_device-virtual-go_PR-284 [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-284 # 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 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec Merge succeeded, producing 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec Checking out Revision 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec (PR-284) > 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/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec # 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 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:07:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:07:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:07:40 ========================================================= 11:07:40 EdgeX Global Pipelines Version Info 11:07:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:07:41 ------------------- 11:07:41 stable info: 11:07:41 ------------------- 11:07:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:07:41 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:07:41 Message: update stable to v1.0.227 11:07:42 ------------------- 11:07:42 experimental info: 11:07:42 ------------------- 11:07:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:07:42 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 11:07:42 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:07:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-284 [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-284 [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-284 [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 995c9ba [Pipeline] echo 11:07:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:43 provisioning config files... 11:07:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-284@tmp/config1609166836848040760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:44 ---> docker-login.sh 11:07:44 nexus3.edgexfoundry.org:10001 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:44 Configure a credential helper to remove this warning. See 11:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:44 11:07:44 Login Succeeded 11:07:44 nexus3.edgexfoundry.org:10002 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:44 Configure a credential helper to remove this warning. See 11:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:44 11:07:44 Login Succeeded 11:07:44 nexus3.edgexfoundry.org:10003 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:44 Configure a credential helper to remove this warning. See 11:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:44 11:07:44 Login Succeeded 11:07:44 nexus3.edgexfoundry.org:10004 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:44 Configure a credential helper to remove this warning. See 11:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:44 11:07:44 Login Succeeded 11:07:44 docker.io 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:45 Configure a credential helper to remove this warning. See 11:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:45 11:07:45 Login Succeeded 11:07:45 ---> docker-login.sh ends [Pipeline] } 11:07:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:07:45 + git rev-list -1 --merges 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec~1..995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [Pipeline] echo 11:07:45 -----------> git rev-list -1 --merges 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec~1..995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [false] [Pipeline] sh 11:07:46 + git log --format=format:%s -1 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [Pipeline] echo 11:07:46 ========================================================= 11:07:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:07:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:46 + git log --format=format:%s -1 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [Pipeline] echo 11:07:46 [semverPrep] GIT_COMMIT: 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:07:46 [semverPrep] This is not a build commit. [Pipeline] sh 11:07:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:07:47 + grep -v github /etc/ssh/ssh_known_hosts 11:07:47 + [ -e /tmp/ssh_known_hosts ] 11:07:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:07:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:07:47 + sudo tee -a /etc/ssh/ssh_known_hosts 11:07:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:07:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:07:47 11:07:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:07:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:07:48 latest: Pulling from edgex-devops/py-git-semver 11:07:48 1fe172e4850f: Pulling fs layer 11:07:48 caf521ccaac6: Pulling fs layer 11:07:48 3ead6fa29328: Pulling fs layer 11:07:48 5c2a1cbceb83: Pulling fs layer 11:07:48 a8d5f1318db7: Pulling fs layer 11:07:48 c427282e49a2: Pulling fs layer 11:07:48 1827001aaf11: Pulling fs layer 11:07:48 0714d37db230: Pulling fs layer 11:07:48 ac28cf19c067: Pulling fs layer 11:07:48 ca983d60f3e2: Pulling fs layer 11:07:48 9f894cec8388: Pulling fs layer 11:07:48 1827001aaf11: Waiting 11:07:48 0714d37db230: Waiting 11:07:48 ac28cf19c067: Waiting 11:07:48 ca983d60f3e2: Waiting 11:07:48 9f894cec8388: Waiting 11:07:48 5c2a1cbceb83: Waiting 11:07:48 a8d5f1318db7: Waiting 11:07:48 c427282e49a2: Waiting 11:07:48 caf521ccaac6: Download complete 11:07:48 5c2a1cbceb83: Download complete 11:07:48 a8d5f1318db7: Verifying Checksum 11:07:48 a8d5f1318db7: Download complete 11:07:48 c427282e49a2: Verifying Checksum 11:07:48 c427282e49a2: Download complete 11:07:48 3ead6fa29328: Verifying Checksum 11:07:48 3ead6fa29328: Download complete 11:07:48 0714d37db230: Download complete 11:07:48 ac28cf19c067: Verifying Checksum 11:07:48 ac28cf19c067: Download complete 11:07:48 ca983d60f3e2: Download complete 11:07:48 9f894cec8388: Download complete 11:07:48 1fe172e4850f: Verifying Checksum 11:07:48 1fe172e4850f: Download complete 11:07:48 1827001aaf11: Verifying Checksum 11:07:48 1827001aaf11: Download complete 11:07:49 1fe172e4850f: Pull complete 11:07:49 caf521ccaac6: Pull complete 11:07:50 3ead6fa29328: Pull complete 11:07:50 5c2a1cbceb83: Pull complete 11:07:50 a8d5f1318db7: Pull complete 11:07:50 c427282e49a2: Pull complete 11:07:52 1827001aaf11: Pull complete 11:07:52 0714d37db230: Pull complete 11:07:52 ac28cf19c067: Pull complete 11:07:53 ca983d60f3e2: Pull complete 11:07:53 9f894cec8388: Pull complete 11:07:53 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 11:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:07:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 11:07:53 prd-ubuntu20.04-docker-8c-8g-41800 does not seem to be running inside a container 11:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-284 -v /w/workspace/foundry_device-virtual-go_PR-284:/w/workspace/foundry_device-virtual-go_PR-284:rw,z -v /w/workspace/foundry_device-virtual-go_PR-284@tmp:/w/workspace/foundry_device-virtual-go_PR-284@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:07:55 $ docker top 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d -eo pid,comm 11:07:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:07:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:07:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:55 [ssh-agent] Looking for ssh-agent implementation... 11:07:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:55 $ docker exec 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d ssh-agent 11:07:55 SSH_AUTH_SOCK=/tmp/ssh-r52VQZZqn35y/agent.33 11:07:55 SSH_AGENT_PID=39 11:07:55 Running ssh-add (command line suppressed) 11:07:55 Identity added: /w/workspace/foundry_device-virtual-go_PR-284@tmp/private_key_7843648648287634354.key (/w/workspace/foundry_device-virtual-go_PR-284@tmp/private_key_7843648648287634354.key) 11:07:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:56 + git tag --points-at HEAD [Pipeline] } 11:07:56 $ docker exec --env ******** --env ******** 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d ssh-agent -k 11:07:56 unset SSH_AUTH_SOCK; 11:07:56 unset SSH_AGENT_PID; 11:07:56 echo Agent pid 39 killed; 11:07:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:07:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:56 [ssh-agent] Looking for ssh-agent implementation... 11:07:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:56 $ docker exec 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d ssh-agent 11:07:56 SSH_AUTH_SOCK=/tmp/ssh-CiQJientnmB8/agent.73 11:07:56 SSH_AGENT_PID=79 11:07:56 Running ssh-add (command line suppressed) 11:07:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-284@tmp/private_key_6342764259770994311.key (/w/workspace/foundry_device-virtual-go_PR-284@tmp/private_key_6342764259770994311.key) 11:07:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:57 + git semver init 11:07:57 2022-05-09 11:07:57,519 [run_init] DEBUG init version:0.0.0 force:False 11:07:57 2022-05-09 11:07:57,519 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-284/.semver 11:07:57 2022-05-09 11:07:57,520 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-284/.semver 11:07:57 2022-05-09 11:07:57,520 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-284/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-284, universal_newlines=False, shell=None, istream=None) 11:07:58 2022-05-09 11:07:58,583 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-284/.git/info/exclude 11:07:58 2022-05-09 11:07:58,584 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-284/.semver/PR-284 with force:False 11:07:58 2022-05-09 11:07:58,584 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-284/.semver/PR-284 11:07:58 2022-05-09 11:07:58,588 [execute] INFO git cat-file --batch-check 11:07:58 2022-05-09 11:07:58,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 11:07:58 2022-05-09 11:07:58,596 [execute] INFO git cat-file --batch 11:07:58 2022-05-09 11:07:58,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 11:07:58 2022-05-09 11:07:58,603 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-284/.semver/PR-284 11:07:58 0.0.0 [Pipeline] } 11:07:58 $ docker exec --env ******** --env ******** 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d ssh-agent -k 11:07:59 unset SSH_AUTH_SOCK; 11:07:59 unset SSH_AGENT_PID; 11:07:59 echo Agent pid 79 killed; 11:07:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:07:59 + git semver [Pipeline] } 11:07:59 $ docker stop --time=1 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d 11:08:01 $ docker rm -f 7b0b62cc5dc21d2e157efcbe8d5a0582b4398f9aab92abd8044d3b14b6abc71d [Pipeline] // withDockerContainer [Pipeline] sh 11:08:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:08:01 Stashed 1 file(s) [Pipeline] echo 11:08:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:02 provisioning config files... 11:08:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-284@tmp/config1133415968482033775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:02 ---> docker-login.sh 11:08:02 nexus3.edgexfoundry.org:10001 11:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:02 Configure a credential helper to remove this warning. See 11:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:02 11:08:02 Login Succeeded 11:08:02 nexus3.edgexfoundry.org:10002 11:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:03 Configure a credential helper to remove this warning. See 11:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:03 11:08:03 Login Succeeded 11:08:03 nexus3.edgexfoundry.org:10003 11:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:03 Configure a credential helper to remove this warning. See 11:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:03 11:08:03 Login Succeeded 11:08:03 nexus3.edgexfoundry.org:10004 11:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:03 Configure a credential helper to remove this warning. See 11:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:03 11:08:03 Login Succeeded 11:08:03 docker.io 11:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:03 Configure a credential helper to remove this warning. See 11:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:03 11:08:03 Login Succeeded 11:08:03 ---> docker-login.sh ends [Pipeline] } 11:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:08:03 ========================================================= 11:08:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:08:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:08:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:08:04 Sending build context to Docker daemon 22.93MB 11:08:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:08:04 Step 2/12 : FROM ${BASE} AS builder 11:08:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:08:04 59bf1c3509f3: Pulling fs layer 11:08:04 666ba61612fd: Pulling fs layer 11:08:04 8ed8ca486205: Pulling fs layer 11:08:04 4fe6c5a15a65: Pulling fs layer 11:08:04 22a0e8bec74d: Pulling fs layer 11:08:04 ca2b28591e48: Pulling fs layer 11:08:04 a51346096db8: Pulling fs layer 11:08:04 daebc70d1ce1: Pulling fs layer 11:08:04 0e18a0eac166: Pulling fs layer 11:08:04 4fe6c5a15a65: Waiting 11:08:04 22a0e8bec74d: Waiting 11:08:04 ca2b28591e48: Waiting 11:08:04 a51346096db8: Waiting 11:08:04 daebc70d1ce1: Waiting 11:08:04 0e18a0eac166: Waiting 11:08:04 8ed8ca486205: Verifying Checksum 11:08:04 8ed8ca486205: Download complete 11:08:04 666ba61612fd: Download complete 11:08:04 22a0e8bec74d: Download complete 11:08:04 ca2b28591e48: Download complete 11:08:04 59bf1c3509f3: Verifying Checksum 11:08:04 a51346096db8: Download complete 11:08:04 daebc70d1ce1: Verifying Checksum 11:08:04 daebc70d1ce1: Download complete 11:08:04 59bf1c3509f3: Pull complete 11:08:04 666ba61612fd: Pull complete 11:08:05 8ed8ca486205: Pull complete 11:08:05 0e18a0eac166: Verifying Checksum 11:08:05 0e18a0eac166: Download complete 11:08:05 4fe6c5a15a65: Verifying Checksum 11:08:05 4fe6c5a15a65: Download complete 11:08:09 4fe6c5a15a65: Pull complete 11:08:09 22a0e8bec74d: Pull complete 11:08:09 ca2b28591e48: Pull complete 11:08:09 a51346096db8: Pull complete 11:08:09 daebc70d1ce1: Pull complete 11:08:12 0e18a0eac166: Pull complete 11:08:12 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:08:12 ---> f018257e8ee9 11:08:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:08:13 ---> Running in a6f37aa9dd19 11:08:13 Removing intermediate container a6f37aa9dd19 11:08:13 ---> a4a74d3d3030 11:08:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:08:13 ---> Running in 709ade2cccab 11:08:14 Removing intermediate container 709ade2cccab 11:08:14 ---> c2189120858b 11:08:14 Step 5/12 : WORKDIR /device-virtual-go 11:08:14 ---> Running in 9ce75d6df807 11:08:14 Removing intermediate container 9ce75d6df807 11:08:14 ---> e9e9898ae2fc 11:08:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:14 ---> Running in 03101589d0a9 11:08:15 Removing intermediate container 03101589d0a9 11:08:15 ---> 6ff4210b4e09 11:08:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:15 ---> Running in 40178e6eb28d 11:08:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:08:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:08:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:08:16 (2/4) Installing libedit (20210910.3.1-r0) 11:08:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:08:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:08:16 Executing busybox-1.34.1-r3.trigger 11:08:16 OK: 224 MiB in 56 packages 11:08:17 Still waiting to schedule task 11:08:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:08:17 Removing intermediate container 40178e6eb28d 11:08:17 ---> 63de0cf102bb 11:08:17 Step 8/12 : COPY go.mod vendor* ./ 11:08:17 ---> ea816202645c 11:08:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:17 ---> Running in a7563f84c9e9 11:08:32 Removing intermediate container a7563f84c9e9 11:08:32 ---> 39f035856f5c 11:08:32 Step 10/12 : COPY . . 11:08:32 ---> 5a0633e5b449 11:08:32 Step 11/12 : ARG MAKE='make build' 11:08:32 ---> Running in 60ba2588b137 11:08:32 Removing intermediate container 60ba2588b137 11:08:32 ---> ed62f20f363f 11:08:32 Step 12/12 : RUN $MAKE 11:08:32 ---> Running in a1cae6de79ad 11:08:32 noop 11:08:32 Removing intermediate container a1cae6de79ad 11:08:32 ---> 9fb75050c866 11:08:32 Successfully built 9fb75050c866 11:08:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:08:33 + docker inspect -f . ci-base-image-x86_64 11:08:33 . [Pipeline] withDockerContainer 11:08:33 prd-ubuntu20.04-docker-8c-8g-41800 does not seem to be running inside a container 11:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-284 -v /w/workspace/foundry_device-virtual-go_PR-284:/w/workspace/foundry_device-virtual-go_PR-284:rw,z -v /w/workspace/foundry_device-virtual-go_PR-284@tmp:/w/workspace/foundry_device-virtual-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:08:33 $ docker top 9f2187e0ec5f8d21ae22ff3375804aca40cb6aa2b3aaba3a616d512d20f6c7f0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:34 + go version 11:08:34 go version go1.17.6 linux/amd64 [Pipeline] } 11:08:34 $ docker stop --time=1 9f2187e0ec5f8d21ae22ff3375804aca40cb6aa2b3aaba3a616d512d20f6c7f0 11:08:35 $ docker rm -f 9f2187e0ec5f8d21ae22ff3375804aca40cb6aa2b3aaba3a616d512d20f6c7f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:36 + docker inspect -f . ci-base-image-x86_64 11:08:36 . [Pipeline] withDockerContainer 11:08:36 prd-ubuntu20.04-docker-8c-8g-41800 does not seem to be running inside a container 11:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-284 -v /w/workspace/foundry_device-virtual-go_PR-284:/w/workspace/foundry_device-virtual-go_PR-284:rw,z -v /w/workspace/foundry_device-virtual-go_PR-284@tmp:/w/workspace/foundry_device-virtual-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:08:36 $ docker top c6328152d457c91a71e89c33eb5dd3f95df35c61a974338e9cf9da3819f3f70a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:37 + make test 11:08:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:08:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:08:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 11:08:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:08:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:08:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:08:57 ./bin/test-attribution-txt.sh [Pipeline] echo 11:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:08:57 $ docker stop --time=1 c6328152d457c91a71e89c33eb5dd3f95df35c61a974338e9cf9da3819f3f70a 11:08:59 $ docker rm -f c6328152d457c91a71e89c33eb5dd3f95df35c61a974338e9cf9da3819f3f70a [Pipeline] // withDockerContainer [Pipeline] sh 11:09:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:09:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:09:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:01 + ls -al . 11:09:01 total 184 11:09:01 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:08 . 11:09:01 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:09 .. 11:09:01 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:07 .git 11:09:01 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:07 .github 11:09:01 -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:07 .gitignore 11:09:01 -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:07 .golangci.yml 11:09:01 drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:07 .semver 11:09:01 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:07 Attribution.txt 11:09:01 -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:07 CHANGELOG.md 11:09:01 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:07 Dockerfile 11:09:01 -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:07 GOVERNANCE.md 11:09:01 -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:07 Jenkinsfile 11:09:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:07 LICENSE 11:09:01 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:07 Makefile 11:09:01 -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:07 OWNERS.md 11:09:01 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:07 README.md 11:09:01 -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:08 VERSION 11:09:01 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:07 bin 11:09:01 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:07 cmd 11:09:01 -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:08 coverage.out 11:09:01 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:07 go.mod 11:09:01 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:07 go.sum 11:09:01 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:07 internal 11:09:01 -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:07 version.go [Pipeline] isUnix [Pipeline] sh 11:09:01 + 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=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec --label arch=amd64 --label version=0.0.0 . 11:09:01 Sending build context to Docker daemon 22.97MB 11:09:01 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:09:01 Step 2/26 : FROM ${BASE} AS builder 11:09:01 ---> 9fb75050c866 11:09:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:02 ---> Running in ecc08516f58e 11:09:02 Removing intermediate container ecc08516f58e 11:09:02 ---> f3416ea18fca 11:09:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:09:02 ---> Running in a8dc3df60503 11:09:02 Removing intermediate container a8dc3df60503 11:09:02 ---> 1153335d9a94 11:09:02 Step 5/26 : WORKDIR /device-virtual-go 11:09:02 ---> Running in 68b0161bc33a 11:09:02 Removing intermediate container 68b0161bc33a 11:09:02 ---> 4194e89e6842 11:09:02 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:02 ---> Running in e56f7239278b 11:09:03 Removing intermediate container e56f7239278b 11:09:03 ---> 8d05d648da64 11:09:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:03 ---> Running in 2f7ffe987ebc 11:09:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:09:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:09:04 OK: 224 MiB in 56 packages 11:09:04 Removing intermediate container 2f7ffe987ebc 11:09:04 ---> 334fcea0145a 11:09:04 Step 8/26 : COPY go.mod vendor* ./ 11:09:05 ---> c9088c152787 11:09:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:05 ---> Running in d4e914a6b17f 11:09:05 Removing intermediate container d4e914a6b17f 11:09:05 ---> 0b5399e9efba 11:09:05 Step 10/26 : COPY . . 11:09:06 ---> ab9814c66ad2 11:09:06 Step 11/26 : ARG MAKE='make build' 11:09:06 ---> Running in fdc6fc1dd34d 11:09:06 Removing intermediate container fdc6fc1dd34d 11:09:06 ---> 41bab2946633 11:09:06 Step 12/26 : RUN $MAKE 11:09:06 ---> Running in 2c338959f352 11:09:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:09:28 Removing intermediate container 2c338959f352 11:09:28 ---> 5149acf6a01a 11:09:28 Step 13/26 : FROM alpine:3.14 11:09:28 3.14: Pulling from library/alpine 11:09:28 8663204ce13b: Pulling fs layer 11:09:28 8663204ce13b: Verifying Checksum 11:09:28 8663204ce13b: Download complete 11:09:28 8663204ce13b: Pull complete 11:09:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:09:28 Status: Downloaded newer image for alpine:3.14 11:09:28 ---> e04c818066af 11:09:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:09:28 ---> Running in fe8e5820a201 11:09:28 Removing intermediate container fe8e5820a201 11:09:28 ---> 24d9e397a6ce 11:09:28 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:28 ---> Running in 540cc25ede49 11:09:28 Removing intermediate container 540cc25ede49 11:09:28 ---> d37c72840523 11:09:28 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:09:28 ---> Running in 9d5f55234a1f 11:09:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:09:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:09:28 (1/6) Installing dumb-init (1.2.5-r1) 11:09:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:09:29 (3/6) Installing libsodium (1.0.18-r0) 11:09:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:09:29 (5/6) Installing libzmq (4.3.4-r0) 11:09:29 (6/6) Installing zeromq (4.3.4-r0) 11:09:29 Executing busybox-1.33.1-r7.trigger 11:09:29 OK: 8 MiB in 20 packages 11:09:29 Removing intermediate container 9d5f55234a1f 11:09:29 ---> 1d1b25f537b1 11:09:29 Step 17/26 : WORKDIR / 11:09:29 ---> Running in 60976c409004 11:09:29 Removing intermediate container 60976c409004 11:09:29 ---> 65b3db80c4b8 11:09:29 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:09:30 ---> 1a20f3473993 11:09:30 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:09:30 ---> 66be6dd798eb 11:09:30 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:09:30 ---> 2537fbe56bf7 11:09:30 Step 21/26 : EXPOSE 59900 11:09:30 ---> Running in 8aef5fdd232c 11:09:30 Removing intermediate container 8aef5fdd232c 11:09:30 ---> 3a44034aebf0 11:09:30 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:09:30 ---> Running in cd7d3eeaee48 11:09:30 Removing intermediate container cd7d3eeaee48 11:09:30 ---> 37b8da6f0f12 11:09:30 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:09:30 ---> Running in e41496958c64 11:09:31 Removing intermediate container e41496958c64 11:09:31 ---> fc3324fe7429 11:09:31 Step 24/26 : LABEL arch=amd64 11:09:31 ---> Running in dd74c4dcb1a6 11:09:31 Removing intermediate container dd74c4dcb1a6 11:09:31 ---> b1befefd999f 11:09:31 Step 25/26 : LABEL git_sha=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec 11:09:31 ---> Running in 237f60f3a4d5 11:09:31 Removing intermediate container 237f60f3a4d5 11:09:31 ---> b684949c67b5 11:09:31 Step 26/26 : LABEL version=0.0.0 11:09:31 ---> Running in 68a488dc1327 11:09:31 Removing intermediate container 68a488dc1327 11:09:31 ---> 1e96439cd00a 11:09:31 [Warning] One or more build-args [ARCH] were not consumed 11:09:31 Successfully built 1e96439cd00a 11:09:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:09:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:32 11:09:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:09:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:32 latest: Pulling from edgex-lftools-log-publisher 11:09:32 5eb5b503b376: Pulling fs layer 11:09:32 5c69ac0246d0: Pulling fs layer 11:09:32 ec43610c2a17: Pulling fs layer 11:09:32 3a2ae6a8a46f: Pulling fs layer 11:09:32 33b1e0a273af: Pulling fs layer 11:09:32 5d3b04190fa2: Pulling fs layer 11:09:32 2f39f015ded8: Pulling fs layer 11:09:32 33b1e0a273af: Waiting 11:09:32 3a2ae6a8a46f: Waiting 11:09:32 2f39f015ded8: Waiting 11:09:32 5d3b04190fa2: Waiting 11:09:32 5c69ac0246d0: Verifying Checksum 11:09:32 5c69ac0246d0: Download complete 11:09:32 3a2ae6a8a46f: Verifying Checksum 11:09:32 3a2ae6a8a46f: Download complete 11:09:32 33b1e0a273af: Verifying Checksum 11:09:32 33b1e0a273af: Download complete 11:09:32 5d3b04190fa2: Verifying Checksum 11:09:32 5d3b04190fa2: Download complete 11:09:32 ec43610c2a17: Verifying Checksum 11:09:32 ec43610c2a17: Download complete 11:09:32 5eb5b503b376: Verifying Checksum 11:09:32 5eb5b503b376: Download complete 11:09:33 2f39f015ded8: Download complete 11:09:33 5eb5b503b376: Pull complete 11:09:34 5c69ac0246d0: Pull complete 11:09:34 ec43610c2a17: Pull complete 11:09:34 3a2ae6a8a46f: Pull complete 11:09:34 33b1e0a273af: Pull complete 11:09:34 5d3b04190fa2: Pull complete 11:09:39 2f39f015ded8: Pull complete 11:09:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:09:39 prd-ubuntu20.04-docker-8c-8g-41800 does not seem to be running inside a container 11:09:39 $ 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-284 -v /w/workspace/foundry_device-virtual-go_PR-284:/w/workspace/foundry_device-virtual-go_PR-284:rw,z -v /w/workspace/foundry_device-virtual-go_PR-284@tmp:/w/workspace/foundry_device-virtual-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:09:41 $ docker top e44c067fa64e3d76c908e8e63c61cbf6bfaf1b62b36102b5f58f296f1a4ac994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:41 ---> job-cost.sh 11:09:41 lf-activate-venv: SKIPPING 11:09:41 INFO: No Stack... 11:09:42 INFO: Retrieving Pricing Info for: v3-standard-8 11:09:42 INFO: Archiving Costs [Pipeline] sh 11:09:43 + cat /w/workspace/foundry_device-virtual-go_PR-284/archives/cost.csv 11:09:43 + cut -d, -f6 [Pipeline] lock 11:09:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] 11:09:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] did not exist. Created. 11:09:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:09:43 + echo total: 0.2199999988079071 [Pipeline] stash 11:09:43 Stashed 1 file(s) [Pipeline] } 11:09:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:09:43 $ docker stop --time=1 e44c067fa64e3d76c908e8e63c61cbf6bfaf1b62b36102b5f58f296f1a4ac994 11:09:44 $ docker rm -f e44c067fa64e3d76c908e8e63c61cbf6bfaf1b62b36102b5f58f296f1a4ac994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:09:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41801 in /w/workspace/foundry_device-virtual-go_PR-284 [Pipeline] { [Pipeline] ws 11:09:58 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:09:59 The recommended git tool is: git 11:10:05 using credential edgex-jenkins-ssh 11:10:05 Cloning the remote Git repository 11:10:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:10:05 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:10:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:10:05 > git --version # timeout=10 11:10:05 > git --version # 'git version 2.25.1' 11:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:10:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:10:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:10:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:10:08 Merging remotes/origin/main commit 099b8ea86ae346ef1d450a8d185b2283d3122d98 into PR head commit 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec 11:10:08 Merge succeeded, producing 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec 11:10:08 Checking out Revision 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec (PR-284) 11:10:08 > git config core.sparsecheckout # timeout=10 11:10:08 > git checkout -f 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec # timeout=10 11:10:08 > git remote # timeout=10 11:10:08 > git config --get remote.origin.url # timeout=10 11:10:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:08 > git merge 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 11:10:08 > git rev-parse HEAD^{commit} # timeout=10 11:10:08 > git config core.sparsecheckout # timeout=10 11:10:08 > git checkout -f 995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec # timeout=10 11:10:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:10:12 > git --version # timeout=10 11:10:12 > git --version # 'git version 2.25.1' 11:10:12 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:10:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:14 Dload Upload Total Spent Left Speed 11:10:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11843 65 7747 0 0 62475 0 --:--:-- --:--:-- --:--:-- 62475 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 93992 [Pipeline] sh 11:10:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:10:14 + sudo tee /etc/docker/daemon.new 11:10:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:10:14 { 11:10:14 "registry-mirrors": [ 11:10:14 "https://nexus3.edgexfoundry.org:10001" 11:10:14 ], 11:10:14 "bip": "10.250.0.254/24", 11:10:14 "hosts": [ 11:10:14 "tcp://0.0.0.0:5555", 11:10:14 "unix:///var/run/docker.sock" 11:10:14 ], 11:10:14 "mtu": 1458, 11:10:14 "selinux-enabled": true, 11:10:14 "seccomp-profile": "/etc/docker/seccomp.json" 11:10:14 } [Pipeline] sh 11:10:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:10:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:34 provisioning config files... 11:10:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config473365294008746166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:34 ---> docker-login.sh 11:10:34 nexus3.edgexfoundry.org:10001 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10002 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:36 Configure a credential helper to remove this warning. See 11:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:36 11:10:36 Login Succeeded 11:10:36 nexus3.edgexfoundry.org:10003 11:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:36 Configure a credential helper to remove this warning. See 11:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:36 11:10:36 Login Succeeded 11:10:36 nexus3.edgexfoundry.org:10004 11:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:37 Configure a credential helper to remove this warning. See 11:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:37 11:10:37 Login Succeeded 11:10:37 docker.io 11:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:37 Configure a credential helper to remove this warning. See 11:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:37 11:10:37 Login Succeeded 11:10:37 ---> docker-login.sh ends [Pipeline] } 11:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:37 ========================================================= 11:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:10:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:10:38 Sending build context to Docker daemon 11.59MB 11:10:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:10:38 Step 2/12 : FROM ${BASE} AS builder 11:10:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:10:38 9b3977197b4f: Pulling fs layer 11:10:38 1a89e8eeedd5: Pulling fs layer 11:10:38 94645a83ff95: Pulling fs layer 11:10:38 3f3a8bcf1eab: Pulling fs layer 11:10:38 0c92f367c5e7: Pulling fs layer 11:10:38 3096ccb668a1: Pulling fs layer 11:10:38 e8cf19c19ddd: Pulling fs layer 11:10:38 a4caa8a26152: Pulling fs layer 11:10:38 3096ccb668a1: Waiting 11:10:38 e8cf19c19ddd: Waiting 11:10:38 3f3a8bcf1eab: Waiting 11:10:38 a4caa8a26152: Waiting 11:10:38 0c92f367c5e7: Waiting 11:10:38 94645a83ff95: Verifying Checksum 11:10:38 94645a83ff95: Download complete 11:10:38 1a89e8eeedd5: Verifying Checksum 11:10:38 1a89e8eeedd5: Download complete 11:10:38 0c92f367c5e7: Download complete 11:10:38 3096ccb668a1: Verifying Checksum 11:10:38 3096ccb668a1: Download complete 11:10:38 9b3977197b4f: Verifying Checksum 11:10:38 9b3977197b4f: Download complete 11:10:38 e8cf19c19ddd: Verifying Checksum 11:10:38 e8cf19c19ddd: Download complete 11:10:39 9b3977197b4f: Pull complete 11:10:40 1a89e8eeedd5: Pull complete 11:10:40 94645a83ff95: Pull complete 11:10:41 a4caa8a26152: Verifying Checksum 11:10:41 3f3a8bcf1eab: Verifying Checksum 11:10:41 3f3a8bcf1eab: Download complete 11:10:54 3f3a8bcf1eab: Pull complete 11:10:54 0c92f367c5e7: Pull complete 11:10:54 3096ccb668a1: Pull complete 11:10:54 e8cf19c19ddd: Pull complete 11:10:59 a4caa8a26152: Pull complete 11:10:59 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:10:59 ---> 725f1c02e7f9 11:10:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:01 ---> Running in 4fd74504569b 11:11:01 Removing intermediate container 4fd74504569b 11:11:01 ---> b204d13a3213 11:11:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:11:01 ---> Running in d8fb79baa706 11:11:01 Removing intermediate container d8fb79baa706 11:11:01 ---> a7f9053a2ce4 11:11:01 Step 5/12 : WORKDIR /device-virtual-go 11:11:01 ---> Running in 783dad76f71a 11:11:02 Removing intermediate container 783dad76f71a 11:11:02 ---> e9b8a4c2bf61 11:11:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:02 ---> Running in 78b32c4535e9 11:11:04 Removing intermediate container 78b32c4535e9 11:11:04 ---> 1a3fe24a059c 11:11:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:04 ---> Running in 6cfccacfb5ba 11:11:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:11:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:11:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:11:06 (2/4) Installing libedit (20210910.3.1-r0) 11:11:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:11:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:11:07 Executing busybox-1.34.1-r3.trigger 11:11:07 OK: 224 MiB in 56 packages 11:11:08 Removing intermediate container 6cfccacfb5ba 11:11:08 ---> 96972ca6ae9e 11:11:08 Step 8/12 : COPY go.mod vendor* ./ 11:11:08 ---> 45a4aaeb185a 11:11:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:08 ---> Running in e89429036d8d 11:11:55 Removing intermediate container e89429036d8d 11:11:55 ---> 1afac5d8bfd1 11:11:55 Step 10/12 : COPY . . 11:11:55 ---> 93d63b8c9c3f 11:11:55 Step 11/12 : ARG MAKE='make build' 11:11:55 ---> Running in 3bd9ef0a8cdb 11:11:55 Removing intermediate container 3bd9ef0a8cdb 11:11:55 ---> c5c1cf38ece8 11:11:55 Step 12/12 : RUN $MAKE 11:11:55 ---> Running in ab31f3e4ca25 11:11:55 noop 11:11:55 Removing intermediate container ab31f3e4ca25 11:11:55 ---> e0ce74595a07 11:11:55 Successfully built e0ce74595a07 11:11:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:11:56 + docker inspect -f . ci-base-image-arm64 11:11:56 . [Pipeline] withDockerContainer 11:11:56 prd-ubuntu20.04-docker-arm64-4c-16g-41801 does not seem to be running inside a container 11:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:11:57 $ docker top 427859bf843e0210658031d02cac404605206721b1a6eb718c5836a57836e42b -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:58 + go version 11:11:58 go version go1.17.6 linux/arm64 [Pipeline] } 11:11:58 $ docker stop --time=1 427859bf843e0210658031d02cac404605206721b1a6eb718c5836a57836e42b 11:12:00 $ docker rm -f 427859bf843e0210658031d02cac404605206721b1a6eb718c5836a57836e42b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:12:01 + docker inspect -f . ci-base-image-arm64 11:12:01 . [Pipeline] withDockerContainer 11:12:01 prd-ubuntu20.04-docker-arm64-4c-16g-41801 does not seem to be running inside a container 11:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:12:02 $ docker top 3eb9ddef9c289e3bdb548b0bb34852952a82fc10cd4435c99578dda1eb0737b3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:12:03 + make test 11:12:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:12:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:13:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:13:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 11:13:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:13:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:13:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:13:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:13:49 ./bin/test-attribution-txt.sh [Pipeline] echo 11:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:13:49 $ docker stop --time=1 3eb9ddef9c289e3bdb548b0bb34852952a82fc10cd4435c99578dda1eb0737b3 11:13:51 $ docker rm -f 3eb9ddef9c289e3bdb548b0bb34852952a82fc10cd4435c99578dda1eb0737b3 [Pipeline] // withDockerContainer [Pipeline] sh 11:13:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:13:52 Warning: overwriting stash ‘coverage-report’ 11:13:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:53 + ls -al . 11:13:53 total 180 11:13:53 drwxrwxr-x 7 jenkins jenkins 4096 May 9 11:13 . 11:13:53 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:10 .. 11:13:53 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:10 .git 11:13:53 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:10 .github 11:13:53 -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:10 .gitignore 11:13:53 -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:10 .golangci.yml 11:13:53 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:10 Attribution.txt 11:13:53 -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:10 CHANGELOG.md 11:13:53 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:10 Dockerfile 11:13:53 -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:10 GOVERNANCE.md 11:13:53 -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:10 Jenkinsfile 11:13:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:10 LICENSE 11:13:53 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:10 Makefile 11:13:53 -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:10 OWNERS.md 11:13:53 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:10 README.md 11:13:53 -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:08 VERSION 11:13:53 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:10 bin 11:13:53 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:10 cmd 11:13:53 -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:13 coverage.out 11:13:53 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:10 go.mod 11:13:53 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:10 go.sum 11:13:53 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:10 internal 11:13:53 -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:10 version.go [Pipeline] isUnix [Pipeline] sh 11:13:54 + 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=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec --label arch=arm64 --label version=0.0.0 . 11:13:54 Sending build context to Docker daemon 11.64MB 11:13:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:13:54 Step 2/26 : FROM ${BASE} AS builder 11:13:54 ---> e0ce74595a07 11:13:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:13:54 ---> Running in 2d7e3c03c866 11:13:54 Removing intermediate container 2d7e3c03c866 11:13:54 ---> b20debe347ce 11:13:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:13:54 ---> Running in edc03c6ed30b 11:13:55 Removing intermediate container edc03c6ed30b 11:13:55 ---> 225825fd14b1 11:13:55 Step 5/26 : WORKDIR /device-virtual-go 11:13:55 ---> Running in ff80e5e4fc8e 11:13:55 Removing intermediate container ff80e5e4fc8e 11:13:55 ---> 277a15c47105 11:13:55 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:55 ---> Running in 0aa3bf3874ac 11:13:57 Removing intermediate container 0aa3bf3874ac 11:13:57 ---> 40a287cffbf9 11:13:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:57 ---> Running in 21649d2c5014 11:13:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:13:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:14:00 OK: 224 MiB in 56 packages 11:14:00 Removing intermediate container 21649d2c5014 11:14:00 ---> c6578d089a7e 11:14:00 Step 8/26 : COPY go.mod vendor* ./ 11:14:01 ---> b6c0455a700b 11:14:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:01 ---> Running in 1f68b9776878 11:14:03 Removing intermediate container 1f68b9776878 11:14:03 ---> 65ea54281ae4 11:14:03 Step 10/26 : COPY . . 11:14:04 ---> df355136bcfa 11:14:04 Step 11/26 : ARG MAKE='make build' 11:14:04 ---> Running in bf40959acb15 11:14:04 Removing intermediate container bf40959acb15 11:14:04 ---> 1370d733d45e 11:14:04 Step 12/26 : RUN $MAKE 11:14:04 ---> Running in 189bbfebe28b 11:14:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:16:12 Removing intermediate container 189bbfebe28b 11:16:12 ---> d3469512de0e 11:16:12 Step 13/26 : FROM alpine:3.14 11:16:12 3.14: Pulling from library/alpine 11:16:12 455c02918c45: Pulling fs layer 11:16:12 455c02918c45: Verifying Checksum 11:16:12 455c02918c45: Download complete 11:16:12 455c02918c45: Pull complete 11:16:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:16:12 Status: Downloaded newer image for alpine:3.14 11:16:12 ---> ac73e934f311 11:16:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:16:12 ---> Running in f94133469b2c 11:16:12 Removing intermediate container f94133469b2c 11:16:12 ---> f4a7d8d53bb8 11:16:12 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:12 ---> Running in fd83e72700ae 11:16:12 Removing intermediate container fd83e72700ae 11:16:12 ---> 155dbadc9edc 11:16:12 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:16:12 ---> Running in 897cb0a2228c 11:16:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:16:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:16:12 (1/6) Installing dumb-init (1.2.5-r1) 11:16:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:16:12 (3/6) Installing libsodium (1.0.18-r0) 11:16:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:16:12 (5/6) Installing libzmq (4.3.4-r0) 11:16:12 (6/6) Installing zeromq (4.3.4-r0) 11:16:12 Executing busybox-1.33.1-r7.trigger 11:16:12 OK: 8 MiB in 20 packages 11:16:12 Removing intermediate container 897cb0a2228c 11:16:12 ---> 6cbe135ae0cd 11:16:12 Step 17/26 : WORKDIR / 11:16:12 ---> Running in 246680c283a0 11:16:12 Removing intermediate container 246680c283a0 11:16:12 ---> de6e73411121 11:16:12 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:16:12 ---> 5bdf636ce3ff 11:16:12 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:16:12 ---> 19b4d8a641ac 11:16:12 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:16:12 ---> ae9232a778d3 11:16:12 Step 21/26 : EXPOSE 59900 11:16:12 ---> Running in b1fa89fecd81 11:16:12 Removing intermediate container b1fa89fecd81 11:16:12 ---> 4c4647f330ed 11:16:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:16:12 ---> Running in 72374fddcc0d 11:16:12 Removing intermediate container 72374fddcc0d 11:16:12 ---> 88dd7df92508 11:16:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:16:12 ---> Running in 274bf4a6b650 11:16:12 Removing intermediate container 274bf4a6b650 11:16:12 ---> f21352af566f 11:16:12 Step 24/26 : LABEL arch=arm64 11:16:12 ---> Running in ac6eaec6b8f1 11:16:12 Removing intermediate container ac6eaec6b8f1 11:16:12 ---> 929431ecb18e 11:16:12 Step 25/26 : LABEL git_sha=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec 11:16:12 ---> Running in f7f947a76dc4 11:16:12 Removing intermediate container f7f947a76dc4 11:16:12 ---> f9137410907f 11:16:12 Step 26/26 : LABEL version=0.0.0 11:16:12 ---> Running in db8953118d42 11:16:13 Removing intermediate container db8953118d42 11:16:13 ---> dcd26f773798 11:16:13 [Warning] One or more build-args [ARCH] were not consumed 11:16:13 Successfully built dcd26f773798 11:16:13 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:13 11:16:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:14 arm64: Pulling from edgex-lftools-log-publisher 11:16:14 8998bd30e6a1: Pulling fs layer 11:16:14 04944245beec: Pulling fs layer 11:16:14 699f458cf7ca: Pulling fs layer 11:16:14 765212b225bb: Pulling fs layer 11:16:14 f23df028b6ca: Pulling fs layer 11:16:14 d65c8cfc05b1: Pulling fs layer 11:16:14 2437ff75d9bd: Pulling fs layer 11:16:14 765212b225bb: Waiting 11:16:14 f23df028b6ca: Waiting 11:16:14 d65c8cfc05b1: Waiting 11:16:14 2437ff75d9bd: Waiting 11:16:14 04944245beec: Verifying Checksum 11:16:14 04944245beec: Download complete 11:16:14 765212b225bb: Verifying Checksum 11:16:14 765212b225bb: Download complete 11:16:14 f23df028b6ca: Verifying Checksum 11:16:14 f23df028b6ca: Download complete 11:16:14 d65c8cfc05b1: Verifying Checksum 11:16:14 d65c8cfc05b1: Download complete 11:16:14 699f458cf7ca: Verifying Checksum 11:16:14 699f458cf7ca: Download complete 11:16:15 8998bd30e6a1: Verifying Checksum 11:16:15 8998bd30e6a1: Download complete 11:16:16 2437ff75d9bd: Verifying Checksum 11:16:16 2437ff75d9bd: Download complete 11:16:19 8998bd30e6a1: Pull complete 11:16:19 04944245beec: Pull complete 11:16:21 699f458cf7ca: Pull complete 11:16:21 765212b225bb: Pull complete 11:16:22 f23df028b6ca: Pull complete 11:16:22 d65c8cfc05b1: Pull complete 11:16:37 2437ff75d9bd: Pull complete 11:16:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:16:37 prd-ubuntu20.04-docker-arm64-4c-16g-41801 does not seem to be running inside a container 11:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:16:40 $ docker top a2e819dfec673992089f3695d78001b41e2688f5bc50e5cc05ceac915e119c7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:41 ---> job-cost.sh 11:16:41 lf-activate-venv: SKIPPING 11:16:41 INFO: No Stack... 11:16:41 INFO: Retrieving Pricing Info for: v3-standard-4 11:16:42 INFO: Archiving Costs [Pipeline] sh 11:16:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:16:43 + cut -d, -f6 [Pipeline] lock 11:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] 11:16:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] did not exist. Created. 11:16:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:44 /w/workspace/device-virtual-go/1@tmp/durable-63ba254f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:16:45 + echo total: 0.10999999940395355 [Pipeline] stash 11:16:45 Warning: overwriting stash ‘stack-cost’ 11:16:45 Stashed 1 file(s) [Pipeline] } 11:16:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-284-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:16:45 $ docker stop --time=1 a2e819dfec673992089f3695d78001b41e2688f5bc50e5cc05ceac915e119c7e 11:16:46 $ docker rm -f a2e819dfec673992089f3695d78001b41e2688f5bc50e5cc05ceac915e119c7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:16:47 provisioning config files... 11:16:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-284@tmp/config538363467378791461tmp [Pipeline] { [Pipeline] sh 11:16:48 + set +x 11:16:48 + curl -s https://codecov.io/bash 11:16:48 + bash -s -- 11:16:48 11:16:48 _____ _ 11:16:48 / ____| | | 11:16:48 | | ___ __| | ___ ___ _____ __ 11:16:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:16:48 | |___| (_) | (_| | __/ (_| (_) \ V / 11:16:48 \_____\___/ \__,_|\___|\___\___/ \_/ 11:16:48 Bash-1.0.6 11:16:48 11:16:48 11:16:48 ==> git version 2.25.1 found 11:16:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:16:48 Release-Date: 2020-01-08 11:16:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:16:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:16:48 ==> Jenkins CI detected. 11:16:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-284 11:16:48 project root: . 11:16:48 --> token set from env 11:16:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:16:48 ==> Running gcov in . (disable via -X gcov) 11:16:48 ==> Python coveragepy not found 11:16:48 ==> Searching for coverage reports in: 11:16:48 + . 11:16:48 -> Found 1 reports 11:16:48 ==> Detecting git/mercurial file structure 11:16:48 ==> Reading reports 11:16:48 + ./coverage.out bytes=44128 11:16:48 ==> Appending adjustments 11:16:48 https://docs.codecov.io/docs/fixing-reports 11:16:48 + Found adjustments 11:16:48 ==> Gzipping contents 11:16:48 8.0K /tmp/codecov.TD4e6l.gz 11:16:48 ==> Uploading reports 11:16:48 url: https://codecov.io 11:16:48 query: branch=PR-284&commit=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-284%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=284&job=&cmd_args= 11:16:48 -> Pinging Codecov 11:16:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-284&commit=995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-284%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=284&job=&cmd_args= 11:16:48 -> Uploading to 11:16:48 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5E52B4B073DB2E39498172D8E973AA87/995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec/e88b1f37-c0e1-4f4a-bd62-66881f1577a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T111648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02591f93e004081d6fe77a8912d3ebe53590f914e40f4b54522fff87b4e7568e 11:16:48 % Total % Received % Xferd Average Speed Time Time Time Current 11:16:48 Dload Upload Total Spent Left Speed 11:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5297 0 0 100 5297 0 23131 --:--:-- --:--:-- --:--:-- 23131 11:16:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/995c9ba79c7ceb1cea1a2139e9e2eaf9b31c3dec [Pipeline] } 11:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:16:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-284/archives ] 11:16:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-284/archives 11:16:50 total 16 11:16:50 drwxr-xr-x 3 root root 4096 May 9 11:09 . 11:16:50 drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:09 .. 11:16:50 drwxr-xr-x 2 root root 4096 May 9 11:09 cost 11:16:50 -rw-r--r-- 1 root root 88 May 9 11:09 cost.csv 11:16:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-284/archives 11:16:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-284/archives 11:16:50 total 16 11:16:50 drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:09 . 11:16:50 drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:09 .. 11:16:50 drwxr-xr-x 2 jenkins jenkins 4096 May 9 11:09 cost 11:16:50 -rw-r--r-- 1 jenkins jenkins 88 May 9 11:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:16:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:16:51 ---> package-listing.sh 11:16:51 ++ facter osfamily 11:16:51 ++ tr '[:upper:]' '[:lower:]' 11:16:52 + OS_FAMILY=debian 11:16:52 + workspace=/w/workspace/foundry_device-virtual-go_PR-284 11:16:52 + START_PACKAGES=/tmp/packages_start.txt 11:16:52 + END_PACKAGES=/tmp/packages_end.txt 11:16:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:52 + PACKAGES=/tmp/packages_start.txt 11:16:52 + '[' /w/workspace/foundry_device-virtual-go_PR-284 ']' 11:16:52 + PACKAGES=/tmp/packages_end.txt 11:16:52 + case "${OS_FAMILY}" in 11:16:52 + dpkg -l 11:16:52 + grep '^ii' 11:16:52 + '[' -f /tmp/packages_start.txt ']' 11:16:52 + '[' -f /tmp/packages_end.txt ']' 11:16:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:52 + '[' /w/workspace/foundry_device-virtual-go_PR-284 ']' 11:16:52 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-284/archives/ 11:16:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-284/archives/ [Pipeline] echo 11:16:52 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-284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:16:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:53 . [Pipeline] withDockerContainer 11:16:53 prd-ubuntu20.04-docker-8c-8g-41800 does not seem to be running inside a container 11:16:53 $ 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-284/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-284 -v /w/workspace/foundry_device-virtual-go_PR-284:/w/workspace/foundry_device-virtual-go_PR-284:rw,z -v /w/workspace/foundry_device-virtual-go_PR-284@tmp:/w/workspace/foundry_device-virtual-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:16:53 $ docker top e95056b89fffa0e6e8533879189fad1fb5037aeaa01a759ae268ff49ce1b66dd -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:53 + touch /tmp/pre-build-complete [Pipeline] sh 11:16:54 + mkdir -p /var/log/sysstat [Pipeline] sh 11:16:54 + ls /var/log/sa-host 11:16:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:54 provisioning config files... 11:16:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-284@tmp/config3410848677046838302tmp [Pipeline] { [Pipeline] echo 11:16:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:16:54 ---> create-netrc.sh [Pipeline] } 11:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:16:55 ---> python-tools-install.sh [Pipeline] echo 11:16:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:16:55 ---> sudo-logs.sh 11:16:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:16:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:16:56 ---> job-cost.sh 11:16:56 lf-activate-venv: SKIPPING 11:16:56 DEBUG: total: 0.2199999988079071 11:16:56 INFO: Retrieving Stack Cost... 11:16:56 INFO: Retrieving Pricing Info for: v3-standard-8 11:16:57 INFO: Archiving Costs [Pipeline] echo 11:16:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:16:57 ---> logs-deploy.sh 11:16:57 lf-activate-venv: SKIPPING 11:16:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-284/1 11:16:57 INFO: archiving workspace using pattern(s): 11:16:58 Archives upload complete. 11:16:58 INFO: archiving logs to Nexus