Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2c9dfba109846ec6e3a71fe827451a179e021c5b rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 2c9dfba109846ec6e3a71fe827451a179e021c5b 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-ssh18018697210976811859.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh10089800896608863155.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6302975072340928085.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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 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-ssh15861116652651019906.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-sdk-go/branches/PR-1073/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3949897513675344682.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-902 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1073 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh903520041042790292.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh400285931813868980.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing ad708122bcb9d2776f4dcf5813d37915a03d06b8 Checking out Revision ad708122bcb9d2776f4dcf5813d37915a03d06b8 (PR-1073) > git config core.sparsecheckout # timeout=10 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # 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/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh2222974864577562452.key > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad708122bcb9d2776f4dcf5813d37915a03d06b8 # timeout=10 Commit message: "Merge commit '2c9dfba109846ec6e3a71fe827451a179e021c5b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:41:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:14 ========================================================= 06:41:14 EdgeX Global Pipelines Version Info 06:41:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 906aed6814f7a6e4ec1f158a40215af29c0e1073 # timeout=10 06:41:15 ------------------- 06:41:15 stable info: 06:41:15 ------------------- 06:41:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:15 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 06:41:15 Message: update stable to v1.0.217 06:41:16 ------------------- 06:41:16 experimental info: 06:41:16 ------------------- 06:41:16 Commited By: **** collab-it+edgex@linuxfoundation.org 06:41:16 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 06:41:16 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad708122bcb9d2776f4dcf5813d37915a03d06b8 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad70812 [Pipeline] echo 06:41:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:16 provisioning config files... 06:41:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config4520499858024056635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:17 ---> docker-login.sh 06:41:17 nexus3.edgexfoundry.org:10001 06:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:17 Configure a credential helper to remove this warning. See 06:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:17 06:41:17 Login Succeeded 06:41:17 nexus3.edgexfoundry.org:10002 06:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:17 Configure a credential helper to remove this warning. See 06:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:17 06:41:17 Login Succeeded 06:41:17 nexus3.edgexfoundry.org:10003 06:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:17 Configure a credential helper to remove this warning. See 06:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:17 06:41:17 Login Succeeded 06:41:17 nexus3.edgexfoundry.org:10004 06:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:17 Configure a credential helper to remove this warning. See 06:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:17 06:41:17 Login Succeeded 06:41:17 docker.io 06:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:18 Configure a credential helper to remove this warning. See 06:41:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:18 06:41:18 Login Succeeded 06:41:18 ---> docker-login.sh ends [Pipeline] } 06:41:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:41:18 + git rev-list -1 --merges ad708122bcb9d2776f4dcf5813d37915a03d06b8~1..ad708122bcb9d2776f4dcf5813d37915a03d06b8 [Pipeline] echo 06:41:18 -----------> git rev-list -1 --merges ad708122bcb9d2776f4dcf5813d37915a03d06b8~1..ad708122bcb9d2776f4dcf5813d37915a03d06b8 ad708122bcb9d2776f4dcf5813d37915a03d06b8 06:41:18 ad708122bcb9d2776f4dcf5813d37915a03d06b8 [false] [Pipeline] sh 06:41:18 + git log --format=format:%s -1 ad708122bcb9d2776f4dcf5813d37915a03d06b8 [Pipeline] echo 06:41:19 ========================================================= 06:41:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:41:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:19 + git log --format=format:%s -1 ad708122bcb9d2776f4dcf5813d37915a03d06b8 [Pipeline] echo 06:41:19 [semverPrep] GIT_COMMIT: ad708122bcb9d2776f4dcf5813d37915a03d06b8, Commit Message: Merge commit '2c9dfba109846ec6e3a71fe827451a179e021c5b' into HEAD [Pipeline] echo 06:41:19 [semverPrep] This is not a build commit. [Pipeline] sh 06:41:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:41:19 + grep -v github /etc/ssh/ssh_known_hosts 06:41:19 + '[' -e /tmp/ssh_known_hosts ']' 06:41:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:41:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 06:41:19 + sudo tee -a /etc/ssh/ssh_known_hosts 06:41:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:41:20 06:41:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:41:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:41:20 latest: Pulling from edgex-devops/git-semver 06:41:20 a0d0a0d46f8b: Pulling fs layer 06:41:20 3e5f54012d9b: Pulling fs layer 06:41:20 4c7163046ea9: Pulling fs layer 06:41:20 0c2d73faf560: Pulling fs layer 06:41:20 0c2d73faf560: Waiting 06:41:20 3e5f54012d9b: Verifying Checksum 06:41:20 3e5f54012d9b: Download complete 06:41:20 a0d0a0d46f8b: Verifying Checksum 06:41:20 a0d0a0d46f8b: Download complete 06:41:20 0c2d73faf560: Verifying Checksum 06:41:20 0c2d73faf560: Download complete 06:41:20 4c7163046ea9: Verifying Checksum 06:41:20 4c7163046ea9: Download complete 06:41:20 a0d0a0d46f8b: Pull complete 06:41:20 3e5f54012d9b: Pull complete 06:41:21 4c7163046ea9: Pull complete 06:41:21 0c2d73faf560: Pull complete 06:41:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:41:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:41:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:41:21 prd-centos7-docker-4c-2g-902 does not seem to be running inside a container 06:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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:10004/edgex-devops/git-semver:latest cat 06:41:22 $ docker top b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:22 [ssh-agent] Looking for ssh-agent implementation... 06:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:22 $ docker exec b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 ssh-agent 06:41:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcDFBMJ/agent.15 06:41:22 SSH_AGENT_PID=21 06:41:22 Running ssh-add (command line suppressed) 06:41:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_1633863227929448912.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_1633863227929448912.key) 06:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:22 + git tag --points-at HEAD [Pipeline] } 06:41:22 $ docker exec --env ******** --env ******** b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 ssh-agent -k 06:41:22 unset SSH_AUTH_SOCK; 06:41:22 unset SSH_AGENT_PID; 06:41:22 echo Agent pid 21 killed; 06:41:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:22 [ssh-agent] Looking for ssh-agent implementation... 06:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:22 $ docker exec b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 ssh-agent 06:41:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLHhMpi/agent.57 06:41:23 SSH_AGENT_PID=63 06:41:23 Running ssh-add (command line suppressed) 06:41:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_2260555596135408866.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_2260555596135408866.key) 06:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:23 + git semver init 06:41:23 # -> Open(): unable to determine branch for HEAD 06:41:23 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git 06:41:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 06:41:23 # $SEMVER_REMOTE_NAME = origin 06:41:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:41:23 # $SEMVER_USER_NAME = edgex-jenkins 06:41:23 # $SEMVER_BRANCH = PR-1073 06:41:23 # $SEMVER_TEMP = /tmp/semver-024751998 06:41:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:41:24 # '/tmp/semver-024751998' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' 06:41:24 # -> Force: false 06:41:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } 06:41:24 $ docker exec --env ******** --env ******** b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 ssh-agent -k 06:41:24 unset SSH_AUTH_SOCK; 06:41:24 unset SSH_AGENT_PID; 06:41:24 echo Agent pid 63 killed; 06:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:24 + git semver [Pipeline] } 06:41:24 $ docker stop --time=1 b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 06:41:26 $ docker rm -f b6a473239e7c97a5edb0b2cbf4f1a2bd99beec02bd4735ec43ce1a142080e888 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:26 Stashed 1 file(s) [Pipeline] echo 06:41:26 [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 06:41:41 Still waiting to schedule task 06:41:41 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-902’ 06:41:41 Still waiting to schedule task 06:41:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:43:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-903 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws 06:43:06 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:43:06 The recommended git tool is: git 06:43:11 using credential edgex-jenkins-ssh 06:43:11 Cloning the remote Git repository 06:43:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:43:11 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:43:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:11 > git --version # timeout=10 06:43:11 > git --version # 'git version 2.17.1' 06:43:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:43:16 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce 06:43:16 Merge succeeded, producing db2bab0c54e98d46244a5d51566381b09d9b4176 06:43:16 Checking out Revision db2bab0c54e98d46244a5d51566381b09d9b4176 (PR-1073) 06:43:16 > git config core.sparsecheckout # timeout=10 06:43:16 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 06:43:16 > git remote # timeout=10 06:43:16 > git config --get remote.origin.url # timeout=10 06:43:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:16 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 06:43:16 > git rev-parse HEAD^{commit} # timeout=10 06:43:16 > git config core.sparsecheckout # timeout=10 06:43:16 > git checkout -f db2bab0c54e98d46244a5d51566381b09d9b4176 # timeout=10 06:43:20 Commit message: "Merge commit '2c9dfba109846ec6e3a71fe827451a179e021c5b' into HEAD" 06:43:20 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:43:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:21 Dload Upload Total Spent Left Speed 06:43:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 87585 0 --:--:-- --:--:-- --:--:-- 87585 06:43:20 > git rev-list --no-walk 906aed6814f7a6e4ec1f158a40215af29c0e1073 # timeout=10 [Pipeline] sh 06:43:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:43:22 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:43:22 06:43:22 { 06:43:22 "registry-mirrors": [ 06:43:22 "https://nexus3.edgexfoundry.org:10001" 06:43:22 ], 06:43:22 "bip": "10.250.0.254/24", 06:43:22 "hosts": [ 06:43:22 "tcp://0.0.0.0:5555", 06:43:22 "unix:///var/run/docker.sock" 06:43:22 ], 06:43:22 "mtu": 1458, 06:43:22 "selinux-enabled": true, 06:43:22 "seccomp-profile": "/etc/docker/seccomp.json" 06:43:22 } [Pipeline] sh 06:43:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:43:23 + sudo service docker restart 06:43:36 Running on prd-centos7-docker-4c-2g-904 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws 06:43:36 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:43:36 The recommended git tool is: git 06:43:38 using credential edgex-jenkins-ssh 06:43:38 Cloning the remote Git repository 06:43:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:43:38 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:43:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:38 > git --version # timeout=10 06:43:38 > git --version # 'git version 2.24.4' 06:43:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:38 [INFO] Currently running in a labeled security context 06:43:38 [INFO] Currently SELinux is 'enforcing' on the host 06:43:38 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh9129697740621684777.key 06:43:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:39 [INFO] Currently running in a labeled security context 06:43:39 [INFO] Currently SELinux is 'enforcing' on the host 06:43:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3848956044009843449.key 06:43:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:43:40 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce 06:43:40 Merge succeeded, producing b859a56b9fe5d2d3fc7a4004045f7aec825e5060 06:43:40 Checking out Revision b859a56b9fe5d2d3fc7a4004045f7aec825e5060 (PR-1073) 06:43:40 > git config core.sparsecheckout # timeout=10 06:43:40 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 06:43:40 > git remote # timeout=10 06:43:40 > git config --get remote.origin.url # timeout=10 06:43:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:40 [INFO] Currently running in a labeled security context 06:43:40 [INFO] Currently SELinux is 'enforcing' on the host 06:43:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2567767994075949139.key 06:43:40 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 06:43:40 > git rev-parse HEAD^{commit} # timeout=10 06:43:40 > git config core.sparsecheckout # timeout=10 06:43:40 > git checkout -f b859a56b9fe5d2d3fc7a4004045f7aec825e5060 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:41 provisioning config files... 06:43:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config271293886375464387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:41 ---> docker-login.sh 06:43:41 nexus3.edgexfoundry.org:10001 06:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:42 Configure a credential helper to remove this warning. See 06:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:42 06:43:42 Login Succeeded 06:43:42 nexus3.edgexfoundry.org:10002 06:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:42 Configure a credential helper to remove this warning. See 06:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:42 06:43:42 Login Succeeded 06:43:42 nexus3.edgexfoundry.org:10003 06:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:43 Configure a credential helper to remove this warning. See 06:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:43 06:43:43 Login Succeeded 06:43:43 nexus3.edgexfoundry.org:10004 06:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:43 Configure a credential helper to remove this warning. See 06:43:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:43 06:43:43 Login Succeeded 06:43:43 docker.io 06:43:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:44 Commit message: "Merge commit '2c9dfba109846ec6e3a71fe827451a179e021c5b' into HEAD" 06:43:44 First time build. Skipping changelog. 06:43:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:44 Configure a credential helper to remove this warning. See 06:43:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:44 06:43:44 Login Succeeded 06:43:44 ---> docker-login.sh ends [Pipeline] } 06:43:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:44 provisioning config files... 06:43:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4312223006367787149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:44 ---> docker-login.sh 06:43:44 nexus3.edgexfoundry.org:10001 06:43:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:44 Configure a credential helper to remove this warning. See 06:43:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:44 06:43:44 Login Succeeded 06:43:44 nexus3.edgexfoundry.org:10002 [Pipeline] echo 06:43:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:44 ========================================================= 06:43:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:43:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 nexus3.edgexfoundry.org:10003 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 nexus3.edgexfoundry.org:10004 06:43:44 > git rev-list --no-walk 906aed6814f7a6e4ec1f158a40215af29c0e1073 # timeout=10 06:43:45 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 docker.io 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 ---> docker-login.sh ends [Pipeline] } 06:43:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 06:43:45 Sending build context to Docker daemon 29.39MB 06:43:45 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 06:43:45 Step 2/10 : FROM ${BASE} AS builder [Pipeline] echo 06:43:45 ========================================================= 06:43:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:43:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:43:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:43:46 552d1f2373af: Pulling fs layer 06:43:46 ea3f2d53f512: Pulling fs layer 06:43:46 9e70ebbbe112: Pulling fs layer 06:43:46 7a9cfe048b4a: Pulling fs layer 06:43:46 72dc09318566: Pulling fs layer 06:43:46 f4f7b4309257: Pulling fs layer 06:43:46 0ac9a79272e3: Pulling fs layer 06:43:46 b78e95d17946: Pulling fs layer 06:43:46 f4f7b4309257: Waiting 06:43:46 7a9cfe048b4a: Waiting 06:43:46 72dc09318566: Waiting 06:43:46 0ac9a79272e3: Waiting 06:43:46 b78e95d17946: Waiting 06:43:46 9e70ebbbe112: Verifying Checksum 06:43:46 9e70ebbbe112: Download complete 06:43:46 ea3f2d53f512: Verifying Checksum 06:43:46 ea3f2d53f512: Download complete 06:43:46 f4f7b4309257: Download complete 06:43:46 552d1f2373af: Download complete 06:43:46 0ac9a79272e3: Verifying Checksum 06:43:46 0ac9a79272e3: Download complete 06:43:46 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 06:43:46 Sending build context to Docker daemon 29.39MB 06:43:46 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 06:43:46 Step 2/10 : FROM ${BASE} AS builder 06:43:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:43:46 a0d0a0d46f8b: Pulling fs layer 06:43:46 31adcdaf11c8: Pulling fs layer 06:43:46 b8b176561691: Pulling fs layer 06:43:46 4527c011a84f: Pulling fs layer 06:43:46 5d74067f8e1e: Pulling fs layer 06:43:46 e0aca202a116: Pulling fs layer 06:43:46 3a43be97a3b4: Pulling fs layer 06:43:46 34cad66bf833: Pulling fs layer 06:43:46 b4e3c513aaa6: Pulling fs layer 06:43:46 4527c011a84f: Waiting 06:43:46 5d74067f8e1e: Waiting 06:43:46 e0aca202a116: Waiting 06:43:46 3a43be97a3b4: Waiting 06:43:46 34cad66bf833: Waiting 06:43:46 b8b176561691: Verifying Checksum 06:43:46 b8b176561691: Download complete 06:43:46 31adcdaf11c8: Verifying Checksum 06:43:46 31adcdaf11c8: Download complete 06:43:46 5d74067f8e1e: Verifying Checksum 06:43:46 5d74067f8e1e: Download complete 06:43:46 e0aca202a116: Verifying Checksum 06:43:46 e0aca202a116: Download complete 06:43:46 3a43be97a3b4: Verifying Checksum 06:43:46 3a43be97a3b4: Download complete 06:43:46 a0d0a0d46f8b: Verifying Checksum 06:43:46 a0d0a0d46f8b: Download complete 06:43:46 34cad66bf833: Verifying Checksum 06:43:46 34cad66bf833: Download complete 06:43:46 a0d0a0d46f8b: Pull complete 06:43:46 31adcdaf11c8: Pull complete 06:43:46 b8b176561691: Pull complete 06:43:46 4527c011a84f: Verifying Checksum 06:43:46 4527c011a84f: Download complete 06:43:47 552d1f2373af: Pull complete 06:43:47 b4e3c513aaa6: Verifying Checksum 06:43:47 b4e3c513aaa6: Download complete 06:43:47 ea3f2d53f512: Pull complete 06:43:47 9e70ebbbe112: Pull complete 06:43:47 b78e95d17946: Verifying Checksum 06:43:48 7a9cfe048b4a: Verifying Checksum 06:43:48 7a9cfe048b4a: Download complete 06:43:51 4527c011a84f: Pull complete 06:43:51 5d74067f8e1e: Pull complete 06:43:51 e0aca202a116: Pull complete 06:43:51 3a43be97a3b4: Pull complete 06:43:51 34cad66bf833: Pull complete 06:43:53 b4e3c513aaa6: Pull complete 06:43:53 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 06:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:43:53 ---> 9f6097aaca64 06:43:53 Step 3/10 : ARG MAKE=make build 06:43:55 ---> Running in 4180da5205fd 06:43:55 Removing intermediate container 4180da5205fd 06:43:55 ---> b4284aa83e8a 06:43:55 Step 4/10 : WORKDIR /device-sdk-go 06:43:55 ---> Running in 04b9986f0c3c 06:43:55 Removing intermediate container 04b9986f0c3c 06:43:55 ---> f4a6a2ab370f 06:43:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:55 ---> Running in 387492049c83 06:43:55 Removing intermediate container 387492049c83 06:43:55 ---> f2e2506aca34 06:43:55 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:55 ---> Running in 9006019909b2 06:43:55 Removing intermediate container 9006019909b2 06:43:55 ---> 74ee6b046048 06:43:55 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:43:55 ---> Running in a66c37965b0f 06:43:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:43:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:43:57 OK: 220 MiB in 52 packages 06:43:57 Removing intermediate container a66c37965b0f 06:43:57 ---> c7966caf2c61 06:43:57 Step 8/10 : COPY . . 06:43:57 ---> bc7130fb707b 06:43:57 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:57 ---> Running in 04832deda11c 06:44:00 7a9cfe048b4a: Pull complete 06:44:00 72dc09318566: Pull complete 06:44:00 f4f7b4309257: Pull complete 06:44:00 0ac9a79272e3: Pull complete 06:44:06 b78e95d17946: Pull complete 06:44:06 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 06:44:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:44:06 ---> 8b459fc5aaf0 06:44:06 Step 3/10 : ARG MAKE=make build 06:44:07 ---> Running in 18344cc39f2e 06:44:07 Removing intermediate container 18344cc39f2e 06:44:07 ---> 1b2a17b9cc74 06:44:07 Step 4/10 : WORKDIR /device-sdk-go 06:44:07 ---> Running in 673764b37124 06:44:08 Removing intermediate container 673764b37124 06:44:08 ---> 5baddfd07aac 06:44:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:08 ---> Running in fbbf348025a5 06:44:08 Removing intermediate container fbbf348025a5 06:44:08 ---> d0c82e3f0fdb 06:44:08 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:08 ---> Running in fe8941efb6ba 06:44:10 Removing intermediate container fe8941efb6ba 06:44:10 ---> eb28f05a8e8b 06:44:10 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:10 ---> Running in c960d418e9fc 06:44:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:44:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:44:13 OK: 219 MiB in 52 packages 06:44:13 Removing intermediate container c960d418e9fc 06:44:13 ---> dea24a4b87aa 06:44:13 Step 8/10 : COPY . . 06:44:15 ---> e3edcaccfa44 06:44:15 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:15 ---> Running in ae00641d004b 06:44:30 Removing intermediate container 04832deda11c 06:44:30 ---> 1b807a28eedd 06:44:30 Step 10/10 : RUN ${MAKE} 06:44:30 ---> Running in 2ba0d246fa85 06:44:30 noop 06:44:30 Removing intermediate container 2ba0d246fa85 06:44:30 ---> e1cc46e44b8a 06:44:30 Successfully built e1cc46e44b8a 06:44:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:44:30 + docker inspect -f . ci-base-image-x86_64 06:44:30 . [Pipeline] withDockerContainer 06:44:30 prd-centos7-docker-4c-2g-904 does not seem to be running inside a container 06:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:30 $ docker top df74c2824d2c23e3f6b961d8191d8ab9b81d97b29e2a944ca0ccf151415079bd -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:31 + go version 06:44:31 go version go1.16.8 linux/amd64 [Pipeline] } 06:44:31 $ docker stop --time=1 df74c2824d2c23e3f6b961d8191d8ab9b81d97b29e2a944ca0ccf151415079bd 06:44:32 $ docker rm -f df74c2824d2c23e3f6b961d8191d8ab9b81d97b29e2a944ca0ccf151415079bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:32 + docker inspect -f . ci-base-image-x86_64 06:44:32 . [Pipeline] withDockerContainer 06:44:32 prd-centos7-docker-4c-2g-904 does not seem to be running inside a container 06:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:33 $ docker top e59b5d39b2fdcdc090056baffccf7a872348f29c7540e870d0cc06e9a5de4066 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:44:33 + make test 06:44:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:44:33 internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 06:44:33 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 06:44:33 internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 06:44:33 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 06:44:33 internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: 06:44:33 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 06:44:33 make: *** [Makefile:35: test] Error 1 [Pipeline] } 06:44:33 $ docker stop --time=1 e59b5d39b2fdcdc090056baffccf7a872348f29c7540e870d0cc06e9a5de4066 06:44:35 $ docker rm -f e59b5d39b2fdcdc090056baffccf7a872348f29c7540e870d0cc06e9a5de4066 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:35 06:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:44:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:36 latest: Pulling from edgex-lftools-log-publisher 06:44:36 b4d181a07f80: Pulling fs layer 06:44:36 a1111a8f2ec3: Pulling fs layer 06:44:36 ed53099fbce6: Pulling fs layer 06:44:36 dc539afda2c1: Pulling fs layer 06:44:36 77bc0d833cb6: Pulling fs layer 06:44:36 9065ff56babe: Pulling fs layer 06:44:36 d287ab97295c: Pulling fs layer 06:44:36 dc539afda2c1: Waiting 06:44:36 77bc0d833cb6: Waiting 06:44:36 9065ff56babe: Waiting 06:44:36 d287ab97295c: Waiting 06:44:36 a1111a8f2ec3: Verifying Checksum 06:44:36 a1111a8f2ec3: Download complete 06:44:36 dc539afda2c1: Verifying Checksum 06:44:36 dc539afda2c1: Download complete 06:44:36 ed53099fbce6: Verifying Checksum 06:44:36 ed53099fbce6: Download complete 06:44:36 77bc0d833cb6: Verifying Checksum 06:44:36 77bc0d833cb6: Download complete 06:44:36 9065ff56babe: Verifying Checksum 06:44:36 9065ff56babe: Download complete 06:44:36 b4d181a07f80: Download complete 06:44:37 d287ab97295c: Verifying Checksum 06:44:37 d287ab97295c: Download complete 06:44:37 b4d181a07f80: Pull complete 06:44:38 a1111a8f2ec3: Pull complete 06:44:38 ed53099fbce6: Pull complete 06:44:38 dc539afda2c1: Pull complete 06:44:39 77bc0d833cb6: Pull complete 06:44:39 9065ff56babe: Pull complete 06:44:44 d287ab97295c: Pull complete 06:44:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:44:44 prd-centos7-docker-4c-2g-904 does not seem to be running inside a container 06:44:44 $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:44:46 $ docker top b139566919342473adbc9f1df3932d2cd44fd6c3a52bdd914ebb62031fe29cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:47 ---> job-cost.sh 06:44:47 lf-activate-venv: SKIPPING 06:44:47 INFO: No Stack... 06:44:47 INFO: Retrieving Pricing Info for: v3-standard-2 06:44:47 INFO: Archiving Costs [Pipeline] sh 06:44:47 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:44:47 + cut -d, -f6 [Pipeline] lock 06:44:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] 06:44:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] did not exist. Created. 06:44:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:44:48 + echo total: 0.05999999865889549 [Pipeline] stash 06:44:48 Stashed 1 file(s) [Pipeline] } 06:44:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:44:48 $ docker stop --time=1 b139566919342473adbc9f1df3932d2cd44fd6c3a52bdd914ebb62031fe29cb9 06:44:49 $ docker rm -f b139566919342473adbc9f1df3932d2cd44fd6c3a52bdd914ebb62031fe29cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:49 Failed in branch amd64 06:45:37 Removing intermediate container ae00641d004b 06:45:37 ---> d043ae247d5d 06:45:37 Step 10/10 : RUN ${MAKE} 06:45:37 ---> Running in 25e8e3473492 06:45:37 noop 06:45:37 Removing intermediate container 25e8e3473492 06:45:37 ---> f3fced048c57 06:45:37 Successfully built f3fced048c57 06:45:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:45:37 + docker inspect -f . ci-base-image-arm64 06:45:37 . [Pipeline] withDockerContainer 06:45:38 prd-ubuntu18.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 06:45:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:39 $ docker top 10d14e80dce51895bce2c3c09ad770ebd99dc5cd1694cd4d5d837055221d9840 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:40 + go version 06:45:40 go version go1.16.8 linux/arm64 [Pipeline] } 06:45:40 $ docker stop --time=1 10d14e80dce51895bce2c3c09ad770ebd99dc5cd1694cd4d5d837055221d9840 06:45:41 $ docker rm -f 10d14e80dce51895bce2c3c09ad770ebd99dc5cd1694cd4d5d837055221d9840 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:42 + docker inspect -f . ci-base-image-arm64 06:45:42 . [Pipeline] withDockerContainer 06:45:42 prd-ubuntu18.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 06:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:44 $ docker top ae176fe36b49f519bcf03e81d1da7e5bfb777b0b5677d8368074303eeec885ce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:45:45 + make test 06:45:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:45:46 internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 06:45:46 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 06:45:46 internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 06:45:46 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 06:45:46 internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: 06:45:46 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 06:45:46 make: *** [Makefile:35: test] Error 1 [Pipeline] } 06:45:46 $ docker stop --time=1 ae176fe36b49f519bcf03e81d1da7e5bfb777b0b5677d8368074303eeec885ce 06:45:47 $ docker rm -f ae176fe36b49f519bcf03e81d1da7e5bfb777b0b5677d8368074303eeec885ce [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 06:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:48 06:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:49 arm64: Pulling from edgex-lftools-log-publisher 06:45:49 448f6bf000e3: Pulling fs layer 06:45:49 f757da607395: Pulling fs layer 06:45:49 05883995daec: Pulling fs layer 06:45:49 8603b9c90790: Pulling fs layer 06:45:49 1560dd03e051: Pulling fs layer 06:45:49 27f5ce0e4adf: Pulling fs layer 06:45:49 c2d8d7efcc4b: Pulling fs layer 06:45:49 8603b9c90790: Waiting 06:45:49 1560dd03e051: Waiting 06:45:49 27f5ce0e4adf: Waiting 06:45:49 c2d8d7efcc4b: Waiting 06:45:49 f757da607395: Verifying Checksum 06:45:49 f757da607395: Download complete 06:45:49 8603b9c90790: Download complete 06:45:49 1560dd03e051: Verifying Checksum 06:45:49 1560dd03e051: Download complete 06:45:49 27f5ce0e4adf: Verifying Checksum 06:45:49 27f5ce0e4adf: Download complete 06:45:49 05883995daec: Verifying Checksum 06:45:49 05883995daec: Download complete 06:45:49 448f6bf000e3: Verifying Checksum 06:45:49 448f6bf000e3: Download complete 06:45:52 c2d8d7efcc4b: Verifying Checksum 06:45:52 c2d8d7efcc4b: Download complete 06:45:53 448f6bf000e3: Pull complete 06:45:54 f757da607395: Pull complete 06:45:55 05883995daec: Pull complete 06:45:55 8603b9c90790: Pull complete 06:45:56 1560dd03e051: Pull complete 06:45:56 27f5ce0e4adf: Pull complete 06:46:11 c2d8d7efcc4b: Pull complete 06:46:11 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:46:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:46:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:46:12 prd-ubuntu18.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 06:46:12 $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:46:14 $ docker top 49136be3b914d1fbc86da5e049c79b8858e6ba7255afd0603a3da9357e8d5e80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:15 ---> job-cost.sh 06:46:15 lf-activate-venv: SKIPPING 06:46:15 INFO: No Stack... 06:46:15 INFO: Retrieving Pricing Info for: v3-standard-4 06:46:16 INFO: Archiving Costs [Pipeline] sh 06:46:17 + cut -d, -f6 06:46:17 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 06:46:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] 06:46:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] did not exist. Created. 06:46:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:46:17 /w/workspace/device-sdk-go/2@tmp/durable-dde0ec37/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-dde0ec37/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:46:18 + echo total: 0.10999999940395355 [Pipeline] stash 06:46:18 Warning: overwriting stash ‘stack-cost’ 06:46:19 Stashed 1 file(s) [Pipeline] } 06:46:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:46:19 $ docker stop --time=1 49136be3b914d1fbc86da5e049c79b8858e6ba7255afd0603a3da9357e8d5e80 06:46:20 $ docker rm -f 49136be3b914d1fbc86da5e049c79b8858e6ba7255afd0603a3da9357e8d5e80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:46:20 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:46:22 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:46:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:46:23 ---> package-listing.sh 06:46:23 ++ facter osfamily 06:46:23 ++ tr '[:upper:]' '[:lower:]' 06:46:23 + OS_FAMILY=redhat 06:46:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 06:46:23 + START_PACKAGES=/tmp/packages_start.txt 06:46:23 + END_PACKAGES=/tmp/packages_end.txt 06:46:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:46:23 + PACKAGES=/tmp/packages_start.txt 06:46:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 06:46:23 + PACKAGES=/tmp/packages_end.txt 06:46:23 + case "${OS_FAMILY}" in 06:46:23 + rpm -qa 06:46:23 + sort 06:46:24 + '[' -f /tmp/packages_start.txt ']' 06:46:24 + '[' -f /tmp/packages_end.txt ']' 06:46:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:46:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 06:46:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ 06:46:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [Pipeline] echo 06:46:24 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/gexfoundry_device-sdk-go_PR-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:46:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:25 06:46:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:46:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:25 latest: Pulling from edgex-lftools-log-publisher 06:46:25 b4d181a07f80: Pulling fs layer 06:46:25 a1111a8f2ec3: Pulling fs layer 06:46:25 ed53099fbce6: Pulling fs layer 06:46:25 dc539afda2c1: Pulling fs layer 06:46:25 77bc0d833cb6: Pulling fs layer 06:46:25 9065ff56babe: Pulling fs layer 06:46:25 d287ab97295c: Pulling fs layer 06:46:25 dc539afda2c1: Waiting 06:46:25 77bc0d833cb6: Waiting 06:46:25 9065ff56babe: Waiting 06:46:25 d287ab97295c: Waiting 06:46:25 a1111a8f2ec3: Verifying Checksum 06:46:25 a1111a8f2ec3: Download complete 06:46:25 dc539afda2c1: Verifying Checksum 06:46:25 dc539afda2c1: Download complete 06:46:25 ed53099fbce6: Verifying Checksum 06:46:25 ed53099fbce6: Download complete 06:46:25 9065ff56babe: Verifying Checksum 06:46:25 9065ff56babe: Download complete 06:46:25 77bc0d833cb6: Verifying Checksum 06:46:25 77bc0d833cb6: Download complete 06:46:25 b4d181a07f80: Verifying Checksum 06:46:25 b4d181a07f80: Download complete 06:46:26 d287ab97295c: Verifying Checksum 06:46:26 d287ab97295c: Download complete 06:46:27 b4d181a07f80: Pull complete 06:46:27 a1111a8f2ec3: Pull complete 06:46:27 ed53099fbce6: Pull complete 06:46:27 dc539afda2c1: Pull complete 06:46:28 77bc0d833cb6: Pull complete 06:46:28 9065ff56babe: Pull complete 06:46:33 d287ab97295c: Pull complete 06:46:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:46:33 prd-centos7-docker-4c-2g-902 does not seem to be running inside a container 06:46:33 $ 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/gexfoundry_device-sdk-go_PR-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:46:36 $ docker top 355ba76b672a0da6a89b9956019f6f356b54aa8ea3bf24a2c515c247067a7ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:36 + touch /tmp/pre-build-complete [Pipeline] sh 06:46:36 + mkdir -p /var/log/sysstat [Pipeline] sh 06:46:36 + ls /var/log/sa-host 06:46:36 + sadf -c /var/log/sa-host/sa15 06:46:36 file_magic: OK 06:46:36 HZ: Using current value: 100 06:46:36 file_header: OK 06:46:36 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 06:46:36 Statistics: 06:46:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:46:36 File successfully converted to sysstat format version 12.0.3 06:46:36 + sadf -c /var/log/sa-host/sa17 06:46:36 file_magic: OK 06:46:36 HZ: Using current value: 100 06:46:36 file_header: OK 06:46:36 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 06:46:36 Statistics: 06:46:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:46:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:37 provisioning config files... 06:46:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config1886693170506376228tmp [Pipeline] { [Pipeline] echo 06:46:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:46:37 ---> create-netrc.sh [Pipeline] } 06:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:46:37 ---> python-tools-install.sh [Pipeline] echo 06:46:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:46:38 ---> sudo-logs.sh 06:46:38 Archiving 'sudo' log.. 06:46:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-902.novalocal: Name or service not known 06:46:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-902.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:46:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:46:38 ---> job-cost.sh 06:46:38 lf-activate-venv: SKIPPING 06:46:38 DEBUG: total: 0.10999999940395355 06:46:38 INFO: Retrieving Stack Cost... 06:46:38 INFO: Retrieving Pricing Info for: v3-standard-2 06:46:39 INFO: Archiving Costs [Pipeline] echo 06:46:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:46:39 ---> logs-deploy.sh 06:46:39 lf-activate-venv: SKIPPING 06:46:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/2 06:46:39 INFO: archiving workspace using pattern(s): 06:46:39 Archives upload complete. 06:46:40 INFO: archiving logs to Nexus