Pull request #285 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 96006ed2597d0332e2f213be0d58e636152471aa rather than ad02acbc72ca8a53f7470f861f3220ba5df5cb1e Obtained Jenkinsfile from 96006ed2597d0332e2f213be0d58e636152471aa 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-ssh2432426362038098981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4090874725263308437.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh 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-285/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-285/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1824273183772863830.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-285/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2426889027768602984.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh3807347497044476584.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-285/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-285/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12623617777954134729.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63042 in /w/workspace/foundry_device-virtual-go_PR-285 [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-285 # 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 96006ed2597d0332e2f213be0d58e636152471aa into PR head commit ad02acbc72ca8a53f7470f861f3220ba5df5cb1e Merge succeeded, producing ad02acbc72ca8a53f7470f861f3220ba5df5cb1e Checking out Revision ad02acbc72ca8a53f7470f861f3220ba5df5cb1e (PR-285) > 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/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad02acbc72ca8a53f7470f861f3220ba5df5cb1e # 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 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad02acbc72ca8a53f7470f861f3220ba5df5cb1e # timeout=10 Commit message: "build: Update to released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:19:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:19:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:19:18 ========================================================= 05:19:18 EdgeX Global Pipelines Version Info 05:19:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:19:19 ------------------- 05:19:19 stable info: 05:19:19 ------------------- 05:19:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:19:19 Message: update stable to v1.0.230 05:19:20 ------------------- 05:19:20 experimental info: 05:19:20 ------------------- 05:19:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:19:20 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:19:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad02acb [Pipeline] echo 05:19:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:22 provisioning config files... 05:19:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-285@tmp/config1473626374294410701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:22 ---> docker-login.sh 05:19:22 nexus3.edgexfoundry.org:10001 05:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:22 Configure a credential helper to remove this warning. See 05:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:22 05:19:22 Login Succeeded 05:19:22 nexus3.edgexfoundry.org:10002 05:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:23 Configure a credential helper to remove this warning. See 05:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:23 05:19:23 Login Succeeded 05:19:23 nexus3.edgexfoundry.org:10003 05:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:23 Configure a credential helper to remove this warning. See 05:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:23 05:19:23 Login Succeeded 05:19:23 nexus3.edgexfoundry.org:10004 05:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:23 Configure a credential helper to remove this warning. See 05:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:23 05:19:23 Login Succeeded 05:19:23 docker.io 05:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:23 Configure a credential helper to remove this warning. See 05:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:23 05:19:23 Login Succeeded 05:19:23 ---> docker-login.sh ends [Pipeline] } 05:19:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:19:24 + git rev-list -1 --merges ad02acbc72ca8a53f7470f861f3220ba5df5cb1e~1..ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [Pipeline] echo 05:19:24 -----------> git rev-list -1 --merges ad02acbc72ca8a53f7470f861f3220ba5df5cb1e~1..ad02acbc72ca8a53f7470f861f3220ba5df5cb1e ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [false] [Pipeline] sh 05:19:24 + git log --format=format:%s -1 ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [Pipeline] echo 05:19:24 ========================================================= 05:19:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:19:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:25 + git log --format=format:%s -1 ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [Pipeline] echo 05:19:25 [semverPrep] GIT_COMMIT: ad02acbc72ca8a53f7470f861f3220ba5df5cb1e, Commit Message: build: Update to released Go Mods [Pipeline] echo 05:19:25 [semverPrep] This is not a build commit. [Pipeline] sh 05:19:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:25 + grep -v github /etc/ssh/ssh_known_hosts 05:19:25 + [ -e /tmp/ssh_known_hosts ] 05:19:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:19:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:19:25 + sudo tee -a /etc/ssh/ssh_known_hosts 05:19:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:19:26 05:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:19:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:19:26 latest: Pulling from edgex-devops/py-git-semver 05:19:26 1fe172e4850f: Pulling fs layer 05:19:26 caf521ccaac6: Pulling fs layer 05:19:26 3ead6fa29328: Pulling fs layer 05:19:26 5c2a1cbceb83: Pulling fs layer 05:19:26 a8d5f1318db7: Pulling fs layer 05:19:26 c427282e49a2: Pulling fs layer 05:19:26 5c2a1cbceb83: Waiting 05:19:26 c427282e49a2: Waiting 05:19:26 1827001aaf11: Pulling fs layer 05:19:26 0714d37db230: Pulling fs layer 05:19:26 ac28cf19c067: Pulling fs layer 05:19:26 ca983d60f3e2: Pulling fs layer 05:19:26 9f894cec8388: Pulling fs layer 05:19:26 0714d37db230: Waiting 05:19:26 ca983d60f3e2: Waiting 05:19:26 1827001aaf11: Waiting 05:19:26 ac28cf19c067: Waiting 05:19:26 9f894cec8388: Waiting 05:19:26 caf521ccaac6: Verifying Checksum 05:19:26 caf521ccaac6: Download complete 05:19:26 5c2a1cbceb83: Verifying Checksum 05:19:26 5c2a1cbceb83: Download complete 05:19:26 3ead6fa29328: Verifying Checksum 05:19:26 3ead6fa29328: Download complete 05:19:26 a8d5f1318db7: Verifying Checksum 05:19:26 a8d5f1318db7: Download complete 05:19:26 c427282e49a2: Verifying Checksum 05:19:26 c427282e49a2: Download complete 05:19:26 0714d37db230: Verifying Checksum 05:19:26 0714d37db230: Download complete 05:19:26 ac28cf19c067: Verifying Checksum 05:19:26 ac28cf19c067: Download complete 05:19:26 ca983d60f3e2: Verifying Checksum 05:19:26 ca983d60f3e2: Download complete 05:19:26 9f894cec8388: Download complete 05:19:26 1fe172e4850f: Verifying Checksum 05:19:26 1fe172e4850f: Download complete 05:19:27 1827001aaf11: Verifying Checksum 05:19:27 1827001aaf11: Download complete 05:19:28 1fe172e4850f: Pull complete 05:19:28 caf521ccaac6: Pull complete 05:19:28 3ead6fa29328: Pull complete 05:19:28 5c2a1cbceb83: Pull complete 05:19:29 a8d5f1318db7: Pull complete 05:19:29 c427282e49a2: Pull complete 05:19:31 1827001aaf11: Pull complete 05:19:31 0714d37db230: Pull complete 05:19:31 ac28cf19c067: Pull complete 05:19:31 ca983d60f3e2: Pull complete 05:19:31 9f894cec8388: Pull complete 05:19:31 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:19:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:19:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:19:31 prd-ubuntu20.04-docker-8c-8g-63042 does not seem to be running inside a container 05:19:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-285 -v /w/workspace/foundry_device-virtual-go_PR-285:/w/workspace/foundry_device-virtual-go_PR-285:rw,z -v /w/workspace/foundry_device-virtual-go_PR-285@tmp:/w/workspace/foundry_device-virtual-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:19:32 $ docker top 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 -eo pid,comm 05:19:33 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). 05:19:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:33 [ssh-agent] Looking for ssh-agent implementation... 05:19:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:33 $ docker exec 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 ssh-agent 05:19:33 SSH_AUTH_SOCK=/tmp/ssh-oP3Z1rtw46oy/agent.34 05:19:33 SSH_AGENT_PID=40 05:19:33 Running ssh-add (command line suppressed) 05:19:33 Identity added: /w/workspace/foundry_device-virtual-go_PR-285@tmp/private_key_8983028910825120293.key (/w/workspace/foundry_device-virtual-go_PR-285@tmp/private_key_8983028910825120293.key) 05:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:33 + git tag --points-at HEAD [Pipeline] } 05:19:33 $ docker exec --env ******** --env ******** 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 ssh-agent -k 05:19:34 unset SSH_AUTH_SOCK; 05:19:34 unset SSH_AGENT_PID; 05:19:34 echo Agent pid 40 killed; 05:19:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:19:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:34 [ssh-agent] Looking for ssh-agent implementation... 05:19:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:34 $ docker exec 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 ssh-agent 05:19:34 SSH_AUTH_SOCK=/tmp/ssh-N5NzR5eJVeoe/agent.72 05:19:34 SSH_AGENT_PID=78 05:19:34 Running ssh-add (command line suppressed) 05:19:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-285@tmp/private_key_1857898426685443442.key (/w/workspace/foundry_device-virtual-go_PR-285@tmp/private_key_1857898426685443442.key) 05:19:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:34 + git semver init 05:19:35 2022-05-11 05:19:35,075 [run_init] DEBUG init version:0.0.0 force:False 05:19:35 2022-05-11 05:19:35,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-285/.semver 05:19:35 2022-05-11 05:19:35,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-285/.semver 05:19:35 2022-05-11 05:19:35,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-285/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-285, universal_newlines=False, shell=None, istream=None) 05:19:36 2022-05-11 05:19:36,190 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-285/.git/info/exclude 05:19:36 2022-05-11 05:19:36,191 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-285/.semver/PR-285 with force:False 05:19:36 2022-05-11 05:19:36,191 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-285/.semver/PR-285 05:19:36 2022-05-11 05:19:36,195 [execute] INFO git cat-file --batch-check 05:19:36 2022-05-11 05:19:36,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-285/.semver, universal_newlines=False, shell=None, istream=) 05:19:36 2022-05-11 05:19:36,203 [execute] INFO git cat-file --batch 05:19:36 2022-05-11 05:19:36,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-285/.semver, universal_newlines=False, shell=None, istream=) 05:19:36 2022-05-11 05:19:36,209 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-285/.semver/PR-285 05:19:36 0.0.0 [Pipeline] } 05:19:36 $ docker exec --env ******** --env ******** 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 ssh-agent -k 05:19:36 unset SSH_AUTH_SOCK; 05:19:36 unset SSH_AGENT_PID; 05:19:36 echo Agent pid 78 killed; 05:19:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:37 + git semver [Pipeline] } 05:19:37 $ docker stop --time=1 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 05:19:38 $ docker rm -f 12c1febdd8ad58bb3fabcdf30ddd9e602d81514068684fbfeb88766ccc633905 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:19:39 Stashed 1 file(s) [Pipeline] echo 05:19:39 [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 05:19:40 provisioning config files... 05:19:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-285@tmp/config8594488471209467499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:40 ---> docker-login.sh 05:19:40 nexus3.edgexfoundry.org:10001 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 nexus3.edgexfoundry.org:10002 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 nexus3.edgexfoundry.org:10003 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 nexus3.edgexfoundry.org:10004 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 docker.io 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:41 Configure a credential helper to remove this warning. See 05:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:41 05:19:41 Login Succeeded 05:19:41 ---> docker-login.sh ends [Pipeline] } 05:19:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:41 ========================================================= 05:19:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:19:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:19:41 + 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 . 05:19:41 Sending build context to Docker daemon 22.96MB 05:19:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:19:41 Step 2/12 : FROM ${BASE} AS builder 05:19:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:19:41 59bf1c3509f3: Pulling fs layer 05:19:41 666ba61612fd: Pulling fs layer 05:19:41 8ed8ca486205: Pulling fs layer 05:19:41 4fe6c5a15a65: Pulling fs layer 05:19:41 22a0e8bec74d: Pulling fs layer 05:19:41 ca2b28591e48: Pulling fs layer 05:19:41 a51346096db8: Pulling fs layer 05:19:41 daebc70d1ce1: Pulling fs layer 05:19:41 0e18a0eac166: Pulling fs layer 05:19:41 4fe6c5a15a65: Waiting 05:19:41 22a0e8bec74d: Waiting 05:19:41 ca2b28591e48: Waiting 05:19:41 a51346096db8: Waiting 05:19:41 0e18a0eac166: Waiting 05:19:41 daebc70d1ce1: Waiting 05:19:42 8ed8ca486205: Verifying Checksum 05:19:42 8ed8ca486205: Download complete 05:19:42 666ba61612fd: Verifying Checksum 05:19:42 666ba61612fd: Download complete 05:19:42 22a0e8bec74d: Verifying Checksum 05:19:42 22a0e8bec74d: Download complete 05:19:42 ca2b28591e48: Verifying Checksum 05:19:42 ca2b28591e48: Download complete 05:19:42 59bf1c3509f3: Verifying Checksum 05:19:42 59bf1c3509f3: Download complete 05:19:42 a51346096db8: Verifying Checksum 05:19:42 a51346096db8: Download complete 05:19:42 59bf1c3509f3: Pull complete 05:19:42 daebc70d1ce1: Verifying Checksum 05:19:42 666ba61612fd: Pull complete 05:19:42 8ed8ca486205: Pull complete 05:19:43 0e18a0eac166: Download complete 05:19:43 4fe6c5a15a65: Verifying Checksum 05:19:43 4fe6c5a15a65: Download complete 05:19:47 4fe6c5a15a65: Pull complete 05:19:47 22a0e8bec74d: Pull complete 05:19:47 ca2b28591e48: Pull complete 05:19:47 a51346096db8: Pull complete 05:19:47 daebc70d1ce1: Pull complete 05:19:49 0e18a0eac166: Pull complete 05:19:49 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:19:49 ---> f018257e8ee9 05:19:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:19:50 ---> Running in ae40914e9a11 05:19:50 Removing intermediate container ae40914e9a11 05:19:50 ---> 8b6cf3fb3d9c 05:19:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:19:50 ---> Running in 08d646bd0e3a 05:19:50 Removing intermediate container 08d646bd0e3a 05:19:50 ---> 395608d3ffe7 05:19:50 Step 5/12 : WORKDIR /device-virtual-go 05:19:50 ---> Running in 46e7ae8d7d40 05:19:51 Removing intermediate container 46e7ae8d7d40 05:19:51 ---> bb9240406ff3 05:19:51 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:51 ---> Running in 21de454e5079 05:19:51 Removing intermediate container 21de454e5079 05:19:51 ---> ac8832b1d12b 05:19:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:51 ---> Running in 40c72476907d 05:19:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:19:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:19:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:19:53 (2/4) Installing libedit (20210910.3.1-r0) 05:19:53 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:19:53 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:19:53 Executing busybox-1.34.1-r3.trigger 05:19:53 OK: 224 MiB in 56 packages 05:19:53 Removing intermediate container 40c72476907d 05:19:53 ---> 87dc3292f1fb 05:19:53 Step 8/12 : COPY go.mod vendor* ./ 05:19:53 ---> 43e49fdd95d8 05:19:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:54 ---> Running in 10e8d5db5ffa 05:19:54 Still waiting to schedule task 05:19:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:20:09 Removing intermediate container 10e8d5db5ffa 05:20:09 ---> b3c9f1831aea 05:20:09 Step 10/12 : COPY . . 05:20:09 ---> 14c653f7c040 05:20:09 Step 11/12 : ARG MAKE='make build' 05:20:09 ---> Running in 8ab3449bfbf5 05:20:09 Removing intermediate container 8ab3449bfbf5 05:20:09 ---> f0d61ec699e8 05:20:09 Step 12/12 : RUN $MAKE 05:20:09 ---> Running in 407e7bb4fc8d 05:20:09 noop 05:20:09 Removing intermediate container 407e7bb4fc8d 05:20:09 ---> aefd4e21b963 05:20:09 Successfully built aefd4e21b963 05:20:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:20:09 + docker inspect -f . ci-base-image-x86_64 05:20:09 . [Pipeline] withDockerContainer 05:20:09 prd-ubuntu20.04-docker-8c-8g-63042 does not seem to be running inside a container 05:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-285 -v /w/workspace/foundry_device-virtual-go_PR-285:/w/workspace/foundry_device-virtual-go_PR-285:rw,z -v /w/workspace/foundry_device-virtual-go_PR-285@tmp:/w/workspace/foundry_device-virtual-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:10 $ docker top abf5c617103663e969621daf0662c51ee5f59c2c03055e8fb97d58dd500b4367 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:10 + go version 05:20:10 go version go1.17.6 linux/amd64 [Pipeline] } 05:20:10 $ docker stop --time=1 abf5c617103663e969621daf0662c51ee5f59c2c03055e8fb97d58dd500b4367 05:20:12 $ docker rm -f abf5c617103663e969621daf0662c51ee5f59c2c03055e8fb97d58dd500b4367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:20:12 + docker inspect -f . ci-base-image-x86_64 05:20:12 . [Pipeline] withDockerContainer 05:20:12 prd-ubuntu20.04-docker-8c-8g-63042 does not seem to be running inside a container 05:20:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-285 -v /w/workspace/foundry_device-virtual-go_PR-285:/w/workspace/foundry_device-virtual-go_PR-285:rw,z -v /w/workspace/foundry_device-virtual-go_PR-285@tmp:/w/workspace/foundry_device-virtual-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:13 $ docker top 114b8830fe2af13e657e065bd9ad3794dc50654d96b517275eb6d3f67981bf73 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:20:13 + make test 05:20:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:20:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:20:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:20:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 05:20:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:20:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:20:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:20:32 ./bin/test-attribution-txt.sh [Pipeline] echo 05:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:20:32 $ docker stop --time=1 114b8830fe2af13e657e065bd9ad3794dc50654d96b517275eb6d3f67981bf73 05:20:36 $ docker rm -f 114b8830fe2af13e657e065bd9ad3794dc50654d96b517275eb6d3f67981bf73 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:20:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:37 + ls -al . 05:20:37 total 188 05:20:37 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:20 . 05:20:37 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:19 .. 05:20:37 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:19 .git 05:20:37 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:19 .github 05:20:37 -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:19 .gitignore 05:20:37 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:19 .golangci.yml 05:20:37 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:19 .semver 05:20:37 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:19 Attribution.txt 05:20:37 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:19 CHANGELOG.md 05:20:37 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:19 Dockerfile 05:20:37 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:19 GOVERNANCE.md 05:20:37 -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:19 Jenkinsfile 05:20:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:19 LICENSE 05:20:37 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:19 Makefile 05:20:37 -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:19 OWNERS.md 05:20:37 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:19 README.md 05:20:37 -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:19 VERSION 05:20:37 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:19 bin 05:20:37 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:19 cmd 05:20:37 -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:20 coverage.out 05:20:37 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:19 go.mod 05:20:37 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:19 go.sum 05:20:37 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:19 internal 05:20:37 -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:19 version.go [Pipeline] isUnix [Pipeline] sh 05:20:38 + 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=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e --label arch=amd64 --label version=0.0.0 . 05:20:38 Sending build context to Docker daemon 23MB 05:20:38 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:20:38 Step 2/26 : FROM ${BASE} AS builder 05:20:38 ---> aefd4e21b963 05:20:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:20:38 ---> Running in e0b8c8601262 05:20:38 Removing intermediate container e0b8c8601262 05:20:38 ---> cc13cb6eddb5 05:20:38 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:20:38 ---> Running in c4cd7954a185 05:20:38 Removing intermediate container c4cd7954a185 05:20:38 ---> 789ef081f784 05:20:38 Step 5/26 : WORKDIR /device-virtual-go 05:20:38 ---> Running in 1ed7bdca04ee 05:20:38 Removing intermediate container 1ed7bdca04ee 05:20:38 ---> 531d12cef332 05:20:38 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:20:38 ---> Running in 5cb125cb9b9c 05:20:39 Removing intermediate container 5cb125cb9b9c 05:20:39 ---> 7336f92c7ac7 05:20:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:20:39 ---> Running in 5952b72a7e26 05:20:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:20:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:20:41 OK: 224 MiB in 56 packages 05:20:41 Removing intermediate container 5952b72a7e26 05:20:41 ---> e9342fab2386 05:20:41 Step 8/26 : COPY go.mod vendor* ./ 05:20:41 ---> 0ae4b95bd178 05:20:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:41 ---> Running in bd285b77d01b 05:20:42 Removing intermediate container bd285b77d01b 05:20:42 ---> f0433d4be8e3 05:20:42 Step 10/26 : COPY . . 05:20:42 ---> 525735041546 05:20:42 Step 11/26 : ARG MAKE='make build' 05:20:42 ---> Running in 911c6bdaa2ea 05:20:42 Removing intermediate container 911c6bdaa2ea 05:20:42 ---> 4454ec1a2c91 05:20:42 Step 12/26 : RUN $MAKE 05:20:42 ---> Running in e434ca06d328 05:20:42 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 05:21:04 Removing intermediate container e434ca06d328 05:21:04 ---> b14f982ab6af 05:21:04 Step 13/26 : FROM alpine:3.14 05:21:04 3.14: Pulling from library/alpine 05:21:04 8663204ce13b: Pulling fs layer 05:21:04 8663204ce13b: Verifying Checksum 05:21:04 8663204ce13b: Download complete 05:21:04 8663204ce13b: Pull complete 05:21:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:21:04 Status: Downloaded newer image for alpine:3.14 05:21:04 ---> e04c818066af 05:21:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:21:04 ---> Running in 2f19e9094989 05:21:04 Removing intermediate container 2f19e9094989 05:21:04 ---> 2894f655c6e6 05:21:04 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:04 ---> Running in c2bb72fe37f8 05:21:04 Removing intermediate container c2bb72fe37f8 05:21:04 ---> 2bb45e754700 05:21:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:21:04 ---> Running in 8f374bd8f832 05:21:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:21:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:21:05 (1/6) Installing dumb-init (1.2.5-r1) 05:21:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:21:06 (3/6) Installing libsodium (1.0.18-r0) 05:21:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:21:06 (5/6) Installing libzmq (4.3.4-r0) 05:21:06 (6/6) Installing zeromq (4.3.4-r0) 05:21:06 Executing busybox-1.33.1-r7.trigger 05:21:06 OK: 8 MiB in 20 packages 05:21:06 Removing intermediate container 8f374bd8f832 05:21:06 ---> 30511599897c 05:21:06 Step 17/26 : WORKDIR / 05:21:06 ---> Running in 423147e7a424 05:21:06 Removing intermediate container 423147e7a424 05:21:06 ---> 4022484dfc9d 05:21:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:21:07 ---> 78d40d08d34b 05:21:07 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:21:07 ---> 98d120362071 05:21:07 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:21:08 ---> 050423f6042d 05:21:08 Step 21/26 : EXPOSE 59900 05:21:09 ---> Running in 8ab468fdea35 05:21:09 Removing intermediate container 8ab468fdea35 05:21:09 ---> c8f6a08f552b 05:21:09 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:21:09 ---> Running in 2b4c6dd2e30d 05:21:09 Removing intermediate container 2b4c6dd2e30d 05:21:09 ---> ea3460ce430a 05:21:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:21:09 ---> Running in 5edae6453442 05:21:09 Removing intermediate container 5edae6453442 05:21:09 ---> 97283df65888 05:21:09 Step 24/26 : LABEL arch=amd64 05:21:09 ---> Running in 3d17e07355f1 05:21:09 Removing intermediate container 3d17e07355f1 05:21:09 ---> 38bef69105ea 05:21:09 Step 25/26 : LABEL git_sha=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e 05:21:09 ---> Running in 7611d93b5de7 05:21:10 Removing intermediate container 7611d93b5de7 05:21:10 ---> 9efaf5d8e63f 05:21:10 Step 26/26 : LABEL version=0.0.0 05:21:10 ---> Running in f313b04c1661 05:21:10 Removing intermediate container f313b04c1661 05:21:10 ---> f9faefadb875 05:21:10 [Warning] One or more build-args [ARCH] were not consumed 05:21:10 Successfully built f9faefadb875 05:21:10 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 05:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:10 05:21:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:11 latest: Pulling from edgex-lftools-log-publisher 05:21:11 5eb5b503b376: Pulling fs layer 05:21:11 5c69ac0246d0: Pulling fs layer 05:21:11 ec43610c2a17: Pulling fs layer 05:21:11 3a2ae6a8a46f: Pulling fs layer 05:21:11 33b1e0a273af: Pulling fs layer 05:21:11 5d3b04190fa2: Pulling fs layer 05:21:11 2f39f015ded8: Pulling fs layer 05:21:11 33b1e0a273af: Waiting 05:21:11 5d3b04190fa2: Waiting 05:21:11 2f39f015ded8: Waiting 05:21:11 5c69ac0246d0: Download complete 05:21:11 3a2ae6a8a46f: Verifying Checksum 05:21:11 3a2ae6a8a46f: Download complete 05:21:11 ec43610c2a17: Verifying Checksum 05:21:11 ec43610c2a17: Download complete 05:21:11 33b1e0a273af: Verifying Checksum 05:21:11 33b1e0a273af: Download complete 05:21:11 5d3b04190fa2: Download complete 05:21:11 5eb5b503b376: Verifying Checksum 05:21:11 5eb5b503b376: Download complete 05:21:12 2f39f015ded8: Download complete 05:21:12 5eb5b503b376: Pull complete 05:21:12 5c69ac0246d0: Pull complete 05:21:13 ec43610c2a17: Pull complete 05:21:13 3a2ae6a8a46f: Pull complete 05:21:13 33b1e0a273af: Pull complete 05:21:13 5d3b04190fa2: Pull complete 05:21:17 2f39f015ded8: Pull complete 05:21:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:21:17 prd-ubuntu20.04-docker-8c-8g-63042 does not seem to be running inside a container 05:21:17 $ 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-285 -v /w/workspace/foundry_device-virtual-go_PR-285:/w/workspace/foundry_device-virtual-go_PR-285:rw,z -v /w/workspace/foundry_device-virtual-go_PR-285@tmp:/w/workspace/foundry_device-virtual-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:19 $ docker top 27b861e3941562607112c9a88e3b3210dfa56e1ef0835b0fd3fbd5a35f1196e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:20 ---> job-cost.sh 05:21:20 lf-activate-venv: SKIPPING 05:21:20 INFO: No Stack... 05:21:20 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:20 INFO: Archiving Costs [Pipeline] sh 05:21:21 + cat /w/workspace/foundry_device-virtual-go_PR-285/archives/cost.csv 05:21:21 + cut -d, -f6 [Pipeline] lock 05:21:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] 05:21:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] did not exist. Created. 05:21:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:21 + echo total: 0.2199999988079071 [Pipeline] stash 05:21:21 Stashed 1 file(s) [Pipeline] } 05:21:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:21 $ docker stop --time=1 27b861e3941562607112c9a88e3b3210dfa56e1ef0835b0fd3fbd5a35f1196e5 05:21:23 $ docker rm -f 27b861e3941562607112c9a88e3b3210dfa56e1ef0835b0fd3fbd5a35f1196e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:21:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63043 in /w/workspace/foundry_device-virtual-go_PR-285 [Pipeline] { [Pipeline] ws 05:21:30 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:21:31 The recommended git tool is: git 05:21:36 using credential edgex-jenkins-ssh 05:21:36 Cloning the remote Git repository 05:21:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:21:36 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:21:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:21:36 > git --version # timeout=10 05:21:36 > git --version # 'git version 2.25.1' 05:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:39 Merging remotes/origin/main commit 96006ed2597d0332e2f213be0d58e636152471aa into PR head commit ad02acbc72ca8a53f7470f861f3220ba5df5cb1e 05:21:39 Merge succeeded, producing ad02acbc72ca8a53f7470f861f3220ba5df5cb1e 05:21:39 Checking out Revision ad02acbc72ca8a53f7470f861f3220ba5df5cb1e (PR-285) 05:21:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:21:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:21:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:21:39 > git config core.sparsecheckout # timeout=10 05:21:39 > git checkout -f ad02acbc72ca8a53f7470f861f3220ba5df5cb1e # timeout=10 05:21:39 > git remote # timeout=10 05:21:39 > git config --get remote.origin.url # timeout=10 05:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:39 > git merge 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 05:21:39 > git rev-parse HEAD^{commit} # timeout=10 05:21:39 > git config core.sparsecheckout # timeout=10 05:21:39 > git checkout -f ad02acbc72ca8a53f7470f861f3220ba5df5cb1e # timeout=10 05:21:44 Commit message: "build: Update to released Go Mods" 05:21:44 > git --version # timeout=10 05:21:44 > git --version # 'git version 2.25.1' 05:21:44 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:21:45 % Total % Received % Xferd Average Speed Time Time Time Current 05:21:45 Dload Upload Total Spent Left Speed 05:21:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 91100 [Pipeline] sh 05:21:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:21:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:21:46 + sudo tee /etc/docker/daemon.new 05:21:46 { 05:21:46 "registry-mirrors": [ 05:21:46 "https://nexus3.edgexfoundry.org:10001" 05:21:46 ], 05:21:46 "bip": "10.250.0.254/24", 05:21:46 "hosts": [ 05:21:46 "tcp://0.0.0.0:5555", 05:21:46 "unix:///var/run/docker.sock" 05:21:46 ], 05:21:46 "mtu": 1458, 05:21:46 "selinux-enabled": true, 05:21:46 "seccomp-profile": "/etc/docker/seccomp.json" 05:21:46 } [Pipeline] sh 05:21:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:21:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:05 provisioning config files... 05:22:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2464585426786238972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:05 ---> docker-login.sh 05:22:05 nexus3.edgexfoundry.org:10001 05:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:06 Configure a credential helper to remove this warning. See 05:22:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:06 05:22:06 Login Succeeded 05:22:06 nexus3.edgexfoundry.org:10002 05:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:07 Configure a credential helper to remove this warning. See 05:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:07 05:22:07 Login Succeeded 05:22:07 nexus3.edgexfoundry.org:10003 05:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:07 Configure a credential helper to remove this warning. See 05:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:07 05:22:07 Login Succeeded 05:22:07 nexus3.edgexfoundry.org:10004 05:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:08 Configure a credential helper to remove this warning. See 05:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:08 05:22:08 Login Succeeded 05:22:08 docker.io 05:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:08 Configure a credential helper to remove this warning. See 05:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:08 05:22:08 Login Succeeded 05:22:08 ---> docker-login.sh ends [Pipeline] } 05:22:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:09 ========================================================= 05:22:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:22:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:22:10 + 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 . 05:22:10 Sending build context to Docker daemon 11.62MB 05:22:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:22:10 Step 2/12 : FROM ${BASE} AS builder 05:22:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:22:10 9b3977197b4f: Pulling fs layer 05:22:10 1a89e8eeedd5: Pulling fs layer 05:22:10 94645a83ff95: Pulling fs layer 05:22:10 3f3a8bcf1eab: Pulling fs layer 05:22:10 0c92f367c5e7: Pulling fs layer 05:22:10 3096ccb668a1: Pulling fs layer 05:22:10 e8cf19c19ddd: Pulling fs layer 05:22:10 a4caa8a26152: Pulling fs layer 05:22:10 3096ccb668a1: Waiting 05:22:10 3f3a8bcf1eab: Waiting 05:22:10 e8cf19c19ddd: Waiting 05:22:10 0c92f367c5e7: Waiting 05:22:10 a4caa8a26152: Waiting 05:22:10 94645a83ff95: Verifying Checksum 05:22:10 94645a83ff95: Download complete 05:22:10 1a89e8eeedd5: Verifying Checksum 05:22:10 1a89e8eeedd5: Download complete 05:22:10 0c92f367c5e7: Verifying Checksum 05:22:10 0c92f367c5e7: Download complete 05:22:10 3096ccb668a1: Download complete 05:22:10 9b3977197b4f: Download complete 05:22:10 e8cf19c19ddd: Verifying Checksum 05:22:10 e8cf19c19ddd: Download complete 05:22:11 9b3977197b4f: Pull complete 05:22:11 1a89e8eeedd5: Pull complete 05:22:12 94645a83ff95: Pull complete 05:22:12 a4caa8a26152: Verifying Checksum 05:22:12 3f3a8bcf1eab: Download complete 05:22:25 3f3a8bcf1eab: Pull complete 05:22:25 0c92f367c5e7: Pull complete 05:22:25 3096ccb668a1: Pull complete 05:22:25 e8cf19c19ddd: Pull complete 05:22:30 a4caa8a26152: Pull complete 05:22:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:22:30 ---> 725f1c02e7f9 05:22:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:22:32 ---> Running in 63beea00e640 05:22:32 Removing intermediate container 63beea00e640 05:22:32 ---> a888a255ee0d 05:22:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:22:32 ---> Running in c9cee62071ee 05:22:32 Removing intermediate container c9cee62071ee 05:22:32 ---> cfccc00d09a3 05:22:32 Step 5/12 : WORKDIR /device-virtual-go 05:22:32 ---> Running in fbbc2493156f 05:22:33 Removing intermediate container fbbc2493156f 05:22:33 ---> c4552aebb8be 05:22:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:33 ---> Running in cf8f4e09b486 05:22:35 Removing intermediate container cf8f4e09b486 05:22:35 ---> 10fca6c1b502 05:22:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:35 ---> Running in 9f34fdb71304 05:22:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:22:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:22:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:22:39 (2/4) Installing libedit (20210910.3.1-r0) 05:22:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:22:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:22:39 Executing busybox-1.34.1-r3.trigger 05:22:39 OK: 224 MiB in 56 packages 05:22:40 Removing intermediate container 9f34fdb71304 05:22:40 ---> 693f84c1eb9a 05:22:40 Step 8/12 : COPY go.mod vendor* ./ 05:22:40 ---> e24797f9f902 05:22:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:40 ---> Running in 5e2ff7324139 05:23:27 Removing intermediate container 5e2ff7324139 05:23:27 ---> 1ebff013fd3f 05:23:27 Step 10/12 : COPY . . 05:23:27 ---> c42c1fb56c13 05:23:27 Step 11/12 : ARG MAKE='make build' 05:23:27 ---> Running in 46a64db7a46f 05:23:27 Removing intermediate container 46a64db7a46f 05:23:27 ---> f1e523179992 05:23:27 Step 12/12 : RUN $MAKE 05:23:27 ---> Running in f6293d2667cd 05:23:28 noop 05:23:29 Removing intermediate container f6293d2667cd 05:23:29 ---> d0bde6f1676a 05:23:29 Successfully built d0bde6f1676a 05:23:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:23:29 + docker inspect -f . ci-base-image-arm64 05:23:29 . [Pipeline] withDockerContainer 05:23:29 prd-ubuntu20.04-docker-arm64-4c-16g-63043 does not seem to be running inside a container 05:23:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:23:31 $ docker top 1817842ab07c2d73561398c1140fa1b1a8e43bc3a6c0738f4f15cf24bc1d6d0f -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:32 + go version 05:23:32 go version go1.17.6 linux/arm64 [Pipeline] } 05:23:32 $ docker stop --time=1 1817842ab07c2d73561398c1140fa1b1a8e43bc3a6c0738f4f15cf24bc1d6d0f 05:23:34 $ docker rm -f 1817842ab07c2d73561398c1140fa1b1a8e43bc3a6c0738f4f15cf24bc1d6d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:23:34 + docker inspect -f . ci-base-image-arm64 05:23:34 . [Pipeline] withDockerContainer 05:23:35 prd-ubuntu20.04-docker-arm64-4c-16g-63043 does not seem to be running inside a container 05:23:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:23:36 $ docker top 479f4227cf85672d3f1381a2caa00b6b5ea57c77da1d1f56366a81fd5f71950b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:23:37 + make test 05:23:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:23:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:25:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:25:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.150s coverage: 65.7% of statements 05:25:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:25:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:25:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:25:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:25:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:25:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:25:36 $ docker stop --time=1 479f4227cf85672d3f1381a2caa00b6b5ea57c77da1d1f56366a81fd5f71950b 05:25:38 $ docker rm -f 479f4227cf85672d3f1381a2caa00b6b5ea57c77da1d1f56366a81fd5f71950b [Pipeline] // withDockerContainer [Pipeline] sh 05:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:25:39 Warning: overwriting stash ‘coverage-report’ 05:25:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:41 + ls -al . 05:25:41 total 184 05:25:41 drwxrwxr-x 7 jenkins jenkins 4096 May 11 05:25 . 05:25:41 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 .. 05:25:41 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:21 .git 05:25:41 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 .github 05:25:41 -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:21 .gitignore 05:25:41 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:21 .golangci.yml 05:25:41 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:21 Attribution.txt 05:25:41 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:21 CHANGELOG.md 05:25:41 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:21 Dockerfile 05:25:41 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:21 GOVERNANCE.md 05:25:41 -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:21 Jenkinsfile 05:25:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:21 LICENSE 05:25:41 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:21 Makefile 05:25:41 -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:21 OWNERS.md 05:25:41 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:21 README.md 05:25:41 -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:19 VERSION 05:25:41 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 bin 05:25:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:21 cmd 05:25:41 -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:25 coverage.out 05:25:41 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:21 go.mod 05:25:41 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:21 go.sum 05:25:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:21 internal 05:25:41 -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:21 version.go [Pipeline] isUnix [Pipeline] sh 05:25:41 + 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=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e --label arch=arm64 --label version=0.0.0 . 05:25:41 Sending build context to Docker daemon 11.66MB 05:25:41 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:25:41 Step 2/26 : FROM ${BASE} AS builder 05:25:41 ---> d0bde6f1676a 05:25:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:25:41 ---> Running in 8896389194cc 05:25:42 Removing intermediate container 8896389194cc 05:25:42 ---> dde1bb49aebf 05:25:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:25:42 ---> Running in 8c296bbd868c 05:25:42 Removing intermediate container 8c296bbd868c 05:25:42 ---> 52117c24fb5a 05:25:42 Step 5/26 : WORKDIR /device-virtual-go 05:25:42 ---> Running in 71ddfa8d7eb3 05:25:43 Removing intermediate container 71ddfa8d7eb3 05:25:43 ---> 6542d99ec308 05:25:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:43 ---> Running in 74d9dc05d388 05:25:44 Removing intermediate container 74d9dc05d388 05:25:44 ---> 14d12aff8ace 05:25:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:25:44 ---> Running in 7c87e7d73602 05:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:25:47 OK: 224 MiB in 56 packages 05:25:48 Removing intermediate container 7c87e7d73602 05:25:48 ---> 3fa65bc698e1 05:25:48 Step 8/26 : COPY go.mod vendor* ./ 05:25:49 ---> 5dbeb5b7d60f 05:25:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:25:49 ---> Running in e610940d3c9a 05:25:51 Removing intermediate container e610940d3c9a 05:25:51 ---> b199ea30f388 05:25:51 Step 10/26 : COPY . . 05:25:52 ---> 72ae685a8eb3 05:25:52 Step 11/26 : ARG MAKE='make build' 05:25:52 ---> Running in c886a68c2196 05:25:52 Removing intermediate container c886a68c2196 05:25:52 ---> 3587af587656 05:25:52 Step 12/26 : RUN $MAKE 05:25:52 ---> Running in 7a0a6fa1503c 05:25:53 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 05:28:15 Removing intermediate container 7a0a6fa1503c 05:28:15 ---> 500d139f2b31 05:28:15 Step 13/26 : FROM alpine:3.14 05:28:15 3.14: Pulling from library/alpine 05:28:15 455c02918c45: Pulling fs layer 05:28:15 455c02918c45: Verifying Checksum 05:28:15 455c02918c45: Download complete 05:28:15 455c02918c45: Pull complete 05:28:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:28:15 Status: Downloaded newer image for alpine:3.14 05:28:15 ---> ac73e934f311 05:28:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:28:15 ---> Running in 33aa23d249bc 05:28:15 Removing intermediate container 33aa23d249bc 05:28:15 ---> 7eb14a99f99c 05:28:15 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:15 ---> Running in 3aa9ccbb8736 05:28:15 Removing intermediate container 3aa9ccbb8736 05:28:15 ---> df9a7d162bd2 05:28:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:28:15 ---> Running in 1d6dbe760b03 05:28:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:28:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:28:15 (1/6) Installing dumb-init (1.2.5-r1) 05:28:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:28:15 (3/6) Installing libsodium (1.0.18-r0) 05:28:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:28:15 (5/6) Installing libzmq (4.3.4-r0) 05:28:15 (6/6) Installing zeromq (4.3.4-r0) 05:28:15 Executing busybox-1.33.1-r7.trigger 05:28:15 OK: 8 MiB in 20 packages 05:28:15 Removing intermediate container 1d6dbe760b03 05:28:15 ---> b898992d44e9 05:28:15 Step 17/26 : WORKDIR / 05:28:15 ---> Running in b994391ea53e 05:28:15 Removing intermediate container b994391ea53e 05:28:15 ---> b06acee0a251 05:28:15 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:28:15 ---> 97bdd11997ff 05:28:15 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:28:15 ---> 031794e6a741 05:28:15 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:28:16 ---> aef04c768dde 05:28:16 Step 21/26 : EXPOSE 59900 05:28:16 ---> Running in a9e26c1ab443 05:28:17 Removing intermediate container a9e26c1ab443 05:28:17 ---> 13a8c054c73d 05:28:17 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:28:17 ---> Running in 1fdaa0c262c6 05:28:17 Removing intermediate container 1fdaa0c262c6 05:28:17 ---> 28ce7cb049b5 05:28:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:28:17 ---> Running in ed5f4a1c1190 05:28:17 Removing intermediate container ed5f4a1c1190 05:28:17 ---> 118f95d9ad82 05:28:17 Step 24/26 : LABEL arch=arm64 05:28:17 ---> Running in 2c1a18df20df 05:28:18 Removing intermediate container 2c1a18df20df 05:28:18 ---> 6b9c631d7d9c 05:28:18 Step 25/26 : LABEL git_sha=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e 05:28:18 ---> Running in 6764858bb959 05:28:18 Removing intermediate container 6764858bb959 05:28:18 ---> 40bd9e2422f3 05:28:18 Step 26/26 : LABEL version=0.0.0 05:28:18 ---> Running in e5c2455e74b0 05:28:18 Removing intermediate container e5c2455e74b0 05:28:18 ---> f4dee9bee811 05:28:18 [Warning] One or more build-args [ARCH] were not consumed 05:28:18 Successfully built f4dee9bee811 05:28:18 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 05:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:19 05:28:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:28:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:20 arm64: Pulling from edgex-lftools-log-publisher 05:28:20 8998bd30e6a1: Pulling fs layer 05:28:20 04944245beec: Pulling fs layer 05:28:20 699f458cf7ca: Pulling fs layer 05:28:20 765212b225bb: Pulling fs layer 05:28:20 f23df028b6ca: Pulling fs layer 05:28:20 d65c8cfc05b1: Pulling fs layer 05:28:20 2437ff75d9bd: Pulling fs layer 05:28:20 f23df028b6ca: Waiting 05:28:20 d65c8cfc05b1: Waiting 05:28:20 2437ff75d9bd: Waiting 05:28:20 765212b225bb: Waiting 05:28:20 04944245beec: Verifying Checksum 05:28:20 04944245beec: Download complete 05:28:20 765212b225bb: Verifying Checksum 05:28:20 765212b225bb: Download complete 05:28:20 f23df028b6ca: Verifying Checksum 05:28:20 f23df028b6ca: Download complete 05:28:20 d65c8cfc05b1: Download complete 05:28:20 699f458cf7ca: Verifying Checksum 05:28:20 699f458cf7ca: Download complete 05:28:20 8998bd30e6a1: Download complete 05:28:22 2437ff75d9bd: Verifying Checksum 05:28:22 2437ff75d9bd: Download complete 05:28:24 8998bd30e6a1: Pull complete 05:28:25 04944245beec: Pull complete 05:28:26 699f458cf7ca: Pull complete 05:28:26 765212b225bb: Pull complete 05:28:27 f23df028b6ca: Pull complete 05:28:27 d65c8cfc05b1: Pull complete 05:28:42 2437ff75d9bd: Pull complete 05:28:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:28:43 prd-ubuntu20.04-docker-arm64-4c-16g-63043 does not seem to be running inside a container 05:28:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:28:46 $ docker top df843be859a6aefc9b7dd236441d461131603161d5c564aaae121312700f6fd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:47 ---> job-cost.sh 05:28:47 lf-activate-venv: SKIPPING 05:28:47 INFO: No Stack... 05:28:47 INFO: Retrieving Pricing Info for: v3-standard-4 05:28:48 INFO: Archiving Costs [Pipeline] sh 05:28:49 + cut -d,+ -f6 05:28:49 cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 05:28:49 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] 05:28:49 Resource [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] did not exist. Created. 05:28:49 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:49 /w/workspace/device-virtual-go/1@tmp/durable-acd96825/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:28:50 + echo total: 0.10999999940395355 [Pipeline] stash 05:28:50 Warning: overwriting stash ‘stack-cost’ 05:28:50 Stashed 1 file(s) [Pipeline] } 05:28:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:28:50 $ docker stop --time=1 df843be859a6aefc9b7dd236441d461131603161d5c564aaae121312700f6fd3 05:28:52 $ docker rm -f df843be859a6aefc9b7dd236441d461131603161d5c564aaae121312700f6fd3 [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 05:28:53 provisioning config files... 05:28:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-285@tmp/config4919551336840071094tmp [Pipeline] { [Pipeline] sh 05:28:53 + set +x 05:28:53 + curl -s https://codecov.io/bash 05:28:53 + bash -s -- 05:28:53 05:28:53 _____ _ 05:28:53 / ____| | | 05:28:53 | | ___ __| | ___ ___ _____ __ 05:28:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:28:53 | |___| (_) | (_| | __/ (_| (_) \ V / 05:28:53 \_____\___/ \__,_|\___|\___\___/ \_/ 05:28:53 Bash-1.0.6 05:28:53 05:28:53 05:28:53 ==> git version 2.25.1 found 05:28:53 ==> 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 05:28:53 Release-Date: 2020-01-08 05:28:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:28:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:28:53 ==> Jenkins CI detected. 05:28:53 current dir:  /w/workspace/foundry_device-virtual-go_PR-285 05:28:53 project root: . 05:28:53 --> token set from env 05:28:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:28:53 ==> Running gcov in . (disable via -X gcov) 05:28:53 ==> Python coveragepy not found 05:28:53 ==> Searching for coverage reports in: 05:28:53 + . 05:28:53 -> Found 1 reports 05:28:53 ==> Detecting git/mercurial file structure 05:28:53 ==> Reading reports 05:28:53 + ./coverage.out bytes=44128 05:28:54 ==> Appending adjustments 05:28:54 https://docs.codecov.io/docs/fixing-reports 05:28:54 + Found adjustments 05:28:54 ==> Gzipping contents 05:28:54 8.0K /tmp/codecov.rvUfi0.gz 05:28:54 ==> Uploading reports 05:28:54 url: https://codecov.io 05:28:54 query: branch=PR-285&commit=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=285&job=&cmd_args= 05:28:54 -> Pinging Codecov 05:28:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-285&commit=ad02acbc72ca8a53f7470f861f3220ba5df5cb1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=285&job=&cmd_args= 05:28:54 -> Uploading to 05:28:54 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/5E52B4B073DB2E39498172D8E973AA87/ad02acbc72ca8a53f7470f861f3220ba5df5cb1e/ec4f0ed5-bd51-4eb3-b133-0541957bf46a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T052854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c93b6286521ac3c2aad768ff8a90c23a221ad38e0198bf7f8e14be83c02cbf0d 05:28:54 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:54 Dload Upload Total Spent Left Speed 05:28:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5295 0 0 100 5295 0 23533 --:--:-- --:--:-- --:--:-- 23533 05:28:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ad02acbc72ca8a53f7470f861f3220ba5df5cb1e [Pipeline] } 05:28:54 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 05:28:56 + [ -d /w/workspace/foundry_device-virtual-go_PR-285/archives ] 05:28:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-285/archives 05:28:56 total 16 05:28:56 drwxr-xr-x 3 root root 4096 May 11 05:21 . 05:28:56 drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:21 .. 05:28:56 drwxr-xr-x 2 root root 4096 May 11 05:21 cost 05:28:56 -rw-r--r-- 1 root root 88 May 11 05:21 cost.csv 05:28:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-285/archives 05:28:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-285/archives 05:28:56 total 16 05:28:56 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:21 . 05:28:56 drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:21 .. 05:28:56 drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:21 cost 05:28:56 -rw-r--r-- 1 jenkins jenkins 88 May 11 05:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:28:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> package-listing.sh 05:28:57 ++ facter osfamily 05:28:57 ++ tr '[:upper:]' '[:lower:]' 05:28:57 + OS_FAMILY=debian 05:28:57 + workspace=/w/workspace/foundry_device-virtual-go_PR-285 05:28:57 + START_PACKAGES=/tmp/packages_start.txt 05:28:57 + END_PACKAGES=/tmp/packages_end.txt 05:28:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:28:57 + PACKAGES=/tmp/packages_start.txt 05:28:57 + '[' /w/workspace/foundry_device-virtual-go_PR-285 ']' 05:28:57 + PACKAGES=/tmp/packages_end.txt 05:28:57 + case "${OS_FAMILY}" in 05:28:57 + dpkg -l 05:28:57 + grep '^ii' 05:28:57 + '[' -f /tmp/packages_start.txt ']' 05:28:57 + '[' -f /tmp/packages_end.txt ']' 05:28:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:28:57 + '[' /w/workspace/foundry_device-virtual-go_PR-285 ']' 05:28:57 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-285/archives/ 05:28:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-285/archives/ [Pipeline] echo 05:28:57 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-285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:28:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:28:58 . [Pipeline] withDockerContainer 05:28:58 prd-ubuntu20.04-docker-8c-8g-63042 does not seem to be running inside a container 05:28:58 $ 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-285/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-285 -v /w/workspace/foundry_device-virtual-go_PR-285:/w/workspace/foundry_device-virtual-go_PR-285:rw,z -v /w/workspace/foundry_device-virtual-go_PR-285@tmp:/w/workspace/foundry_device-virtual-go_PR-285@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 05:28:59 $ docker top 27f06eaaf305edbd3ce7183ccc63c45501a074e7a22480531ee8965ea9796973 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:59 + touch /tmp/pre-build-complete [Pipeline] sh 05:28:59 + mkdir -p /var/log/sysstat [Pipeline] sh 05:29:00 + ls /var/log/sa-host 05:29:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:00 provisioning config files... 05:29:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-285@tmp/config278878493222562236tmp [Pipeline] { [Pipeline] echo 05:29:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:29:00 ---> create-netrc.sh [Pipeline] } 05:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:29:01 ---> python-tools-install.sh [Pipeline] echo 05:29:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:01 ---> sudo-logs.sh 05:29:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:29:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:02 ---> job-cost.sh 05:29:02 lf-activate-venv: SKIPPING 05:29:02 DEBUG: total: 0.2199999988079071 05:29:02 INFO: Retrieving Stack Cost... 05:29:02 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:02 INFO: Archiving Costs [Pipeline] echo 05:29:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:29:03 ---> logs-deploy.sh 05:29:03 lf-activate-venv: SKIPPING 05:29:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-285/1 05:29:03 INFO: archiving workspace using pattern(s): 05:29:04 Archives upload complete. 05:29:04 INFO: archiving logs to Nexus