Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3e73dda424b055716126243b9f497034329a8f4e+b32159014ae45265b13142f0741b8ad008d9ae08 (c8d17057a96bd8996f84bb2a0d8a84e6a5ae3e1c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh199346905225695774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6935226805586585276.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-117/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8311034467319107038.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3901815852192400589.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2577888808968916032.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-117/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-117/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1582846744041000316.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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_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-772 in /w/workspace/gexfoundry_device-rest-go_PR-117 [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-117 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/jenkins-gitclient-ssh752426796672073562.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/jenkins-gitclient-ssh1584104495732337907.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/jenkins-gitclient-ssh2013443570922868427.key > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:56 ========================================================= 05:45:56 EdgeX Global Pipelines Version Info 05:45:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:57 ------------------- 05:45:57 stable info: 05:45:57 ------------------- 05:45:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:57 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:45:57 Message: update stable to v1.0.195 05:45:58 ------------------- 05:45:58 experimental info: 05:45:58 ------------------- 05:45:58 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:58 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:45:58 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e73dda424b055716126243b9f497034329a8f4e [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e73dda [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:00 provisioning config files... 05:46:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/config258717107710485922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:01 ---> docker-login.sh 05:46:01 nexus3.edgexfoundry.org:10001 05:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:01 Configure a credential helper to remove this warning. See 05:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:01 05:46:01 Login Succeeded 05:46:01 nexus3.edgexfoundry.org:10002 05:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:01 Configure a credential helper to remove this warning. See 05:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:01 05:46:01 Login Succeeded 05:46:01 nexus3.edgexfoundry.org:10003 05:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:01 Configure a credential helper to remove this warning. See 05:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:01 05:46:01 Login Succeeded 05:46:01 nexus3.edgexfoundry.org:10004 05:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:01 Configure a credential helper to remove this warning. See 05:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:01 05:46:01 Login Succeeded 05:46:01 docker.io 05:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:02 Configure a credential helper to remove this warning. See 05:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:02 05:46:02 Login Succeeded 05:46:02 ---> docker-login.sh ends [Pipeline] } 05:46:02 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 05:46:03 + git log --format=format:%s -1 3e73dda424b055716126243b9f497034329a8f4e [Pipeline] echo 05:46:03 GIT_COMMIT: 3e73dda424b055716126243b9f497034329a8f4e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:46:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:46:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:03 05:46:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:04 latest: Pulling from edgex-devops/git-semver 05:46:04 31603596830f: Pulling fs layer 05:46:04 54011a49482f: Pulling fs layer 05:46:04 a6820b24f6d8: Pulling fs layer 05:46:04 f581987b2513: Pulling fs layer 05:46:04 f581987b2513: Waiting 05:46:04 54011a49482f: Verifying Checksum 05:46:04 54011a49482f: Download complete 05:46:04 31603596830f: Verifying Checksum 05:46:04 31603596830f: Download complete 05:46:04 f581987b2513: Verifying Checksum 05:46:04 f581987b2513: Download complete 05:46:04 a6820b24f6d8: Verifying Checksum 05:46:04 a6820b24f6d8: Download complete 05:46:04 31603596830f: Pull complete 05:46:04 54011a49482f: Pull complete 05:46:05 a6820b24f6d8: Pull complete 05:46:05 f581987b2513: Pull complete 05:46:05 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:46:05 prd-centos7-docker-4c-2g-772 does not seem to be running inside a container 05:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-117 -v /w/workspace/gexfoundry_device-rest-go_PR-117:/w/workspace/gexfoundry_device-rest-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-117@tmp:/w/workspace/gexfoundry_device-rest-go_PR-117@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:46:06 $ docker top 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:07 [ssh-agent] Looking for ssh-agent implementation... 05:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:07 $ docker exec 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent 05:46:07 SSH_AUTH_SOCK=/tmp/ssh-GOY4sHvxglU3/agent.13 05:46:07 SSH_AGENT_PID=19 05:46:07 Running ssh-add (command line suppressed) 05:46:07 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_626450930391241614.key (/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_626450930391241614.key) 05:46:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:07 + git tag --points-at HEAD [Pipeline] } 05:46:07 $ docker exec --env ******** --env ******** 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent -k 05:46:07 unset SSH_AUTH_SOCK; 05:46:07 unset SSH_AGENT_PID; 05:46:07 echo Agent pid 19 killed; 05:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:08 [ssh-agent] Looking for ssh-agent implementation... 05:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:08 $ docker exec 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent 05:46:08 SSH_AUTH_SOCK=/tmp/ssh-8vMEoBChZNQw/agent.52 05:46:08 SSH_AGENT_PID=59 05:46:08 Running ssh-add (command line suppressed) 05:46:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_1849874059521102134.key (/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_1849874059521102134.key) 05:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:08 + git semver init 05:46:08 # -> Open(): unable to determine branch for HEAD 05:46:08 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-117/.git 05:46:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-117 05:46:08 # $SEMVER_REMOTE_NAME = origin 05:46:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:46:08 # $SEMVER_USER_NAME = edgex-jenkins 05:46:08 # $SEMVER_BRANCH = PR-117 05:46:08 # $SEMVER_TEMP = /tmp/semver-089234267 05:46:08 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 05:46:09 # '/tmp/semver-089234267' -> '/w/workspace/gexfoundry_device-rest-go_PR-117/.semver' 05:46:09 # -> Force: false 05:46:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-117/.semver [Pipeline] } 05:46:09 $ docker exec --env ******** --env ******** 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent -k 05:46:10 unset SSH_AUTH_SOCK; 05:46:10 unset SSH_AGENT_PID; 05:46:10 echo Agent pid 59 killed; 05:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:10 + git semver [Pipeline] } 05:46:10 $ docker stop --time=1 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 05:46:11 $ docker rm -f 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:12 Stashed 1 file(s) [Pipeline] echo 05:46:12 [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 05:46:28 Still waiting to schedule task 05:46:28 ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ 05:46:28 ‘prd-centos7-docker-4c-2g-762’ is offline 05:46:28 ‘prd-centos7-docker-4c-2g-764’ is offline 05:46:28 ‘prd-centos7-docker-4c-2g-765’ is offline 05:46:28 ‘prd-centos7-docker-4c-2g-776’ is offline 05:46:28 Still waiting to schedule task 05:46:28 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:48:27 Running on prd-centos7-docker-4c-2g-783 in /w/workspace/gexfoundry_device-rest-go_PR-117 [Pipeline] { [Pipeline] ws 05:48:27 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:48:27 The recommended git tool is: git 05:48:30 using credential edgex-jenkins-ssh 05:48:30 Cloning the remote Git repository 05:48:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:48:30 > git init /w/workspace/device-rest-go/1 # timeout=10 05:48:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:48:30 > git --version # timeout=10 05:48:30 > git --version # 'git version 2.24.4' 05:48:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:30 [INFO] Currently running in a labeled security context 05:48:30 [INFO] Currently SELinux is 'enforcing' on the host 05:48:30 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3017043319650699195.key 05:48:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:48:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:48:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:48:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:32 [INFO] Currently running in a labeled security context 05:48:32 [INFO] Currently SELinux is 'enforcing' on the host 05:48:32 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8808677633512777485.key 05:48:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:32 Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e 05:48:32 Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e 05:48:32 Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) 05:48:32 > git config core.sparsecheckout # timeout=10 05:48:32 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 05:48:32 > git remote # timeout=10 05:48:32 > git config --get remote.origin.url # timeout=10 05:48:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:32 [INFO] Currently running in a labeled security context 05:48:32 [INFO] Currently SELinux is 'enforcing' on the host 05:48:32 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5990844039922510451.key 05:48:32 > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 05:48:32 > git rev-parse HEAD^{commit} # timeout=10 05:48:32 > git config core.sparsecheckout # timeout=10 05:48:32 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 05:48:36 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:48:36 > git --version # timeout=10 05:48:36 > git --version # 'git version 2.24.4' 05:48:36 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:48:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:48:38 + sudo service docker restart 05:48:38 + true 05:48:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:56 provisioning config files... 05:48:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config646065016191169815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:57 ---> docker-login.sh 05:48:57 nexus3.edgexfoundry.org:10001 05:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:57 Configure a credential helper to remove this warning. See 05:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:57 05:48:57 Login Succeeded 05:48:57 nexus3.edgexfoundry.org:10002 05:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:58 Configure a credential helper to remove this warning. See 05:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:58 05:48:58 Login Succeeded 05:48:58 nexus3.edgexfoundry.org:10003 05:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:58 Configure a credential helper to remove this warning. See 05:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:58 05:48:58 Login Succeeded 05:48:58 nexus3.edgexfoundry.org:10004 05:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:58 Configure a credential helper to remove this warning. See 05:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:58 05:48:58 Login Succeeded 05:48:58 docker.io 05:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:58 Configure a credential helper to remove this warning. See 05:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:58 05:48:58 Login Succeeded 05:48:58 ---> docker-login.sh ends [Pipeline] } 05:48:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:59 ========================================================= 05:48:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:48:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:59 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:48:59 Sending build context to Docker daemon 92.16kB 05:48:59 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:48:59 Step 2/10 : FROM ${BASE} 05:48:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:48:59 540db60ca938: Pulling fs layer 05:48:59 adcc1eea9eea: Pulling fs layer 05:48:59 4c4ab2625f07: Pulling fs layer 05:48:59 0510c868ecb4: Pulling fs layer 05:48:59 afea3b2eda06: Pulling fs layer 05:48:59 7809a108b3ef: Pulling fs layer 05:48:59 f706445af74f: Pulling fs layer 05:48:59 0510c868ecb4: Waiting 05:48:59 afea3b2eda06: Waiting 05:48:59 7809a108b3ef: Waiting 05:48:59 f706445af74f: Waiting 05:48:59 4c4ab2625f07: Verifying Checksum 05:48:59 4c4ab2625f07: Download complete 05:48:59 adcc1eea9eea: Verifying Checksum 05:48:59 adcc1eea9eea: Download complete 05:48:59 afea3b2eda06: Verifying Checksum 05:48:59 afea3b2eda06: Download complete 05:48:59 7809a108b3ef: Verifying Checksum 05:48:59 7809a108b3ef: Download complete 05:48:59 540db60ca938: Verifying Checksum 05:48:59 540db60ca938: Download complete 05:48:59 540db60ca938: Pull complete 05:49:00 adcc1eea9eea: Pull complete 05:49:00 4c4ab2625f07: Pull complete 05:49:01 f706445af74f: Verifying Checksum 05:49:01 f706445af74f: Download complete 05:49:02 0510c868ecb4: Verifying Checksum 05:49:02 0510c868ecb4: Download complete 05:49:05 0510c868ecb4: Pull complete 05:49:05 afea3b2eda06: Pull complete 05:49:05 7809a108b3ef: Pull complete 05:49:07 f706445af74f: Pull complete 05:49:07 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:49:07 ---> b068be0155e3 05:49:07 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:49:12 ---> Running in 5f991152162b 05:49:12 Removing intermediate container 5f991152162b 05:49:12 ---> 3840b4fc5681 05:49:12 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:49:12 ---> Running in 93b65a4b2009 05:49:12 Removing intermediate container 93b65a4b2009 05:49:12 ---> f4c5244453fb 05:49:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:49:12 ---> Running in a8bc3b845f77 05:49:12 Removing intermediate container a8bc3b845f77 05:49:12 ---> f4cc0486a2b8 05:49:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:12 ---> Running in 97707172de99 05:49:13 Removing intermediate container 97707172de99 05:49:13 ---> e1a02a9cda89 05:49:13 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:13 ---> Running in d8a75951cf68 05:49:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:49:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:49:14 (1/9) Installing libc-dev (0.7.2-r3) 05:49:14 (2/9) Installing libsodium (1.0.18-r0) 05:49:15 (3/9) Installing pkgconf (1.7.3-r0) 05:49:15 (4/9) Installing libsodium-dev (1.0.18-r0) 05:49:15 (5/9) Installing openssh-keygen (8.4_p1-r3) 05:49:15 (6/9) Installing libedit (20191231.3.1-r1) 05:49:15 (7/9) Installing openssh-client (8.4_p1-r3) 05:49:15 (8/9) Installing libzmq (4.3.3-r1) 05:49:15 (9/9) Installing zeromq-dev (4.3.3-r1) 05:49:15 Executing busybox-1.32.1-r6.trigger 05:49:15 OK: 154 MiB in 49 packages 05:49:16 Removing intermediate container d8a75951cf68 05:49:16 ---> e26d8f305c27 05:49:16 Step 8/10 : WORKDIR /device-rest-go 05:49:16 ---> Running in fb8581d2be53 05:49:16 Removing intermediate container fb8581d2be53 05:49:16 ---> a9397aa59269 05:49:16 Step 9/10 : COPY . . 05:49:16 ---> 48a40c63deb3 05:49:16 Step 10/10 : RUN go mod download 05:49:16 ---> Running in f32242cee39c 05:49:29 Removing intermediate container f32242cee39c 05:49:29 ---> b1bdc6fd1316 05:49:29 Successfully built b1bdc6fd1316 05:49:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:49:29 + docker inspect -f . ci-base-image-x86_64 05:49:29 . [Pipeline] withDockerContainer 05:49:29 prd-centos7-docker-4c-2g-783 does not seem to be running inside a container 05:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:29 $ docker top 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:30 + go version 05:49:30 go version go1.16.3 linux/amd64 [Pipeline] } 05:49:30 $ docker stop --time=1 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb 05:49:31 $ docker rm -f 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:32 + docker inspect -f . ci-base-image-x86_64 05:49:32 . [Pipeline] withDockerContainer 05:49:32 prd-centos7-docker-4c-2g-783 does not seem to be running inside a container 05:49:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:33 $ docker top fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:33 + go mod tidy 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:49:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 05:49:33 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 05:49:33 github.com/edgexfoundry/device-rest-go/driver imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by 05:49:33 github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports 05:49:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } 05:49:34 $ docker stop --time=1 fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 05:49:35 $ docker rm -f fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 [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] libraryResource [Pipeline] sh 05:49:36 ---> job-cost.sh 05:49:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bslz 05:49:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:50:00 lf-activate-venv(): INFO: Adding /tmp/venv-Bslz/bin to PATH 05:50:00 INFO: No Stack... 05:50:00 INFO: Retrieving Pricing Info for: v3-standard-2 05:50:00 INFO: Archiving Costs [Pipeline] sh 05:50:00 + cat /w/workspace/device-rest-go/1/archives/cost.csv 05:50:00 + cut -d, -f6 [Pipeline] lock 05:50:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] 05:50:00 Resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] did not exist. Created. 05:50:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:50:00 + echo total: 0.05999999865889549 [Pipeline] stash 05:50:01 Stashed 1 file(s) [Pipeline] } 05:50:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:50:01 Failed in branch amd64 05:50:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-793 in /w/workspace/gexfoundry_device-rest-go_PR-117 [Pipeline] { [Pipeline] ws 05:50:08 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:50:08 The recommended git tool is: git 05:50:13 using credential edgex-jenkins-ssh 05:50:13 Cloning the remote Git repository 05:50:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:50:14 > git init /w/workspace/device-rest-go/1 # timeout=10 05:50:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:50:14 > git --version # timeout=10 05:50:14 > git --version # 'git version 2.17.1' 05:50:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:50:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:50:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:50:19 Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e 05:50:19 Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e 05:50:19 Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) 05:50:19 > git config core.sparsecheckout # timeout=10 05:50:19 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 05:50:19 > git remote # timeout=10 05:50:19 > git config --get remote.origin.url # timeout=10 05:50:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:19 > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 05:50:19 > git rev-parse HEAD^{commit} # timeout=10 05:50:19 > git config core.sparsecheckout # timeout=10 05:50:19 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 05:50:23 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:50:23 > git --version # timeout=10 05:50:23 > git --version # 'git version 2.17.1' 05:50:23 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:50:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:50:26 + sudo service docker restart 05:50:26 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:44 provisioning config files... 05:50:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4839782163158546124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:45 ---> docker-login.sh 05:50:45 nexus3.edgexfoundry.org:10001 05:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10002 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:47 Configure a credential helper to remove this warning. See 05:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:47 05:50:47 Login Succeeded 05:50:47 nexus3.edgexfoundry.org:10003 05:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:47 Configure a credential helper to remove this warning. See 05:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:47 05:50:47 Login Succeeded 05:50:47 nexus3.edgexfoundry.org:10004 05:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:48 Configure a credential helper to remove this warning. See 05:50:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:48 05:50:48 Login Succeeded 05:50:48 docker.io 05:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:48 Configure a credential helper to remove this warning. See 05:50:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:48 05:50:48 Login Succeeded 05:50:48 ---> docker-login.sh ends [Pipeline] } 05:50:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:50:49 ========================================================= 05:50:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:50:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:50:50 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:50:50 Sending build context to Docker daemon 92.16kB 05:50:50 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:50:50 Step 2/10 : FROM ${BASE} 05:50:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:50:50 595b0fe564bb: Pulling fs layer 05:50:50 3088b5b3c5c0: Pulling fs layer 05:50:50 5b7225fbf94c: Pulling fs layer 05:50:50 ba82ee9f976e: Pulling fs layer 05:50:50 506bd15cee9f: Pulling fs layer 05:50:50 75a0a4a0db45: Pulling fs layer 05:50:50 618dc40b7e24: Pulling fs layer 05:50:50 ba82ee9f976e: Waiting 05:50:50 75a0a4a0db45: Waiting 05:50:50 506bd15cee9f: Waiting 05:50:50 618dc40b7e24: Waiting 05:50:50 5b7225fbf94c: Verifying Checksum 05:50:50 5b7225fbf94c: Download complete 05:50:50 3088b5b3c5c0: Verifying Checksum 05:50:50 3088b5b3c5c0: Download complete 05:50:50 506bd15cee9f: Verifying Checksum 05:50:50 506bd15cee9f: Download complete 05:50:50 75a0a4a0db45: Verifying Checksum 05:50:50 75a0a4a0db45: Download complete 05:50:50 595b0fe564bb: Verifying Checksum 05:50:50 595b0fe564bb: Download complete 05:50:51 595b0fe564bb: Pull complete 05:50:52 3088b5b3c5c0: Pull complete 05:50:52 5b7225fbf94c: Pull complete 05:50:54 618dc40b7e24: Download complete 05:50:57 ba82ee9f976e: Verifying Checksum 05:50:57 ba82ee9f976e: Download complete 05:51:07 ba82ee9f976e: Pull complete 05:51:07 506bd15cee9f: Pull complete 05:51:07 75a0a4a0db45: Pull complete 05:51:11 618dc40b7e24: Pull complete 05:51:11 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:51:11 ---> a36622ca3599 05:51:11 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:51:14 ---> Running in 3059f1d73f47 05:51:14 Removing intermediate container 3059f1d73f47 05:51:14 ---> debcfdd48c44 05:51:14 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:51:14 ---> Running in 4f96cf010992 05:51:14 Removing intermediate container 4f96cf010992 05:51:14 ---> 7c32d6d5923d 05:51:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:51:14 ---> Running in 53f276f5fefd 05:51:15 Removing intermediate container 53f276f5fefd 05:51:15 ---> 325dd35e9e52 05:51:15 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:15 ---> Running in a159289fbdb1 05:51:18 Removing intermediate container a159289fbdb1 05:51:18 ---> e35895b74278 05:51:18 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:51:18 ---> Running in db1eb90b75c0 05:51:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:51:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:51:21 (1/9) Installing libc-dev (0.7.2-r3) 05:51:21 (2/9) Installing libsodium (1.0.18-r0) 05:51:21 (3/9) Installing pkgconf (1.7.3-r0) 05:51:21 (4/9) Installing libsodium-dev (1.0.18-r0) 05:51:21 (5/9) Installing openssh-keygen (8.4_p1-r3) 05:51:21 (6/9) Installing libedit (20191231.3.1-r1) 05:51:21 (7/9) Installing openssh-client (8.4_p1-r3) 05:51:22 (8/9) Installing libzmq (4.3.3-r1) 05:51:22 (9/9) Installing zeromq-dev (4.3.3-r1) 05:51:22 Executing busybox-1.32.1-r6.trigger 05:51:22 OK: 144 MiB in 49 packages 05:51:23 Removing intermediate container db1eb90b75c0 05:51:23 ---> 9739519bfd59 05:51:23 Step 8/10 : WORKDIR /device-rest-go 05:51:23 ---> Running in dbfc851bfa7e 05:51:24 Removing intermediate container dbfc851bfa7e 05:51:24 ---> 6e6383a6678f 05:51:24 Step 9/10 : COPY . . 05:51:25 ---> 539a02392e19 05:51:25 Step 10/10 : RUN go mod download 05:51:25 ---> Running in 7b9d3a8780e0 05:51:52 Removing intermediate container 7b9d3a8780e0 05:51:52 ---> 9f718e7746cf 05:51:52 Successfully built 9f718e7746cf 05:51:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:51:52 + docker inspect -f . ci-base-image-arm64 05:51:52 . [Pipeline] withDockerContainer 05:51:52 prd-ubuntu18.04-docker-arm64-4c-16g-793 does not seem to be running inside a container 05:51:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:51:54 $ docker top ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:55 + go version 05:51:55 go version go1.16.5 linux/arm64 [Pipeline] } 05:51:55 $ docker stop --time=1 ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 05:51:57 $ docker rm -f ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:58 + docker inspect -f . ci-base-image-arm64 05:51:58 . [Pipeline] withDockerContainer 05:51:58 prd-ubuntu18.04-docker-arm64-4c-16g-793 does not seem to be running inside a container 05:51:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:00 $ docker top 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:01 + go mod tidy 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:52:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 05:52:02 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 05:52:02 github.com/edgexfoundry/device-rest-go/driver imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by 05:52:02 github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports 05:52:02 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } 05:52:02 $ docker stop --time=1 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c 05:52:04 $ docker rm -f 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c [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] libraryResource [Pipeline] sh 05:52:06 ---> job-cost.sh 05:52:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uGeH 05:52:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:54:29 lf-activate-venv(): INFO: Adding /tmp/venv-uGeH/bin to PATH 05:54:29 INFO: No Stack... 05:54:29 INFO: Retrieving Pricing Info for: v2-standard-4 05:54:29 INFO: Archiving Costs [Pipeline] sh 05:54:30 + cat+ cut -d, -f6 05:54:30 /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 05:54:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] 05:54:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] did not exist. Created. 05:54:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:54:30 /w/workspace/device-rest-go/1@tmp/durable-7df3cf8e/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-7df3cf8e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:54:31 + echo total: 0.18000000715255737 [Pipeline] stash 05:54:31 Warning: overwriting stash ‘stack-cost’ 05:54:31 Stashed 1 file(s) [Pipeline] } 05:54:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:54:32 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] libraryResource [Pipeline] sh 05:54:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:36 ---> package-listing.sh 05:54:36 ++ tr '[:upper:]' '[:lower:]' 05:54:36 ++ facter osfamily 05:54:36 + OS_FAMILY=redhat 05:54:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-117 05:54:36 + START_PACKAGES=/tmp/packages_start.txt 05:54:36 + END_PACKAGES=/tmp/packages_end.txt 05:54:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:36 + PACKAGES=/tmp/packages_start.txt 05:54:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-117 ']' 05:54:36 + PACKAGES=/tmp/packages_end.txt 05:54:36 + case "${OS_FAMILY}" in 05:54:36 + sort 05:54:36 + rpm -qa 05:54:37 + '[' -f /tmp/packages_start.txt ']' 05:54:37 + '[' -f /tmp/packages_end.txt ']' 05:54:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-117 ']' 05:54:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-117/archives/ 05:54:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-117/archives/ [Pipeline] echo 05:54:37 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:54:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:54:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:38 05:54:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:54:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:38 alpine: Pulling from edgex-lftools-log-publisher 05:54:38 df20fa9351a1: Pulling fs layer 05:54:38 36b3adc4ff6f: Pulling fs layer 05:54:38 8ad3a11d3b57: Pulling fs layer 05:54:38 46f8f816bc3b: Pulling fs layer 05:54:38 93b61091891f: Pulling fs layer 05:54:38 93b9cdb0e59b: Pulling fs layer 05:54:38 5e14af77c1be: Pulling fs layer 05:54:38 01666e4c0597: Pulling fs layer 05:54:38 aa168da1d23b: Pulling fs layer 05:54:38 93b61091891f: Waiting 05:54:38 93b9cdb0e59b: Waiting 05:54:38 5e14af77c1be: Waiting 05:54:38 01666e4c0597: Waiting 05:54:38 aa168da1d23b: Waiting 05:54:38 46f8f816bc3b: Waiting 05:54:38 36b3adc4ff6f: Verifying Checksum 05:54:38 36b3adc4ff6f: Download complete 05:54:38 46f8f816bc3b: Verifying Checksum 05:54:38 46f8f816bc3b: Download complete 05:54:38 df20fa9351a1: Verifying Checksum 05:54:38 df20fa9351a1: Download complete 05:54:38 93b9cdb0e59b: Verifying Checksum 05:54:38 93b9cdb0e59b: Download complete 05:54:38 5e14af77c1be: Verifying Checksum 05:54:38 5e14af77c1be: Download complete 05:54:38 93b61091891f: Verifying Checksum 05:54:38 93b61091891f: Download complete 05:54:38 01666e4c0597: Verifying Checksum 05:54:38 01666e4c0597: Download complete 05:54:38 df20fa9351a1: Pull complete 05:54:38 36b3adc4ff6f: Pull complete 05:54:38 8ad3a11d3b57: Verifying Checksum 05:54:38 8ad3a11d3b57: Download complete 05:54:39 8ad3a11d3b57: Pull complete 05:54:39 46f8f816bc3b: Pull complete 05:54:39 93b61091891f: Pull complete 05:54:40 93b9cdb0e59b: Pull complete 05:54:40 5e14af77c1be: Pull complete 05:54:40 01666e4c0597: Pull complete 05:54:41 aa168da1d23b: Verifying Checksum 05:54:41 aa168da1d23b: Download complete 05:54:45 aa168da1d23b: Pull complete 05:54:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:54:46 prd-centos7-docker-4c-2g-772 does not seem to be running inside a container 05:54:46 $ 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-117/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-117 -v /w/workspace/gexfoundry_device-rest-go_PR-117:/w/workspace/gexfoundry_device-rest-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-117@tmp:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:54:50 $ docker top 8b7ccfaa33dbfcf715fd5f0433b55cf98497281da7bff0d5736c8340525ffeed -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:50 + mkdir -p /var/log/sa [Pipeline] sh 05:54:51 + ls /var/log/sa-host 05:54:51 + sadf -c /var/log/sa-host/sa05 05:54:51 file_magic: OK 05:54:51 HZ: Using current value: 100 05:54:51 file_header: OK 05:54:51 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 05:54:51 Statistics: 05:54:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:51 File successfully converted to sysstat format version 12.2.1 05:54:51 + sadf -c /var/log/sa-host/sa14 05:54:51 file_magic: OK 05:54:51 HZ: Using current value: 100 05:54:51 file_header: OK 05:54:51 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 05:54:51 Statistics: 05:54:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:51 provisioning config files... 05:54:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/config2066853780306977473tmp [Pipeline] { [Pipeline] echo 05:54:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:51 ---> create-netrc.sh [Pipeline] } 05:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:52 ---> python-tools-install.sh [Pipeline] echo 05:54:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:52 ---> sudo-logs.sh 05:54:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:54:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:53 ---> job-cost.sh 05:54:53 lf-activate-venv: SKIPPING 05:54:53 DEBUG: total: 0.18000000715255737 05:54:53 INFO: Retrieving Stack Cost... 05:54:54 INFO: Retrieving Pricing Info for: v3-standard-2 05:54:55 INFO: Archiving Costs [Pipeline] echo 05:54:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:55 ---> logs-deploy.sh 05:54:55 lf-activate-venv: SKIPPING 05:54:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-117/1 05:54:55 INFO: archiving workspace using pattern(s): 05:54:56 Archives upload complete. 05:54:56 INFO: archiving logs to Nexus