Pull request #140 updated 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 54df0161275584c6547609caa88c8f031246ac76+ab80832e8fa331645ec332aa024eb9f07585cb40 (c8955b51676b5c58a0c9f9b843fe2b9734fee9a3) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8966375007433582248.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-ssh363587423983777661.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/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-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5968941864600077873.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 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-ssh7233723742101608763.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-rest-go/branches/PR-140/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-rest-go/branches/PR-140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7147375022387508963.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13362 in /w/workspace/gexfoundry_device-rest-go_PR-140 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-140@tmp/jenkins-gitclient-ssh1606329043312205143.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-140@tmp/jenkins-gitclient-ssh7803850837508438671.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 54df0161275584c6547609caa88c8f031246ac76 Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # 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-rest-go_PR-140@tmp/jenkins-gitclient-ssh3863453593628934055.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:09 ========================================================= 00:41:09 EdgeX Global Pipelines Version Info 00:41:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 00:41:10 ------------------- 00:41:10 stable info: 00:41:10 ------------------- 00:41:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:10 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 00:41:10 Message: update stable to v1.0.210 00:41:11 ------------------- 00:41:11 experimental info: 00:41:11 ------------------- 00:41:11 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:11 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 00:41:11 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54df0161275584c6547609caa88c8f031246ac76 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54df016 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:11 provisioning config files... 00:41:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config6007389312395281654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:12 ---> docker-login.sh 00:41:12 nexus3.edgexfoundry.org:10001 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 nexus3.edgexfoundry.org:10002 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 nexus3.edgexfoundry.org:10003 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 nexus3.edgexfoundry.org:10004 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 docker.io 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:13 Configure a credential helper to remove this warning. See 00:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:13 00:41:13 Login Succeeded 00:41:13 ---> docker-login.sh ends [Pipeline] } 00:41:13 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 00:41:13 + git log --format=format:%s -1 54df0161275584c6547609caa88c8f031246ac76 [Pipeline] echo 00:41:13 GIT_COMMIT: 54df0161275584c6547609caa88c8f031246ac76, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 00:41:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:14 00:41:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:41:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:14 latest: Pulling from edgex-devops/git-semver 00:41:14 a0d0a0d46f8b: Pulling fs layer 00:41:14 3e5f54012d9b: Pulling fs layer 00:41:14 4c7163046ea9: Pulling fs layer 00:41:14 0c2d73faf560: Pulling fs layer 00:41:14 0c2d73faf560: Waiting 00:41:14 3e5f54012d9b: Verifying Checksum 00:41:14 3e5f54012d9b: Download complete 00:41:14 a0d0a0d46f8b: Verifying Checksum 00:41:14 a0d0a0d46f8b: Download complete 00:41:14 4c7163046ea9: Verifying Checksum 00:41:14 4c7163046ea9: Download complete 00:41:14 0c2d73faf560: Verifying Checksum 00:41:14 0c2d73faf560: Download complete 00:41:14 a0d0a0d46f8b: Pull complete 00:41:14 3e5f54012d9b: Pull complete 00:41:15 4c7163046ea9: Pull complete 00:41:15 0c2d73faf560: Pull complete 00:41:15 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:41:15 prd-centos7-docker-4c-2g-13362 does not seem to be running inside a container 00:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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:10004/edgex-devops/git-semver:latest cat 00:41:15 $ docker top 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:16 [ssh-agent] Looking for ssh-agent implementation... 00:41:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:16 $ docker exec 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent 00:41:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPHoIe/agent.15 00:41:16 SSH_AGENT_PID=21 00:41:16 Running ssh-add (command line suppressed) 00:41:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7228450195184757842.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7228450195184757842.key) 00:41:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:16 + git tag --points-at HEAD [Pipeline] } 00:41:16 $ docker exec --env ******** --env ******** 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent -k 00:41:16 unset SSH_AUTH_SOCK; 00:41:16 unset SSH_AGENT_PID; 00:41:16 echo Agent pid 21 killed; 00:41:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:41:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:16 [ssh-agent] Looking for ssh-agent implementation... 00:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:16 $ docker exec 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent 00:41:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgjgiLj/agent.56 00:41:17 SSH_AGENT_PID=63 00:41:17 Running ssh-add (command line suppressed) 00:41:17 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_346267057756722301.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_346267057756722301.key) 00:41:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:17 + git semver init 00:41:17 # -> Open(): unable to determine branch for HEAD 00:41:17 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git 00:41:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 00:41:17 # $SEMVER_REMOTE_NAME = origin 00:41:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:41:17 # $SEMVER_USER_NAME = edgex-jenkins 00:41:17 # $SEMVER_BRANCH = PR-140 00:41:17 # $SEMVER_TEMP = /tmp/semver-503617577 00:41:17 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 00:41:18 # '/tmp/semver-503617577' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' 00:41:18 # -> Force: false 00:41:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } 00:41:18 $ docker exec --env ******** --env ******** 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent -k 00:41:18 unset SSH_AUTH_SOCK; 00:41:18 unset SSH_AGENT_PID; 00:41:18 echo Agent pid 63 killed; 00:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:18 + git semver [Pipeline] } 00:41:18 $ docker stop --time=1 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 00:41:20 $ docker rm -f 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 [Pipeline] // withDockerContainer [Pipeline] sh 00:41:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:41:20 Stashed 1 file(s) [Pipeline] echo 00:41:20 [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 00:41:35 Still waiting to schedule task 00:41:35 ‘prd-centos7-docker-4c-2g-13363’ is offline 00:41:35 ‘prd-centos7-docker-4c-2g-13364’ is offline 00:41:35 Still waiting to schedule task 00:41:35 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ 00:42:32 Running on prd-centos7-docker-4c-2g-13365 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 00:42:32 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:42:32 The recommended git tool is: git 00:42:34 using credential edgex-jenkins-ssh 00:42:34 Cloning the remote Git repository 00:42:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:42:33 > git init /w/workspace/device-rest-go/2 # timeout=10 00:42:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:42:34 > git --version # timeout=10 00:42:34 > git --version # 'git version 2.24.4' 00:42:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:34 [INFO] Currently running in a labeled security context 00:42:34 [INFO] Currently SELinux is 'enforcing' on the host 00:42:34 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh3772222485202281267.key 00:42:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:42:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:42:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:35 [INFO] Currently running in a labeled security context 00:42:35 [INFO] Currently SELinux is 'enforcing' on the host 00:42:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh4332337483485745668.key 00:42:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:42:36 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 54df0161275584c6547609caa88c8f031246ac76 00:42:36 Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 00:42:36 Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) 00:42:35 > git config core.sparsecheckout # timeout=10 00:42:35 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 00:42:35 > git remote # timeout=10 00:42:35 > git config --get remote.origin.url # timeout=10 00:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:35 [INFO] Currently running in a labeled security context 00:42:35 [INFO] Currently SELinux is 'enforcing' on the host 00:42:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh843398845014951671.key 00:42:35 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 00:42:35 > git rev-parse HEAD^{commit} # timeout=10 00:42:35 > git config core.sparsecheckout # timeout=10 00:42:35 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 00:42:39 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:39 provisioning config files... 00:42:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1516756734893900160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:40 ---> docker-login.sh 00:42:40 nexus3.edgexfoundry.org:10001 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:40 Configure a credential helper to remove this warning. See 00:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:40 00:42:40 Login Succeeded 00:42:40 nexus3.edgexfoundry.org:10002 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:40 Configure a credential helper to remove this warning. See 00:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:40 00:42:40 Login Succeeded 00:42:40 nexus3.edgexfoundry.org:10003 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:40 Configure a credential helper to remove this warning. See 00:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:40 00:42:40 Login Succeeded 00:42:40 nexus3.edgexfoundry.org:10004 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:40 Configure a credential helper to remove this warning. See 00:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:40 00:42:40 Login Succeeded 00:42:40 docker.io 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:41 Configure a credential helper to remove this warning. See 00:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:41 00:42:41 Login Succeeded 00:42:41 ---> docker-login.sh ends [Pipeline] } 00:42:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:41 ========================================================= 00:42:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:42:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:42:41 + 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 . 00:42:41 Sending build context to Docker daemon 119.3kB 00:42:41 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:42:41 Step 2/11 : FROM ${BASE} AS builder 00:42:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:41 a0d0a0d46f8b: Pulling fs layer 00:42:41 31adcdaf11c8: Pulling fs layer 00:42:41 b8b176561691: Pulling fs layer 00:42:41 4527c011a84f: Pulling fs layer 00:42:41 5d74067f8e1e: Pulling fs layer 00:42:41 e0aca202a116: Pulling fs layer 00:42:41 3a43be97a3b4: Pulling fs layer 00:42:41 34cad66bf833: Pulling fs layer 00:42:41 b4e3c513aaa6: Pulling fs layer 00:42:41 e0aca202a116: Waiting 00:42:41 3a43be97a3b4: Waiting 00:42:41 34cad66bf833: Waiting 00:42:41 b4e3c513aaa6: Waiting 00:42:41 4527c011a84f: Waiting 00:42:41 5d74067f8e1e: Waiting 00:42:41 b8b176561691: Verifying Checksum 00:42:41 b8b176561691: Download complete 00:42:41 31adcdaf11c8: Verifying Checksum 00:42:41 31adcdaf11c8: Download complete 00:42:41 5d74067f8e1e: Verifying Checksum 00:42:41 5d74067f8e1e: Download complete 00:42:41 e0aca202a116: Verifying Checksum 00:42:41 e0aca202a116: Download complete 00:42:41 a0d0a0d46f8b: Download complete 00:42:41 3a43be97a3b4: Verifying Checksum 00:42:41 3a43be97a3b4: Download complete 00:42:41 a0d0a0d46f8b: Pull complete 00:42:41 34cad66bf833: Verifying Checksum 00:42:41 34cad66bf833: Download complete 00:42:42 31adcdaf11c8: Pull complete 00:42:42 b8b176561691: Pull complete 00:42:42 b4e3c513aaa6: Verifying Checksum 00:42:42 b4e3c513aaa6: Download complete 00:42:42 4527c011a84f: Verifying Checksum 00:42:42 4527c011a84f: Download complete 00:42:46 4527c011a84f: Pull complete 00:42:46 5d74067f8e1e: Pull complete 00:42:46 e0aca202a116: Pull complete 00:42:46 3a43be97a3b4: Pull complete 00:42:46 34cad66bf833: Pull complete 00:42:48 b4e3c513aaa6: Pull complete 00:42:49 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 00:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:42:49 ---> 9f6097aaca64 00:42:49 Step 3/11 : ARG MAKE='make build' 00:42:51 ---> Running in 3c9e559a881b 00:42:51 Removing intermediate container 3c9e559a881b 00:42:51 ---> 9b6e2f3c4909 00:42:51 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:42:51 ---> Running in 2895c3152708 00:42:51 Removing intermediate container 2895c3152708 00:42:51 ---> 73284a32ef5e 00:42:51 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:42:51 ---> Running in eb6d2e2a2580 00:42:52 Removing intermediate container eb6d2e2a2580 00:42:52 ---> 2e82130f4b6a 00:42:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:42:52 ---> Running in ad2d5a57af13 00:42:52 Removing intermediate container ad2d5a57af13 00:42:52 ---> 7387bae3dc00 00:42:52 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:52 ---> Running in 95c713597895 00:42:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:42:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:42:54 (1/4) Installing openssh-keygen (8.6_p1-r3) 00:42:54 (2/4) Installing libedit (20210216.3.1-r0) 00:42:54 (3/4) Installing openssh-client-common (8.6_p1-r3) 00:42:54 (4/4) Installing openssh-client-default (8.6_p1-r3) 00:42:54 Executing busybox-1.33.1-r3.trigger 00:42:54 OK: 224 MiB in 56 packages 00:42:54 Removing intermediate container 95c713597895 00:42:54 ---> e802d721509b 00:42:54 Step 8/11 : WORKDIR /device-rest-go 00:42:54 ---> Running in ddcb68c5bec3 00:42:55 Removing intermediate container ddcb68c5bec3 00:42:55 ---> a9a27b71e0af 00:42:55 Step 9/11 : COPY . . 00:42:55 ---> 213e415e8e01 00:42:55 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:55 ---> Running in f8b9f980a1d9 00:43:34 Removing intermediate container f8b9f980a1d9 00:43:34 ---> aeee8c9121c7 00:43:34 Step 11/11 : RUN $MAKE 00:43:34 ---> Running in 286d9e562a2b 00:43:34 noop 00:43:34 Removing intermediate container 286d9e562a2b 00:43:34 ---> f5a61350b43c 00:43:34 Successfully built f5a61350b43c 00:43:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:43:34 + docker inspect -f . ci-base-image-x86_64 00:43:34 . [Pipeline] withDockerContainer 00:43:34 prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container 00:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:34 $ docker top 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:35 + go version 00:43:35 go version go1.16.8 linux/amd64 [Pipeline] } 00:43:35 $ docker stop --time=1 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 00:43:36 $ docker rm -f 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:36 + docker inspect -f . ci-base-image-x86_64 00:43:36 . [Pipeline] withDockerContainer 00:43:36 prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container 00:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:37 $ docker top 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:43:37 + make test 00:43:37 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:43:37 ? github.com/edgexfoundry/device-rest-go [no test files] 00:43:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:43:56 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 00:43:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:44:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:01 ./bin/test-attribution-txt.sh 00:44:01 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:44:01 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:44:01 make: *** [Makefile:31: test] Error 1 [Pipeline] } 00:44:01 $ docker stop --time=1 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 00:44:03 $ docker rm -f 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 [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 00:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:03 00:44:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:44:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:04 latest: Pulling from edgex-lftools-log-publisher 00:44:04 b4d181a07f80: Pulling fs layer 00:44:04 a1111a8f2ec3: Pulling fs layer 00:44:04 ed53099fbce6: Pulling fs layer 00:44:04 dc539afda2c1: Pulling fs layer 00:44:04 77bc0d833cb6: Pulling fs layer 00:44:04 9065ff56babe: Pulling fs layer 00:44:04 d287ab97295c: Pulling fs layer 00:44:04 dc539afda2c1: Waiting 00:44:04 77bc0d833cb6: Waiting 00:44:04 9065ff56babe: Waiting 00:44:04 d287ab97295c: Waiting 00:44:04 a1111a8f2ec3: Verifying Checksum 00:44:04 a1111a8f2ec3: Download complete 00:44:04 dc539afda2c1: Verifying Checksum 00:44:04 dc539afda2c1: Download complete 00:44:04 ed53099fbce6: Verifying Checksum 00:44:04 ed53099fbce6: Download complete 00:44:04 9065ff56babe: Verifying Checksum 00:44:04 9065ff56babe: Download complete 00:44:04 77bc0d833cb6: Verifying Checksum 00:44:04 77bc0d833cb6: Download complete 00:44:04 b4d181a07f80: Verifying Checksum 00:44:04 b4d181a07f80: Download complete 00:44:05 d287ab97295c: Verifying Checksum 00:44:05 d287ab97295c: Download complete 00:44:06 b4d181a07f80: Pull complete 00:44:06 a1111a8f2ec3: Pull complete 00:44:06 ed53099fbce6: Pull complete 00:44:06 dc539afda2c1: Pull complete 00:44:06 77bc0d833cb6: Pull complete 00:44:06 9065ff56babe: Pull complete 00:44:12 d287ab97295c: Pull complete 00:44:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:44:12 prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container 00:44: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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:15 $ docker top b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:15 ---> job-cost.sh 00:44:15 lf-activate-venv: SKIPPING 00:44:15 INFO: No Stack... 00:44:16 INFO: Retrieving Pricing Info for: v3-standard-2 00:44:16 INFO: Archiving Costs [Pipeline] sh 00:44:16 + cat /w/workspace/device-rest-go/2/archives/cost.csv 00:44:16 + cut -d, -f6 [Pipeline] lock 00:44:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] 00:44:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] did not exist. Created. 00:44:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:17 + echo total: 0.05999999865889549 [Pipeline] stash 00:44:17 Stashed 1 file(s) [Pipeline] } 00:44:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:17 $ docker stop --time=1 b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 00:44:18 $ docker rm -f b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:18 Failed in branch amd64 00:45:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13368 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 00:45:02 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:45:02 The recommended git tool is: git 00:45:08 using credential edgex-jenkins-ssh 00:45:08 Cloning the remote Git repository 00:45:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:45:08 > git init /w/workspace/device-rest-go/2 # timeout=10 00:45:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:45:08 > git --version # timeout=10 00:45:08 > git --version # 'git version 2.17.1' 00:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:45:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:45:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:11 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 54df0161275584c6547609caa88c8f031246ac76 00:45:11 Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 00:45:11 Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) 00:45:11 > git config core.sparsecheckout # timeout=10 00:45:11 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 00:45:11 > git remote # timeout=10 00:45:11 > git config --get remote.origin.url # timeout=10 00:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:11 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 00:45:11 > git rev-parse HEAD^{commit} # timeout=10 00:45:11 > git config core.sparsecheckout # timeout=10 00:45:11 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 00:45:15 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:16 Dload Upload Total Spent Left Speed 00:45:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 00:45:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:17 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 00:45:17 00:45:17 { 00:45:17 "registry-mirrors": [ 00:45:17 "https://nexus3.edgexfoundry.org:10001" 00:45:17 ], 00:45:17 "bip": "10.250.0.254/24", 00:45:17 "hosts": [ 00:45:17 "tcp://0.0.0.0:5555", 00:45:17 "unix:///var/run/docker.sock" 00:45:17 ], 00:45:17 "mtu": 1458, 00:45:17 "selinux-enabled": true, 00:45:17 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:17 } [Pipeline] sh 00:45:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:36 provisioning config files... 00:45:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2194359549073027541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:37 ---> docker-login.sh 00:45:37 nexus3.edgexfoundry.org:10001 00:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:38 Configure a credential helper to remove this warning. See 00:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:38 00:45:38 Login Succeeded 00:45:38 nexus3.edgexfoundry.org:10002 00:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:38 Configure a credential helper to remove this warning. See 00:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:38 00:45:38 Login Succeeded 00:45:38 nexus3.edgexfoundry.org:10003 00:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:39 Configure a credential helper to remove this warning. See 00:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:39 00:45:39 Login Succeeded 00:45:39 nexus3.edgexfoundry.org:10004 00:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:40 Configure a credential helper to remove this warning. See 00:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:40 00:45:40 Login Succeeded 00:45:40 docker.io 00:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:41 Configure a credential helper to remove this warning. See 00:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:41 00:45:41 Login Succeeded 00:45:41 ---> docker-login.sh ends [Pipeline] } 00:45:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:41 ========================================================= 00:45:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:45:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:45:41 + 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 . 00:45:41 Sending build context to Docker daemon 119.3kB 00:45:42 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:45:42 Step 2/11 : FROM ${BASE} AS builder 00:45:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:42 552d1f2373af: Pulling fs layer 00:45:42 ea3f2d53f512: Pulling fs layer 00:45:42 9e70ebbbe112: Pulling fs layer 00:45:42 7a9cfe048b4a: Pulling fs layer 00:45:42 72dc09318566: Pulling fs layer 00:45:42 f4f7b4309257: Pulling fs layer 00:45:42 0ac9a79272e3: Pulling fs layer 00:45:42 7a9cfe048b4a: Waiting 00:45:42 b78e95d17946: Pulling fs layer 00:45:42 f4f7b4309257: Waiting 00:45:42 0ac9a79272e3: Waiting 00:45:42 b78e95d17946: Waiting 00:45:42 72dc09318566: Waiting 00:45:42 9e70ebbbe112: Verifying Checksum 00:45:42 9e70ebbbe112: Download complete 00:45:42 ea3f2d53f512: Verifying Checksum 00:45:42 ea3f2d53f512: Download complete 00:45:42 72dc09318566: Verifying Checksum 00:45:42 72dc09318566: Download complete 00:45:42 f4f7b4309257: Download complete 00:45:42 552d1f2373af: Verifying Checksum 00:45:42 0ac9a79272e3: Verifying Checksum 00:45:42 0ac9a79272e3: Download complete 00:45:43 552d1f2373af: Pull complete 00:45:44 ea3f2d53f512: Pull complete 00:45:44 9e70ebbbe112: Pull complete 00:45:44 b78e95d17946: Verifying Checksum 00:45:44 b78e95d17946: Download complete 00:45:45 7a9cfe048b4a: Verifying Checksum 00:45:45 7a9cfe048b4a: Download complete 00:45:55 7a9cfe048b4a: Pull complete 00:45:55 72dc09318566: Pull complete 00:45:55 f4f7b4309257: Pull complete 00:45:56 0ac9a79272e3: Pull complete 00:46:03 b78e95d17946: Pull complete 00:46:03 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 00:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:46:03 ---> 8b459fc5aaf0 00:46:03 Step 3/11 : ARG MAKE='make build' 00:46:04 ---> Running in cb2b4f909c7a 00:46:05 Removing intermediate container cb2b4f909c7a 00:46:05 ---> 7ad4dd423c04 00:46:05 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:46:05 ---> Running in 289f7982047a 00:46:05 Removing intermediate container 289f7982047a 00:46:05 ---> e24d2b92c948 00:46:05 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:46:05 ---> Running in 38504909310f 00:46:06 Removing intermediate container 38504909310f 00:46:06 ---> eb6fced6241c 00:46:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:06 ---> Running in 39e0fa4b6fe9 00:46:09 Removing intermediate container 39e0fa4b6fe9 00:46:09 ---> ddd8fd18d4c7 00:46:09 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:09 ---> Running in c78da7823228 00:46:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:46:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:46:12 (1/4) Installing openssh-keygen (8.6_p1-r3) 00:46:12 (2/4) Installing libedit (20210216.3.1-r0) 00:46:12 (3/4) Installing openssh-client-common (8.6_p1-r3) 00:46:12 (4/4) Installing openssh-client-default (8.6_p1-r3) 00:46:12 Executing busybox-1.33.1-r3.trigger 00:46:12 OK: 223 MiB in 56 packages 00:46:13 Removing intermediate container c78da7823228 00:46:13 ---> 88bbaa11d74f 00:46:13 Step 8/11 : WORKDIR /device-rest-go 00:46:13 ---> Running in cf183c61ce3a 00:46:14 Removing intermediate container cf183c61ce3a 00:46:14 ---> a7dd691f6b1d 00:46:14 Step 9/11 : COPY . . 00:46:14 ---> 0e2341a9add3 00:46:14 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:14 ---> Running in 85bb2af47a91 00:47:36 Removing intermediate container 85bb2af47a91 00:47:36 ---> 3d6867ed5409 00:47:36 Step 11/11 : RUN $MAKE 00:47:36 ---> Running in 0384aa3399c6 00:47:36 noop 00:47:36 Removing intermediate container 0384aa3399c6 00:47:36 ---> fb9a8c2975f5 00:47:36 Successfully built fb9a8c2975f5 00:47:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:47:37 + docker inspect -f . ci-base-image-arm64 00:47:37 . [Pipeline] withDockerContainer 00:47:37 prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container 00:47:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:38 $ docker top f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:40 + go version 00:47:40 go version go1.16.8 linux/arm64 [Pipeline] } 00:47:40 $ docker stop --time=1 f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b 00:47:41 $ docker rm -f f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:42 + docker inspect -f . ci-base-image-arm64 00:47:42 . [Pipeline] withDockerContainer 00:47:42 prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container 00:47:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:44 $ docker top bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:47:45 + make test 00:47:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:47:47 ? github.com/edgexfoundry/device-rest-go [no test files] 00:48:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:48:55 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 53.8% of statements 00:48:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:49:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:22 ./bin/test-attribution-txt.sh 00:49:22 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:49:22 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:49:22 make: *** [Makefile:31: test] Error 1 [Pipeline] } 00:49:22 $ docker stop --time=1 bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 00:49:24 $ docker rm -f bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 [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 00:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:25 00:49:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:49:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:26 arm64: Pulling from edgex-lftools-log-publisher 00:49:26 448f6bf000e3: Pulling fs layer 00:49:26 f757da607395: Pulling fs layer 00:49:26 05883995daec: Pulling fs layer 00:49:26 8603b9c90790: Pulling fs layer 00:49:26 1560dd03e051: Pulling fs layer 00:49:26 27f5ce0e4adf: Pulling fs layer 00:49:26 c2d8d7efcc4b: Pulling fs layer 00:49:26 8603b9c90790: Waiting 00:49:26 1560dd03e051: Waiting 00:49:26 27f5ce0e4adf: Waiting 00:49:26 c2d8d7efcc4b: Waiting 00:49:26 f757da607395: Verifying Checksum 00:49:26 f757da607395: Download complete 00:49:26 8603b9c90790: Download complete 00:49:26 1560dd03e051: Verifying Checksum 00:49:26 1560dd03e051: Download complete 00:49:26 27f5ce0e4adf: Verifying Checksum 00:49:26 27f5ce0e4adf: Download complete 00:49:26 05883995daec: Verifying Checksum 00:49:26 05883995daec: Download complete 00:49:27 448f6bf000e3: Download complete 00:49:29 c2d8d7efcc4b: Verifying Checksum 00:49:29 c2d8d7efcc4b: Download complete 00:49:30 448f6bf000e3: Pull complete 00:49:31 f757da607395: Pull complete 00:49:32 05883995daec: Pull complete 00:49:33 8603b9c90790: Pull complete 00:49:34 1560dd03e051: Pull complete 00:49:34 27f5ce0e4adf: Pull complete 00:49:49 c2d8d7efcc4b: Pull complete 00:49:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:49:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:49:49 prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container 00:49:49 $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:49:52 $ docker top ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:53 ---> job-cost.sh 00:49:53 lf-activate-venv: SKIPPING 00:49:53 INFO: No Stack... 00:49:54 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:54 INFO: Archiving Costs [Pipeline] sh 00:49:55 + cut -d, -f6 00:49:55 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 00:49:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] 00:49:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] did not exist. Created. 00:49:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:56 /w/workspace/device-rest-go/2@tmp/durable-3c61d035/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-3c61d035/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:56 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:56 Warning: overwriting stash ‘stack-cost’ 00:49:57 Stashed 1 file(s) [Pipeline] } 00:49:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:57 $ docker stop --time=1 ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e 00:49:59 $ docker rm -f ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:59 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 00:50:00 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:50:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:50:01 ---> package-listing.sh 00:50:01 ++ facter osfamily 00:50:01 ++ tr '[:upper:]' '[:lower:]' 00:50:01 + OS_FAMILY=redhat 00:50:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 00:50:01 + START_PACKAGES=/tmp/packages_start.txt 00:50:01 + END_PACKAGES=/tmp/packages_end.txt 00:50:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:50:01 + PACKAGES=/tmp/packages_start.txt 00:50:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 00:50:01 + PACKAGES=/tmp/packages_end.txt 00:50:01 + case "${OS_FAMILY}" in 00:50:01 + sort 00:50:01 + rpm -qa 00:50:02 + '[' -f /tmp/packages_start.txt ']' 00:50:02 + '[' -f /tmp/packages_end.txt ']' 00:50:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:50:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 00:50:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ 00:50:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [Pipeline] echo 00:50:02 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-rest-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:50:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:50:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:03 00:50:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:50:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:03 latest: Pulling from edgex-lftools-log-publisher 00:50:03 b4d181a07f80: Pulling fs layer 00:50:03 a1111a8f2ec3: Pulling fs layer 00:50:03 ed53099fbce6: Pulling fs layer 00:50:03 dc539afda2c1: Pulling fs layer 00:50:03 77bc0d833cb6: Pulling fs layer 00:50:03 9065ff56babe: Pulling fs layer 00:50:03 d287ab97295c: Pulling fs layer 00:50:03 9065ff56babe: Waiting 00:50:03 dc539afda2c1: Waiting 00:50:03 77bc0d833cb6: Waiting 00:50:03 d287ab97295c: Waiting 00:50:03 a1111a8f2ec3: Verifying Checksum 00:50:03 a1111a8f2ec3: Download complete 00:50:03 dc539afda2c1: Verifying Checksum 00:50:03 dc539afda2c1: Download complete 00:50:03 ed53099fbce6: Verifying Checksum 00:50:03 ed53099fbce6: Download complete 00:50:03 77bc0d833cb6: Verifying Checksum 00:50:03 77bc0d833cb6: Download complete 00:50:03 9065ff56babe: Verifying Checksum 00:50:03 9065ff56babe: Download complete 00:50:03 b4d181a07f80: Verifying Checksum 00:50:03 b4d181a07f80: Download complete 00:50:04 d287ab97295c: Verifying Checksum 00:50:04 d287ab97295c: Download complete 00:50:05 b4d181a07f80: Pull complete 00:50:05 a1111a8f2ec3: Pull complete 00:50:06 ed53099fbce6: Pull complete 00:50:06 dc539afda2c1: Pull complete 00:50:06 77bc0d833cb6: Pull complete 00:50:06 9065ff56babe: Pull complete 00:50:12 d287ab97295c: Pull complete 00:50:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:50:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:50:12 prd-centos7-docker-4c-2g-13362 does not seem to be running inside a container 00:50:12 $ 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-rest-go_PR-140/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-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:14 $ docker top f4f9bf890d929135750f23d2fb16dd63ced92bbe8f969aa935b166aef530458e -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:15 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:15 + mkdir -p /var/log/sysstat [Pipeline] sh 00:50:15 + ls /var/log/sa-host 00:50:15 + sadf -c /var/log/sa-host/sa29 00:50:15 file_magic: OK 00:50:15 HZ: Using current value: 100 00:50:15 file_header: OK 00:50:15 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 00:50:15 Statistics: 00:50:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:50:15 File successfully converted to sysstat format version 12.0.3 00:50:15 + sadf -c /var/log/sa-host/sa30 00:50:15 file_magic: OK 00:50:15 HZ: Using current value: 100 00:50:15 file_header: OK 00:50:15 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 00:50:15 Statistics: 00:50:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:50:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:15 provisioning config files... 00:50:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config4775514752379274328tmp [Pipeline] { [Pipeline] echo 00:50:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:16 ---> create-netrc.sh [Pipeline] } 00:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:50:16 ---> python-tools-install.sh [Pipeline] echo 00:50:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:16 ---> sudo-logs.sh 00:50:16 Archiving 'sudo' log.. 00:50:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-13362.novalocal: Name or service not known 00:50:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-13362.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:50:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:16 ---> job-cost.sh 00:50:16 lf-activate-venv: SKIPPING 00:50:16 DEBUG: total: 0.10999999940395355 00:50:16 INFO: Retrieving Stack Cost... 00:50:18 INFO: Retrieving Pricing Info for: v3-standard-2 00:50:18 INFO: Archiving Costs [Pipeline] echo 00:50:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:18 ---> logs-deploy.sh 00:50:18 lf-activate-venv: SKIPPING 00:50:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/2 00:50:18 INFO: archiving workspace using pattern(s): 00:50:19 Archives upload complete. 00:50:19 INFO: archiving logs to Nexus