Pull request #278 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 bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca rather than c3a02ad5478d33e9373b914ae9878e9760f33873 Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 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-ssh11155840523602906468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh15709002135967756619.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-278/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-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8949375672281752793.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-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14289756014455220337.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6185780711269541032.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-278/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-278/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1079585604865179438.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 c72b16708d6eed9a08be464a432ce22db7d90667 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 Running on prd-ubuntu20.04-docker-8c-8g-21395 in /w/workspace/foundry_device-virtual-go_PR-278 [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-278 # 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 > 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 Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit c3a02ad5478d33e9373b914ae9878e9760f33873 Merge succeeded, producing ceaade6570595a6266fae564bb75a9269c6364c8 Checking out Revision ceaade6570595a6266fae564bb75a9269c6364c8 (PR-278) 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/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3a02ad5478d33e9373b914ae9878e9760f33873 # 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ceaade6570595a6266fae564bb75a9269c6364c8 # timeout=10 Commit message: "Merge commit '55fbfbcd5b5a742e8ebac6649b1ed4185d266fca' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-19T21:51:14.903Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-19T21:51:15.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-19T21:51:15.180Z] ========================================================= [2022-04-19T21:51:15.180Z] EdgeX Global Pipelines Version Info [2022-04-19T21:51:15.180Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:51:15.967Z] ------------------- [2022-04-19T21:51:15.967Z] stable info: [2022-04-19T21:51:15.967Z] ------------------- [2022-04-19T21:51:15.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:51:15.967Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-19T21:51:15.967Z] Message: update stable to v1.0.221 [2022-04-19T21:51:16.542Z] ------------------- [2022-04-19T21:51:16.542Z] experimental info: [2022-04-19T21:51:16.542Z] ------------------- [2022-04-19T21:51:16.542Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:51:16.542Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-19T21:51:16.542Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-19T21:51:16.787Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-19T21:51:16.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-19T21:51:16.870Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-19T21:51:16.911Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-19T21:51:16.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-19T21:51:17.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-19T21:51:17.042Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-19T21:51:17.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-19T21:51:17.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-19T21:51:17.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-19T21:51:17.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-19T21:51:17.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-19T21:51:17.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-19T21:51:17.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-19T21:51:17.373Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:51:17.415Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:51:17.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:51:17.499Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:51:17.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-19T21:51:17.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-19T21:51:17.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-19T21:51:17.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-19T21:51:17.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-19T21:51:17.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-19T21:51:17.794Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-19T21:51:17.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-19T21:51:17.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:51:17.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:51:17.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo [2022-04-19T21:51:17.993Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ceaade6570595a6266fae564bb75a9269c6364c8 [Pipeline] echo [2022-04-19T21:51:18.033Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ceaade6 [Pipeline] echo [2022-04-19T21:51:18.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:51:18.182Z] provisioning config files... [2022-04-19T21:51:18.195Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config3813342679185750747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:51:18.557Z] ---> docker-login.sh [2022-04-19T21:51:18.557Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:51:18.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:18.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:18.820Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:18.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:18.820Z] [2022-04-19T21:51:18.820Z] Login Succeeded [2022-04-19T21:51:18.820Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:51:18.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:19.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:19.082Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:19.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:19.082Z] [2022-04-19T21:51:19.082Z] Login Succeeded [2022-04-19T21:51:19.082Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:51:19.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:19.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:19.082Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:19.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:19.082Z] [2022-04-19T21:51:19.082Z] Login Succeeded [2022-04-19T21:51:19.082Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:51:19.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:19.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:19.350Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:19.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:19.350Z] [2022-04-19T21:51:19.350Z] Login Succeeded [2022-04-19T21:51:19.350Z] docker.io [2022-04-19T21:51:19.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:19.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:19.924Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:19.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:19.924Z] [2022-04-19T21:51:19.924Z] Login Succeeded [2022-04-19T21:51:19.924Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:51:19.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-19T21:51:20.585Z] + git rev-list -1 --merges ceaade6570595a6266fae564bb75a9269c6364c8~1..ceaade6570595a6266fae564bb75a9269c6364c8 [Pipeline] echo [2022-04-19T21:51:20.616Z] -----------> git rev-list -1 --merges ceaade6570595a6266fae564bb75a9269c6364c8~1..ceaade6570595a6266fae564bb75a9269c6364c8 ceaade6570595a6266fae564bb75a9269c6364c8 [2022-04-19T21:51:20.616Z] ceaade6570595a6266fae564bb75a9269c6364c8 [false] [Pipeline] sh [2022-04-19T21:51:20.931Z] + git log --format=format:%s -1 ceaade6570595a6266fae564bb75a9269c6364c8 [Pipeline] echo [2022-04-19T21:51:20.966Z] ========================================================= [2022-04-19T21:51:20.966Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-19T21:51:20.966Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T21:51:21.408Z] + git log --format=format:%s -1 ceaade6570595a6266fae564bb75a9269c6364c8 [Pipeline] echo [2022-04-19T21:51:21.441Z] [semverPrep] GIT_COMMIT: ceaade6570595a6266fae564bb75a9269c6364c8, Commit Message: Merge commit '55fbfbcd5b5a742e8ebac6649b1ed4185d266fca' into HEAD [Pipeline] echo [2022-04-19T21:51:21.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-19T21:51:21.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-19T21:51:21.925Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-19T21:51:21.925Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-19T21:51:21.925Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-19T21:51:21.925Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-19T21:51:21.925Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-19T21:51:21.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:51:22.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:51:22.384Z] [2022-04-19T21:51:22.384Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:51:22.736Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:51:22.737Z] latest: Pulling from edgex-devops/git-semver [2022-04-19T21:51:22.737Z] a0d0a0d46f8b: Pulling fs layer [2022-04-19T21:51:22.737Z] 3e5f54012d9b: Pulling fs layer [2022-04-19T21:51:22.737Z] 4c7163046ea9: Pulling fs layer [2022-04-19T21:51:22.737Z] 0c2d73faf560: Pulling fs layer [2022-04-19T21:51:22.737Z] 3e5f54012d9b: Verifying Checksum [2022-04-19T21:51:22.737Z] 3e5f54012d9b: Download complete [2022-04-19T21:51:22.737Z] a0d0a0d46f8b: Download complete [2022-04-19T21:51:22.737Z] 4c7163046ea9: Verifying Checksum [2022-04-19T21:51:22.737Z] 4c7163046ea9: Download complete [2022-04-19T21:51:22.737Z] 0c2d73faf560: Verifying Checksum [2022-04-19T21:51:22.737Z] 0c2d73faf560: Download complete [2022-04-19T21:51:22.997Z] a0d0a0d46f8b: Pull complete [2022-04-19T21:51:22.997Z] 3e5f54012d9b: Pull complete [2022-04-19T21:51:23.258Z] 4c7163046ea9: Pull complete [2022-04-19T21:51:23.519Z] 0c2d73faf560: Pull complete [2022-04-19T21:51:23.519Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-19T21:51:23.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:51:23.519Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-19T21:51:23.609Z] prd-ubuntu20.04-docker-8c-8g-21395 does not seem to be running inside a container [2022-04-19T21:51:23.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-19T21:51:24.293Z] $ docker top 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-19T21:51:24.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:51:24.482Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:51:24.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:51:24.604Z] $ docker exec 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 ssh-agent [2022-04-19T21:51:24.728Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJPdLIc/agent.13 [2022-04-19T21:51:24.728Z] SSH_AGENT_PID=19 [2022-04-19T21:51:24.736Z] Running ssh-add (command line suppressed) [2022-04-19T21:51:24.840Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_9092335068558432092.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_9092335068558432092.key) [2022-04-19T21:51:24.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:51:25.195Z] + git tag --points-at HEAD [Pipeline] } [2022-04-19T21:51:25.225Z] $ docker exec --env ******** --env ******** 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 ssh-agent -k [2022-04-19T21:51:25.330Z] unset SSH_AUTH_SOCK; [2022-04-19T21:51:25.331Z] unset SSH_AGENT_PID; [2022-04-19T21:51:25.331Z] echo Agent pid 19 killed; [2022-04-19T21:51:25.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-19T21:51:25.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:51:25.429Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:51:25.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:51:25.561Z] $ docker exec 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 ssh-agent [2022-04-19T21:51:25.675Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIiOPdA/agent.53 [2022-04-19T21:51:25.675Z] SSH_AGENT_PID=59 [2022-04-19T21:51:25.681Z] Running ssh-add (command line suppressed) [2022-04-19T21:51:25.787Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_1207609137872092868.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_1207609137872092868.key) [2022-04-19T21:51:25.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:51:26.240Z] + git semver init [2022-04-19T21:51:26.240Z] # -> Open(): unable to determine branch for HEAD [2022-04-19T21:51:26.240Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.git [2022-04-19T21:51:26.240Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T21:51:26.240Z] # $SEMVER_REMOTE_NAME = origin [2022-04-19T21:51:26.240Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-19T21:51:26.240Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-19T21:51:26.240Z] # $SEMVER_BRANCH = PR-278 [2022-04-19T21:51:26.240Z] # $SEMVER_TEMP = /tmp/semver-762217191 [2022-04-19T21:51:26.240Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-19T21:51:27.623Z] # '/tmp/semver-762217191' -> '/w/workspace/foundry_device-virtual-go_PR-278/.semver' [2022-04-19T21:51:27.623Z] # -> Force: false [2022-04-19T21:51:27.623Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.semver [Pipeline] } [2022-04-19T21:51:27.656Z] $ docker exec --env ******** --env ******** 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 ssh-agent -k [2022-04-19T21:51:27.752Z] unset SSH_AUTH_SOCK; [2022-04-19T21:51:27.752Z] unset SSH_AGENT_PID; [2022-04-19T21:51:27.752Z] echo Agent pid 59 killed; [2022-04-19T21:51:27.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-19T21:51:28.191Z] + git semver [Pipeline] } [2022-04-19T21:51:28.224Z] $ docker stop --time=1 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 [2022-04-19T21:51:29.629Z] $ docker rm -f 2cbb82c777a7fbdc97ea683f7ed109c10e92109acb7a38939720c16481ac40b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:51:30.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-19T21:51:30.404Z] Stashed 1 file(s) [Pipeline] echo [2022-04-19T21:51:30.422Z] [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 [2022-04-19T21:51:31.029Z] provisioning config files... [2022-04-19T21:51:31.040Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config2826125566346167206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:51:31.387Z] ---> docker-login.sh [2022-04-19T21:51:31.387Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:51:31.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:31.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:31.387Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:31.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:31.387Z] [2022-04-19T21:51:31.387Z] Login Succeeded [2022-04-19T21:51:31.387Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:51:31.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:31.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:31.387Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:31.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:31.387Z] [2022-04-19T21:51:31.387Z] Login Succeeded [2022-04-19T21:51:31.649Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:51:31.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:31.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:31.649Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:31.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:31.649Z] [2022-04-19T21:51:31.649Z] Login Succeeded [2022-04-19T21:51:31.649Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:51:31.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:31.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:31.650Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:31.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:31.650Z] [2022-04-19T21:51:31.650Z] Login Succeeded [2022-04-19T21:51:31.911Z] docker.io [2022-04-19T21:51:31.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:51:32.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:51:32.173Z] Configure a credential helper to remove this warning. See [2022-04-19T21:51:32.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:51:32.173Z] [2022-04-19T21:51:32.173Z] Login Succeeded [2022-04-19T21:51:32.173Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:51:32.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T21:51:32.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T21:51:32.518Z] ========================================================= [2022-04-19T21:51:32.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-19T21:51:32.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:51:32.924Z] + 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 . [2022-04-19T21:51:32.924Z] Sending build context to Docker daemon 22.94MB [2022-04-19T21:51:32.924Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:51:32.924Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-19T21:51:33.185Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-19T21:51:33.185Z] 59bf1c3509f3: Pulling fs layer [2022-04-19T21:51:33.185Z] 666ba61612fd: Pulling fs layer [2022-04-19T21:51:33.185Z] 8ed8ca486205: Pulling fs layer [2022-04-19T21:51:33.185Z] 4fe6c5a15a65: Pulling fs layer [2022-04-19T21:51:33.185Z] 22a0e8bec74d: Pulling fs layer [2022-04-19T21:51:33.185Z] 640e595b4fbd: Pulling fs layer [2022-04-19T21:51:33.185Z] 763cafe07f6e: Pulling fs layer [2022-04-19T21:51:33.185Z] 0c0b528cf693: Pulling fs layer [2022-04-19T21:51:33.185Z] 10935f4eaf8b: Pulling fs layer [2022-04-19T21:51:33.185Z] 4fe6c5a15a65: Waiting [2022-04-19T21:51:33.185Z] 22a0e8bec74d: Waiting [2022-04-19T21:51:33.185Z] 640e595b4fbd: Waiting [2022-04-19T21:51:33.185Z] 763cafe07f6e: Waiting [2022-04-19T21:51:33.185Z] 0c0b528cf693: Waiting [2022-04-19T21:51:33.185Z] 10935f4eaf8b: Waiting [2022-04-19T21:51:33.185Z] 8ed8ca486205: Verifying Checksum [2022-04-19T21:51:33.185Z] 8ed8ca486205: Download complete [2022-04-19T21:51:33.185Z] 666ba61612fd: Download complete [2022-04-19T21:51:33.185Z] 22a0e8bec74d: Verifying Checksum [2022-04-19T21:51:33.185Z] 22a0e8bec74d: Download complete [2022-04-19T21:51:33.185Z] 640e595b4fbd: Download complete [2022-04-19T21:51:33.185Z] 59bf1c3509f3: Verifying Checksum [2022-04-19T21:51:33.185Z] 59bf1c3509f3: Download complete [2022-04-19T21:51:33.185Z] 763cafe07f6e: Verifying Checksum [2022-04-19T21:51:33.185Z] 763cafe07f6e: Download complete [2022-04-19T21:51:33.185Z] 0c0b528cf693: Verifying Checksum [2022-04-19T21:51:33.185Z] 0c0b528cf693: Download complete [2022-04-19T21:51:33.185Z] 59bf1c3509f3: Pull complete [2022-04-19T21:51:33.448Z] 666ba61612fd: Pull complete [2022-04-19T21:51:33.448Z] 8ed8ca486205: Pull complete [2022-04-19T21:51:33.710Z] 10935f4eaf8b: Verifying Checksum [2022-04-19T21:51:33.710Z] 10935f4eaf8b: Download complete [2022-04-19T21:51:33.969Z] 4fe6c5a15a65: Verifying Checksum [2022-04-19T21:51:33.969Z] 4fe6c5a15a65: Download complete [2022-04-19T21:51:37.259Z] 4fe6c5a15a65: Pull complete [2022-04-19T21:51:37.520Z] 22a0e8bec74d: Pull complete [2022-04-19T21:51:37.520Z] 640e595b4fbd: Pull complete [2022-04-19T21:51:37.520Z] 763cafe07f6e: Pull complete [2022-04-19T21:51:37.780Z] 0c0b528cf693: Pull complete [2022-04-19T21:51:39.688Z] 10935f4eaf8b: Pull complete [2022-04-19T21:51:39.689Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-19T21:51:39.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-19T21:51:39.689Z] ---> 99d49a6021b9 [2022-04-19T21:51:39.689Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:51:41.602Z] ---> Running in 5bad4126cbf3 [2022-04-19T21:51:41.602Z] Removing intermediate container 5bad4126cbf3 [2022-04-19T21:51:41.602Z] ---> 6d7ab8e34bce [2022-04-19T21:51:41.602Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:51:41.602Z] ---> Running in df9909ca9bda [2022-04-19T21:51:41.602Z] Removing intermediate container df9909ca9bda [2022-04-19T21:51:41.602Z] ---> a0524632afca [2022-04-19T21:51:41.602Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-19T21:51:41.863Z] ---> Running in d55abf1c3631 [2022-04-19T21:51:41.863Z] Removing intermediate container d55abf1c3631 [2022-04-19T21:51:41.863Z] ---> 4b045583268b [2022-04-19T21:51:41.863Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:51:41.863Z] ---> Running in cd3403b8610a [2022-04-19T21:51:42.435Z] Removing intermediate container cd3403b8610a [2022-04-19T21:51:42.435Z] ---> 08254e2cbd27 [2022-04-19T21:51:42.435Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:51:42.435Z] ---> Running in 7c3885f8a7ac [2022-04-19T21:51:42.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:51:43.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:51:43.900Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-19T21:51:43.901Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-19T21:51:44.162Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-19T21:51:44.162Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-19T21:51:44.426Z] Executing busybox-1.34.1-r3.trigger [2022-04-19T21:51:44.426Z] OK: 224 MiB in 56 packages [2022-04-19T21:51:44.687Z] Removing intermediate container 7c3885f8a7ac [2022-04-19T21:51:44.687Z] ---> dc84e17ee664 [2022-04-19T21:51:44.687Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-19T21:51:44.947Z] ---> 6f16f13099bd [2022-04-19T21:51:44.947Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:51:44.947Z] ---> Running in f6ada79a173d [2022-04-19T21:51:45.843Z] Still waiting to schedule task [2022-04-19T21:51:45.843Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-19T21:51:59.870Z] Removing intermediate container f6ada79a173d [2022-04-19T21:51:59.870Z] ---> 1451aa16fe85 [2022-04-19T21:51:59.870Z] Step 10/12 : COPY . . [2022-04-19T21:52:00.131Z] ---> e50825bd525c [2022-04-19T21:52:00.131Z] Step 11/12 : ARG MAKE='make build' [2022-04-19T21:52:00.131Z] ---> Running in a365f84ec75f [2022-04-19T21:52:00.131Z] Removing intermediate container a365f84ec75f [2022-04-19T21:52:00.131Z] ---> 8ad16b13d889 [2022-04-19T21:52:00.131Z] Step 12/12 : RUN $MAKE [2022-04-19T21:52:00.131Z] ---> Running in 83b33e136c82 [2022-04-19T21:52:00.393Z] noop [2022-04-19T21:52:00.654Z] Removing intermediate container 83b33e136c82 [2022-04-19T21:52:00.654Z] ---> 595abcc62a7c [2022-04-19T21:52:00.654Z] Successfully built 595abcc62a7c [2022-04-19T21:52:00.654Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:52:00.983Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:52:00.983Z] . [Pipeline] withDockerContainer [2022-04-19T21:52:01.074Z] prd-ubuntu20.04-docker-8c-8g-21395 does not seem to be running inside a container [2022-04-19T21:52:01.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:52:01.475Z] $ docker top 68977c54e59105f5f9257be20841640a3de0b211604db6512c961a077bdb12f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T21:52:01.881Z] + go version [2022-04-19T21:52:01.881Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-19T21:52:01.943Z] $ docker stop --time=1 68977c54e59105f5f9257be20841640a3de0b211604db6512c961a077bdb12f8 [2022-04-19T21:52:03.249Z] $ docker rm -f 68977c54e59105f5f9257be20841640a3de0b211604db6512c961a077bdb12f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:52:03.939Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:52:03.939Z] . [Pipeline] withDockerContainer [2022-04-19T21:52:04.027Z] prd-ubuntu20.04-docker-8c-8g-21395 does not seem to be running inside a container [2022-04-19T21:52:04.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:52:04.445Z] $ docker top 8e276f78b785865c626fda6f337983486ed49fb60287581480a9c5cb2177bbf4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T21:52:04.902Z] + make test [2022-04-19T21:52:04.902Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-19T21:52:05.163Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-19T21:52:15.143Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-19T21:52:15.143Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements [2022-04-19T21:52:23.282Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-19T21:52:26.584Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T21:52:26.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T21:52:26.584Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T21:52:26.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T21:52:26.905Z] $ docker stop --time=1 8e276f78b785865c626fda6f337983486ed49fb60287581480a9c5cb2177bbf4 [2022-04-19T21:52:28.707Z] $ docker rm -f 8e276f78b785865c626fda6f337983486ed49fb60287581480a9c5cb2177bbf4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:52:29.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T21:52:29.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-19T21:52:30.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T21:52:30.762Z] + ls -al . [2022-04-19T21:52:30.762Z] total 204 [2022-04-19T21:52:30.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:52 . [2022-04-19T21:52:30.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:51 .. [2022-04-19T21:52:30.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:51 .git [2022-04-19T21:52:30.762Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:51 .github [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:51 .gitignore [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:51 .golangci.yml [2022-04-19T21:52:30.762Z] drwx------ 3 jenkins jenkins 4096 Apr 19 21:51 .semver [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:51 Attribution.txt [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:51 CHANGELOG.md [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:51 Dockerfile [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:51 GOVERNANCE.md [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:51 Jenkinsfile [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:51 LICENSE [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:51 Makefile [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:51 OWNERS.md [2022-04-19T21:52:30.762Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:51 README.md [2022-04-19T21:52:30.763Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:51 VERSION [2022-04-19T21:52:30.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:51 bin [2022-04-19T21:52:30.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:51 cmd [2022-04-19T21:52:30.763Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 21:52 coverage.out [2022-04-19T21:52:30.763Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:51 go.mod [2022-04-19T21:52:30.763Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:51 go.sum [2022-04-19T21:52:30.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:51 internal [2022-04-19T21:52:30.763Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:51 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:52:31.092Z] + 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=ceaade6570595a6266fae564bb75a9269c6364c8 --label arch=amd64 --label version=0.0.0 . [2022-04-19T21:52:31.092Z] Sending build context to Docker daemon 22.99MB [2022-04-19T21:52:31.092Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:52:31.092Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-19T21:52:31.092Z] ---> 595abcc62a7c [2022-04-19T21:52:31.092Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:52:31.353Z] ---> Running in d605e1d8a641 [2022-04-19T21:52:31.353Z] Removing intermediate container d605e1d8a641 [2022-04-19T21:52:31.353Z] ---> cad2278c39d6 [2022-04-19T21:52:31.353Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:52:31.353Z] ---> Running in c49bec49042a [2022-04-19T21:52:31.613Z] Removing intermediate container c49bec49042a [2022-04-19T21:52:31.613Z] ---> b779003b4217 [2022-04-19T21:52:31.613Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-19T21:52:31.613Z] ---> Running in 44ba9f63821a [2022-04-19T21:52:31.613Z] Removing intermediate container 44ba9f63821a [2022-04-19T21:52:31.613Z] ---> 1d3afc34f33a [2022-04-19T21:52:31.613Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:52:31.613Z] ---> Running in 80f305dc936e [2022-04-19T21:52:32.555Z] Removing intermediate container 80f305dc936e [2022-04-19T21:52:32.555Z] ---> 4ec826fbcf75 [2022-04-19T21:52:32.555Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:52:32.555Z] ---> Running in 493182a2b87e [2022-04-19T21:52:32.555Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:52:33.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:52:33.761Z] OK: 224 MiB in 56 packages [2022-04-19T21:52:34.330Z] Removing intermediate container 493182a2b87e [2022-04-19T21:52:34.330Z] ---> 41f254525cfd [2022-04-19T21:52:34.330Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-19T21:52:34.330Z] ---> 9d0cd75fb3d1 [2022-04-19T21:52:34.330Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:52:34.330Z] ---> Running in 9884b3e3dc99 [2022-04-19T21:52:34.901Z] Removing intermediate container 9884b3e3dc99 [2022-04-19T21:52:34.901Z] ---> 9b1acfecb4c4 [2022-04-19T21:52:34.901Z] Step 10/26 : COPY . . [2022-04-19T21:52:35.471Z] ---> df2f4cfa609b [2022-04-19T21:52:35.471Z] Step 11/26 : ARG MAKE='make build' [2022-04-19T21:52:35.471Z] ---> Running in 85c6d7a4dead [2022-04-19T21:52:35.734Z] Removing intermediate container 85c6d7a4dead [2022-04-19T21:52:35.734Z] ---> f5e8c9850397 [2022-04-19T21:52:35.734Z] Step 12/26 : RUN $MAKE [2022-04-19T21:52:35.734Z] ---> Running in 3d007696e807 [2022-04-19T21:52:35.993Z] 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 [2022-04-19T21:52:57.955Z] Removing intermediate container 3d007696e807 [2022-04-19T21:52:57.955Z] ---> 51fd2e7dd751 [2022-04-19T21:52:57.955Z] Step 13/26 : FROM alpine:3.14 [2022-04-19T21:52:57.955Z] 3.14: Pulling from library/alpine [2022-04-19T21:52:57.955Z] 8663204ce13b: Pulling fs layer [2022-04-19T21:52:57.955Z] 8663204ce13b: Verifying Checksum [2022-04-19T21:52:57.955Z] 8663204ce13b: Download complete [2022-04-19T21:52:57.955Z] 8663204ce13b: Pull complete [2022-04-19T21:52:57.955Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T21:52:57.955Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T21:52:57.955Z] ---> e04c818066af [2022-04-19T21:52:57.955Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-19T21:52:57.955Z] ---> Running in adafabf434ab [2022-04-19T21:52:57.955Z] Removing intermediate container adafabf434ab [2022-04-19T21:52:57.955Z] ---> c7599c6d3eca [2022-04-19T21:52:57.955Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:52:57.955Z] ---> Running in a29ae8caca97 [2022-04-19T21:52:57.955Z] Removing intermediate container a29ae8caca97 [2022-04-19T21:52:57.955Z] ---> 54645e2370e6 [2022-04-19T21:52:57.955Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-19T21:52:57.955Z] ---> Running in 6f46871ac466 [2022-04-19T21:52:57.955Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:52:58.218Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:52:58.478Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-19T21:52:58.738Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T21:52:58.738Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-19T21:52:58.738Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T21:52:58.999Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-19T21:52:58.999Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-19T21:52:58.999Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T21:52:58.999Z] OK: 8 MiB in 20 packages [2022-04-19T21:52:59.569Z] Removing intermediate container 6f46871ac466 [2022-04-19T21:52:59.569Z] ---> e6ebb09eaa29 [2022-04-19T21:52:59.569Z] Step 17/26 : WORKDIR / [2022-04-19T21:52:59.569Z] ---> Running in 4915b6666b46 [2022-04-19T21:52:59.569Z] Removing intermediate container 4915b6666b46 [2022-04-19T21:52:59.569Z] ---> 753f226869c4 [2022-04-19T21:52:59.569Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-19T21:52:59.828Z] ---> b4f4dbcbfaa8 [2022-04-19T21:52:59.828Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-19T21:52:59.828Z] ---> ab947d2a4fde [2022-04-19T21:52:59.828Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-19T21:53:00.772Z] ---> 9553c75fc6cf [2022-04-19T21:53:00.772Z] Step 21/26 : EXPOSE 59900 [2022-04-19T21:53:00.772Z] ---> Running in b08dd60e3997 [2022-04-19T21:53:00.772Z] Removing intermediate container b08dd60e3997 [2022-04-19T21:53:00.772Z] ---> 68ea6d4dc479 [2022-04-19T21:53:00.772Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-19T21:53:00.772Z] ---> Running in 9f25be667118 [2022-04-19T21:53:00.772Z] Removing intermediate container 9f25be667118 [2022-04-19T21:53:00.772Z] ---> c2e367c3121b [2022-04-19T21:53:00.772Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T21:53:00.772Z] ---> Running in 2485c9a5d999 [2022-04-19T21:53:01.034Z] Removing intermediate container 2485c9a5d999 [2022-04-19T21:53:01.034Z] ---> aaec9f33bf5d [2022-04-19T21:53:01.034Z] Step 24/26 : LABEL arch=amd64 [2022-04-19T21:53:01.034Z] ---> Running in 26997d719843 [2022-04-19T21:53:01.034Z] Removing intermediate container 26997d719843 [2022-04-19T21:53:01.034Z] ---> 92c4384a5394 [2022-04-19T21:53:01.034Z] Step 25/26 : LABEL git_sha=ceaade6570595a6266fae564bb75a9269c6364c8 [2022-04-19T21:53:01.034Z] ---> Running in b059956d6948 [2022-04-19T21:53:01.296Z] Removing intermediate container b059956d6948 [2022-04-19T21:53:01.296Z] ---> b7a9ef4dd4e4 [2022-04-19T21:53:01.296Z] Step 26/26 : LABEL version=0.0.0 [2022-04-19T21:53:01.296Z] ---> Running in 729d1488ddc8 [2022-04-19T21:53:01.296Z] Removing intermediate container 729d1488ddc8 [2022-04-19T21:53:01.296Z] ---> c0a230914bf1 [2022-04-19T21:53:01.296Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T21:53:01.296Z] Successfully built c0a230914bf1 [2022-04-19T21:53:01.296Z] 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 [2022-04-19T21:53:02.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:53:02.027Z] [2022-04-19T21:53:02.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:53:02.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:53:02.370Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-19T21:53:02.370Z] 5eb5b503b376: Pulling fs layer [2022-04-19T21:53:02.370Z] 5c69ac0246d0: Pulling fs layer [2022-04-19T21:53:02.370Z] ec43610c2a17: Pulling fs layer [2022-04-19T21:53:02.370Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-19T21:53:02.370Z] 33b1e0a273af: Pulling fs layer [2022-04-19T21:53:02.371Z] 5d3b04190fa2: Pulling fs layer [2022-04-19T21:53:02.371Z] 2f39f015ded8: Pulling fs layer [2022-04-19T21:53:02.371Z] 3a2ae6a8a46f: Waiting [2022-04-19T21:53:02.371Z] 33b1e0a273af: Waiting [2022-04-19T21:53:02.371Z] 5d3b04190fa2: Waiting [2022-04-19T21:53:02.371Z] 2f39f015ded8: Waiting [2022-04-19T21:53:02.371Z] 5c69ac0246d0: Verifying Checksum [2022-04-19T21:53:02.371Z] 5c69ac0246d0: Download complete [2022-04-19T21:53:02.371Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-19T21:53:02.371Z] 3a2ae6a8a46f: Download complete [2022-04-19T21:53:02.371Z] 33b1e0a273af: Verifying Checksum [2022-04-19T21:53:02.371Z] 33b1e0a273af: Download complete [2022-04-19T21:53:02.631Z] 5d3b04190fa2: Verifying Checksum [2022-04-19T21:53:02.631Z] 5d3b04190fa2: Download complete [2022-04-19T21:53:02.631Z] ec43610c2a17: Verifying Checksum [2022-04-19T21:53:02.631Z] ec43610c2a17: Download complete [2022-04-19T21:53:02.631Z] 5eb5b503b376: Verifying Checksum [2022-04-19T21:53:02.631Z] 5eb5b503b376: Download complete [2022-04-19T21:53:03.200Z] 2f39f015ded8: Download complete [2022-04-19T21:53:03.769Z] 5eb5b503b376: Pull complete [2022-04-19T21:53:04.030Z] 5c69ac0246d0: Pull complete [2022-04-19T21:53:04.601Z] ec43610c2a17: Pull complete [2022-04-19T21:53:04.601Z] 3a2ae6a8a46f: Pull complete [2022-04-19T21:53:04.601Z] 33b1e0a273af: Pull complete [2022-04-19T21:53:04.861Z] 5d3b04190fa2: Pull complete [2022-04-19T21:53:09.061Z] 2f39f015ded8: Pull complete [2022-04-19T21:53:09.061Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-19T21:53:09.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:53:09.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-19T21:53:09.159Z] prd-ubuntu20.04-docker-8c-8g-21395 does not seem to be running inside a container [2022-04-19T21:53:09.201Z] $ 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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T21:53:11.010Z] $ docker top 98a4e521c926e835dc4be8379c93254487fd171c0d8bfdcd39f05cd480917d41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:11.477Z] ---> job-cost.sh [2022-04-19T21:53:11.477Z] lf-activate-venv: SKIPPING [2022-04-19T21:53:11.477Z] INFO: No Stack... [2022-04-19T21:53:12.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T21:53:12.620Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T21:53:12.943Z] + cat /w/workspace/foundry_device-virtual-go_PR-278/archives/cost.csv [2022-04-19T21:53:12.943Z] + cut -d, -f6 [Pipeline] lock [2022-04-19T21:53:12.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-1-stack-cost] [2022-04-19T21:53:12.987Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-1-stack-cost] did not exist. Created. [2022-04-19T21:53:12.987Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T21:53:13.373Z] + echo total: 0.4399999976158142 [Pipeline] stash [2022-04-19T21:53:13.441Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T21:53:13.471Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T21:53:13.544Z] $ docker stop --time=1 98a4e521c926e835dc4be8379c93254487fd171c0d8bfdcd39f05cd480917d41 [2022-04-19T21:53:14.708Z] $ docker rm -f 98a4e521c926e835dc4be8379c93254487fd171c0d8bfdcd39f05cd480917d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T21:53:20.015Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21406 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] ws [2022-04-19T21:53:20.058Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-04-19T21:53:20.965Z] The recommended git tool is: git [2022-04-19T21:53:27.910Z] using credential edgex-jenkins-ssh [2022-04-19T21:53:27.928Z] Cloning the remote Git repository [2022-04-19T21:53:27.990Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:53:28.082Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-04-19T21:53:28.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:53:28.191Z] > git --version # timeout=10 [2022-04-19T21:53:28.228Z] > git --version # 'git version 2.25.1' [2022-04-19T21:53:28.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:53:28.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:53:31.272Z] Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit c3a02ad5478d33e9373b914ae9878e9760f33873 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T21:53:31.657Z] Failed in branch arm64 [2022-04-19T21:53:30.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:53:30.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:53:30.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:53:30.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:53:30.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:53:30.688Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-19T21:53:31.291Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T21:53:31.310Z] > git checkout -f c3a02ad5478d33e9373b914ae9878e9760f33873 # timeout=10 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-19T21:53:33.879Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-278/archives ] [2022-04-19T21:53:33.879Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:53:33.879Z] total 16 [2022-04-19T21:53:33.879Z] drwxr-xr-x 3 root root 4096 Apr 19 21:53 . [2022-04-19T21:53:33.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:53 .. [2022-04-19T21:53:33.879Z] drwxr-xr-x 2 root root 4096 Apr 19 21:53 cost [2022-04-19T21:53:33.879Z] -rw-r--r-- 1 root root 89 Apr 19 21:53 cost.csv [2022-04-19T21:53:33.879Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:53:33.879Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:53:33.879Z] total 16 [2022-04-19T21:53:33.879Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:53 . [2022-04-19T21:53:33.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:53 .. [2022-04-19T21:53:33.879Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:53 cost [2022-04-19T21:53:33.879Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 19 21:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:34.268Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:35.270Z] ---> package-listing.sh [2022-04-19T21:53:35.270Z] ++ facter osfamily [2022-04-19T21:53:35.270Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-19T21:53:35.531Z] + OS_FAMILY=debian [2022-04-19T21:53:35.531Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T21:53:35.531Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-19T21:53:35.531Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-19T21:53:35.531Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-19T21:53:35.531Z] + PACKAGES=/tmp/packages_start.txt [2022-04-19T21:53:35.531Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T21:53:35.531Z] + PACKAGES=/tmp/packages_end.txt [2022-04-19T21:53:35.531Z] + case "${OS_FAMILY}" in [2022-04-19T21:53:35.531Z] + dpkg -l [2022-04-19T21:53:35.531Z] + grep '^ii' [2022-04-19T21:53:35.531Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-19T21:53:35.531Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-19T21:53:35.531Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-19T21:53:35.531Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T21:53:35.531Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-278/archives/ [2022-04-19T21:53:35.531Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-278/archives/ [Pipeline] echo [2022-04-19T21:53:35.563Z] 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-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-19T21:53:35.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:53:36.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:53:36.437Z] . [Pipeline] withDockerContainer [2022-04-19T21:53:36.523Z] prd-ubuntu20.04-docker-8c-8g-21395 does not seem to be running inside a container [2022-04-19T21:53:36.558Z] $ 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-278/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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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 [2022-04-19T21:53:36.816Z] $ docker top e18e7b39da08647c26ea259444d864b81560582e4ed53ba037825b34b648aa35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T21:53:37.225Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-19T21:53:37.536Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-19T21:53:37.845Z] + ls /var/log/sa-host [2022-04-19T21:53:37.845Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:53:38.019Z] provisioning config files... [2022-04-19T21:53:38.029Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config6101178348621588817tmp [Pipeline] { [Pipeline] echo [2022-04-19T21:53:38.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:38.538Z] ---> create-netrc.sh [Pipeline] } [2022-04-19T21:53:38.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:38.968Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-19T21:53:39.004Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:39.316Z] ---> sudo-logs.sh [2022-04-19T21:53:39.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-19T21:53:39.399Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:39.712Z] ---> job-cost.sh [2022-04-19T21:53:39.712Z] lf-activate-venv: SKIPPING [2022-04-19T21:53:39.712Z] DEBUG: total: 0.4399999976158142 [2022-04-19T21:53:39.712Z] INFO: Retrieving Stack Cost... [2022-04-19T21:53:39.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T21:53:40.544Z] INFO: Archiving Costs [Pipeline] echo [2022-04-19T21:53:40.581Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:53:40.892Z] ---> logs-deploy.sh [2022-04-19T21:53:40.892Z] lf-activate-venv: SKIPPING [2022-04-19T21:53:40.892Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-278/1 [2022-04-19T21:53:40.892Z] INFO: archiving workspace using pattern(s): [2022-04-19T21:53:41.833Z] Archives upload complete. [2022-04-19T21:53:41.833Z] INFO: archiving logs to Nexus