Pull request #275 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5d2e9f60007ec688f7e40f70575fd93192ef3997+5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 (e1f4852928ae430aa341b8e80313076bf421822d) 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-ssh4477196876882096856.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-ssh803200672147606451.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-mqtt-go/branches/PR-275/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-mqtt-go/branches/PR-275/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6169655085206178994.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-mqtt-go/branches/PR-275/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4045286002405206325.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-ssh6764022353261466358.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-mqtt-go/branches/PR-275/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-mqtt-go/branches/PR-275/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8379740180903465746.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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-761 in /w/workspace/gexfoundry_device-mqtt-go_PR-275 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-275 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go_PR-275@tmp/jenkins-gitclient-ssh2850506406084428480.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go_PR-275@tmp/jenkins-gitclient-ssh6843206190037887375.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 into PR head commit 5d2e9f60007ec688f7e40f70575fd93192ef3997 Merge succeeded, producing 5d2e9f60007ec688f7e40f70575fd93192ef3997 Checking out Revision 5d2e9f60007ec688f7e40f70575fd93192ef3997 (PR-275) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # 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-mqtt-go_PR-275@tmp/jenkins-gitclient-ssh2293878022889474507.key > git merge 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:40:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:40:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:40:31 ========================================================= 05:40:31 EdgeX Global Pipelines Version Info 05:40:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:40:33 ------------------- 05:40:33 stable info: 05:40:33 ------------------- 05:40:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:40:33 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:40:33 Message: update stable to v1.0.195 05:40:33 ------------------- 05:40:33 experimental info: 05:40:33 ------------------- 05:40:33 Commited By: **** collab-it+edgex@linuxfoundation.org 05:40:33 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:40:33 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:40:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo 05:40:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d2e9f60007ec688f7e40f70575fd93192ef3997 [Pipeline] echo 05:40:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d2e9f6 [Pipeline] echo 05:40:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:36 provisioning config files... 05:40:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/config5095800375494420368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:36 ---> docker-login.sh 05:40:36 nexus3.edgexfoundry.org:10001 05:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:37 Configure a credential helper to remove this warning. See 05:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:37 05:40:37 Login Succeeded 05:40:37 nexus3.edgexfoundry.org:10002 05:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:37 Configure a credential helper to remove this warning. See 05:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:37 05:40:37 Login Succeeded 05:40:37 nexus3.edgexfoundry.org:10003 05:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:37 Configure a credential helper to remove this warning. See 05:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:37 05:40:37 Login Succeeded 05:40:37 nexus3.edgexfoundry.org:10004 05:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:37 Configure a credential helper to remove this warning. See 05:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:37 05:40:37 Login Succeeded 05:40:37 docker.io 05:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:37 Configure a credential helper to remove this warning. See 05:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:37 05:40:37 Login Succeeded 05:40:37 ---> docker-login.sh ends [Pipeline] } 05:40:37 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:40:38 + git log --format=format:%s -1 5d2e9f60007ec688f7e40f70575fd93192ef3997 [Pipeline] echo 05:40:38 GIT_COMMIT: 5d2e9f60007ec688f7e40f70575fd93192ef3997, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:40:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:39 05:40:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:40:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:40 latest: Pulling from edgex-devops/git-semver 05:40:40 31603596830f: Pulling fs layer 05:40:40 54011a49482f: Pulling fs layer 05:40:40 a6820b24f6d8: Pulling fs layer 05:40:40 f581987b2513: Pulling fs layer 05:40:40 f581987b2513: Waiting 05:40:40 54011a49482f: Verifying Checksum 05:40:40 54011a49482f: Download complete 05:40:40 31603596830f: Verifying Checksum 05:40:40 31603596830f: Download complete 05:40:40 31603596830f: Pull complete 05:40:40 a6820b24f6d8: Verifying Checksum 05:40:40 a6820b24f6d8: Download complete 05:40:40 f581987b2513: Verifying Checksum 05:40:40 f581987b2513: Download complete 05:40:40 54011a49482f: Pull complete 05:40:41 a6820b24f6d8: Pull complete 05:40:41 f581987b2513: Pull complete 05:40:41 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:40:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:40:41 prd-centos7-docker-4c-2g-761 does not seem to be running inside a container 05:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-275 -v /w/workspace/gexfoundry_device-mqtt-go_PR-275:/w/workspace/gexfoundry_device-mqtt-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-275@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:40:43 $ docker top 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:43 [ssh-agent] Looking for ssh-agent implementation... 05:40:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:43 $ docker exec 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 ssh-agent 05:40:43 SSH_AUTH_SOCK=/tmp/ssh-8WGJNrjQRElM/agent.15 05:40:43 SSH_AGENT_PID=21 05:40:44 Running ssh-add (command line suppressed) 05:40:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/private_key_6972452570575327178.key (/w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/private_key_6972452570575327178.key) 05:40:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:44 + git tag --points-at HEAD [Pipeline] } 05:40:44 $ docker exec --env ******** --env ******** 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 ssh-agent -k 05:40:44 unset SSH_AUTH_SOCK; 05:40:44 unset SSH_AGENT_PID; 05:40:44 echo Agent pid 21 killed; 05:40:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:40:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:44 [ssh-agent] Looking for ssh-agent implementation... 05:40:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:44 $ docker exec 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 ssh-agent 05:40:45 SSH_AUTH_SOCK=/tmp/ssh-lcVOCy6cC2fC/agent.53 05:40:45 SSH_AGENT_PID=60 05:40:45 Running ssh-add (command line suppressed) 05:40:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/private_key_7755291220809873497.key (/w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/private_key_7755291220809873497.key) 05:40:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:45 + git semver init 05:40:45 # -> Open(): unable to determine branch for HEAD 05:40:45 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-275/.git 05:40:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-275 05:40:45 # $SEMVER_REMOTE_NAME = origin 05:40:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:40:45 # $SEMVER_USER_NAME = edgex-jenkins 05:40:45 # $SEMVER_BRANCH = PR-275 05:40:45 # $SEMVER_TEMP = /tmp/semver-999451372 05:40:45 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 05:40:46 # '/tmp/semver-999451372' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-275/.semver' 05:40:46 # -> Force: false 05:40:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-275/.semver [Pipeline] } 05:40:46 $ docker exec --env ******** --env ******** 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 ssh-agent -k 05:40:46 unset SSH_AUTH_SOCK; 05:40:46 unset SSH_AGENT_PID; 05:40:46 echo Agent pid 60 killed; 05:40:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:46 + git semver [Pipeline] } 05:40:46 $ docker stop --time=1 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 05:40:47 $ docker rm -f 0f557418730afc37c8b8014b949b37c8e5b3262e570d241bfc81344e48eceb36 [Pipeline] // withDockerContainer [Pipeline] sh 05:40:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:40:48 Stashed 1 file(s) [Pipeline] echo 05:40:48 [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:41:04 Still waiting to schedule task 05:41:04 ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ 05:41:04 ‘prd-centos7-docker-4c-2g-763’ is offline 05:41:04 Still waiting to schedule task 05:41:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:41:20 Running on prd-centos7-docker-4c-2g-764 in /w/workspace/gexfoundry_device-mqtt-go_PR-275 [Pipeline] { [Pipeline] ws 05:41:20 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 05:41:20 Selected Git installation does not exist. Using Default 05:41:20 The recommended git tool is: NONE 05:41:23 using credential edgex-jenkins-ssh 05:41:23 Cloning the remote Git repository 05:41:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:41:23 > git init /w/workspace/device-mqtt-go/1 # timeout=10 05:41:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:41:23 > git --version # timeout=10 05:41:23 > git --version # 'git version 2.24.4' 05:41:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:23 [INFO] Currently running in a labeled security context 05:41:23 [INFO] Currently SELinux is 'enforcing' on the host 05:41:23 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh5487808706070414398.key 05:41:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:41:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:24 Merging remotes/origin/master commit 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 into PR head commit 5d2e9f60007ec688f7e40f70575fd93192ef3997 05:41:24 Merge succeeded, producing 5d2e9f60007ec688f7e40f70575fd93192ef3997 05:41:24 Checking out Revision 5d2e9f60007ec688f7e40f70575fd93192ef3997 (PR-275) 05:41:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:24 [INFO] Currently running in a labeled security context 05:41:24 [INFO] Currently SELinux is 'enforcing' on the host 05:41:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh7405003699188761956.key 05:41:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:41:24 > git config core.sparsecheckout # timeout=10 05:41:24 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # timeout=10 05:41:24 > git remote # timeout=10 05:41:24 > git config --get remote.origin.url # timeout=10 05:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:24 [INFO] Currently running in a labeled security context 05:41:24 [INFO] Currently SELinux is 'enforcing' on the host 05:41:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh4971512479029580485.key 05:41:24 > git merge 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 05:41:24 > git rev-parse HEAD^{commit} # timeout=10 05:41:24 > git config core.sparsecheckout # timeout=10 05:41:24 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # timeout=10 05:41:28 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:41:28 > git --version # timeout=10 05:41:28 > git --version # 'git version 2.24.4' 05:41:28 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:41:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:41:30 + sudo service docker restart 05:41:30 + true 05:41:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:49 provisioning config files... 05:41:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7271850279041166549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:49 ---> docker-login.sh 05:41:49 nexus3.edgexfoundry.org:10001 05:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:49 Configure a credential helper to remove this warning. See 05:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:49 05:41:49 Login Succeeded 05:41:49 nexus3.edgexfoundry.org:10002 05:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:50 Configure a credential helper to remove this warning. See 05:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:50 05:41:50 Login Succeeded 05:41:50 nexus3.edgexfoundry.org:10003 05:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:50 Configure a credential helper to remove this warning. See 05:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:50 05:41:50 Login Succeeded 05:41:50 nexus3.edgexfoundry.org:10004 05:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:50 Configure a credential helper to remove this warning. See 05:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:50 05:41:50 Login Succeeded 05:41:50 docker.io 05:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:50 Configure a credential helper to remove this warning. See 05:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:50 05:41:50 Login Succeeded 05:41:50 ---> docker-login.sh ends [Pipeline] } 05:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:50 ========================================================= 05:41:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:41:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41:51 + 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:41:51 Sending build context to Docker daemon 615.9kB 05:41:51 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:41:51 Step 2/8 : FROM ${BASE} 05:41:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:41:51 540db60ca938: Pulling fs layer 05:41:51 adcc1eea9eea: Pulling fs layer 05:41:51 4c4ab2625f07: Pulling fs layer 05:41:51 0510c868ecb4: Pulling fs layer 05:41:51 afea3b2eda06: Pulling fs layer 05:41:51 7809a108b3ef: Pulling fs layer 05:41:51 f706445af74f: Pulling fs layer 05:41:51 afea3b2eda06: Waiting 05:41:51 7809a108b3ef: Waiting 05:41:51 f706445af74f: Waiting 05:41:51 0510c868ecb4: Waiting 05:41:51 4c4ab2625f07: Download complete 05:41:51 adcc1eea9eea: Verifying Checksum 05:41:51 adcc1eea9eea: Download complete 05:41:51 afea3b2eda06: Verifying Checksum 05:41:51 afea3b2eda06: Download complete 05:41:51 540db60ca938: Verifying Checksum 05:41:51 540db60ca938: Download complete 05:41:51 7809a108b3ef: Verifying Checksum 05:41:51 7809a108b3ef: Download complete 05:41:51 540db60ca938: Pull complete 05:41:52 adcc1eea9eea: Pull complete 05:41:52 4c4ab2625f07: Pull complete 05:41:53 f706445af74f: Verifying Checksum 05:41:53 f706445af74f: Download complete 05:41:54 0510c868ecb4: Verifying Checksum 05:41:54 0510c868ecb4: Download complete 05:41:57 0510c868ecb4: Pull complete 05:41:57 afea3b2eda06: Pull complete 05:41:57 7809a108b3ef: Pull complete 05:41:59 f706445af74f: Pull complete 05:41:59 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:41:59 ---> b068be0155e3 05:41:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:42:04 ---> Running in 4200ad1f9a3a 05:42:04 Removing intermediate container 4200ad1f9a3a 05:42:04 ---> 8523dcb55b72 05:42:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:04 ---> Running in e3dff21e9b5d 05:42:04 Removing intermediate container e3dff21e9b5d 05:42:04 ---> c2d5d8e84f58 05:42:04 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:42:04 ---> Running in fa7a6af7c16e 05:42:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:42:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:42:06 (1/13) Installing libc-dev (0.7.2-r3) 05:42:06 (2/13) Installing libsodium (1.0.18-r0) 05:42:06 (3/13) Installing pkgconf (1.7.3-r0) 05:42:06 (4/13) Installing libsodium-dev (1.0.18-r0) 05:42:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:42:06 (6/13) Installing libedit (20191231.3.1-r1) 05:42:06 (7/13) Installing openssh-client (8.4_p1-r3) 05:42:07 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:42:07 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:42:07 (10/13) Installing openssh-server (8.4_p1-r3) 05:42:07 (11/13) Installing openssh (8.4_p1-r3) 05:42:07 (12/13) Installing libzmq (4.3.3-r1) 05:42:07 (13/13) Installing zeromq-dev (4.3.3-r1) 05:42:07 Executing busybox-1.32.1-r6.trigger 05:42:07 OK: 156 MiB in 53 packages 05:42:07 Removing intermediate container fa7a6af7c16e 05:42:07 ---> 39c9e85cf50c 05:42:07 Step 6/8 : WORKDIR /device-mqtt-go 05:42:07 ---> Running in 56df8f583fa1 05:42:07 Removing intermediate container 56df8f583fa1 05:42:07 ---> 4ddccc0e790b 05:42:07 Step 7/8 : COPY . . 05:42:08 ---> a9cc2661070a 05:42:08 Step 8/8 : RUN go mod download 05:42:08 ---> Running in cfc429199b88 05:42:26 Removing intermediate container cfc429199b88 05:42:26 ---> 570767f028d7 05:42:26 Successfully built 570767f028d7 05:42:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:42:26 + docker inspect -f . ci-base-image-x86_64 05:42:26 . [Pipeline] withDockerContainer 05:42:26 prd-centos7-docker-4c-2g-764 does not seem to be running inside a container 05:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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:42:27 $ docker top aba0b960caa40d49f78bcf161bc9b95b9617ead6134194d7a849e1e9c1bc8f15 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:27 + go version 05:42:27 go version go1.16.3 linux/amd64 [Pipeline] } 05:42:27 $ docker stop --time=1 aba0b960caa40d49f78bcf161bc9b95b9617ead6134194d7a849e1e9c1bc8f15 05:42:28 $ docker rm -f aba0b960caa40d49f78bcf161bc9b95b9617ead6134194d7a849e1e9c1bc8f15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:29 + docker inspect -f . ci-base-image-x86_64 05:42:29 . [Pipeline] withDockerContainer 05:42:29 prd-centos7-docker-4c-2g-764 does not seem to be running inside a container 05:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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:42:30 $ docker top eb9e60063869c93934f2e741d7eb725f19efbb3f2ac2c9626b925e97516b27a1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:30 + go mod tidy 05:42:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:42:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:42:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 05:42:37 github.com/edgexfoundry/device-mqtt-go/internal/driver imports 05:42:37 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:42:37 github.com/edgexfoundry/device-mqtt-go/internal/driver imports 05:42:37 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 [Pipeline] } 05:42:37 $ docker stop --time=1 eb9e60063869c93934f2e741d7eb725f19efbb3f2ac2c9626b925e97516b27a1 05:42:38 $ docker rm -f eb9e60063869c93934f2e741d7eb725f19efbb3f2ac2c9626b925e97516b27a1 [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:42:40 ---> job-cost.sh 05:42:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RSip 05:42:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:43:02 lf-activate-venv(): INFO: Adding /tmp/venv-RSip/bin to PATH 05:43:02 INFO: No Stack... 05:43:03 INFO: Retrieving Pricing Info for: v3-standard-2 05:43:03 INFO: Archiving Costs [Pipeline] sh 05:43:04 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 05:43:04 + cut -d, -f6 [Pipeline] lock 05:43:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] 05:43:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] did not exist. Created. 05:43:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:43:04 + echo total: 0.05999999865889549 [Pipeline] stash 05:43:04 Stashed 1 file(s) [Pipeline] } 05:43:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:43:05 Failed in branch amd64 05:43:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-766 in /w/workspace/gexfoundry_device-mqtt-go_PR-275 [Pipeline] { [Pipeline] ws 05:43:09 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 05:43:10 Selected Git installation does not exist. Using Default 05:43:10 The recommended git tool is: NONE 05:43:15 using credential edgex-jenkins-ssh 05:43:15 Cloning the remote Git repository 05:43:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:43:15 > git init /w/workspace/device-mqtt-go/1 # timeout=10 05:43:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:43:15 > git --version # timeout=10 05:43:15 > git --version # 'git version 2.17.1' 05:43:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:17 Merging remotes/origin/master commit 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 into PR head commit 5d2e9f60007ec688f7e40f70575fd93192ef3997 05:43:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:43:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:43:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:43:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:17 > git config core.sparsecheckout # timeout=10 05:43:17 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # timeout=10 05:43:17 Merge succeeded, producing 5d2e9f60007ec688f7e40f70575fd93192ef3997 05:43:17 Checking out Revision 5d2e9f60007ec688f7e40f70575fd93192ef3997 (PR-275) 05:43:17 > git remote # timeout=10 05:43:17 > git config --get remote.origin.url # timeout=10 05:43:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:17 > git merge 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 05:43:17 > git rev-parse HEAD^{commit} # timeout=10 05:43:17 > git config core.sparsecheckout # timeout=10 05:43:17 > git checkout -f 5d2e9f60007ec688f7e40f70575fd93192ef3997 # timeout=10 05:43:21 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:43:21 > git --version # timeout=10 05:43:21 > git --version # 'git version 2.17.1' 05:43:21 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:43:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:43:24 + sudo service docker restart 05:43:24 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:42 provisioning config files... 05:43:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4627852514863773737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:43 ---> docker-login.sh 05:43:43 nexus3.edgexfoundry.org:10001 05:43:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:44 Configure a credential helper to remove this warning. See 05:43:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:44 05:43:44 Login Succeeded 05:43:44 nexus3.edgexfoundry.org:10002 05:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:45 Configure a credential helper to remove this warning. See 05:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:45 05:43:45 Login Succeeded 05:43:45 nexus3.edgexfoundry.org:10003 05:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:46 Configure a credential helper to remove this warning. See 05:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:46 05:43:46 Login Succeeded 05:43:46 nexus3.edgexfoundry.org:10004 05:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:46 Configure a credential helper to remove this warning. See 05:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:46 05:43:46 Login Succeeded 05:43:46 docker.io 05:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:47 Configure a credential helper to remove this warning. See 05:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:47 05:43:47 Login Succeeded 05:43:47 ---> docker-login.sh ends [Pipeline] } 05:43:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:47 ========================================================= 05:43:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:43:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:43:48 + 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:43:48 Sending build context to Docker daemon 614.9kB 05:43:49 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:43:49 Step 2/8 : FROM ${BASE} 05:43:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:43:49 595b0fe564bb: Pulling fs layer 05:43:49 3088b5b3c5c0: Pulling fs layer 05:43:49 5b7225fbf94c: Pulling fs layer 05:43:49 ba82ee9f976e: Pulling fs layer 05:43:49 506bd15cee9f: Pulling fs layer 05:43:49 75a0a4a0db45: Pulling fs layer 05:43:49 618dc40b7e24: Pulling fs layer 05:43:49 506bd15cee9f: Waiting 05:43:49 75a0a4a0db45: Waiting 05:43:49 618dc40b7e24: Waiting 05:43:49 ba82ee9f976e: Waiting 05:43:49 5b7225fbf94c: Verifying Checksum 05:43:49 5b7225fbf94c: Download complete 05:43:49 3088b5b3c5c0: Verifying Checksum 05:43:49 3088b5b3c5c0: Download complete 05:43:49 506bd15cee9f: Verifying Checksum 05:43:49 506bd15cee9f: Download complete 05:43:49 75a0a4a0db45: Verifying Checksum 05:43:49 75a0a4a0db45: Download complete 05:43:49 595b0fe564bb: Verifying Checksum 05:43:49 595b0fe564bb: Download complete 05:43:49 595b0fe564bb: Pull complete 05:43:50 3088b5b3c5c0: Pull complete 05:43:51 5b7225fbf94c: Pull complete 05:43:52 618dc40b7e24: Verifying Checksum 05:43:52 618dc40b7e24: Download complete 05:43:53 ba82ee9f976e: Verifying Checksum 05:43:53 ba82ee9f976e: Download complete 05:44:03 ba82ee9f976e: Pull complete 05:44:04 506bd15cee9f: Pull complete 05:44:04 75a0a4a0db45: Pull complete 05:44:09 618dc40b7e24: Pull complete 05:44:09 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:44:09 ---> a36622ca3599 05:44:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:44:10 ---> Running in 445745b46ef6 05:44:10 Removing intermediate container 445745b46ef6 05:44:10 ---> 06f034125c34 05:44:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:10 ---> Running in c92b71c062ff 05:44:13 Removing intermediate container c92b71c062ff 05:44:13 ---> 6ec13436b285 05:44:13 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:44:13 ---> Running in 94837ad4bca6 05:44:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:44:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:44:15 (1/13) Installing libc-dev (0.7.2-r3) 05:44:16 (2/13) Installing libsodium (1.0.18-r0) 05:44:16 (3/13) Installing pkgconf (1.7.3-r0) 05:44:16 (4/13) Installing libsodium-dev (1.0.18-r0) 05:44:16 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:44:16 (6/13) Installing libedit (20191231.3.1-r1) 05:44:16 (7/13) Installing openssh-client (8.4_p1-r3) 05:44:17 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:44:17 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:44:17 (10/13) Installing openssh-server (8.4_p1-r3) 05:44:17 (11/13) Installing openssh (8.4_p1-r3) 05:44:17 (12/13) Installing libzmq (4.3.3-r1) 05:44:17 (13/13) Installing zeromq-dev (4.3.3-r1) 05:44:17 Executing busybox-1.32.1-r6.trigger 05:44:17 OK: 145 MiB in 53 packages 05:44:19 Removing intermediate container 94837ad4bca6 05:44:19 ---> 69ebe1e6de02 05:44:19 Step 6/8 : WORKDIR /device-mqtt-go 05:44:19 ---> Running in e695fbd75e5f 05:44:19 Removing intermediate container e695fbd75e5f 05:44:19 ---> c304b5c6204d 05:44:19 Step 7/8 : COPY . . 05:44:20 ---> 4f2d28500f7d 05:44:20 Step 8/8 : RUN go mod download 05:44:20 ---> Running in 77cbb71cc9ec 05:44:47 Removing intermediate container 77cbb71cc9ec 05:44:47 ---> d68ae38831f5 05:44:47 Successfully built d68ae38831f5 05:44:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:44:48 + docker inspect -f . ci-base-image-arm64 05:44:48 . [Pipeline] withDockerContainer 05:44:48 prd-ubuntu18.04-docker-arm64-4c-16g-766 does not seem to be running inside a container 05:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 ******** ci-base-image-arm64 cat 05:44:50 $ docker top dc720f7dc65eb36054b8a57fee8abd76aa12c0da3ccaa8ffeb70eac576b8079f -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:51 + go version 05:44:51 go version go1.16.5 linux/arm64 [Pipeline] } 05:44:51 $ docker stop --time=1 dc720f7dc65eb36054b8a57fee8abd76aa12c0da3ccaa8ffeb70eac576b8079f 05:44:53 $ docker rm -f dc720f7dc65eb36054b8a57fee8abd76aa12c0da3ccaa8ffeb70eac576b8079f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:54 + docker inspect -f . ci-base-image-arm64 05:44:54 . [Pipeline] withDockerContainer 05:44:54 prd-ubuntu18.04-docker-arm64-4c-16g-766 does not seem to be running inside a container 05:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 ******** ci-base-image-arm64 cat 05:44:56 $ docker top b962fbc384fab3cf1bc8d1e5b4e4d14f60c1b4d7a8d4dc0f9eaf60eeb5e895a9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:57 + go mod tidy 05:44:58 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 05:44:58 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 05:44:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 05:44:58 github.com/edgexfoundry/device-mqtt-go/internal/driver imports 05:44:58 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:44:58 github.com/edgexfoundry/device-mqtt-go/internal/driver imports 05:44:58 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 [Pipeline] } 05:44:58 $ docker stop --time=1 b962fbc384fab3cf1bc8d1e5b4e4d14f60c1b4d7a8d4dc0f9eaf60eeb5e895a9 05:45:00 $ docker rm -f b962fbc384fab3cf1bc8d1e5b4e4d14f60c1b4d7a8d4dc0f9eaf60eeb5e895a9 [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:45:01 ---> job-cost.sh 05:45:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iD01 05:45:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:47:02 lf-activate-venv(): INFO: Adding /tmp/venv-iD01/bin to PATH 05:47:02 INFO: No Stack... 05:47:02 INFO: Retrieving Pricing Info for: v2-standard-4 05:47:02 INFO: Archiving Costs [Pipeline] sh 05:47:03 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 05:47:03 + cut -d, -f6 [Pipeline] lock 05:47:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] 05:47:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] did not exist. Created. 05:47:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:47:03 /w/workspace/device-mqtt-go/1@tmp/durable-df375af0/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-df375af0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:47:04 + echo total: 0.18000000715255737 [Pipeline] stash 05:47:04 Warning: overwriting stash ‘stack-cost’ 05:47:04 Stashed 1 file(s) [Pipeline] } 05:47:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:47:05 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:47:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:47:08 ---> package-listing.sh 05:47:08 ++ facter osfamily 05:47:08 ++ tr '[:upper:]' '[:lower:]' 05:47:09 + OS_FAMILY=redhat 05:47:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-275 05:47:09 + START_PACKAGES=/tmp/packages_start.txt 05:47:09 + END_PACKAGES=/tmp/packages_end.txt 05:47:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:47:09 + PACKAGES=/tmp/packages_start.txt 05:47:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-275 ']' 05:47:09 + PACKAGES=/tmp/packages_end.txt 05:47:09 + case "${OS_FAMILY}" in 05:47:09 + sort 05:47:09 + rpm -qa 05:47:09 + '[' -f /tmp/packages_start.txt ']' 05:47:09 + '[' -f /tmp/packages_end.txt ']' 05:47:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:47:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-275 ']' 05:47:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-275/archives/ 05:47:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-275/archives/ [Pipeline] echo 05:47:09 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-mqtt-go_PR-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:47:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:47:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:47:10 05:47:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:47:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:47:10 alpine: Pulling from edgex-lftools-log-publisher 05:47:10 df20fa9351a1: Pulling fs layer 05:47:10 36b3adc4ff6f: Pulling fs layer 05:47:10 8ad3a11d3b57: Pulling fs layer 05:47:10 46f8f816bc3b: Pulling fs layer 05:47:10 93b61091891f: Pulling fs layer 05:47:10 93b9cdb0e59b: Pulling fs layer 05:47:10 5e14af77c1be: Pulling fs layer 05:47:10 01666e4c0597: Pulling fs layer 05:47:10 aa168da1d23b: Pulling fs layer 05:47:10 46f8f816bc3b: Waiting 05:47:10 93b61091891f: Waiting 05:47:10 93b9cdb0e59b: Waiting 05:47:10 5e14af77c1be: Waiting 05:47:10 01666e4c0597: Waiting 05:47:10 aa168da1d23b: Waiting 05:47:10 36b3adc4ff6f: Verifying Checksum 05:47:10 36b3adc4ff6f: Download complete 05:47:10 46f8f816bc3b: Verifying Checksum 05:47:10 46f8f816bc3b: Download complete 05:47:11 df20fa9351a1: Verifying Checksum 05:47:11 df20fa9351a1: Download complete 05:47:11 93b9cdb0e59b: Verifying Checksum 05:47:11 93b9cdb0e59b: Download complete 05:47:11 5e14af77c1be: Verifying Checksum 05:47:11 5e14af77c1be: Download complete 05:47:11 01666e4c0597: Verifying Checksum 05:47:11 01666e4c0597: Download complete 05:47:11 8ad3a11d3b57: Verifying Checksum 05:47:11 8ad3a11d3b57: Download complete 05:47:11 df20fa9351a1: Pull complete 05:47:11 36b3adc4ff6f: Pull complete 05:47:11 93b61091891f: Verifying Checksum 05:47:11 93b61091891f: Download complete 05:47:12 8ad3a11d3b57: Pull complete 05:47:12 46f8f816bc3b: Pull complete 05:47:12 93b61091891f: Pull complete 05:47:12 93b9cdb0e59b: Pull complete 05:47:12 5e14af77c1be: Pull complete 05:47:12 01666e4c0597: Pull complete 05:47:13 aa168da1d23b: Verifying Checksum 05:47:13 aa168da1d23b: Download complete 05:47:18 aa168da1d23b: Pull complete 05:47:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:47:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:47:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:47:18 prd-centos7-docker-4c-2g-761 does not seem to be running inside a container 05:47:18 $ 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-mqtt-go_PR-275/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-mqtt-go_PR-275 -v /w/workspace/gexfoundry_device-mqtt-go_PR-275:/w/workspace/gexfoundry_device-mqtt-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-275@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:47:21 $ docker top a493243723a59acd197f46fb86d04292d178b7d26d077a6d896a931bc5cc9014 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:21 + touch /tmp/pre-build-complete [Pipeline] sh 05:47:22 + mkdir -p /var/log/sa [Pipeline] sh 05:47:22 + ls /var/log/sa-host 05:47:22 + sadf -c /var/log/sa-host/sa05 05:47:22 file_magic: OK 05:47:22 HZ: Using current value: 100 05:47:22 file_header: OK 05:47:22 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:47:22 Statistics: 05:47:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:47:22 File successfully converted to sysstat format version 12.2.1 05:47:22 + sadf -c /var/log/sa-host/sa14 05:47:22 file_magic: OK 05:47:22 HZ: Using current value: 100 05:47:22 file_header: OK 05:47:22 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:47:22 Statistics: 05:47:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:47:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:22 provisioning config files... 05:47:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-275@tmp/config3607130015969109365tmp [Pipeline] { [Pipeline] echo 05:47:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:47:23 ---> create-netrc.sh [Pipeline] } 05:47:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:47:23 ---> python-tools-install.sh [Pipeline] echo 05:47:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:47:24 ---> sudo-logs.sh 05:47:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:47:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:47:24 ---> job-cost.sh 05:47:24 lf-activate-venv: SKIPPING 05:47:24 DEBUG: total: 0.18000000715255737 05:47:24 INFO: Retrieving Stack Cost... 05:47:26 INFO: Retrieving Pricing Info for: v3-standard-2 05:47:26 INFO: Archiving Costs [Pipeline] echo 05:47:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:47:27 ---> logs-deploy.sh 05:47:27 lf-activate-venv: SKIPPING 05:47:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-275/1 05:47:27 INFO: archiving workspace using pattern(s): 05:47:28 Archives upload complete. 05:47:28 INFO: archiving logs to Nexus