Pull request #319 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f53343128e220812a7c5f962cbbe748620fc478+f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (47c1c22670009103b137f405fd767c6d250cd612) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh275068756706447904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2041623688844188091.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-319/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-319/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5102263302650833112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-319/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4356110433713475201.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6207171100094769291.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-319/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-319/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4183345774103340296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-561’ Running on prd-centos7-docker-4c-2g-568 in /w/workspace/gexfoundry_device-mqtt-go_PR-319 [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-319 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/jenkins-gitclient-ssh3031558567617561599.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 1f53343128e220812a7c5f962cbbe748620fc478 Merge succeeded, producing 1f53343128e220812a7c5f962cbbe748620fc478 Checking out Revision 1f53343128e220812a7c5f962cbbe748620fc478 (PR-319) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/jenkins-gitclient-ssh6846261381543533114.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/jenkins-gitclient-ssh7058778605235690668.key > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # 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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-15T01:20:02.296Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-15T01:20:02.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-15T01:20:02.519Z] ========================================================= [2021-11-15T01:20:02.519Z] EdgeX Global Pipelines Version Info [2021-11-15T01:20:02.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:20:03.700Z] ------------------- [2021-11-15T01:20:03.700Z] stable info: [2021-11-15T01:20:03.700Z] ------------------- [2021-11-15T01:20:03.700Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-15T01:20:03.700Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T01:20:03.700Z] Message: update stable to v1.0.215 [2021-11-15T01:20:04.646Z] ------------------- [2021-11-15T01:20:04.646Z] experimental info: [2021-11-15T01:20:04.646Z] ------------------- [2021-11-15T01:20:04.646Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-15T01:20:04.646Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T01:20:04.646Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-15T01:20:04.812Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-15T01:20:04.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-15T01:20:04.891Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-15T01:20:04.931Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-15T01:20:04.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-15T01:20:05.010Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-15T01:20:05.049Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-15T01:20:05.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-15T01:20:05.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-15T01:20:05.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-15T01:20:05.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-15T01:20:05.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-15T01:20:05.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-15T01:20:05.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-15T01:20:05.376Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T01:20:05.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T01:20:05.459Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T01:20:05.500Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T01:20:05.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-15T01:20:05.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-15T01:20:05.630Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-15T01:20:05.678Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-15T01:20:05.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-15T01:20:05.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-15T01:20:05.805Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-15T01:20:05.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-15T01:20:05.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo [2021-11-15T01:20:05.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo [2021-11-15T01:20:05.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo [2021-11-15T01:20:06.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f53343128e220812a7c5f962cbbe748620fc478 [Pipeline] echo [2021-11-15T01:20:06.073Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f53343 [Pipeline] echo [2021-11-15T01:20:06.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:20:06.201Z] provisioning config files... [2021-11-15T01:20:06.215Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/config6152062444217982570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:20:06.574Z] ---> docker-login.sh [2021-11-15T01:20:06.574Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:20:06.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:06.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:06.837Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:06.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:06.837Z] [2021-11-15T01:20:06.837Z] Login Succeeded [2021-11-15T01:20:06.837Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:20:06.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:06.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:06.837Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:06.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:06.837Z] [2021-11-15T01:20:06.837Z] Login Succeeded [2021-11-15T01:20:06.837Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:20:06.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:07.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:07.099Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:07.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:07.099Z] [2021-11-15T01:20:07.099Z] Login Succeeded [2021-11-15T01:20:07.099Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:20:07.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:07.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:07.099Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:07.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:07.099Z] [2021-11-15T01:20:07.099Z] Login Succeeded [2021-11-15T01:20:07.099Z] docker.io [2021-11-15T01:20:07.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:07.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:07.671Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:07.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:07.671Z] [2021-11-15T01:20:07.671Z] Login Succeeded [2021-11-15T01:20:07.671Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:20:07.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-15T01:20:08.294Z] + git rev-list -1 --merges 1f53343128e220812a7c5f962cbbe748620fc478~1..1f53343128e220812a7c5f962cbbe748620fc478 [Pipeline] echo [2021-11-15T01:20:08.344Z] -----------> git rev-list -1 --merges 1f53343128e220812a7c5f962cbbe748620fc478~1..1f53343128e220812a7c5f962cbbe748620fc478 1f53343128e220812a7c5f962cbbe748620fc478 [false] [Pipeline] sh [2021-11-15T01:20:08.660Z] + git log --format=format:%s -1 1f53343128e220812a7c5f962cbbe748620fc478 [Pipeline] echo [2021-11-15T01:20:08.690Z] ========================================================= [2021-11-15T01:20:08.690Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-15T01:20:08.690Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T01:20:09.112Z] + git log --format=format:%s -1 1f53343128e220812a7c5f962cbbe748620fc478 [Pipeline] echo [2021-11-15T01:20:09.138Z] [semverPrep] GIT_COMMIT: 1f53343128e220812a7c5f962cbbe748620fc478, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-11-15T01:20:09.168Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:20:09.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:09.650Z] [2021-11-15T01:20:09.650Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:20:10.000Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:10.000Z] latest: Pulling from edgex-devops/git-semver [2021-11-15T01:20:10.000Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T01:20:10.000Z] 3e5f54012d9b: Pulling fs layer [2021-11-15T01:20:10.000Z] 4c7163046ea9: Pulling fs layer [2021-11-15T01:20:10.000Z] 0c2d73faf560: Pulling fs layer [2021-11-15T01:20:10.000Z] 0c2d73faf560: Waiting [2021-11-15T01:20:10.000Z] 3e5f54012d9b: Verifying Checksum [2021-11-15T01:20:10.000Z] 3e5f54012d9b: Download complete [2021-11-15T01:20:10.000Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T01:20:10.000Z] a0d0a0d46f8b: Download complete [2021-11-15T01:20:10.263Z] 4c7163046ea9: Verifying Checksum [2021-11-15T01:20:10.263Z] 4c7163046ea9: Download complete [2021-11-15T01:20:10.263Z] 0c2d73faf560: Verifying Checksum [2021-11-15T01:20:10.263Z] 0c2d73faf560: Download complete [2021-11-15T01:20:10.263Z] a0d0a0d46f8b: Pull complete [2021-11-15T01:20:10.263Z] 3e5f54012d9b: Pull complete [2021-11-15T01:20:10.531Z] 4c7163046ea9: Pull complete [2021-11-15T01:20:10.792Z] 0c2d73faf560: Pull complete [2021-11-15T01:20:10.792Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-15T01:20:10.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:10.792Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-15T01:20:10.884Z] prd-centos7-docker-4c-2g-568 does not seem to be running inside a container [2021-11-15T01:20:10.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-319 -v /w/workspace/gexfoundry_device-mqtt-go_PR-319:/w/workspace/gexfoundry_device-mqtt-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-319@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 [2021-11-15T01:20:11.619Z] $ docker top dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T01:20:11.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T01:20:11.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T01:20:11.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T01:20:11.890Z] $ docker exec dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 ssh-agent [2021-11-15T01:20:11.986Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpNNmNm/agent.14 [2021-11-15T01:20:11.986Z] SSH_AGENT_PID=21 [2021-11-15T01:20:11.996Z] Running ssh-add (command line suppressed) [2021-11-15T01:20:12.084Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/private_key_5438569398990739835.key (/w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/private_key_5438569398990739835.key) [2021-11-15T01:20:12.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T01:20:12.424Z] + git tag --points-at HEAD [Pipeline] } [2021-11-15T01:20:12.444Z] $ docker exec --env ******** --env ******** dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 ssh-agent -k [2021-11-15T01:20:12.566Z] unset SSH_AUTH_SOCK; [2021-11-15T01:20:12.566Z] unset SSH_AGENT_PID; [2021-11-15T01:20:12.566Z] echo Agent pid 21 killed; [2021-11-15T01:20:12.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-15T01:20:12.638Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T01:20:12.639Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T01:20:12.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T01:20:12.742Z] $ docker exec dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 ssh-agent [2021-11-15T01:20:12.830Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMEkEKG/agent.54 [2021-11-15T01:20:12.830Z] SSH_AGENT_PID=61 [2021-11-15T01:20:12.835Z] Running ssh-add (command line suppressed) [2021-11-15T01:20:12.925Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/private_key_2994082406760776999.key (/w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/private_key_2994082406760776999.key) [2021-11-15T01:20:12.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T01:20:13.268Z] + git semver init [2021-11-15T01:20:13.268Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T01:20:13.268Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-319/.git [2021-11-15T01:20:13.268Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-319 [2021-11-15T01:20:13.268Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T01:20:13.268Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T01:20:13.268Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T01:20:13.268Z] # $SEMVER_BRANCH = PR-319 [2021-11-15T01:20:13.268Z] # $SEMVER_TEMP = /tmp/semver-419801138 [2021-11-15T01:20:13.268Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-15T01:20:13.842Z] # '/tmp/semver-419801138' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-319/.semver' [2021-11-15T01:20:13.842Z] # -> Force: false [2021-11-15T01:20:13.842Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-319/.semver [Pipeline] } [2021-11-15T01:20:13.860Z] $ docker exec --env ******** --env ******** dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 ssh-agent -k [2021-11-15T01:20:13.956Z] unset SSH_AUTH_SOCK; [2021-11-15T01:20:13.956Z] unset SSH_AGENT_PID; [2021-11-15T01:20:13.956Z] echo Agent pid 61 killed; [2021-11-15T01:20:13.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T01:20:14.374Z] + git semver [Pipeline] } [2021-11-15T01:20:14.398Z] $ docker stop --time=1 dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 [2021-11-15T01:20:15.706Z] $ docker rm -f dd6d89eee6c75d274a997d95ea075bbbde3724f09d40784e05634187b8ba59d4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T01:20:16.128Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-15T01:20:16.425Z] Stashed 1 file(s) [Pipeline] echo [2021-11-15T01:20:16.441Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-15T01:20:31.813Z] Still waiting to schedule task [2021-11-15T01:20:31.813Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-15T01:20:31.831Z] Still waiting to schedule task [2021-11-15T01:20:31.832Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-565’ [2021-11-15T01:21:16.575Z] Running on prd-centos7-docker-4c-2g-571 in /w/workspace/gexfoundry_device-mqtt-go_PR-319 [Pipeline] { [Pipeline] ws [2021-11-15T01:21:16.627Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T01:21:16.747Z] Selected Git installation does not exist. Using Default [2021-11-15T01:21:16.747Z] The recommended git tool is: NONE [2021-11-15T01:21:18.753Z] using credential edgex-jenkins-ssh [2021-11-15T01:21:18.770Z] Cloning the remote Git repository [2021-11-15T01:21:18.857Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:18.915Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-11-15T01:21:18.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:18.946Z] > git --version # timeout=10 [2021-11-15T01:21:18.952Z] > git --version # 'git version 2.24.4' [2021-11-15T01:21:18.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:18.989Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:18.990Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:18.994Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh9055039997746677430.key [2021-11-15T01:21:19.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:21:20.051Z] Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 1f53343128e220812a7c5f962cbbe748620fc478 [2021-11-15T01:21:19.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:21:19.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:21:19.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:21:19.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:19.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:19.663Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:19.663Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:19.663Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh4820173314373135346.key [2021-11-15T01:21:19.672Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T01:21:20.131Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:21:20.146Z] > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # timeout=10 [2021-11-15T01:21:20.182Z] > git remote # timeout=10 [2021-11-15T01:21:20.192Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T01:21:20.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:20.203Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:20.204Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:20.204Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh5688912648909031908.key [2021-11-15T01:21:20.211Z] > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-15T01:21:20.182Z] Merge succeeded, producing 1f53343128e220812a7c5f962cbbe748620fc478 [2021-11-15T01:21:20.182Z] Checking out Revision 1f53343128e220812a7c5f962cbbe748620fc478 (PR-319) [2021-11-15T01:21:20.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T01:21:20.249Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:21:20.262Z] > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # timeout=10 [2021-11-15T01:21:23.785Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-11-15T01:21:23.871Z] > git --version # timeout=10 [2021-11-15T01:21:23.875Z] > git --version # 'git version 2.24.4' [2021-11-15T01:21:23.887Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:21:24.326Z] provisioning config files... [2021-11-15T01:21:24.340Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2671562546449055097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:21:24.751Z] ---> docker-login.sh [2021-11-15T01:21:24.751Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:21:24.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:24.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:24.751Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:24.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:24.751Z] [2021-11-15T01:21:24.751Z] Login Succeeded [2021-11-15T01:21:24.751Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:21:25.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:25.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:25.013Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:25.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:25.013Z] [2021-11-15T01:21:25.013Z] Login Succeeded [2021-11-15T01:21:25.013Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:21:25.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:25.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:25.013Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:25.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:25.013Z] [2021-11-15T01:21:25.013Z] Login Succeeded [2021-11-15T01:21:25.013Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:21:25.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:25.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:25.274Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:25.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:25.274Z] [2021-11-15T01:21:25.274Z] Login Succeeded [2021-11-15T01:21:25.274Z] docker.io [2021-11-15T01:21:25.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:25.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:25.534Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:25.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:25.534Z] [2021-11-15T01:21:25.534Z] Login Succeeded [2021-11-15T01:21:25.534Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:21:25.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T01:21:25.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T01:21:25.833Z] ========================================================= [2021-11-15T01:21:25.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-15T01:21:25.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:21:26.240Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-15T01:21:26.240Z] Sending build context to Docker daemon 721.4kB [2021-11-15T01:21:26.240Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T01:21:26.240Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T01:21:26.240Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-15T01:21:26.240Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T01:21:26.240Z] 31adcdaf11c8: Pulling fs layer [2021-11-15T01:21:26.240Z] b8b176561691: Pulling fs layer [2021-11-15T01:21:26.240Z] 4527c011a84f: Pulling fs layer [2021-11-15T01:21:26.240Z] 5d74067f8e1e: Pulling fs layer [2021-11-15T01:21:26.240Z] e0aca202a116: Pulling fs layer [2021-11-15T01:21:26.240Z] 3a43be97a3b4: Pulling fs layer [2021-11-15T01:21:26.240Z] 34cad66bf833: Pulling fs layer [2021-11-15T01:21:26.240Z] b4e3c513aaa6: Pulling fs layer [2021-11-15T01:21:26.240Z] 4527c011a84f: Waiting [2021-11-15T01:21:26.240Z] 5d74067f8e1e: Waiting [2021-11-15T01:21:26.240Z] e0aca202a116: Waiting [2021-11-15T01:21:26.240Z] 3a43be97a3b4: Waiting [2021-11-15T01:21:26.240Z] 34cad66bf833: Waiting [2021-11-15T01:21:26.240Z] b4e3c513aaa6: Waiting [2021-11-15T01:21:26.240Z] b8b176561691: Verifying Checksum [2021-11-15T01:21:26.240Z] b8b176561691: Download complete [2021-11-15T01:21:26.240Z] 31adcdaf11c8: Verifying Checksum [2021-11-15T01:21:26.240Z] 31adcdaf11c8: Download complete [2021-11-15T01:21:26.240Z] 5d74067f8e1e: Verifying Checksum [2021-11-15T01:21:26.241Z] 5d74067f8e1e: Download complete [2021-11-15T01:21:26.241Z] e0aca202a116: Verifying Checksum [2021-11-15T01:21:26.241Z] e0aca202a116: Download complete [2021-11-15T01:21:26.504Z] a0d0a0d46f8b: Download complete [2021-11-15T01:21:26.504Z] 3a43be97a3b4: Verifying Checksum [2021-11-15T01:21:26.504Z] 3a43be97a3b4: Download complete [2021-11-15T01:21:26.504Z] 34cad66bf833: Verifying Checksum [2021-11-15T01:21:26.504Z] 34cad66bf833: Download complete [2021-11-15T01:21:26.504Z] a0d0a0d46f8b: Pull complete [2021-11-15T01:21:26.771Z] 31adcdaf11c8: Pull complete [2021-11-15T01:21:27.042Z] 4527c011a84f: Verifying Checksum [2021-11-15T01:21:27.042Z] 4527c011a84f: Download complete [2021-11-15T01:21:27.042Z] b8b176561691: Pull complete [2021-11-15T01:21:27.042Z] b4e3c513aaa6: Verifying Checksum [2021-11-15T01:21:27.042Z] b4e3c513aaa6: Download complete [2021-11-15T01:21:31.278Z] 4527c011a84f: Pull complete [2021-11-15T01:21:31.278Z] 5d74067f8e1e: Pull complete [2021-11-15T01:21:31.278Z] e0aca202a116: Pull complete [2021-11-15T01:21:31.278Z] 3a43be97a3b4: Pull complete [2021-11-15T01:21:31.547Z] 34cad66bf833: Pull complete [2021-11-15T01:21:34.887Z] b4e3c513aaa6: Pull complete [2021-11-15T01:21:34.887Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-15T01:21:34.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-15T01:21:34.887Z] ---> 9f6097aaca64 [2021-11-15T01:21:34.887Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T01:21:39.180Z] ---> Running in 547e5a47228c [2021-11-15T01:21:39.180Z] Removing intermediate container 547e5a47228c [2021-11-15T01:21:39.180Z] ---> c4497d738f9a [2021-11-15T01:21:39.180Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T01:21:39.180Z] ---> Running in d613823492a0 [2021-11-15T01:21:39.180Z] Removing intermediate container d613823492a0 [2021-11-15T01:21:39.180Z] ---> 663fd10e1dab [2021-11-15T01:21:39.180Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T01:21:39.180Z] ---> Running in cd766c069802 [2021-11-15T01:21:39.751Z] Removing intermediate container cd766c069802 [2021-11-15T01:21:39.751Z] ---> bcc0260e65ac [2021-11-15T01:21:39.751Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T01:21:40.013Z] ---> Running in 34b1d031b820 [2021-11-15T01:21:40.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T01:21:41.218Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T01:21:41.218Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T01:21:41.482Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T01:21:41.482Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T01:21:41.746Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T01:21:41.746Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T01:21:41.746Z] OK: 224 MiB in 56 packages [2021-11-15T01:21:42.009Z] Removing intermediate container 34b1d031b820 [2021-11-15T01:21:42.009Z] ---> 169eb75ba60e [2021-11-15T01:21:42.009Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-15T01:21:42.009Z] ---> Running in cdb95b578526 [2021-11-15T01:21:42.270Z] Removing intermediate container cdb95b578526 [2021-11-15T01:21:42.270Z] ---> ddb5a997e524 [2021-11-15T01:21:42.270Z] Step 8/11 : COPY . . [2021-11-15T01:21:42.533Z] ---> 9ef1833338d3 [2021-11-15T01:21:42.533Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T01:21:42.533Z] ---> Running in 8497978ee628 [2021-11-15T01:22:14.906Z] Removing intermediate container 8497978ee628 [2021-11-15T01:22:14.906Z] ---> 6f79c9ff6cd7 [2021-11-15T01:22:14.906Z] Step 10/11 : ARG MAKE='make build' [2021-11-15T01:22:14.906Z] ---> Running in a9eeff7a99e4 [2021-11-15T01:22:14.906Z] Removing intermediate container a9eeff7a99e4 [2021-11-15T01:22:14.906Z] ---> f3d502b69cfd [2021-11-15T01:22:14.906Z] Step 11/11 : RUN $MAKE [2021-11-15T01:22:14.906Z] ---> Running in df68034afdd0 [2021-11-15T01:22:14.906Z] noop [2021-11-15T01:22:14.906Z] Removing intermediate container df68034afdd0 [2021-11-15T01:22:14.906Z] ---> 0d1d84a053a8 [2021-11-15T01:22:14.906Z] Successfully built 0d1d84a053a8 [2021-11-15T01:22:14.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:15.243Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T01:22:15.243Z] . [Pipeline] withDockerContainer [2021-11-15T01:22:15.336Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-11-15T01:22:15.383Z] $ 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 [2021-11-15T01:22:15.716Z] $ docker top b5a2861a5ee58fbf39da9896abc0c5dd10300d9987bab45077af38af434b95f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:22:16.198Z] + go version [2021-11-15T01:22:16.198Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-15T01:22:16.226Z] $ docker stop --time=1 b5a2861a5ee58fbf39da9896abc0c5dd10300d9987bab45077af38af434b95f3 [2021-11-15T01:22:17.408Z] $ docker rm -f b5a2861a5ee58fbf39da9896abc0c5dd10300d9987bab45077af38af434b95f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:18.064Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T01:22:18.064Z] . [Pipeline] withDockerContainer [2021-11-15T01:22:18.152Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-11-15T01:22:18.206Z] $ 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 [2021-11-15T01:22:18.589Z] $ docker top 90407c70c20edd13bc91cab96507918bf9f4fd639e9f34701520d01b8c30b0c1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T01:22:19.038Z] + make test [2021-11-15T01:22:19.039Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T01:22:19.039Z] verifying github.com/edgexfoundry/go-mod-core-contracts/v2@v2.1.0: checksum mismatch [2021-11-15T01:22:19.039Z] downloaded: h1:uphot3ZKOH0/aoo/Y5gr2NCRgGzy9RksWsXKtJRVEuQ= [2021-11-15T01:22:19.039Z] go.sum: h1:QIb6pcSYxL9F4TDnZOZk7+USnZ8Nivz1hHxmoAFNPVM= [2021-11-15T01:22:19.039Z] [2021-11-15T01:22:19.039Z] SECURITY ERROR [2021-11-15T01:22:19.039Z] This download does NOT match an earlier download recorded in go.sum. [2021-11-15T01:22:19.039Z] The bits may have been replaced on the origin server, or an attacker may [2021-11-15T01:22:19.039Z] have intercepted the download attempt. [2021-11-15T01:22:19.039Z] [2021-11-15T01:22:19.039Z] For more information, see 'go help module-auth'. [2021-11-15T01:22:19.039Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-11-15T01:22:19.075Z] $ docker stop --time=1 90407c70c20edd13bc91cab96507918bf9f4fd639e9f34701520d01b8c30b0c1 [2021-11-15T01:22:20.278Z] $ docker rm -f 90407c70c20edd13bc91cab96507918bf9f4fd639e9f34701520d01b8c30b0c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:21.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:22:21.613Z] [2021-11-15T01:22:21.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:21.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:22:21.963Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T01:22:21.963Z] b4d181a07f80: Pulling fs layer [2021-11-15T01:22:21.963Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T01:22:21.963Z] ed53099fbce6: Pulling fs layer [2021-11-15T01:22:21.963Z] dc539afda2c1: Pulling fs layer [2021-11-15T01:22:21.963Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T01:22:21.963Z] 9065ff56babe: Pulling fs layer [2021-11-15T01:22:21.963Z] d287ab97295c: Pulling fs layer [2021-11-15T01:22:21.963Z] 77bc0d833cb6: Waiting [2021-11-15T01:22:21.963Z] 9065ff56babe: Waiting [2021-11-15T01:22:21.963Z] d287ab97295c: Waiting [2021-11-15T01:22:21.963Z] dc539afda2c1: Waiting [2021-11-15T01:22:21.963Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T01:22:21.963Z] a1111a8f2ec3: Download complete [2021-11-15T01:22:21.963Z] dc539afda2c1: Verifying Checksum [2021-11-15T01:22:21.963Z] dc539afda2c1: Download complete [2021-11-15T01:22:21.963Z] ed53099fbce6: Verifying Checksum [2021-11-15T01:22:21.963Z] ed53099fbce6: Download complete [2021-11-15T01:22:22.226Z] 9065ff56babe: Verifying Checksum [2021-11-15T01:22:22.226Z] 9065ff56babe: Download complete [2021-11-15T01:22:22.226Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T01:22:22.226Z] 77bc0d833cb6: Download complete [2021-11-15T01:22:22.226Z] b4d181a07f80: Verifying Checksum [2021-11-15T01:22:22.226Z] b4d181a07f80: Download complete [2021-11-15T01:22:22.807Z] d287ab97295c: Verifying Checksum [2021-11-15T01:22:22.807Z] d287ab97295c: Download complete [2021-11-15T01:22:23.772Z] b4d181a07f80: Pull complete [2021-11-15T01:22:23.772Z] a1111a8f2ec3: Pull complete [2021-11-15T01:22:24.354Z] ed53099fbce6: Pull complete [2021-11-15T01:22:24.354Z] dc539afda2c1: Pull complete [2021-11-15T01:22:24.617Z] 77bc0d833cb6: Pull complete [2021-11-15T01:22:24.617Z] 9065ff56babe: Pull complete [2021-11-15T01:22:29.955Z] d287ab97295c: Pull complete [2021-11-15T01:22:29.955Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T01:22:29.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:22:29.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T01:22:30.048Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-11-15T01:22:30.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-15T01:22:33.242Z] $ docker top 9bccf0a2b06ede8fe78c3912bc96b2a960090635f7ffe9193dfd67b4f9a9edfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:22:33.690Z] ---> job-cost.sh [2021-11-15T01:22:33.690Z] lf-activate-venv: SKIPPING [2021-11-15T01:22:33.690Z] INFO: No Stack... [2021-11-15T01:22:33.948Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T01:22:34.215Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T01:22:34.531Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2021-11-15T01:22:34.531Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T01:22:34.632Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [2021-11-15T01:22:34.639Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] did not exist. Created. [2021-11-15T01:22:34.639Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T01:22:35.184Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-15T01:22:35.384Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T01:22:35.401Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T01:22:35.470Z] $ docker stop --time=1 9bccf0a2b06ede8fe78c3912bc96b2a960090635f7ffe9193dfd67b4f9a9edfe [2021-11-15T01:22:36.613Z] $ docker rm -f 9bccf0a2b06ede8fe78c3912bc96b2a960090635f7ffe9193dfd67b4f9a9edfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T01:22:37.130Z] Failed in branch amd64 [2021-11-15T01:23:20.741Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-574 in /w/workspace/gexfoundry_device-mqtt-go_PR-319 [Pipeline] { [Pipeline] ws [2021-11-15T01:23:20.788Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T01:23:21.042Z] Selected Git installation does not exist. Using Default [2021-11-15T01:23:21.042Z] The recommended git tool is: NONE [2021-11-15T01:23:27.377Z] using credential edgex-jenkins-ssh [2021-11-15T01:23:27.397Z] Cloning the remote Git repository [2021-11-15T01:23:27.462Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:27.649Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-11-15T01:23:27.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:27.810Z] > git --version # timeout=10 [2021-11-15T01:23:27.839Z] > git --version # 'git version 2.17.1' [2021-11-15T01:23:27.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:27.969Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:23:29.465Z] Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit 1f53343128e220812a7c5f962cbbe748620fc478 [2021-11-15T01:23:29.733Z] Merge succeeded, producing 1f53343128e220812a7c5f962cbbe748620fc478 [2021-11-15T01:23:29.733Z] Checking out Revision 1f53343128e220812a7c5f962cbbe748620fc478 (PR-319) [2021-11-15T01:23:28.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:23:28.823Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:23:28.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:23:28.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:28.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:28.908Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T01:23:29.495Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:23:29.516Z] > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # timeout=10 [2021-11-15T01:23:29.617Z] > git remote # timeout=10 [2021-11-15T01:23:29.637Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T01:23:29.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:29.672Z] > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-15T01:23:29.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T01:23:29.744Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:23:29.770Z] > git checkout -f 1f53343128e220812a7c5f962cbbe748620fc478 # timeout=10 [2021-11-15T01:23:34.107Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-11-15T01:23:34.167Z] > git --version # timeout=10 [2021-11-15T01:23:34.183Z] > git --version # 'git version 2.17.1' [2021-11-15T01:23:34.194Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T01:23:35.247Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-15T01:23:35.248Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T01:23:35.248Z] Dload Upload Total Spent Left Speed [2021-11-15T01:23:35.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 167k 0 --:--:-- --:--:-- --:--:-- 169k [Pipeline] sh [2021-11-15T01:23:35.666Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-15T01:23:36.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-15T01:23:36.022Z] + sudo tee /etc/docker/daemon.new [2021-11-15T01:23:36.022Z] { [2021-11-15T01:23:36.022Z] "registry-mirrors": [ [2021-11-15T01:23:36.022Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-15T01:23:36.022Z] ], [2021-11-15T01:23:36.022Z] "bip": "10.250.0.254/24", [2021-11-15T01:23:36.022Z] "hosts": [ [2021-11-15T01:23:36.022Z] "tcp://0.0.0.0:5555", [2021-11-15T01:23:36.022Z] "unix:///var/run/docker.sock" [2021-11-15T01:23:36.022Z] ], [2021-11-15T01:23:36.022Z] "mtu": 1458, [2021-11-15T01:23:36.022Z] "selinux-enabled": true, [2021-11-15T01:23:36.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-15T01:23:36.022Z] } [Pipeline] sh [2021-11-15T01:23:36.382Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-15T01:23:36.738Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:23:55.188Z] provisioning config files... [2021-11-15T01:23:55.216Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4505027594263117593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:23:55.620Z] ---> docker-login.sh [2021-11-15T01:23:55.620Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:23:56.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:23:56.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:23:56.835Z] Configure a credential helper to remove this warning. See [2021-11-15T01:23:56.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:23:56.835Z] [2021-11-15T01:23:56.835Z] Login Succeeded [2021-11-15T01:23:56.835Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:23:57.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:23:57.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:23:57.387Z] Configure a credential helper to remove this warning. See [2021-11-15T01:23:57.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:23:57.387Z] [2021-11-15T01:23:57.387Z] Login Succeeded [2021-11-15T01:23:57.387Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:23:57.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:23:57.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:23:57.939Z] Configure a credential helper to remove this warning. See [2021-11-15T01:23:57.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:23:57.939Z] [2021-11-15T01:23:57.939Z] Login Succeeded [2021-11-15T01:23:57.939Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:23:58.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:23:58.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:23:58.497Z] Configure a credential helper to remove this warning. See [2021-11-15T01:23:58.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:23:58.497Z] [2021-11-15T01:23:58.497Z] Login Succeeded [2021-11-15T01:23:58.497Z] docker.io [2021-11-15T01:23:59.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:23:59.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:23:59.369Z] Configure a credential helper to remove this warning. See [2021-11-15T01:23:59.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:23:59.369Z] [2021-11-15T01:23:59.369Z] Login Succeeded [2021-11-15T01:23:59.369Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:23:59.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T01:24:00.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T01:24:00.132Z] ========================================================= [2021-11-15T01:24:00.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-15T01:24:00.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:24:00.554Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-15T01:24:01.155Z] Sending build context to Docker daemon 720.4kB [2021-11-15T01:24:01.155Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T01:24:01.155Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T01:24:01.155Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-15T01:24:01.155Z] 552d1f2373af: Pulling fs layer [2021-11-15T01:24:01.155Z] ea3f2d53f512: Pulling fs layer [2021-11-15T01:24:01.155Z] 9e70ebbbe112: Pulling fs layer [2021-11-15T01:24:01.155Z] 7a9cfe048b4a: Pulling fs layer [2021-11-15T01:24:01.155Z] 72dc09318566: Pulling fs layer [2021-11-15T01:24:01.155Z] f4f7b4309257: Pulling fs layer [2021-11-15T01:24:01.155Z] 0ac9a79272e3: Pulling fs layer [2021-11-15T01:24:01.155Z] b78e95d17946: Pulling fs layer [2021-11-15T01:24:01.155Z] 7a9cfe048b4a: Waiting [2021-11-15T01:24:01.155Z] f4f7b4309257: Waiting [2021-11-15T01:24:01.155Z] 0ac9a79272e3: Waiting [2021-11-15T01:24:01.155Z] 72dc09318566: Waiting [2021-11-15T01:24:01.155Z] b78e95d17946: Waiting [2021-11-15T01:24:01.155Z] 9e70ebbbe112: Verifying Checksum [2021-11-15T01:24:01.155Z] 9e70ebbbe112: Download complete [2021-11-15T01:24:01.443Z] ea3f2d53f512: Verifying Checksum [2021-11-15T01:24:01.444Z] ea3f2d53f512: Download complete [2021-11-15T01:24:01.444Z] 72dc09318566: Download complete [2021-11-15T01:24:01.444Z] f4f7b4309257: Verifying Checksum [2021-11-15T01:24:01.444Z] f4f7b4309257: Download complete [2021-11-15T01:24:01.444Z] 552d1f2373af: Verifying Checksum [2021-11-15T01:24:01.444Z] 552d1f2373af: Download complete [2021-11-15T01:24:01.444Z] 0ac9a79272e3: Verifying Checksum [2021-11-15T01:24:01.444Z] 0ac9a79272e3: Download complete [2021-11-15T01:24:02.445Z] 552d1f2373af: Pull complete [2021-11-15T01:24:03.046Z] ea3f2d53f512: Pull complete [2021-11-15T01:24:03.321Z] 9e70ebbbe112: Pull complete [2021-11-15T01:24:03.595Z] b78e95d17946: Verifying Checksum [2021-11-15T01:24:03.595Z] b78e95d17946: Download complete [2021-11-15T01:24:04.192Z] 7a9cfe048b4a: Verifying Checksum [2021-11-15T01:24:04.192Z] 7a9cfe048b4a: Download complete [2021-11-15T01:24:14.356Z] 7a9cfe048b4a: Pull complete [2021-11-15T01:24:14.631Z] 72dc09318566: Pull complete [2021-11-15T01:24:15.236Z] f4f7b4309257: Pull complete [2021-11-15T01:24:15.844Z] 0ac9a79272e3: Pull complete [2021-11-15T01:24:22.573Z] b78e95d17946: Pull complete [2021-11-15T01:24:22.573Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-15T01:24:22.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-15T01:24:22.573Z] ---> 8b459fc5aaf0 [2021-11-15T01:24:22.573Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T01:24:22.573Z] ---> Running in b3cf31a12afa [2021-11-15T01:24:23.169Z] Removing intermediate container b3cf31a12afa [2021-11-15T01:24:23.169Z] ---> a9faa0afd299 [2021-11-15T01:24:23.169Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T01:24:23.169Z] ---> Running in 7030edcfe550 [2021-11-15T01:24:23.769Z] Removing intermediate container 7030edcfe550 [2021-11-15T01:24:23.769Z] ---> 0a29a383244b [2021-11-15T01:24:23.769Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T01:24:23.769Z] ---> Running in 54179b7c292a [2021-11-15T01:24:26.419Z] Removing intermediate container 54179b7c292a [2021-11-15T01:24:26.419Z] ---> 2f1b20c5cad7 [2021-11-15T01:24:26.419Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T01:24:26.419Z] ---> Running in d77c023ef033 [2021-11-15T01:24:27.405Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T01:24:28.391Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T01:24:29.373Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T01:24:29.373Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T01:24:29.373Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T01:24:29.652Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T01:24:29.652Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T01:24:29.652Z] OK: 223 MiB in 56 packages [2021-11-15T01:24:31.097Z] Removing intermediate container d77c023ef033 [2021-11-15T01:24:31.097Z] ---> d68dca312b78 [2021-11-15T01:24:31.097Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-15T01:24:31.097Z] ---> Running in bbaf1be82782 [2021-11-15T01:24:31.369Z] Removing intermediate container bbaf1be82782 [2021-11-15T01:24:31.369Z] ---> 89634cc1987f [2021-11-15T01:24:31.369Z] Step 8/11 : COPY . . [2021-11-15T01:24:32.347Z] ---> 061f17a75d4b [2021-11-15T01:24:32.347Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T01:24:32.625Z] ---> Running in dfa174700de4 [2021-11-15T01:25:54.426Z] Removing intermediate container dfa174700de4 [2021-11-15T01:25:54.426Z] ---> 9df707a1e913 [2021-11-15T01:25:54.426Z] Step 10/11 : ARG MAKE='make build' [2021-11-15T01:25:54.426Z] ---> Running in 00e8b10ec1c8 [2021-11-15T01:25:54.426Z] Removing intermediate container 00e8b10ec1c8 [2021-11-15T01:25:54.426Z] ---> 45ca686aebb1 [2021-11-15T01:25:54.426Z] Step 11/11 : RUN $MAKE [2021-11-15T01:25:54.426Z] ---> Running in 79183c35e382 [2021-11-15T01:25:54.426Z] noop [2021-11-15T01:25:54.426Z] Removing intermediate container 79183c35e382 [2021-11-15T01:25:54.426Z] ---> 658066ef4769 [2021-11-15T01:25:54.426Z] Successfully built 658066ef4769 [2021-11-15T01:25:54.426Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:25:54.790Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T01:25:54.790Z] . [Pipeline] withDockerContainer [2021-11-15T01:25:55.075Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-11-15T01:25:55.161Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-11-15T01:25:56.707Z] $ docker top f3777d9acc1ef79cbb4a9aecef4b0be1b6760910dc247db33f41f6e601cfce68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:25:57.715Z] + go version [2021-11-15T01:25:57.715Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-15T01:25:57.752Z] $ docker stop --time=1 f3777d9acc1ef79cbb4a9aecef4b0be1b6760910dc247db33f41f6e601cfce68 [2021-11-15T01:25:59.524Z] $ docker rm -f f3777d9acc1ef79cbb4a9aecef4b0be1b6760910dc247db33f41f6e601cfce68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:00.427Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T01:26:00.427Z] . [Pipeline] withDockerContainer [2021-11-15T01:26:00.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-11-15T01:26:00.791Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-11-15T01:26:02.316Z] $ docker top 9e8c666f62faa8c7d957920f81020f61509d7a3bce5bd536745910376f2f369b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T01:26:03.372Z] + make test [2021-11-15T01:26:03.372Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T01:26:03.645Z] verifying github.com/edgexfoundry/go-mod-core-contracts/v2@v2.1.0: checksum mismatch [2021-11-15T01:26:03.645Z] downloaded: h1:uphot3ZKOH0/aoo/Y5gr2NCRgGzy9RksWsXKtJRVEuQ= [2021-11-15T01:26:03.645Z] go.sum: h1:QIb6pcSYxL9F4TDnZOZk7+USnZ8Nivz1hHxmoAFNPVM= [2021-11-15T01:26:03.645Z] [2021-11-15T01:26:03.645Z] SECURITY ERROR [2021-11-15T01:26:03.645Z] This download does NOT match an earlier download recorded in go.sum. [2021-11-15T01:26:03.645Z] The bits may have been replaced on the origin server, or an attacker may [2021-11-15T01:26:03.645Z] have intercepted the download attempt. [2021-11-15T01:26:03.645Z] [2021-11-15T01:26:03.645Z] For more information, see 'go help module-auth'. [2021-11-15T01:26:03.645Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-11-15T01:26:03.691Z] $ docker stop --time=1 9e8c666f62faa8c7d957920f81020f61509d7a3bce5bd536745910376f2f369b [2021-11-15T01:26:05.443Z] $ docker rm -f 9e8c666f62faa8c7d957920f81020f61509d7a3bce5bd536745910376f2f369b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:06.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:06.876Z] [2021-11-15T01:26:06.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:07.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:07.532Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-15T01:26:07.532Z] 448f6bf000e3: Pulling fs layer [2021-11-15T01:26:07.533Z] f757da607395: Pulling fs layer [2021-11-15T01:26:07.533Z] 05883995daec: Pulling fs layer [2021-11-15T01:26:07.533Z] 8603b9c90790: Pulling fs layer [2021-11-15T01:26:07.533Z] 1560dd03e051: Pulling fs layer [2021-11-15T01:26:07.533Z] 27f5ce0e4adf: Pulling fs layer [2021-11-15T01:26:07.533Z] c2d8d7efcc4b: Pulling fs layer [2021-11-15T01:26:07.533Z] 1560dd03e051: Waiting [2021-11-15T01:26:07.533Z] 27f5ce0e4adf: Waiting [2021-11-15T01:26:07.533Z] 8603b9c90790: Waiting [2021-11-15T01:26:07.533Z] c2d8d7efcc4b: Waiting [2021-11-15T01:26:07.533Z] f757da607395: Verifying Checksum [2021-11-15T01:26:07.533Z] f757da607395: Download complete [2021-11-15T01:26:07.533Z] 8603b9c90790: Verifying Checksum [2021-11-15T01:26:07.533Z] 8603b9c90790: Download complete [2021-11-15T01:26:07.809Z] 1560dd03e051: Verifying Checksum [2021-11-15T01:26:07.809Z] 1560dd03e051: Download complete [2021-11-15T01:26:07.809Z] 05883995daec: Verifying Checksum [2021-11-15T01:26:07.809Z] 27f5ce0e4adf: Verifying Checksum [2021-11-15T01:26:07.809Z] 27f5ce0e4adf: Download complete [2021-11-15T01:26:08.085Z] 448f6bf000e3: Verifying Checksum [2021-11-15T01:26:08.085Z] 448f6bf000e3: Download complete [2021-11-15T01:26:10.734Z] c2d8d7efcc4b: Verifying Checksum [2021-11-15T01:26:10.734Z] c2d8d7efcc4b: Download complete [2021-11-15T01:26:11.713Z] 448f6bf000e3: Pull complete [2021-11-15T01:26:12.314Z] f757da607395: Pull complete [2021-11-15T01:26:13.754Z] 05883995daec: Pull complete [2021-11-15T01:26:14.028Z] 8603b9c90790: Pull complete [2021-11-15T01:26:15.013Z] 1560dd03e051: Pull complete [2021-11-15T01:26:15.286Z] 27f5ce0e4adf: Pull complete [2021-11-15T01:26:30.382Z] c2d8d7efcc4b: Pull complete [2021-11-15T01:26:30.382Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-15T01:26:30.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:30.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-15T01:26:30.657Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-11-15T01:26:30.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-15T01:26:33.833Z] $ docker top c67c54f65e3f6967ae01e2cac4926378466d33204aa3b1e4898e59d458d541b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:34.875Z] ---> job-cost.sh [2021-11-15T01:26:34.875Z] lf-activate-venv: SKIPPING [2021-11-15T01:26:34.875Z] INFO: No Stack... [2021-11-15T01:26:35.854Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-15T01:26:36.447Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T01:26:37.120Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csvcut [2021-11-15T01:26:37.120Z] -d, -f6 [Pipeline] lock [2021-11-15T01:26:37.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [2021-11-15T01:26:37.221Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] did not exist. Created. [2021-11-15T01:26:37.221Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T01:26:37.984Z] /w/workspace/device-mqtt-go/1@tmp/durable-28020237/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-28020237/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-15T01:26:38.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-15T01:26:38.711Z] Warning: overwriting stash ‘stack-cost’ [2021-11-15T01:26:39.196Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T01:26:39.213Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T01:26:39.280Z] $ docker stop --time=1 c67c54f65e3f6967ae01e2cac4926378466d33204aa3b1e4898e59d458d541b2 [2021-11-15T01:26:40.881Z] $ docker rm -f c67c54f65e3f6967ae01e2cac4926378466d33204aa3b1e4898e59d458d541b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T01:26:41.591Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-15T01:26:43.820Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-319/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:44.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:44.741Z] ---> package-listing.sh [2021-11-15T01:26:44.741Z] ++ facter osfamily [2021-11-15T01:26:44.741Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-15T01:26:45.004Z] + OS_FAMILY=redhat [2021-11-15T01:26:45.004Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-319 [2021-11-15T01:26:45.004Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-15T01:26:45.004Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-15T01:26:45.004Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-15T01:26:45.004Z] + PACKAGES=/tmp/packages_start.txt [2021-11-15T01:26:45.004Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-319 ']' [2021-11-15T01:26:45.004Z] + PACKAGES=/tmp/packages_end.txt [2021-11-15T01:26:45.004Z] + case "${OS_FAMILY}" in [2021-11-15T01:26:45.004Z] + rpm -qa [2021-11-15T01:26:45.004Z] + sort [2021-11-15T01:26:45.577Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-15T01:26:45.577Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-15T01:26:45.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-15T01:26:45.577Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-319 ']' [2021-11-15T01:26:45.577Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-319/archives/ [2021-11-15T01:26:45.577Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-319/archives/ [Pipeline] echo [2021-11-15T01:26:45.606Z] 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-15T01:26:45.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:46.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:26:46.511Z] [2021-11-15T01:26:46.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:46.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:26:46.845Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T01:26:46.845Z] b4d181a07f80: Pulling fs layer [2021-11-15T01:26:46.845Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T01:26:46.845Z] ed53099fbce6: Pulling fs layer [2021-11-15T01:26:46.845Z] dc539afda2c1: Pulling fs layer [2021-11-15T01:26:46.845Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T01:26:46.845Z] 9065ff56babe: Pulling fs layer [2021-11-15T01:26:46.845Z] d287ab97295c: Pulling fs layer [2021-11-15T01:26:46.845Z] 77bc0d833cb6: Waiting [2021-11-15T01:26:46.845Z] 9065ff56babe: Waiting [2021-11-15T01:26:46.845Z] d287ab97295c: Waiting [2021-11-15T01:26:46.845Z] dc539afda2c1: Waiting [2021-11-15T01:26:46.845Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T01:26:46.845Z] a1111a8f2ec3: Download complete [2021-11-15T01:26:46.845Z] dc539afda2c1: Verifying Checksum [2021-11-15T01:26:46.845Z] dc539afda2c1: Download complete [2021-11-15T01:26:47.108Z] ed53099fbce6: Verifying Checksum [2021-11-15T01:26:47.108Z] ed53099fbce6: Download complete [2021-11-15T01:26:47.108Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T01:26:47.108Z] 77bc0d833cb6: Download complete [2021-11-15T01:26:47.108Z] 9065ff56babe: Verifying Checksum [2021-11-15T01:26:47.108Z] 9065ff56babe: Download complete [2021-11-15T01:26:47.108Z] b4d181a07f80: Verifying Checksum [2021-11-15T01:26:47.108Z] b4d181a07f80: Download complete [2021-11-15T01:26:47.688Z] d287ab97295c: Verifying Checksum [2021-11-15T01:26:47.688Z] d287ab97295c: Download complete [2021-11-15T01:26:48.639Z] b4d181a07f80: Pull complete [2021-11-15T01:26:48.639Z] a1111a8f2ec3: Pull complete [2021-11-15T01:26:49.217Z] ed53099fbce6: Pull complete [2021-11-15T01:26:49.217Z] dc539afda2c1: Pull complete [2021-11-15T01:26:49.477Z] 77bc0d833cb6: Pull complete [2021-11-15T01:26:49.477Z] 9065ff56babe: Pull complete [2021-11-15T01:26:54.800Z] d287ab97295c: Pull complete [2021-11-15T01:26:54.800Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T01:26:54.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:26:54.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T01:26:54.900Z] prd-centos7-docker-4c-2g-568 does not seem to be running inside a container [2021-11-15T01:26:54.936Z] $ 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-319/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-319 -v /w/workspace/gexfoundry_device-mqtt-go_PR-319:/w/workspace/gexfoundry_device-mqtt-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-319@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:latest cat [2021-11-15T01:26:57.804Z] $ docker top 0b551881549daf1d8268c9c58197250d15346e00ae8a94881ab96672772c2a89 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:26:58.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-15T01:26:58.514Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-15T01:26:58.821Z] + ls /var/log/sa-host [2021-11-15T01:26:58.821Z] + sadf -c /var/log/sa-host/sa15 [2021-11-15T01:26:58.821Z] file_magic: OK [2021-11-15T01:26:58.821Z] HZ: Using current value: 100 [2021-11-15T01:26:58.821Z] file_header: OK [2021-11-15T01:26:58.821Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T01:26:58.821Z] Statistics: [2021-11-15T01:26:58.821Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T01:26:58.821Z] File successfully converted to sysstat format version 12.0.3 [2021-11-15T01:26:58.821Z] + sadf -c /var/log/sa-host/sa30 [2021-11-15T01:26:58.821Z] file_magic: OK [2021-11-15T01:26:58.821Z] HZ: Using current value: 100 [2021-11-15T01:26:58.821Z] file_header: OK [2021-11-15T01:26:58.821Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T01:26:58.821Z] Statistics: [2021-11-15T01:26:58.821Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T01:26:58.821Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:26:58.949Z] provisioning config files... [2021-11-15T01:26:58.962Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-319@tmp/config1891172590594012981tmp [Pipeline] { [Pipeline] echo [2021-11-15T01:26:59.004Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:59.331Z] ---> create-netrc.sh [Pipeline] } [2021-11-15T01:26:59.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:59.739Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-15T01:26:59.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:00.086Z] ---> sudo-logs.sh [2021-11-15T01:27:00.086Z] Archiving 'sudo' log.. [2021-11-15T01:27:00.656Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-568.novalocal: Name or service not known [2021-11-15T01:27:00.656Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-568.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-15T01:27:00.720Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:01.042Z] ---> job-cost.sh [2021-11-15T01:27:01.042Z] lf-activate-venv: SKIPPING [2021-11-15T01:27:01.042Z] DEBUG: total: 0.10999999940395355 [2021-11-15T01:27:01.042Z] INFO: Retrieving Stack Cost... [2021-11-15T01:27:01.303Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T01:27:01.566Z] INFO: Archiving Costs [Pipeline] echo [2021-11-15T01:27:01.593Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:01.914Z] ---> logs-deploy.sh [2021-11-15T01:27:01.914Z] lf-activate-venv: SKIPPING [2021-11-15T01:27:01.914Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-319/1 [2021-11-15T01:27:01.914Z] INFO: archiving workspace using pattern(s): [2021-11-15T01:27:02.496Z] Archives upload complete. [2021-11-15T01:27:02.759Z] INFO: archiving logs to Nexus