Pull request #245 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6dcac8371f521195e7893ecabc371bde39b4ad43+34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (60fbf3d4c93fc81754e7d527ab20956897130da7) Running in Durability level: MAX_SURVIVABILITY 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-ssh8788951236325169811.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7704048986770472600.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-245/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-245/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9153082322127747800.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-245/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7633685355837752380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh790873614598754780.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-245/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-245/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9132619541482096510.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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: [[centos7-docker-4c-2g, ubuntu18.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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1514 in /w/workspace/foundry_device-virtual-go_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/foundry_device-virtual-go_PR-245@tmp/jenkins-gitclient-ssh4882483231199098657.key > 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 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.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 /w/workspace/foundry_device-virtual-go_PR-245@tmp/jenkins-gitclient-ssh172047928802398800.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 6dcac8371f521195e7893ecabc371bde39b4ad43 Merge succeeded, producing 6dcac8371f521195e7893ecabc371bde39b4ad43 Checking out Revision 6dcac8371f521195e7893ecabc371bde39b4ad43 (PR-245) > git config core.sparsecheckout # timeout=10 > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/foundry_device-virtual-go_PR-245@tmp/jenkins-gitclient-ssh3825810789089464081.key > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-25T11:08:34.975Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-25T11:08:35.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-25T11:08:35.169Z] ========================================================= [2021-10-25T11:08:35.169Z] EdgeX Global Pipelines Version Info [2021-10-25T11:08:35.169Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:08:36.356Z] ------------------- [2021-10-25T11:08:36.356Z] stable info: [2021-10-25T11:08:36.356Z] ------------------- [2021-10-25T11:08:36.356Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-25T11:08:36.356Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-25T11:08:36.356Z] Message: update stable to v1.0.210 [2021-10-25T11:08:36.928Z] ------------------- [2021-10-25T11:08:36.928Z] experimental info: [2021-10-25T11:08:36.928Z] ------------------- [2021-10-25T11:08:36.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-25T11:08:36.928Z] Commit SHA: 5405f6db7b80caa7838ce0779402869a7955fc1d [2021-10-25T11:08:36.928Z] Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-25T11:08:37.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-10-25T11:08:37.147Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-10-25T11:08:37.218Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-25T11:08:37.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-25T11:08:37.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-25T11:08:37.339Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-25T11:08:37.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-25T11:08:37.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-25T11:08:37.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-25T11:08:37.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-25T11:08:37.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-25T11:08:37.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-10-25T11:08:37.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-25T11:08:37.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-25T11:08:37.679Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-25T11:08:37.726Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-25T11:08:37.762Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-25T11:08:37.802Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-25T11:08:37.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-25T11:08:37.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-25T11:08:37.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-25T11:08:37.939Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-25T11:08:37.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-25T11:08:38.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-25T11:08:38.056Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-25T11:08:38.093Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-25T11:08:38.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo [2021-10-25T11:08:38.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo [2021-10-25T11:08:38.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo [2021-10-25T11:08:38.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6dcac8371f521195e7893ecabc371bde39b4ad43 [Pipeline] echo [2021-10-25T11:08:38.303Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6dcac83 [Pipeline] echo [2021-10-25T11:08:38.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-25T11:08:38.461Z] provisioning config files... [2021-10-25T11:08:38.477Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-245@tmp/config7302222219689252502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:08:38.836Z] ---> docker-login.sh [2021-10-25T11:08:38.836Z] nexus3.edgexfoundry.org:10001 [2021-10-25T11:08:38.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:08:39.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:08:39.105Z] Configure a credential helper to remove this warning. See [2021-10-25T11:08:39.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:08:39.105Z] [2021-10-25T11:08:39.105Z] Login Succeeded [2021-10-25T11:08:39.105Z] nexus3.edgexfoundry.org:10002 [2021-10-25T11:08:39.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:08:39.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:08:39.105Z] Configure a credential helper to remove this warning. See [2021-10-25T11:08:39.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:08:39.105Z] [2021-10-25T11:08:39.105Z] Login Succeeded [2021-10-25T11:08:39.105Z] nexus3.edgexfoundry.org:10003 [2021-10-25T11:08:39.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:08:39.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:08:39.367Z] Configure a credential helper to remove this warning. See [2021-10-25T11:08:39.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:08:39.367Z] [2021-10-25T11:08:39.367Z] Login Succeeded [2021-10-25T11:08:39.367Z] nexus3.edgexfoundry.org:10004 [2021-10-25T11:08:39.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:08:39.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:08:39.367Z] Configure a credential helper to remove this warning. See [2021-10-25T11:08:39.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:08:39.367Z] [2021-10-25T11:08:39.367Z] Login Succeeded [2021-10-25T11:08:39.367Z] docker.io [2021-10-25T11:08:39.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:08:39.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:08:39.938Z] Configure a credential helper to remove this warning. See [2021-10-25T11:08:39.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:08:39.938Z] [2021-10-25T11:08:39.938Z] Login Succeeded [2021-10-25T11:08:39.938Z] ---> docker-login.sh ends [Pipeline] } [2021-10-25T11:08:39.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-25T11:08:40.672Z] + git log --format=format:%s -1 6dcac8371f521195e7893ecabc371bde39b4ad43 [Pipeline] echo [2021-10-25T11:08:40.721Z] GIT_COMMIT: 6dcac8371f521195e7893ecabc371bde39b4ad43, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-10-25T11:08:40.750Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:08:41.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-25T11:08:41.479Z] [2021-10-25T11:08:41.479Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:08:41.826Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-25T11:08:41.826Z] latest: Pulling from edgex-devops/git-semver [2021-10-25T11:08:41.826Z] a0d0a0d46f8b: Pulling fs layer [2021-10-25T11:08:41.826Z] 3e5f54012d9b: Pulling fs layer [2021-10-25T11:08:41.826Z] 4c7163046ea9: Pulling fs layer [2021-10-25T11:08:41.826Z] 0c2d73faf560: Pulling fs layer [2021-10-25T11:08:41.826Z] 0c2d73faf560: Waiting [2021-10-25T11:08:41.826Z] 3e5f54012d9b: Verifying Checksum [2021-10-25T11:08:41.826Z] 3e5f54012d9b: Download complete [2021-10-25T11:08:41.826Z] a0d0a0d46f8b: Verifying Checksum [2021-10-25T11:08:41.826Z] a0d0a0d46f8b: Download complete [2021-10-25T11:08:41.826Z] 4c7163046ea9: Verifying Checksum [2021-10-25T11:08:41.826Z] 4c7163046ea9: Download complete [2021-10-25T11:08:41.826Z] 0c2d73faf560: Verifying Checksum [2021-10-25T11:08:41.826Z] 0c2d73faf560: Download complete [2021-10-25T11:08:42.103Z] a0d0a0d46f8b: Pull complete [2021-10-25T11:08:42.103Z] 3e5f54012d9b: Pull complete [2021-10-25T11:08:42.374Z] 4c7163046ea9: Pull complete [2021-10-25T11:08:42.635Z] 0c2d73faf560: Pull complete [2021-10-25T11:08:42.635Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-25T11:08:42.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-25T11:08:42.635Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-25T11:08:42.747Z] prd-centos7-docker-4c-2g-1514 does not seem to be running inside a container [2021-10-25T11:08:42.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-245 -v /w/workspace/foundry_device-virtual-go_PR-245:/w/workspace/foundry_device-virtual-go_PR-245:rw,z -v /w/workspace/foundry_device-virtual-go_PR-245@tmp:/w/workspace/foundry_device-virtual-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-25T11:08:43.428Z] $ docker top b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-25T11:08:43.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-25T11:08:43.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-25T11:08:43.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-25T11:08:43.741Z] $ docker exec b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 ssh-agent [2021-10-25T11:08:43.879Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmmBhid/agent.13 [2021-10-25T11:08:43.879Z] SSH_AGENT_PID=20 [2021-10-25T11:08:43.888Z] Running ssh-add (command line suppressed) [2021-10-25T11:08:43.993Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-245@tmp/private_key_6579048925211515993.key (/w/workspace/foundry_device-virtual-go_PR-245@tmp/private_key_6579048925211515993.key) [2021-10-25T11:08:44.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-25T11:08:44.342Z] + git tag --points-at HEAD [Pipeline] } [2021-10-25T11:08:44.364Z] $ docker exec --env ******** --env ******** b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 ssh-agent -k [2021-10-25T11:08:44.456Z] unset SSH_AUTH_SOCK; [2021-10-25T11:08:44.456Z] unset SSH_AGENT_PID; [2021-10-25T11:08:44.456Z] echo Agent pid 20 killed; [2021-10-25T11:08:44.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-25T11:08:44.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-25T11:08:44.531Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-25T11:08:44.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-25T11:08:44.648Z] $ docker exec b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 ssh-agent [2021-10-25T11:08:44.758Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbGjgn/agent.54 [2021-10-25T11:08:44.758Z] SSH_AGENT_PID=61 [2021-10-25T11:08:44.764Z] Running ssh-add (command line suppressed) [2021-10-25T11:08:44.854Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-245@tmp/private_key_1628917753064311359.key (/w/workspace/foundry_device-virtual-go_PR-245@tmp/private_key_1628917753064311359.key) [2021-10-25T11:08:44.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-25T11:08:45.219Z] + git semver init [2021-10-25T11:08:45.219Z] # -> Open(): unable to determine branch for HEAD [2021-10-25T11:08:45.219Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-245/.git [2021-10-25T11:08:45.219Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-245 [2021-10-25T11:08:45.219Z] # $SEMVER_REMOTE_NAME = origin [2021-10-25T11:08:45.219Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-25T11:08:45.219Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-25T11:08:45.219Z] # $SEMVER_BRANCH = PR-245 [2021-10-25T11:08:45.219Z] # $SEMVER_TEMP = /tmp/semver-158909979 [2021-10-25T11:08:45.219Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-10-25T11:08:46.169Z] # '/tmp/semver-158909979' -> '/w/workspace/foundry_device-virtual-go_PR-245/.semver' [2021-10-25T11:08:46.169Z] # -> Force: false [2021-10-25T11:08:46.169Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-245/.semver [Pipeline] } [2021-10-25T11:08:46.186Z] $ docker exec --env ******** --env ******** b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 ssh-agent -k [2021-10-25T11:08:46.286Z] unset SSH_AUTH_SOCK; [2021-10-25T11:08:46.289Z] unset SSH_AGENT_PID; [2021-10-25T11:08:46.289Z] echo Agent pid 61 killed; [2021-10-25T11:08:46.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-25T11:08:46.694Z] + git semver [Pipeline] } [2021-10-25T11:08:46.717Z] $ docker stop --time=1 b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 [2021-10-25T11:08:47.973Z] $ docker rm -f b72cf6f23264125f35d6095f70e80b454d21fc064f256b538bdc997f6604afe7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-25T11:08:48.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-25T11:08:48.705Z] Stashed 1 file(s) [Pipeline] echo [2021-10-25T11:08:48.721Z] [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] node [Pipeline] node [2021-10-25T11:09:04.112Z] Still waiting to schedule task [2021-10-25T11:09:04.113Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1514’ [2021-10-25T11:09:04.131Z] Still waiting to schedule task [2021-10-25T11:09:04.132Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-25T11:11:06.403Z] Running on prd-centos7-docker-4c-2g-1517 in /w/workspace/foundry_device-virtual-go_PR-245 [Pipeline] { [Pipeline] ws [2021-10-25T11:11:06.451Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-25T11:11:06.577Z] The recommended git tool is: git [2021-10-25T11:11:08.758Z] using credential edgex-jenkins-ssh [2021-10-25T11:11:08.771Z] Cloning the remote Git repository [2021-10-25T11:11:08.393Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:08.448Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-25T11:11:08.507Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:08.507Z] > git --version # timeout=10 [2021-10-25T11:11:08.518Z] > git --version # 'git version 2.24.4' [2021-10-25T11:11:08.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:08.591Z] [INFO] Currently running in a labeled security context [2021-10-25T11:11:08.591Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-25T11:11:08.592Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6147344054121589143.key [2021-10-25T11:11:08.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-25T11:11:10.617Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 6dcac8371f521195e7893ecabc371bde39b4ad43 [2021-10-25T11:11:10.755Z] Merge succeeded, producing 6dcac8371f521195e7893ecabc371bde39b4ad43 [2021-10-25T11:11:10.755Z] Checking out Revision 6dcac8371f521195e7893ecabc371bde39b4ad43 (PR-245) [2021-10-25T11:11:09.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-25T11:11:09.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-25T11:11:09.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-25T11:11:09.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:09.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:09.685Z] [INFO] Currently running in a labeled security context [2021-10-25T11:11:09.685Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-25T11:11:09.685Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6045640508894313416.key [2021-10-25T11:11:09.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-25T11:11:10.174Z] > git config core.sparsecheckout # timeout=10 [2021-10-25T11:11:10.189Z] > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 [2021-10-25T11:11:10.239Z] > git remote # timeout=10 [2021-10-25T11:11:10.250Z] > git config --get remote.origin.url # timeout=10 [2021-10-25T11:11:10.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:10.260Z] [INFO] Currently running in a labeled security context [2021-10-25T11:11:10.260Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-25T11:11:10.260Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4105479539110536948.key [2021-10-25T11:11:10.267Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-25T11:11:10.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-25T11:11:10.303Z] > git config core.sparsecheckout # timeout=10 [2021-10-25T11:11:10.313Z] > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 [2021-10-25T11:11:14.370Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-10-25T11:11:14.057Z] > git --version # timeout=10 [2021-10-25T11:11:14.069Z] > git --version # 'git version 2.24.4' [2021-10-25T11:11:14.085Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-25T11:11:15.191Z] provisioning config files... [2021-10-25T11:11:15.209Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8563846952404682003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:11:15.658Z] ---> docker-login.sh [2021-10-25T11:11:15.659Z] nexus3.edgexfoundry.org:10001 [2021-10-25T11:11:15.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:11:15.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:11:15.918Z] Configure a credential helper to remove this warning. See [2021-10-25T11:11:15.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:11:15.918Z] [2021-10-25T11:11:15.918Z] Login Succeeded [2021-10-25T11:11:15.918Z] nexus3.edgexfoundry.org:10002 [2021-10-25T11:11:15.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:11:15.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:11:15.918Z] Configure a credential helper to remove this warning. See [2021-10-25T11:11:15.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:11:15.918Z] [2021-10-25T11:11:15.918Z] Login Succeeded [2021-10-25T11:11:15.918Z] nexus3.edgexfoundry.org:10003 [2021-10-25T11:11:16.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:11:16.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:11:16.182Z] Configure a credential helper to remove this warning. See [2021-10-25T11:11:16.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:11:16.182Z] [2021-10-25T11:11:16.182Z] Login Succeeded [2021-10-25T11:11:16.182Z] nexus3.edgexfoundry.org:10004 [2021-10-25T11:11:16.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:11:16.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:11:16.182Z] Configure a credential helper to remove this warning. See [2021-10-25T11:11:16.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:11:16.182Z] [2021-10-25T11:11:16.182Z] Login Succeeded [2021-10-25T11:11:16.182Z] docker.io [2021-10-25T11:11:16.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:11:16.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:11:16.701Z] Configure a credential helper to remove this warning. See [2021-10-25T11:11:16.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:11:16.701Z] [2021-10-25T11:11:16.701Z] Login Succeeded [2021-10-25T11:11:16.701Z] ---> docker-login.sh ends [Pipeline] } [2021-10-25T11:11:16.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-25T11:11:16.975Z] ========================================================= [2021-10-25T11:11:16.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-25T11:11:16.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:11:17.371Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-25T11:11:17.371Z] Sending build context to Docker daemon 8.634MB [2021-10-25T11:11:17.371Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-25T11:11:17.371Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-25T11:11:17.371Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-25T11:11:17.371Z] a0d0a0d46f8b: Pulling fs layer [2021-10-25T11:11:17.371Z] 31adcdaf11c8: Pulling fs layer [2021-10-25T11:11:17.371Z] b8b176561691: Pulling fs layer [2021-10-25T11:11:17.371Z] 4527c011a84f: Pulling fs layer [2021-10-25T11:11:17.371Z] 5d74067f8e1e: Pulling fs layer [2021-10-25T11:11:17.371Z] e0aca202a116: Pulling fs layer [2021-10-25T11:11:17.371Z] 3a43be97a3b4: Pulling fs layer [2021-10-25T11:11:17.371Z] 34cad66bf833: Pulling fs layer [2021-10-25T11:11:17.371Z] b4e3c513aaa6: Pulling fs layer [2021-10-25T11:11:17.371Z] e0aca202a116: Waiting [2021-10-25T11:11:17.371Z] 3a43be97a3b4: Waiting [2021-10-25T11:11:17.371Z] 34cad66bf833: Waiting [2021-10-25T11:11:17.371Z] b4e3c513aaa6: Waiting [2021-10-25T11:11:17.371Z] 4527c011a84f: Waiting [2021-10-25T11:11:17.371Z] 5d74067f8e1e: Waiting [2021-10-25T11:11:17.636Z] b8b176561691: Verifying Checksum [2021-10-25T11:11:17.636Z] b8b176561691: Download complete [2021-10-25T11:11:17.636Z] 31adcdaf11c8: Verifying Checksum [2021-10-25T11:11:17.636Z] 31adcdaf11c8: Download complete [2021-10-25T11:11:17.636Z] 5d74067f8e1e: Verifying Checksum [2021-10-25T11:11:17.636Z] 5d74067f8e1e: Download complete [2021-10-25T11:11:17.636Z] e0aca202a116: Verifying Checksum [2021-10-25T11:11:17.636Z] e0aca202a116: Download complete [2021-10-25T11:11:17.636Z] a0d0a0d46f8b: Verifying Checksum [2021-10-25T11:11:17.636Z] 3a43be97a3b4: Verifying Checksum [2021-10-25T11:11:17.636Z] 3a43be97a3b4: Download complete [2021-10-25T11:11:17.636Z] 34cad66bf833: Verifying Checksum [2021-10-25T11:11:17.636Z] 34cad66bf833: Download complete [2021-10-25T11:11:17.899Z] a0d0a0d46f8b: Pull complete [2021-10-25T11:11:18.162Z] 31adcdaf11c8: Pull complete [2021-10-25T11:11:18.162Z] 4527c011a84f: Verifying Checksum [2021-10-25T11:11:18.162Z] 4527c011a84f: Download complete [2021-10-25T11:11:18.162Z] b4e3c513aaa6: Verifying Checksum [2021-10-25T11:11:18.162Z] b4e3c513aaa6: Download complete [2021-10-25T11:11:18.162Z] b8b176561691: Pull complete [2021-10-25T11:11:22.407Z] 4527c011a84f: Pull complete [2021-10-25T11:11:22.407Z] 5d74067f8e1e: Pull complete [2021-10-25T11:11:22.407Z] e0aca202a116: Pull complete [2021-10-25T11:11:22.407Z] 3a43be97a3b4: Pull complete [2021-10-25T11:11:22.683Z] 34cad66bf833: Pull complete [2021-10-25T11:11:26.042Z] b4e3c513aaa6: Pull complete [2021-10-25T11:11:26.042Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-25T11:11:26.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-25T11:11:26.042Z] ---> 9f6097aaca64 [2021-10-25T11:11:26.042Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-25T11:11:27.434Z] ---> Running in 87e31e5349d0 [2021-10-25T11:11:27.434Z] Removing intermediate container 87e31e5349d0 [2021-10-25T11:11:27.434Z] ---> 198a2afdf90f [2021-10-25T11:11:27.434Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-25T11:11:27.434Z] ---> Running in 7e9f26236f32 [2021-10-25T11:11:27.696Z] Removing intermediate container 7e9f26236f32 [2021-10-25T11:11:27.696Z] ---> fe5e642ff4b6 [2021-10-25T11:11:27.696Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-25T11:11:27.696Z] ---> Running in 7a6293837f2a [2021-10-25T11:11:27.696Z] Removing intermediate container 7a6293837f2a [2021-10-25T11:11:27.696Z] ---> beb980accd5b [2021-10-25T11:11:27.696Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-25T11:11:27.696Z] ---> Running in e98da5b9267e [2021-10-25T11:11:28.267Z] Removing intermediate container e98da5b9267e [2021-10-25T11:11:28.267Z] ---> 5ba9dd86fb47 [2021-10-25T11:11:28.267Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-25T11:11:28.267Z] ---> Running in c222ed3d2fb6 [2021-10-25T11:11:28.530Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-25T11:11:29.477Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-25T11:11:29.739Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-25T11:11:30.000Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-25T11:11:30.000Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-25T11:11:30.264Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-25T11:11:30.264Z] Executing busybox-1.33.1-r3.trigger [2021-10-25T11:11:30.264Z] OK: 224 MiB in 56 packages [2021-10-25T11:11:30.533Z] Removing intermediate container c222ed3d2fb6 [2021-10-25T11:11:30.533Z] ---> a2e92cd8486a [2021-10-25T11:11:30.533Z] Step 8/11 : COPY . . [2021-10-25T11:11:30.796Z] ---> 47d50e93a312 [2021-10-25T11:11:30.796Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-25T11:11:30.796Z] ---> Running in d38fdd63ec58 [2021-10-25T11:11:46.517Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1516 in /w/workspace/foundry_device-virtual-go_PR-245 [Pipeline] { [Pipeline] ws [2021-10-25T11:11:46.559Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-25T11:11:46.775Z] The recommended git tool is: git [2021-10-25T11:11:51.971Z] using credential edgex-jenkins-ssh [2021-10-25T11:11:51.992Z] Cloning the remote Git repository [2021-10-25T11:11:52.092Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:52.203Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-25T11:11:52.286Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:52.287Z] > git --version # timeout=10 [2021-10-25T11:11:52.309Z] > git --version # 'git version 2.17.1' [2021-10-25T11:11:52.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:52.379Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-25T11:11:53.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-25T11:11:53.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-25T11:11:54.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-25T11:11:54.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-25T11:11:54.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:54.081Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-25T11:11:54.625Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 6dcac8371f521195e7893ecabc371bde39b4ad43 [2021-10-25T11:11:54.811Z] Merge succeeded, producing 6dcac8371f521195e7893ecabc371bde39b4ad43 [2021-10-25T11:11:54.811Z] Checking out Revision 6dcac8371f521195e7893ecabc371bde39b4ad43 (PR-245) [2021-10-25T11:11:54.642Z] > git config core.sparsecheckout # timeout=10 [2021-10-25T11:11:54.654Z] > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 [2021-10-25T11:11:54.728Z] > git remote # timeout=10 [2021-10-25T11:11:54.739Z] > git config --get remote.origin.url # timeout=10 [2021-10-25T11:11:54.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-25T11:11:54.771Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-25T11:11:54.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-25T11:11:54.819Z] > git config core.sparsecheckout # timeout=10 [2021-10-25T11:11:54.836Z] > git checkout -f 6dcac8371f521195e7893ecabc371bde39b4ad43 # timeout=10 [2021-10-25T11:11:58.997Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-10-25T11:11:59.056Z] > git --version # timeout=10 [2021-10-25T11:11:59.068Z] > git --version # 'git version 2.17.1' [2021-10-25T11:11:59.084Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-25T11:12:00.155Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-25T11:12:00.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-25T11:12:00.155Z] Dload Upload Total Spent Left Speed [2021-10-25T11:12:00.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 88902 0 --:--:-- --:--:-- --:--:-- 88902 [Pipeline] sh [2021-10-25T11:12:00.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-25T11:12:00.955Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2021-10-25T11:12:00.955Z] /etc/docker/daemon.new [2021-10-25T11:12:00.955Z] { [2021-10-25T11:12:00.955Z] "registry-mirrors": [ [2021-10-25T11:12:00.955Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-25T11:12:00.955Z] ], [2021-10-25T11:12:00.955Z] "bip": "10.250.0.254/24", [2021-10-25T11:12:00.955Z] "hosts": [ [2021-10-25T11:12:00.955Z] "tcp://0.0.0.0:5555", [2021-10-25T11:12:00.955Z] "unix:///var/run/docker.sock" [2021-10-25T11:12:00.955Z] ], [2021-10-25T11:12:00.955Z] "mtu": 1458, [2021-10-25T11:12:00.955Z] "selinux-enabled": true, [2021-10-25T11:12:00.955Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-25T11:12:00.955Z] } [Pipeline] sh [2021-10-25T11:12:01.312Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-25T11:12:01.679Z] + sudo service docker restart [2021-10-25T11:12:09.571Z] Removing intermediate container d38fdd63ec58 [2021-10-25T11:12:09.572Z] ---> 6125c7c8e1ef [2021-10-25T11:12:09.572Z] Step 10/11 : ARG MAKE='make build' [2021-10-25T11:12:09.572Z] ---> Running in 35bfd40f4ade [2021-10-25T11:12:09.572Z] Removing intermediate container 35bfd40f4ade [2021-10-25T11:12:09.572Z] ---> 83bf9820a011 [2021-10-25T11:12:09.572Z] Step 11/11 : RUN $MAKE [2021-10-25T11:12:09.572Z] ---> Running in 1c1f09c61c33 [2021-10-25T11:12:09.572Z] noop [2021-10-25T11:12:09.572Z] Removing intermediate container 1c1f09c61c33 [2021-10-25T11:12:09.572Z] ---> c4849cbccff4 [2021-10-25T11:12:09.572Z] Successfully built c4849cbccff4 [2021-10-25T11:12:09.572Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:12:09.894Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-25T11:12:09.894Z] . [Pipeline] withDockerContainer [2021-10-25T11:12:09.983Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-10-25T11:12:10.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-25T11:12:10.409Z] $ docker top c3832ac143884a89d3762b479e2deb1c839672d6935b5d4b34449b2dd9f7b46a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-25T11:12:10.816Z] + go version [2021-10-25T11:12:10.816Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-25T11:12:10.844Z] $ docker stop --time=1 c3832ac143884a89d3762b479e2deb1c839672d6935b5d4b34449b2dd9f7b46a [2021-10-25T11:12:12.042Z] $ docker rm -f c3832ac143884a89d3762b479e2deb1c839672d6935b5d4b34449b2dd9f7b46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:12:12.728Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-25T11:12:12.728Z] . [Pipeline] withDockerContainer [2021-10-25T11:12:12.810Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-10-25T11:12:12.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-25T11:12:13.223Z] $ docker top c5c577038a5e1e3644f81d9c7e8c652b87ded364a8ab2131170fa4fcda908251 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-25T11:12:13.662Z] + go mod tidy [Pipeline] sh [2021-10-25T11:12:14.545Z] + make test [2021-10-25T11:12:14.545Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-25T11:12:14.810Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-25T11:12:20.119Z] provisioning config files... [2021-10-25T11:12:20.145Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3621578737039963160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:12:20.548Z] ---> docker-login.sh [2021-10-25T11:12:20.548Z] nexus3.edgexfoundry.org:10001 [2021-10-25T11:12:21.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:12:21.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:12:21.424Z] Configure a credential helper to remove this warning. See [2021-10-25T11:12:21.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:12:21.424Z] [2021-10-25T11:12:21.424Z] Login Succeeded [2021-10-25T11:12:21.424Z] nexus3.edgexfoundry.org:10002 [2021-10-25T11:12:22.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:12:22.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:12:22.029Z] Configure a credential helper to remove this warning. See [2021-10-25T11:12:22.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:12:22.029Z] [2021-10-25T11:12:22.029Z] Login Succeeded [2021-10-25T11:12:22.029Z] nexus3.edgexfoundry.org:10003 [2021-10-25T11:12:22.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:12:22.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:12:22.581Z] Configure a credential helper to remove this warning. See [2021-10-25T11:12:22.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:12:22.581Z] [2021-10-25T11:12:22.581Z] Login Succeeded [2021-10-25T11:12:22.581Z] nexus3.edgexfoundry.org:10004 [2021-10-25T11:12:22.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:12:23.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:12:23.130Z] Configure a credential helper to remove this warning. See [2021-10-25T11:12:23.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:12:23.130Z] [2021-10-25T11:12:23.130Z] Login Succeeded [2021-10-25T11:12:23.130Z] docker.io [2021-10-25T11:12:23.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-25T11:12:24.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-25T11:12:24.003Z] Configure a credential helper to remove this warning. See [2021-10-25T11:12:24.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-25T11:12:24.003Z] [2021-10-25T11:12:24.003Z] Login Succeeded [2021-10-25T11:12:24.003Z] ---> docker-login.sh ends [Pipeline] } [2021-10-25T11:12:24.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-25T11:12:24.575Z] ========================================================= [2021-10-25T11:12:24.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-25T11:12:24.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:12:25.026Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-25T11:12:25.633Z] Sending build context to Docker daemon 8.633MB [2021-10-25T11:12:25.633Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-25T11:12:25.633Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-25T11:12:25.633Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-25T11:12:25.633Z] 552d1f2373af: Pulling fs layer [2021-10-25T11:12:25.633Z] ea3f2d53f512: Pulling fs layer [2021-10-25T11:12:25.633Z] 9e70ebbbe112: Pulling fs layer [2021-10-25T11:12:25.633Z] 7a9cfe048b4a: Pulling fs layer [2021-10-25T11:12:25.633Z] 72dc09318566: Pulling fs layer [2021-10-25T11:12:25.633Z] f4f7b4309257: Pulling fs layer [2021-10-25T11:12:25.633Z] 0ac9a79272e3: Pulling fs layer [2021-10-25T11:12:25.633Z] b78e95d17946: Pulling fs layer [2021-10-25T11:12:25.633Z] 72dc09318566: Waiting [2021-10-25T11:12:25.633Z] f4f7b4309257: Waiting [2021-10-25T11:12:25.633Z] 0ac9a79272e3: Waiting [2021-10-25T11:12:25.633Z] b78e95d17946: Waiting [2021-10-25T11:12:25.633Z] 7a9cfe048b4a: Waiting [2021-10-25T11:12:25.633Z] ea3f2d53f512: Verifying Checksum [2021-10-25T11:12:25.633Z] ea3f2d53f512: Download complete [2021-10-25T11:12:25.633Z] 9e70ebbbe112: Verifying Checksum [2021-10-25T11:12:25.633Z] 9e70ebbbe112: Download complete [2021-10-25T11:12:25.908Z] 72dc09318566: Verifying Checksum [2021-10-25T11:12:25.908Z] 72dc09318566: Download complete [2021-10-25T11:12:25.908Z] 552d1f2373af: Verifying Checksum [2021-10-25T11:12:25.908Z] 552d1f2373af: Download complete [2021-10-25T11:12:25.908Z] f4f7b4309257: Verifying Checksum [2021-10-25T11:12:25.908Z] f4f7b4309257: Download complete [2021-10-25T11:12:25.908Z] 0ac9a79272e3: Verifying Checksum [2021-10-25T11:12:25.908Z] 0ac9a79272e3: Download complete [2021-10-25T11:12:26.507Z] 552d1f2373af: Pull complete [2021-10-25T11:12:27.494Z] ea3f2d53f512: Pull complete [2021-10-25T11:12:27.771Z] 9e70ebbbe112: Pull complete [2021-10-25T11:12:27.771Z] b78e95d17946: Verifying Checksum [2021-10-25T11:12:27.771Z] b78e95d17946: Download complete [2021-10-25T11:12:28.368Z] 7a9cfe048b4a: Verifying Checksum [2021-10-25T11:12:28.368Z] 7a9cfe048b4a: Download complete [2021-10-25T11:12:38.534Z] 7a9cfe048b4a: Pull complete [2021-10-25T11:12:38.534Z] 72dc09318566: Pull complete [2021-10-25T11:12:38.812Z] f4f7b4309257: Pull complete [2021-10-25T11:12:39.089Z] 0ac9a79272e3: Pull complete [2021-10-25T11:12:41.569Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-25T11:12:41.569Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.303s coverage: 64.6% of statements [2021-10-25T11:12:41.569Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-25T11:12:45.825Z] b78e95d17946: Pull complete [2021-10-25T11:12:45.825Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-25T11:12:45.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-25T11:12:45.825Z] ---> 8b459fc5aaf0 [2021-10-25T11:12:45.825Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-25T11:12:46.422Z] ---> Running in 970d17b7fa88 [2021-10-25T11:12:47.019Z] Removing intermediate container 970d17b7fa88 [2021-10-25T11:12:47.019Z] ---> 23c6586b2b11 [2021-10-25T11:12:47.019Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-25T11:12:47.019Z] ---> Running in 885c07d22d9f [2021-10-25T11:12:47.291Z] Removing intermediate container 885c07d22d9f [2021-10-25T11:12:47.291Z] ---> f69a4af167b1 [2021-10-25T11:12:47.291Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-25T11:12:47.565Z] ---> Running in 860b7223f38e [2021-10-25T11:12:47.838Z] Removing intermediate container 860b7223f38e [2021-10-25T11:12:47.838Z] ---> ca19b78c4bad [2021-10-25T11:12:47.838Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-25T11:12:48.113Z] ---> Running in 8d87753ccde6 [2021-10-25T11:12:48.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-25T11:12:48.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-25T11:12:48.258Z] ./bin/test-attribution-txt.sh [2021-10-25T11:12:48.258Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-25T11:12:48.258Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-25T11:12:48.258Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-10-25T11:12:48.294Z] $ docker stop --time=1 c5c577038a5e1e3644f81d9c7e8c652b87ded364a8ab2131170fa4fcda908251 [2021-10-25T11:12:49.687Z] $ docker rm -f c5c577038a5e1e3644f81d9c7e8c652b87ded364a8ab2131170fa4fcda908251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-25T11:12:50.090Z] Removing intermediate container 8d87753ccde6 [2021-10-25T11:12:50.090Z] ---> 568d05e54526 [2021-10-25T11:12:50.090Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-25T11:12:50.090Z] ---> Running in 21036d6853ec Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:12:51.074Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-25T11:12:51.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:12:51.216Z] [2021-10-25T11:12:51.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:12:51.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:12:51.565Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-25T11:12:51.565Z] b4d181a07f80: Pulling fs layer [2021-10-25T11:12:51.565Z] a1111a8f2ec3: Pulling fs layer [2021-10-25T11:12:51.565Z] ed53099fbce6: Pulling fs layer [2021-10-25T11:12:51.565Z] dc539afda2c1: Pulling fs layer [2021-10-25T11:12:51.565Z] 77bc0d833cb6: Pulling fs layer [2021-10-25T11:12:51.565Z] 9065ff56babe: Pulling fs layer [2021-10-25T11:12:51.565Z] d287ab97295c: Pulling fs layer [2021-10-25T11:12:51.565Z] dc539afda2c1: Waiting [2021-10-25T11:12:51.565Z] 77bc0d833cb6: Waiting [2021-10-25T11:12:51.565Z] 9065ff56babe: Waiting [2021-10-25T11:12:51.565Z] d287ab97295c: Waiting [2021-10-25T11:12:51.565Z] a1111a8f2ec3: Verifying Checksum [2021-10-25T11:12:51.565Z] a1111a8f2ec3: Download complete [2021-10-25T11:12:51.565Z] dc539afda2c1: Verifying Checksum [2021-10-25T11:12:51.565Z] dc539afda2c1: Download complete [2021-10-25T11:12:51.832Z] ed53099fbce6: Verifying Checksum [2021-10-25T11:12:51.832Z] ed53099fbce6: Download complete [2021-10-25T11:12:51.832Z] 77bc0d833cb6: Verifying Checksum [2021-10-25T11:12:51.832Z] 77bc0d833cb6: Download complete [2021-10-25T11:12:51.832Z] 9065ff56babe: Verifying Checksum [2021-10-25T11:12:51.832Z] 9065ff56babe: Download complete [2021-10-25T11:12:51.832Z] b4d181a07f80: Verifying Checksum [2021-10-25T11:12:51.832Z] b4d181a07f80: Download complete [2021-10-25T11:12:52.053Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-25T11:12:52.651Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-25T11:12:52.787Z] d287ab97295c: Verifying Checksum [2021-10-25T11:12:52.787Z] d287ab97295c: Download complete [2021-10-25T11:12:52.922Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-25T11:12:52.922Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-25T11:12:53.197Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-25T11:12:53.197Z] Executing busybox-1.33.1-r3.trigger [2021-10-25T11:12:53.197Z] OK: 223 MiB in 56 packages [2021-10-25T11:12:53.386Z] b4d181a07f80: Pull complete [2021-10-25T11:12:53.656Z] a1111a8f2ec3: Pull complete [2021-10-25T11:12:54.238Z] ed53099fbce6: Pull complete [2021-10-25T11:12:54.511Z] dc539afda2c1: Pull complete [2021-10-25T11:12:54.641Z] Removing intermediate container 21036d6853ec [2021-10-25T11:12:54.641Z] ---> 7dbcb756e22a [2021-10-25T11:12:54.641Z] Step 8/11 : COPY . . [2021-10-25T11:12:54.788Z] 77bc0d833cb6: Pull complete [2021-10-25T11:12:54.788Z] 9065ff56babe: Pull complete [2021-10-25T11:12:55.626Z] ---> 7c970ee958ea [2021-10-25T11:12:55.626Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-25T11:12:55.626Z] ---> Running in 15a51aad0b67 [2021-10-25T11:13:00.114Z] d287ab97295c: Pull complete [2021-10-25T11:13:00.114Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-25T11:13:00.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:13:00.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-25T11:13:00.201Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-10-25T11:13:00.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-25T11:13:02.336Z] $ docker top e40043c9306a476c0d1adccf194ae770bf98398627c0de0aa598e02a4be9735d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:13:02.872Z] ---> job-cost.sh [2021-10-25T11:13:02.872Z] lf-activate-venv: SKIPPING [2021-10-25T11:13:02.872Z] INFO: No Stack... [2021-10-25T11:13:03.449Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-25T11:13:03.710Z] INFO: Archiving Costs [Pipeline] sh [2021-10-25T11:13:04.024Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-10-25T11:13:04.024Z] cut -d, -f6 [Pipeline] lock [2021-10-25T11:13:04.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [2021-10-25T11:13:04.072Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] did not exist. Created. [2021-10-25T11:13:04.072Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-25T11:13:04.457Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-25T11:13:04.656Z] Stashed 1 file(s) [Pipeline] } [2021-10-25T11:13:04.671Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-25T11:13:04.728Z] $ docker stop --time=1 e40043c9306a476c0d1adccf194ae770bf98398627c0de0aa598e02a4be9735d [2021-10-25T11:13:05.852Z] $ docker rm -f e40043c9306a476c0d1adccf194ae770bf98398627c0de0aa598e02a4be9735d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-25T11:13:06.451Z] Failed in branch amd64 [2021-10-25T11:14:17.446Z] Removing intermediate container 15a51aad0b67 [2021-10-25T11:14:17.447Z] ---> 3e523e53c2be [2021-10-25T11:14:17.447Z] Step 10/11 : ARG MAKE='make build' [2021-10-25T11:14:17.447Z] ---> Running in 14e5a43af2c9 [2021-10-25T11:14:17.447Z] Removing intermediate container 14e5a43af2c9 [2021-10-25T11:14:17.447Z] ---> 46f839d44eb7 [2021-10-25T11:14:17.447Z] Step 11/11 : RUN $MAKE [2021-10-25T11:14:17.447Z] ---> Running in e86337580d00 [2021-10-25T11:14:17.447Z] noop [2021-10-25T11:14:17.447Z] Removing intermediate container e86337580d00 [2021-10-25T11:14:17.447Z] ---> 0b9656013871 [2021-10-25T11:14:17.447Z] Successfully built 0b9656013871 [2021-10-25T11:14:17.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:14:17.829Z] + docker inspect -f . ci-base-image-arm64 [2021-10-25T11:14:17.829Z] . [Pipeline] withDockerContainer [2021-10-25T11:14:18.124Z] prd-ubuntu18.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2021-10-25T11:14:18.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-25T11:14:19.705Z] $ docker top c2de2194319a3379c08699bf2262bda37c8124b7101b69d555053fccb0d6f10e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-25T11:14:20.722Z] + go version [2021-10-25T11:14:20.722Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-25T11:14:20.761Z] $ docker stop --time=1 c2de2194319a3379c08699bf2262bda37c8124b7101b69d555053fccb0d6f10e [2021-10-25T11:14:22.444Z] $ docker rm -f c2de2194319a3379c08699bf2262bda37c8124b7101b69d555053fccb0d6f10e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:14:23.446Z] + docker inspect -f . ci-base-image-arm64 [2021-10-25T11:14:23.447Z] . [Pipeline] withDockerContainer [2021-10-25T11:14:23.719Z] prd-ubuntu18.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2021-10-25T11:14:23.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-25T11:14:25.326Z] $ docker top 11a20e93bd8d067123f60fe3d8a04460add12bb2ea12f96649d89dc22172979e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-25T11:14:26.389Z] + go mod tidy [Pipeline] sh [2021-10-25T11:14:28.047Z] + make test [2021-10-25T11:14:28.047Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-25T11:14:29.492Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-25T11:15:37.566Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-25T11:15:37.566Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.723s coverage: 64.6% of statements [2021-10-25T11:15:37.566Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-25T11:16:04.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-25T11:16:04.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-25T11:16:04.375Z] ./bin/test-attribution-txt.sh [2021-10-25T11:16:04.375Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-25T11:16:04.375Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-25T11:16:04.968Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-10-25T11:16:05.004Z] $ docker stop --time=1 11a20e93bd8d067123f60fe3d8a04460add12bb2ea12f96649d89dc22172979e [2021-10-25T11:16:06.868Z] $ docker rm -f 11a20e93bd8d067123f60fe3d8a04460add12bb2ea12f96649d89dc22172979e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:16:08.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-25T11:16:08.401Z] [2021-10-25T11:16:08.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:16:08.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-25T11:16:09.061Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-25T11:16:09.061Z] 448f6bf000e3: Pulling fs layer [2021-10-25T11:16:09.061Z] f757da607395: Pulling fs layer [2021-10-25T11:16:09.061Z] 05883995daec: Pulling fs layer [2021-10-25T11:16:09.061Z] 8603b9c90790: Pulling fs layer [2021-10-25T11:16:09.061Z] 1560dd03e051: Pulling fs layer [2021-10-25T11:16:09.061Z] 27f5ce0e4adf: Pulling fs layer [2021-10-25T11:16:09.061Z] c2d8d7efcc4b: Pulling fs layer [2021-10-25T11:16:09.061Z] 1560dd03e051: Waiting [2021-10-25T11:16:09.061Z] 8603b9c90790: Waiting [2021-10-25T11:16:09.061Z] 27f5ce0e4adf: Waiting [2021-10-25T11:16:09.061Z] c2d8d7efcc4b: Waiting [2021-10-25T11:16:09.061Z] f757da607395: Verifying Checksum [2021-10-25T11:16:09.061Z] f757da607395: Download complete [2021-10-25T11:16:09.061Z] 8603b9c90790: Verifying Checksum [2021-10-25T11:16:09.061Z] 8603b9c90790: Download complete [2021-10-25T11:16:09.339Z] 1560dd03e051: Verifying Checksum [2021-10-25T11:16:09.339Z] 1560dd03e051: Download complete [2021-10-25T11:16:09.339Z] 05883995daec: Verifying Checksum [2021-10-25T11:16:09.339Z] 05883995daec: Download complete [2021-10-25T11:16:09.339Z] 27f5ce0e4adf: Download complete [2021-10-25T11:16:09.613Z] 448f6bf000e3: Verifying Checksum [2021-10-25T11:16:09.613Z] 448f6bf000e3: Download complete [2021-10-25T11:16:12.239Z] c2d8d7efcc4b: Verifying Checksum [2021-10-25T11:16:12.239Z] c2d8d7efcc4b: Download complete [2021-10-25T11:16:13.261Z] 448f6bf000e3: Pull complete [2021-10-25T11:16:14.320Z] f757da607395: Pull complete [2021-10-25T11:16:15.815Z] 05883995daec: Pull complete [2021-10-25T11:16:16.088Z] 8603b9c90790: Pull complete [2021-10-25T11:16:17.066Z] 1560dd03e051: Pull complete [2021-10-25T11:16:17.340Z] 27f5ce0e4adf: Pull complete [2021-10-25T11:16:32.428Z] c2d8d7efcc4b: Pull complete [2021-10-25T11:16:32.428Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-25T11:16:32.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-25T11:16:32.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-25T11:16:32.667Z] prd-ubuntu18.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2021-10-25T11:16:32.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-25T11:16:35.511Z] $ docker top 2aecfa4c12646e0a57b1b0660b3fd6c89f60cc71f6e21563a0fc9ca3eb8cebd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:16:36.513Z] ---> job-cost.sh [2021-10-25T11:16:36.513Z] lf-activate-venv: SKIPPING [2021-10-25T11:16:36.513Z] INFO: No Stack... [2021-10-25T11:16:37.108Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-25T11:16:37.380Z] INFO: Archiving Costs [Pipeline] sh [2021-10-25T11:16:38.058Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-10-25T11:16:38.058Z] + cut -d, -f6 [Pipeline] lock [2021-10-25T11:16:38.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [2021-10-25T11:16:38.139Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] did not exist. Created. [2021-10-25T11:16:38.139Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-25T11:16:38.866Z] /w/workspace/device-virtual-go/1@tmp/durable-ea515c24/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-ea515c24/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-25T11:16:39.552Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-25T11:16:39.585Z] Warning: overwriting stash ‘stack-cost’ [2021-10-25T11:16:40.012Z] Stashed 1 file(s) [Pipeline] } [2021-10-25T11:16:40.027Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-25T11:16:40.074Z] $ docker stop --time=1 2aecfa4c12646e0a57b1b0660b3fd6c89f60cc71f6e21563a0fc9ca3eb8cebd7 [2021-10-25T11:16:41.598Z] $ docker rm -f 2aecfa4c12646e0a57b1b0660b3fd6c89f60cc71f6e21563a0fc9ca3eb8cebd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-25T11:16:42.285Z] Failed in branch arm64 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-25T11:16:44.682Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-245/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:16:45.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:16:45.611Z] ---> package-listing.sh [2021-10-25T11:16:45.611Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-25T11:16:45.611Z] ++ facter osfamily [2021-10-25T11:16:45.873Z] + OS_FAMILY=redhat [2021-10-25T11:16:45.874Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-245 [2021-10-25T11:16:45.874Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-25T11:16:45.874Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-25T11:16:45.874Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-25T11:16:45.874Z] + PACKAGES=/tmp/packages_start.txt [2021-10-25T11:16:45.874Z] + '[' /w/workspace/foundry_device-virtual-go_PR-245 ']' [2021-10-25T11:16:45.874Z] + PACKAGES=/tmp/packages_end.txt [2021-10-25T11:16:45.874Z] + case "${OS_FAMILY}" in [2021-10-25T11:16:45.874Z] + rpm -qa [2021-10-25T11:16:45.874Z] + sort [2021-10-25T11:16:46.444Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-25T11:16:46.444Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-25T11:16:46.444Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-25T11:16:46.444Z] + '[' /w/workspace/foundry_device-virtual-go_PR-245 ']' [2021-10-25T11:16:46.444Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-245/archives/ [2021-10-25T11:16:46.444Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-245/archives/ [Pipeline] echo [2021-10-25T11:16:46.469Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-25T11:16:46.770Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:16:47.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:16:47.350Z] [2021-10-25T11:16:47.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-25T11:16:47.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:16:47.694Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-25T11:16:47.694Z] b4d181a07f80: Pulling fs layer [2021-10-25T11:16:47.694Z] a1111a8f2ec3: Pulling fs layer [2021-10-25T11:16:47.694Z] ed53099fbce6: Pulling fs layer [2021-10-25T11:16:47.694Z] dc539afda2c1: Pulling fs layer [2021-10-25T11:16:47.694Z] 77bc0d833cb6: Pulling fs layer [2021-10-25T11:16:47.694Z] 9065ff56babe: Pulling fs layer [2021-10-25T11:16:47.694Z] d287ab97295c: Pulling fs layer [2021-10-25T11:16:47.694Z] dc539afda2c1: Waiting [2021-10-25T11:16:47.694Z] 77bc0d833cb6: Waiting [2021-10-25T11:16:47.694Z] 9065ff56babe: Waiting [2021-10-25T11:16:47.694Z] d287ab97295c: Waiting [2021-10-25T11:16:47.694Z] a1111a8f2ec3: Verifying Checksum [2021-10-25T11:16:47.694Z] a1111a8f2ec3: Download complete [2021-10-25T11:16:47.694Z] dc539afda2c1: Verifying Checksum [2021-10-25T11:16:47.694Z] dc539afda2c1: Download complete [2021-10-25T11:16:47.959Z] 77bc0d833cb6: Verifying Checksum [2021-10-25T11:16:47.959Z] 77bc0d833cb6: Download complete [2021-10-25T11:16:47.959Z] ed53099fbce6: Verifying Checksum [2021-10-25T11:16:47.959Z] ed53099fbce6: Download complete [2021-10-25T11:16:47.959Z] 9065ff56babe: Verifying Checksum [2021-10-25T11:16:47.959Z] 9065ff56babe: Download complete [2021-10-25T11:16:47.959Z] b4d181a07f80: Verifying Checksum [2021-10-25T11:16:47.959Z] b4d181a07f80: Download complete [2021-10-25T11:16:48.547Z] d287ab97295c: Verifying Checksum [2021-10-25T11:16:48.547Z] d287ab97295c: Download complete [2021-10-25T11:16:49.509Z] b4d181a07f80: Pull complete [2021-10-25T11:16:49.509Z] a1111a8f2ec3: Pull complete [2021-10-25T11:16:50.096Z] ed53099fbce6: Pull complete [2021-10-25T11:16:50.362Z] dc539afda2c1: Pull complete [2021-10-25T11:16:50.625Z] 77bc0d833cb6: Pull complete [2021-10-25T11:16:50.625Z] 9065ff56babe: Pull complete [2021-10-25T11:16:55.964Z] d287ab97295c: Pull complete [2021-10-25T11:16:55.964Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-25T11:16:55.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-25T11:16:55.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-25T11:16:56.053Z] prd-centos7-docker-4c-2g-1514 does not seem to be running inside a container [2021-10-25T11:16:56.088Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-245/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-245 -v /w/workspace/foundry_device-virtual-go_PR-245:/w/workspace/foundry_device-virtual-go_PR-245:rw,z -v /w/workspace/foundry_device-virtual-go_PR-245@tmp:/w/workspace/foundry_device-virtual-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-25T11:16:58.407Z] $ docker top 420050edad344d6454b37d30acbc42af1bea44d8cca81b69aafa18b4b233e612 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-25T11:16:58.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-25T11:16:59.118Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-25T11:16:59.425Z] + ls /var/log/sa-host [2021-10-25T11:16:59.425Z] + sadf -c /var/log/sa-host/sa25 [2021-10-25T11:16:59.425Z] file_magic: OK [2021-10-25T11:16:59.425Z] HZ: Using current value: 100 [2021-10-25T11:16:59.425Z] file_header: OK [2021-10-25T11:16:59.425Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-25T11:16:59.425Z] Statistics: [2021-10-25T11:16:59.425Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-25T11:16:59.425Z] File successfully converted to sysstat format version 12.0.3 [2021-10-25T11:16:59.425Z] + sadf -c /var/log/sa-host/sa30 [2021-10-25T11:16:59.425Z] file_magic: OK [2021-10-25T11:16:59.425Z] HZ: Using current value: 100 [2021-10-25T11:16:59.425Z] file_header: OK [2021-10-25T11:16:59.425Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-25T11:16:59.425Z] Statistics: [2021-10-25T11:16:59.425Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-25T11:16:59.425Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-25T11:16:59.705Z] provisioning config files... [2021-10-25T11:16:59.716Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-245@tmp/config4813573201848152441tmp [Pipeline] { [Pipeline] echo [2021-10-25T11:16:59.755Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:17:00.072Z] ---> create-netrc.sh [Pipeline] } [2021-10-25T11:17:00.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:17:00.513Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-25T11:17:00.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:17:00.857Z] ---> sudo-logs.sh [2021-10-25T11:17:00.857Z] Archiving 'sudo' log.. [2021-10-25T11:17:00.857Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1514.novalocal: Name or service not known [2021-10-25T11:17:00.857Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1514.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-25T11:17:00.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:17:01.254Z] ---> job-cost.sh [2021-10-25T11:17:01.254Z] lf-activate-venv: SKIPPING [2021-10-25T11:17:01.254Z] DEBUG: total: 0.10999999940395355 [2021-10-25T11:17:01.254Z] INFO: Retrieving Stack Cost... [2021-10-25T11:17:11.252Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-25T11:17:11.252Z] INFO: Archiving Costs [Pipeline] echo [2021-10-25T11:17:11.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-25T11:17:11.594Z] ---> logs-deploy.sh [2021-10-25T11:17:11.594Z] lf-activate-venv: SKIPPING [2021-10-25T11:17:11.594Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-245/1 [2021-10-25T11:17:11.594Z] INFO: archiving workspace using pattern(s): [2021-10-25T11:17:12.172Z] Archives upload complete. [2021-10-25T11:17:12.434Z] INFO: archiving logs to Nexus