Pull request #320 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd29d381ce22ca0cbb1e4725fee292d9f26eb15c+f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (34da79ae575e89c19ecc462d98f5a6a7143d50fb) 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-ssh3009010603003062698.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-ssh1680377637189246813.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-320/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-320/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5825565011391675753.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-320/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh744924509527080541.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-ssh7935491136505431075.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-320/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-320/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1424573524024642548.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-569 in /w/workspace/gexfoundry_device-mqtt-go_PR-320 [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-320 # 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-320@tmp/jenkins-gitclient-ssh1365614426082071685.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 fd29d381ce22ca0cbb1e4725fee292d9f26eb15c Merge succeeded, producing fd29d381ce22ca0cbb1e4725fee292d9f26eb15c Checking out Revision fd29d381ce22ca0cbb1e4725fee292d9f26eb15c (PR-320) > 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-320@tmp/jenkins-gitclient-ssh464287268412291491.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # 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-320@tmp/jenkins-gitclient-ssh4063902442919287229.key > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-15T01:20:33.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-15T01:20:33.336Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-15T01:20:33.412Z] ========================================================= [2021-11-15T01:20:33.412Z] EdgeX Global Pipelines Version Info [2021-11-15T01:20:33.412Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:20:34.606Z] ------------------- [2021-11-15T01:20:34.606Z] stable info: [2021-11-15T01:20:34.606Z] ------------------- [2021-11-15T01:20:34.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-15T01:20:34.606Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T01:20:34.606Z] Message: update stable to v1.0.215 [2021-11-15T01:20:35.177Z] ------------------- [2021-11-15T01:20:35.177Z] experimental info: [2021-11-15T01:20:35.177Z] ------------------- [2021-11-15T01:20:35.177Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-15T01:20:35.177Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T01:20:35.177Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-15T01:20:35.335Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-15T01:20:35.375Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-15T01:20:35.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-15T01:20:35.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-15T01:20:35.492Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-15T01:20:35.527Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-15T01:20:35.562Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-15T01:20:35.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-15T01:20:35.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-15T01:20:35.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-15T01:20:35.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-15T01:20:35.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-15T01:20:35.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-15T01:20:35.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-15T01:20:35.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T01:20:35.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T01:20:35.891Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T01:20:35.930Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T01:20:35.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-15T01:20:36.001Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-15T01:20:36.045Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-15T01:20:36.084Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-15T01:20:36.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-15T01:20:36.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-15T01:20:36.209Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-15T01:20:36.272Z] [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:36.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-320 [Pipeline] echo [2021-11-15T01:20:36.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-320 [Pipeline] echo [2021-11-15T01:20:36.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-320 [Pipeline] echo [2021-11-15T01:20:36.454Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [Pipeline] echo [2021-11-15T01:20:36.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd29d38 [Pipeline] echo [2021-11-15T01:20:36.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:20:36.647Z] provisioning config files... [2021-11-15T01:20:36.661Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/config8208691145606618566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:20:37.031Z] ---> docker-login.sh [2021-11-15T01:20:37.031Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:20:37.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:37.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:37.304Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:37.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:37.304Z] [2021-11-15T01:20:37.304Z] Login Succeeded [2021-11-15T01:20:37.304Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:20:37.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:37.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:37.304Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:37.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:37.304Z] [2021-11-15T01:20:37.304Z] Login Succeeded [2021-11-15T01:20:37.304Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:20:37.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:37.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:37.565Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:37.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:37.565Z] [2021-11-15T01:20:37.565Z] Login Succeeded [2021-11-15T01:20:37.565Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:20:37.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:37.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:37.565Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:37.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:37.565Z] [2021-11-15T01:20:37.565Z] Login Succeeded [2021-11-15T01:20:37.565Z] docker.io [2021-11-15T01:20:37.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:20:38.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:20:38.140Z] Configure a credential helper to remove this warning. See [2021-11-15T01:20:38.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:20:38.140Z] [2021-11-15T01:20:38.140Z] Login Succeeded [2021-11-15T01:20:38.140Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:20:38.162Z] 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:38.770Z] + git rev-list -1 --merges fd29d381ce22ca0cbb1e4725fee292d9f26eb15c~1..fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [Pipeline] echo [2021-11-15T01:20:38.837Z] -----------> git rev-list -1 --merges fd29d381ce22ca0cbb1e4725fee292d9f26eb15c~1..fd29d381ce22ca0cbb1e4725fee292d9f26eb15c fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [false] [Pipeline] sh [2021-11-15T01:20:39.187Z] + git log --format=format:%s -1 fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [Pipeline] echo [2021-11-15T01:20:39.213Z] ========================================================= [2021-11-15T01:20:39.213Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-15T01:20:39.213Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T01:20:39.644Z] + git log --format=format:%s -1 fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [Pipeline] echo [2021-11-15T01:20:39.675Z] [semverPrep] GIT_COMMIT: fd29d381ce22ca0cbb1e4725fee292d9f26eb15c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-11-15T01:20:39.707Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:20:40.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:40.177Z] [2021-11-15T01:20:40.177Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:20:40.521Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:40.521Z] latest: Pulling from edgex-devops/git-semver [2021-11-15T01:20:40.521Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T01:20:40.521Z] 3e5f54012d9b: Pulling fs layer [2021-11-15T01:20:40.521Z] 4c7163046ea9: Pulling fs layer [2021-11-15T01:20:40.521Z] 0c2d73faf560: Pulling fs layer [2021-11-15T01:20:40.521Z] 0c2d73faf560: Waiting [2021-11-15T01:20:40.521Z] 3e5f54012d9b: Verifying Checksum [2021-11-15T01:20:40.521Z] 3e5f54012d9b: Download complete [2021-11-15T01:20:40.521Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T01:20:40.521Z] a0d0a0d46f8b: Download complete [2021-11-15T01:20:40.521Z] 4c7163046ea9: Verifying Checksum [2021-11-15T01:20:40.521Z] 4c7163046ea9: Download complete [2021-11-15T01:20:40.783Z] 0c2d73faf560: Verifying Checksum [2021-11-15T01:20:40.783Z] 0c2d73faf560: Download complete [2021-11-15T01:20:40.783Z] a0d0a0d46f8b: Pull complete [2021-11-15T01:20:40.783Z] 3e5f54012d9b: Pull complete [2021-11-15T01:20:41.357Z] 4c7163046ea9: Pull complete [2021-11-15T01:20:41.357Z] 0c2d73faf560: Pull complete [2021-11-15T01:20:41.357Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-15T01:20:41.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T01:20:41.357Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-15T01:20:41.453Z] prd-centos7-docker-4c-2g-569 does not seem to be running inside a container [2021-11-15T01:20:41.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-320 -v /w/workspace/gexfoundry_device-mqtt-go_PR-320:/w/workspace/gexfoundry_device-mqtt-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-320@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-15T01:20:42.183Z] $ docker top 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T01:20:42.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T01:20:42.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T01:20:42.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T01:20:42.498Z] $ docker exec 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b ssh-agent [2021-11-15T01:20:42.630Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmENJBI/agent.14 [2021-11-15T01:20:42.631Z] SSH_AGENT_PID=20 [2021-11-15T01:20:42.641Z] Running ssh-add (command line suppressed) [2021-11-15T01:20:42.753Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/private_key_836430312898383078.key (/w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/private_key_836430312898383078.key) [2021-11-15T01:20:42.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T01:20:43.099Z] + git tag --points-at HEAD [Pipeline] } [2021-11-15T01:20:43.124Z] $ docker exec --env ******** --env ******** 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b ssh-agent -k [2021-11-15T01:20:43.244Z] unset SSH_AUTH_SOCK; [2021-11-15T01:20:43.247Z] unset SSH_AGENT_PID; [2021-11-15T01:20:43.247Z] echo Agent pid 20 killed; [2021-11-15T01:20:43.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-15T01:20:43.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T01:20:43.336Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T01:20:43.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T01:20:43.482Z] $ docker exec 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b ssh-agent [2021-11-15T01:20:43.583Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHlMaNm/agent.53 [2021-11-15T01:20:43.583Z] SSH_AGENT_PID=59 [2021-11-15T01:20:43.588Z] Running ssh-add (command line suppressed) [2021-11-15T01:20:43.691Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/private_key_6144741839562554472.key (/w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/private_key_6144741839562554472.key) [2021-11-15T01:20:43.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T01:20:44.034Z] + git semver init [2021-11-15T01:20:44.034Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T01:20:44.034Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-320/.git [2021-11-15T01:20:44.034Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-320 [2021-11-15T01:20:44.034Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T01:20:44.034Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T01:20:44.034Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T01:20:44.034Z] # $SEMVER_BRANCH = PR-320 [2021-11-15T01:20:44.034Z] # $SEMVER_TEMP = /tmp/semver-515317442 [2021-11-15T01:20:44.034Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-15T01:20:44.611Z] # '/tmp/semver-515317442' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-320/.semver' [2021-11-15T01:20:44.611Z] # -> Force: false [2021-11-15T01:20:44.611Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-320/.semver [Pipeline] } [2021-11-15T01:20:44.637Z] $ docker exec --env ******** --env ******** 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b ssh-agent -k [2021-11-15T01:20:44.723Z] unset SSH_AUTH_SOCK; [2021-11-15T01:20:44.724Z] unset SSH_AGENT_PID; [2021-11-15T01:20:44.724Z] echo Agent pid 59 killed; [2021-11-15T01:20:44.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T01:20:45.142Z] + git semver [Pipeline] } [2021-11-15T01:20:45.168Z] $ docker stop --time=1 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b [2021-11-15T01:20:46.383Z] $ docker rm -f 9201d61cd60600b1dfa7c70bdac12e8acc3f14de700f52010eda12eed404182b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T01:20:46.774Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-15T01:20:47.053Z] Stashed 1 file(s) [Pipeline] echo [2021-11-15T01:20:47.072Z] [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:21:02.439Z] Still waiting to schedule task [2021-11-15T01:21:02.439Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-15T01:21:02.457Z] Still waiting to schedule task [2021-11-15T01:21:02.458Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-565’ [2021-11-15T01:21:50.243Z] Running on prd-centos7-docker-4c-2g-573 in /w/workspace/gexfoundry_device-mqtt-go_PR-320 [Pipeline] { [Pipeline] ws [2021-11-15T01:21:50.285Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T01:21:50.407Z] Selected Git installation does not exist. Using Default [2021-11-15T01:21:50.408Z] The recommended git tool is: NONE [2021-11-15T01:21:52.705Z] using credential edgex-jenkins-ssh [2021-11-15T01:21:52.719Z] Cloning the remote Git repository [2021-11-15T01:21:51.658Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:51.711Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-11-15T01:21:51.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:51.739Z] > git --version # timeout=10 [2021-11-15T01:21:51.745Z] > git --version # 'git version 2.24.4' [2021-11-15T01:21:51.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:51.836Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:51.836Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:51.836Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh8120704412003966216.key [2021-11-15T01:21:51.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:21:52.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:21:52.448Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:21:52.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:21:52.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:21:52.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:52.471Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:52.471Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:52.471Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh1479960894392535878.key [2021-11-15T01:21:52.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T01:21:54.005Z] Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [2021-11-15T01:21:54.081Z] Merge succeeded, producing fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [2021-11-15T01:21:54.082Z] Checking out Revision fd29d381ce22ca0cbb1e4725fee292d9f26eb15c (PR-320) [2021-11-15T01:21:52.931Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:21:52.941Z] > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # timeout=10 [2021-11-15T01:21:52.970Z] > git remote # timeout=10 [2021-11-15T01:21:52.976Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T01:21:52.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:21:52.981Z] [INFO] Currently running in a labeled security context [2021-11-15T01:21:52.981Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T01:21:52.981Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh4481431685863747510.key [2021-11-15T01:21:52.985Z] > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-15T01:21:52.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T01:21:53.004Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:21:53.010Z] > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # timeout=10 [2021-11-15T01:21:57.440Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-11-15T01:21:57.460Z] > git --version # timeout=10 [2021-11-15T01:21:57.470Z] > git --version # 'git version 2.24.4' [2021-11-15T01:21:57.488Z] 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:57.983Z] provisioning config files... [2021-11-15T01:21:57.997Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3633032587934038466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:21:58.439Z] ---> docker-login.sh [2021-11-15T01:21:58.439Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:21:58.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:58.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:58.703Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:58.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:58.703Z] [2021-11-15T01:21:58.703Z] Login Succeeded [2021-11-15T01:21:58.703Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:21:58.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:58.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:58.703Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:58.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:58.703Z] [2021-11-15T01:21:58.703Z] Login Succeeded [2021-11-15T01:21:58.703Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:21:58.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:58.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:58.966Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:58.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:58.966Z] [2021-11-15T01:21:58.966Z] Login Succeeded [2021-11-15T01:21:58.966Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:21:58.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:58.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:58.966Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:58.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:58.966Z] [2021-11-15T01:21:58.966Z] Login Succeeded [2021-11-15T01:21:58.966Z] docker.io [2021-11-15T01:21:58.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:21:59.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:21:59.228Z] Configure a credential helper to remove this warning. See [2021-11-15T01:21:59.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:21:59.228Z] [2021-11-15T01:21:59.228Z] Login Succeeded [2021-11-15T01:21:59.228Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:21:59.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T01:21:59.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T01:21:59.523Z] ========================================================= [2021-11-15T01:21:59.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-15T01:21:59.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:21:59.921Z] + 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:59.921Z] Sending build context to Docker daemon 721.4kB [2021-11-15T01:21:59.921Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T01:21:59.921Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T01:21:59.921Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-15T01:21:59.921Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T01:21:59.921Z] 31adcdaf11c8: Pulling fs layer [2021-11-15T01:21:59.921Z] b8b176561691: Pulling fs layer [2021-11-15T01:21:59.921Z] 4527c011a84f: Pulling fs layer [2021-11-15T01:21:59.921Z] 5d74067f8e1e: Pulling fs layer [2021-11-15T01:21:59.921Z] e0aca202a116: Pulling fs layer [2021-11-15T01:21:59.921Z] 3a43be97a3b4: Pulling fs layer [2021-11-15T01:21:59.921Z] 34cad66bf833: Pulling fs layer [2021-11-15T01:21:59.921Z] b4e3c513aaa6: Pulling fs layer [2021-11-15T01:21:59.921Z] 5d74067f8e1e: Waiting [2021-11-15T01:21:59.921Z] e0aca202a116: Waiting [2021-11-15T01:21:59.921Z] 3a43be97a3b4: Waiting [2021-11-15T01:21:59.921Z] 34cad66bf833: Waiting [2021-11-15T01:21:59.921Z] b4e3c513aaa6: Waiting [2021-11-15T01:21:59.921Z] 4527c011a84f: Waiting [2021-11-15T01:21:59.921Z] b8b176561691: Verifying Checksum [2021-11-15T01:21:59.921Z] b8b176561691: Download complete [2021-11-15T01:21:59.921Z] 31adcdaf11c8: Verifying Checksum [2021-11-15T01:21:59.921Z] 31adcdaf11c8: Download complete [2021-11-15T01:21:59.921Z] 5d74067f8e1e: Verifying Checksum [2021-11-15T01:21:59.921Z] 5d74067f8e1e: Download complete [2021-11-15T01:21:59.921Z] e0aca202a116: Verifying Checksum [2021-11-15T01:21:59.921Z] e0aca202a116: Download complete [2021-11-15T01:21:59.921Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T01:21:59.921Z] a0d0a0d46f8b: Download complete [2021-11-15T01:21:59.921Z] 3a43be97a3b4: Verifying Checksum [2021-11-15T01:21:59.921Z] 3a43be97a3b4: Download complete [2021-11-15T01:22:00.202Z] 34cad66bf833: Verifying Checksum [2021-11-15T01:22:00.202Z] 34cad66bf833: Download complete [2021-11-15T01:22:00.202Z] a0d0a0d46f8b: Pull complete [2021-11-15T01:22:00.484Z] 31adcdaf11c8: Pull complete [2021-11-15T01:22:00.484Z] b8b176561691: Pull complete [2021-11-15T01:22:00.758Z] 4527c011a84f: Verifying Checksum [2021-11-15T01:22:00.758Z] 4527c011a84f: Download complete [2021-11-15T01:22:00.758Z] b4e3c513aaa6: Verifying Checksum [2021-11-15T01:22:00.758Z] b4e3c513aaa6: Download complete [2021-11-15T01:22:05.033Z] 4527c011a84f: Pull complete [2021-11-15T01:22:05.033Z] 5d74067f8e1e: Pull complete [2021-11-15T01:22:05.033Z] e0aca202a116: Pull complete [2021-11-15T01:22:05.033Z] 3a43be97a3b4: Pull complete [2021-11-15T01:22:05.033Z] 34cad66bf833: Pull complete [2021-11-15T01:22:08.408Z] b4e3c513aaa6: Pull complete [2021-11-15T01:22:08.408Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-15T01:22:08.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-15T01:22:08.408Z] ---> 9f6097aaca64 [2021-11-15T01:22:08.408Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T01:22:11.708Z] ---> Running in 75cb3c0cbf12 [2021-11-15T01:22:11.708Z] Removing intermediate container 75cb3c0cbf12 [2021-11-15T01:22:11.709Z] ---> 6c8b0014c40d [2021-11-15T01:22:11.709Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T01:22:11.709Z] ---> Running in f9b1f47aff49 [2021-11-15T01:22:11.709Z] Removing intermediate container f9b1f47aff49 [2021-11-15T01:22:11.709Z] ---> 4e7774239ab4 [2021-11-15T01:22:11.709Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T01:22:11.709Z] ---> Running in c721e2d1cb3d [2021-11-15T01:22:12.289Z] Removing intermediate container c721e2d1cb3d [2021-11-15T01:22:12.289Z] ---> 5c68d6b954a1 [2021-11-15T01:22:12.289Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T01:22:12.289Z] ---> Running in 87a7b4b55d90 [2021-11-15T01:22:12.554Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T01:22:13.498Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T01:22:13.757Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T01:22:13.757Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T01:22:13.757Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T01:22:14.014Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T01:22:14.014Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T01:22:14.014Z] OK: 224 MiB in 56 packages [2021-11-15T01:22:14.273Z] Removing intermediate container 87a7b4b55d90 [2021-11-15T01:22:14.273Z] ---> 9fee8d5cb19f [2021-11-15T01:22:14.273Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-15T01:22:14.534Z] ---> Running in d09ff2437293 [2021-11-15T01:22:14.534Z] Removing intermediate container d09ff2437293 [2021-11-15T01:22:14.534Z] ---> 3901c0aea698 [2021-11-15T01:22:14.534Z] Step 8/11 : COPY . . [2021-11-15T01:22:14.797Z] ---> fce8b790d869 [2021-11-15T01:22:14.797Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T01:22:14.797Z] ---> Running in a9600e75fb3f [2021-11-15T01:22:46.994Z] Removing intermediate container a9600e75fb3f [2021-11-15T01:22:46.995Z] ---> 365f59a56fd6 [2021-11-15T01:22:46.995Z] Step 10/11 : ARG MAKE='make build' [2021-11-15T01:22:46.995Z] ---> Running in 062873028c97 [2021-11-15T01:22:46.995Z] Removing intermediate container 062873028c97 [2021-11-15T01:22:46.995Z] ---> d91a48419e3a [2021-11-15T01:22:46.995Z] Step 11/11 : RUN $MAKE [2021-11-15T01:22:46.995Z] ---> Running in e066c1d4864c [2021-11-15T01:22:46.995Z] noop [2021-11-15T01:22:46.995Z] Removing intermediate container e066c1d4864c [2021-11-15T01:22:46.995Z] ---> 0e7de63d4120 [2021-11-15T01:22:46.995Z] Successfully built 0e7de63d4120 [2021-11-15T01:22:46.995Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:47.333Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T01:22:47.333Z] . [Pipeline] withDockerContainer [2021-11-15T01:22:47.442Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-11-15T01:22:47.483Z] $ 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-x86_64 cat [2021-11-15T01:22:47.935Z] $ docker top 9f84bf4331f6232bf8ac00cbbd821a7bac5658adfbb90f87e839f4369e57bcd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:22:48.378Z] + go version [2021-11-15T01:22:48.378Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-15T01:22:48.401Z] $ docker stop --time=1 9f84bf4331f6232bf8ac00cbbd821a7bac5658adfbb90f87e839f4369e57bcd3 [2021-11-15T01:22:49.606Z] $ docker rm -f 9f84bf4331f6232bf8ac00cbbd821a7bac5658adfbb90f87e839f4369e57bcd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:50.363Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T01:22:50.363Z] . [Pipeline] withDockerContainer [2021-11-15T01:22:50.462Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-11-15T01:22:50.505Z] $ 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-x86_64 cat [2021-11-15T01:22:50.928Z] $ docker top a0dd562e69790d80a54a1cfb7c777a3e803e60c35b1718508f5752d0672d9168 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T01:22:51.421Z] + make test [2021-11-15T01:22:51.421Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T01:22:51.421Z] verifying github.com/edgexfoundry/go-mod-core-contracts/v2@v2.1.0: checksum mismatch [2021-11-15T01:22:51.421Z] downloaded: h1:uphot3ZKOH0/aoo/Y5gr2NCRgGzy9RksWsXKtJRVEuQ= [2021-11-15T01:22:51.421Z] go.sum: h1:QIb6pcSYxL9F4TDnZOZk7+USnZ8Nivz1hHxmoAFNPVM= [2021-11-15T01:22:51.421Z] [2021-11-15T01:22:51.421Z] SECURITY ERROR [2021-11-15T01:22:51.421Z] This download does NOT match an earlier download recorded in go.sum. [2021-11-15T01:22:51.421Z] The bits may have been replaced on the origin server, or an attacker may [2021-11-15T01:22:51.421Z] have intercepted the download attempt. [2021-11-15T01:22:51.421Z] [2021-11-15T01:22:51.421Z] For more information, see 'go help module-auth'. [2021-11-15T01:22:51.421Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-11-15T01:22:51.455Z] $ docker stop --time=1 a0dd562e69790d80a54a1cfb7c777a3e803e60c35b1718508f5752d0672d9168 [2021-11-15T01:22:52.679Z] $ docker rm -f a0dd562e69790d80a54a1cfb7c777a3e803e60c35b1718508f5752d0672d9168 [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:53.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:22:53.809Z] [2021-11-15T01:22:53.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:22:54.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:22:54.152Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T01:22:54.152Z] b4d181a07f80: Pulling fs layer [2021-11-15T01:22:54.152Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T01:22:54.152Z] ed53099fbce6: Pulling fs layer [2021-11-15T01:22:54.152Z] dc539afda2c1: Pulling fs layer [2021-11-15T01:22:54.152Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T01:22:54.152Z] 9065ff56babe: Pulling fs layer [2021-11-15T01:22:54.152Z] d287ab97295c: Pulling fs layer [2021-11-15T01:22:54.152Z] 77bc0d833cb6: Waiting [2021-11-15T01:22:54.152Z] dc539afda2c1: Waiting [2021-11-15T01:22:54.152Z] 9065ff56babe: Waiting [2021-11-15T01:22:54.152Z] d287ab97295c: Waiting [2021-11-15T01:22:54.152Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T01:22:54.152Z] a1111a8f2ec3: Download complete [2021-11-15T01:22:54.152Z] dc539afda2c1: Verifying Checksum [2021-11-15T01:22:54.152Z] dc539afda2c1: Download complete [2021-11-15T01:22:54.433Z] ed53099fbce6: Verifying Checksum [2021-11-15T01:22:54.433Z] ed53099fbce6: Download complete [2021-11-15T01:22:54.433Z] 9065ff56babe: Verifying Checksum [2021-11-15T01:22:54.433Z] 9065ff56babe: Download complete [2021-11-15T01:22:54.433Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T01:22:54.433Z] 77bc0d833cb6: Download complete [2021-11-15T01:22:54.433Z] b4d181a07f80: Verifying Checksum [2021-11-15T01:22:54.433Z] b4d181a07f80: Download complete [2021-11-15T01:22:55.022Z] d287ab97295c: Verifying Checksum [2021-11-15T01:22:55.022Z] d287ab97295c: Download complete [2021-11-15T01:22:55.997Z] b4d181a07f80: Pull complete [2021-11-15T01:22:55.997Z] a1111a8f2ec3: Pull complete [2021-11-15T01:22:56.950Z] ed53099fbce6: Pull complete [2021-11-15T01:22:56.950Z] dc539afda2c1: Pull complete [2021-11-15T01:22:57.222Z] 77bc0d833cb6: Pull complete [2021-11-15T01:22:57.222Z] 9065ff56babe: Pull complete [2021-11-15T01:23:02.551Z] d287ab97295c: Pull complete [2021-11-15T01:23:02.551Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T01:23:02.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:23:02.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T01:23:02.672Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-11-15T01:23:02.726Z] $ 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:latest cat [2021-11-15T01:23:05.569Z] $ docker top 2594f8b7de6c9aa180dc08e20c34c8b9bc75f345a23929c5017c7531ba6bcc0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:23:06.042Z] ---> job-cost.sh [2021-11-15T01:23:06.042Z] lf-activate-venv: SKIPPING [2021-11-15T01:23:06.042Z] INFO: No Stack... [2021-11-15T01:23:06.305Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T01:23:06.566Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T01:23:06.878Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2021-11-15T01:23:06.878Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T01:23:06.939Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [2021-11-15T01:23:06.943Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] did not exist. Created. [2021-11-15T01:23:06.943Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T01:23:07.324Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-15T01:23:07.508Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T01:23:07.524Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T01:23:07.580Z] $ docker stop --time=1 2594f8b7de6c9aa180dc08e20c34c8b9bc75f345a23929c5017c7531ba6bcc0a [2021-11-15T01:23:08.706Z] $ docker rm -f 2594f8b7de6c9aa180dc08e20c34c8b9bc75f345a23929c5017c7531ba6bcc0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T01:23:09.239Z] Failed in branch amd64 [2021-11-15T01:23:45.396Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-575 in /w/workspace/gexfoundry_device-mqtt-go_PR-320 [Pipeline] { [Pipeline] ws [2021-11-15T01:23:45.436Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T01:23:45.718Z] Selected Git installation does not exist. Using Default [2021-11-15T01:23:45.718Z] The recommended git tool is: NONE [2021-11-15T01:23:51.434Z] using credential edgex-jenkins-ssh [2021-11-15T01:23:51.458Z] Cloning the remote Git repository [2021-11-15T01:23:51.527Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:51.657Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-11-15T01:23:51.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:51.750Z] > git --version # timeout=10 [2021-11-15T01:23:51.772Z] > git --version # 'git version 2.17.1' [2021-11-15T01:23:51.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:51.888Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:23:53.411Z] Merging remotes/origin/main commit f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 into PR head commit fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [2021-11-15T01:23:52.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:23:52.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T01:23:52.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-15T01:23:52.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-15T01:23:52.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:52.831Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T01:23:53.436Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:23:53.460Z] > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # timeout=10 [2021-11-15T01:23:53.675Z] Merge succeeded, producing fd29d381ce22ca0cbb1e4725fee292d9f26eb15c [2021-11-15T01:23:53.675Z] Checking out Revision fd29d381ce22ca0cbb1e4725fee292d9f26eb15c (PR-320) [2021-11-15T01:23:53.562Z] > git remote # timeout=10 [2021-11-15T01:23:53.581Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T01:23:53.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T01:23:53.623Z] > git merge f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-15T01:23:53.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T01:23:53.688Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T01:23:53.703Z] > git checkout -f fd29d381ce22ca0cbb1e4725fee292d9f26eb15c # timeout=10 [2021-11-15T01:23:58.048Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-11-15T01:23:58.119Z] > git --version # timeout=10 [2021-11-15T01:23:58.130Z] > git --version # 'git version 2.17.1' [2021-11-15T01:23:58.149Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T01:23:59.187Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-15T01:23:59.187Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T01:23:59.187Z] Dload Upload Total Spent Left Speed [2021-11-15T01:23:59.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 135k 0 --:--:-- --:--:-- --:--:-- 135k [Pipeline] sh [2021-11-15T01:23:59.618Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-15T01:23:59.983Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-15T01:23:59.983Z] sudo tee /etc/docker/daemon.new [2021-11-15T01:23:59.983Z] { [2021-11-15T01:23:59.983Z] "registry-mirrors": [ [2021-11-15T01:23:59.984Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-15T01:23:59.984Z] ], [2021-11-15T01:23:59.984Z] "bip": "10.250.0.254/24", [2021-11-15T01:23:59.984Z] "hosts": [ [2021-11-15T01:23:59.984Z] "tcp://0.0.0.0:5555", [2021-11-15T01:23:59.984Z] "unix:///var/run/docker.sock" [2021-11-15T01:23:59.984Z] ], [2021-11-15T01:23:59.984Z] "mtu": 1458, [2021-11-15T01:23:59.984Z] "selinux-enabled": true, [2021-11-15T01:23:59.984Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-15T01:23:59.984Z] } [Pipeline] sh [2021-11-15T01:24:00.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-15T01:24:00.811Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:24:19.265Z] provisioning config files... [2021-11-15T01:24:19.295Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2242160125500891840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:24:19.703Z] ---> docker-login.sh [2021-11-15T01:24:19.704Z] nexus3.edgexfoundry.org:10001 [2021-11-15T01:24:20.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:24:20.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:24:20.898Z] Configure a credential helper to remove this warning. See [2021-11-15T01:24:20.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:24:20.898Z] [2021-11-15T01:24:20.898Z] Login Succeeded [2021-11-15T01:24:20.898Z] nexus3.edgexfoundry.org:10002 [2021-11-15T01:24:21.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:24:21.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:24:21.447Z] Configure a credential helper to remove this warning. See [2021-11-15T01:24:21.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:24:21.447Z] [2021-11-15T01:24:21.447Z] Login Succeeded [2021-11-15T01:24:21.447Z] nexus3.edgexfoundry.org:10003 [2021-11-15T01:24:21.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:24:21.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:24:21.993Z] Configure a credential helper to remove this warning. See [2021-11-15T01:24:21.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:24:21.993Z] [2021-11-15T01:24:21.993Z] Login Succeeded [2021-11-15T01:24:21.993Z] nexus3.edgexfoundry.org:10004 [2021-11-15T01:24:22.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:24:22.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:24:22.543Z] Configure a credential helper to remove this warning. See [2021-11-15T01:24:22.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:24:22.543Z] [2021-11-15T01:24:22.543Z] Login Succeeded [2021-11-15T01:24:22.543Z] docker.io [2021-11-15T01:24:22.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T01:24:23.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T01:24:23.421Z] Configure a credential helper to remove this warning. See [2021-11-15T01:24:23.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T01:24:23.421Z] [2021-11-15T01:24:23.421Z] Login Succeeded [2021-11-15T01:24:23.421Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T01:24:23.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T01:24:24.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T01:24:24.117Z] ========================================================= [2021-11-15T01:24:24.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-15T01:24:24.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:24:24.568Z] + 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:25.171Z] Sending build context to Docker daemon 720.4kB [2021-11-15T01:24:25.171Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T01:24:25.172Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T01:24:25.172Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-15T01:24:25.172Z] 552d1f2373af: Pulling fs layer [2021-11-15T01:24:25.172Z] ea3f2d53f512: Pulling fs layer [2021-11-15T01:24:25.172Z] 9e70ebbbe112: Pulling fs layer [2021-11-15T01:24:25.172Z] 7a9cfe048b4a: Pulling fs layer [2021-11-15T01:24:25.172Z] 72dc09318566: Pulling fs layer [2021-11-15T01:24:25.172Z] f4f7b4309257: Pulling fs layer [2021-11-15T01:24:25.172Z] 0ac9a79272e3: Pulling fs layer [2021-11-15T01:24:25.172Z] b78e95d17946: Pulling fs layer [2021-11-15T01:24:25.172Z] f4f7b4309257: Waiting [2021-11-15T01:24:25.172Z] 7a9cfe048b4a: Waiting [2021-11-15T01:24:25.172Z] 72dc09318566: Waiting [2021-11-15T01:24:25.172Z] 0ac9a79272e3: Waiting [2021-11-15T01:24:25.172Z] b78e95d17946: Waiting [2021-11-15T01:24:25.172Z] 9e70ebbbe112: Verifying Checksum [2021-11-15T01:24:25.172Z] 9e70ebbbe112: Download complete [2021-11-15T01:24:25.172Z] ea3f2d53f512: Verifying Checksum [2021-11-15T01:24:25.172Z] ea3f2d53f512: Download complete [2021-11-15T01:24:25.452Z] 72dc09318566: Verifying Checksum [2021-11-15T01:24:25.452Z] 72dc09318566: Download complete [2021-11-15T01:24:25.452Z] 552d1f2373af: Verifying Checksum [2021-11-15T01:24:25.452Z] 552d1f2373af: Download complete [2021-11-15T01:24:25.452Z] f4f7b4309257: Download complete [2021-11-15T01:24:25.452Z] 0ac9a79272e3: Verifying Checksum [2021-11-15T01:24:25.452Z] 0ac9a79272e3: Download complete [2021-11-15T01:24:26.054Z] 552d1f2373af: Pull complete [2021-11-15T01:24:27.058Z] ea3f2d53f512: Pull complete [2021-11-15T01:24:27.333Z] 9e70ebbbe112: Pull complete [2021-11-15T01:24:27.333Z] b78e95d17946: Verifying Checksum [2021-11-15T01:24:27.333Z] b78e95d17946: Download complete [2021-11-15T01:24:27.929Z] 7a9cfe048b4a: Verifying Checksum [2021-11-15T01:24:27.929Z] 7a9cfe048b4a: Download complete [2021-11-15T01:24:40.348Z] 7a9cfe048b4a: Pull complete [2021-11-15T01:24:40.348Z] 72dc09318566: Pull complete [2021-11-15T01:24:40.348Z] f4f7b4309257: Pull complete [2021-11-15T01:24:40.348Z] 0ac9a79272e3: Pull complete [2021-11-15T01:24:45.766Z] b78e95d17946: Pull complete [2021-11-15T01:24:45.766Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-15T01:24:45.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-15T01:24:45.766Z] ---> 8b459fc5aaf0 [2021-11-15T01:24:45.766Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T01:24:47.203Z] ---> Running in f9b5b48210d7 [2021-11-15T01:24:47.475Z] Removing intermediate container f9b5b48210d7 [2021-11-15T01:24:47.475Z] ---> 66da1bdaf042 [2021-11-15T01:24:47.475Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T01:24:47.475Z] ---> Running in e8e6cee11195 [2021-11-15T01:24:48.069Z] Removing intermediate container e8e6cee11195 [2021-11-15T01:24:48.069Z] ---> 1e78a82950ac [2021-11-15T01:24:48.069Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T01:24:48.069Z] ---> Running in 4a2bc9a8e375 [2021-11-15T01:24:50.037Z] Removing intermediate container 4a2bc9a8e375 [2021-11-15T01:24:50.038Z] ---> 5a6b082e3b69 [2021-11-15T01:24:50.038Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T01:24:50.313Z] ---> Running in d178f26e1311 [2021-11-15T01:24:51.305Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T01:24:52.292Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T01:24:53.278Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T01:24:53.278Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T01:24:53.278Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T01:24:53.555Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T01:24:53.555Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T01:24:53.555Z] OK: 223 MiB in 56 packages [2021-11-15T01:24:54.539Z] Removing intermediate container d178f26e1311 [2021-11-15T01:24:54.539Z] ---> c39064d31ac9 [2021-11-15T01:24:54.539Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-15T01:24:54.818Z] ---> Running in 62dee444d594 [2021-11-15T01:24:55.097Z] Removing intermediate container 62dee444d594 [2021-11-15T01:24:55.097Z] ---> a5d4d5fe0307 [2021-11-15T01:24:55.097Z] Step 8/11 : COPY . . [2021-11-15T01:24:56.083Z] ---> a21c8a9adc9a [2021-11-15T01:24:56.083Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T01:24:56.387Z] ---> Running in ebc963dbd1df [2021-11-15T01:26:18.163Z] Removing intermediate container ebc963dbd1df [2021-11-15T01:26:18.163Z] ---> ccda5a2e1249 [2021-11-15T01:26:18.163Z] Step 10/11 : ARG MAKE='make build' [2021-11-15T01:26:18.163Z] ---> Running in 757d6614c764 [2021-11-15T01:26:18.163Z] Removing intermediate container 757d6614c764 [2021-11-15T01:26:18.163Z] ---> 03fb20415f26 [2021-11-15T01:26:18.163Z] Step 11/11 : RUN $MAKE [2021-11-15T01:26:18.163Z] ---> Running in 2f242e4ca52b [2021-11-15T01:26:18.163Z] noop [2021-11-15T01:26:18.163Z] Removing intermediate container 2f242e4ca52b [2021-11-15T01:26:18.163Z] ---> 577c15fd76d8 [2021-11-15T01:26:18.163Z] Successfully built 577c15fd76d8 [2021-11-15T01:26:18.163Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:18.534Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T01:26:18.534Z] . [Pipeline] withDockerContainer [2021-11-15T01:26:18.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container [2021-11-15T01:26:18.889Z] $ 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:20.424Z] $ docker top b6e040373885b8fb617cace5ed31329d65457b0af39509786e9f989b197af229 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:26:21.461Z] + go version [2021-11-15T01:26:21.461Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-15T01:26:21.495Z] $ docker stop --time=1 b6e040373885b8fb617cace5ed31329d65457b0af39509786e9f989b197af229 [2021-11-15T01:26:23.221Z] $ docker rm -f b6e040373885b8fb617cace5ed31329d65457b0af39509786e9f989b197af229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:24.138Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T01:26:24.138Z] . [Pipeline] withDockerContainer [2021-11-15T01:26:24.432Z] prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container [2021-11-15T01:26:24.517Z] $ 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:26.074Z] $ docker top 7bd52ed18388ea917ea72499d38e9cca3c43eaa0fd592464456b41112f3987fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T01:26:27.133Z] + make test [2021-11-15T01:26:27.133Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T01:26:27.411Z] verifying github.com/edgexfoundry/go-mod-core-contracts/v2@v2.1.0: checksum mismatch [2021-11-15T01:26:27.411Z] downloaded: h1:uphot3ZKOH0/aoo/Y5gr2NCRgGzy9RksWsXKtJRVEuQ= [2021-11-15T01:26:27.411Z] go.sum: h1:QIb6pcSYxL9F4TDnZOZk7+USnZ8Nivz1hHxmoAFNPVM= [2021-11-15T01:26:27.411Z] [2021-11-15T01:26:27.411Z] SECURITY ERROR [2021-11-15T01:26:27.412Z] This download does NOT match an earlier download recorded in go.sum. [2021-11-15T01:26:27.412Z] The bits may have been replaced on the origin server, or an attacker may [2021-11-15T01:26:27.412Z] have intercepted the download attempt. [2021-11-15T01:26:27.412Z] [2021-11-15T01:26:27.412Z] For more information, see 'go help module-auth'. [2021-11-15T01:26:27.412Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-11-15T01:26:27.453Z] $ docker stop --time=1 7bd52ed18388ea917ea72499d38e9cca3c43eaa0fd592464456b41112f3987fe [2021-11-15T01:26:29.141Z] $ docker rm -f 7bd52ed18388ea917ea72499d38e9cca3c43eaa0fd592464456b41112f3987fe [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:30.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:30.255Z] [2021-11-15T01:26:30.255Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:26:30.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:30.897Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-15T01:26:30.897Z] 448f6bf000e3: Pulling fs layer [2021-11-15T01:26:30.897Z] f757da607395: Pulling fs layer [2021-11-15T01:26:30.897Z] 05883995daec: Pulling fs layer [2021-11-15T01:26:30.897Z] 8603b9c90790: Pulling fs layer [2021-11-15T01:26:30.897Z] 1560dd03e051: Pulling fs layer [2021-11-15T01:26:30.897Z] 27f5ce0e4adf: Pulling fs layer [2021-11-15T01:26:30.897Z] c2d8d7efcc4b: Pulling fs layer [2021-11-15T01:26:30.897Z] 8603b9c90790: Waiting [2021-11-15T01:26:30.897Z] 1560dd03e051: Waiting [2021-11-15T01:26:30.897Z] 27f5ce0e4adf: Waiting [2021-11-15T01:26:30.897Z] c2d8d7efcc4b: Waiting [2021-11-15T01:26:30.897Z] f757da607395: Verifying Checksum [2021-11-15T01:26:30.897Z] f757da607395: Download complete [2021-11-15T01:26:30.897Z] 8603b9c90790: Verifying Checksum [2021-11-15T01:26:30.897Z] 8603b9c90790: Download complete [2021-11-15T01:26:31.173Z] 1560dd03e051: Verifying Checksum [2021-11-15T01:26:31.173Z] 1560dd03e051: Download complete [2021-11-15T01:26:31.173Z] 05883995daec: Download complete [2021-11-15T01:26:31.173Z] 27f5ce0e4adf: Download complete [2021-11-15T01:26:31.447Z] 448f6bf000e3: Verifying Checksum [2021-11-15T01:26:31.447Z] 448f6bf000e3: Download complete [2021-11-15T01:26:34.070Z] c2d8d7efcc4b: Verifying Checksum [2021-11-15T01:26:34.070Z] c2d8d7efcc4b: Download complete [2021-11-15T01:26:35.052Z] 448f6bf000e3: Pull complete [2021-11-15T01:26:36.026Z] f757da607395: Pull complete [2021-11-15T01:26:37.463Z] 05883995daec: Pull complete [2021-11-15T01:26:37.463Z] 8603b9c90790: Pull complete [2021-11-15T01:26:38.450Z] 1560dd03e051: Pull complete [2021-11-15T01:26:38.726Z] 27f5ce0e4adf: Pull complete [2021-11-15T01:26:53.803Z] c2d8d7efcc4b: Pull complete [2021-11-15T01:26:53.803Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-15T01:26:53.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T01:26:53.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-15T01:26:54.080Z] prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container [2021-11-15T01:26:54.157Z] $ 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:56.931Z] $ docker top c5ab208cb8f74206b0f6095cd6e3ef8ccf1f0b4da09e62a3943f266bed3aa1a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:26:57.938Z] ---> job-cost.sh [2021-11-15T01:26:57.938Z] lf-activate-venv: SKIPPING [2021-11-15T01:26:57.938Z] INFO: No Stack... [2021-11-15T01:26:58.211Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-15T01:26:58.805Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T01:26:59.484Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2021-11-15T01:26:59.484Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T01:26:59.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [2021-11-15T01:26:59.565Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] did not exist. Created. [2021-11-15T01:26:59.565Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T01:27:00.351Z] /w/workspace/device-mqtt-go/1@tmp/durable-e25b535b/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-e25b535b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-15T01:27:01.056Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-15T01:27:01.095Z] Warning: overwriting stash ‘stack-cost’ [2021-11-15T01:27:01.966Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T01:27:01.982Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T01:27:02.044Z] $ docker stop --time=1 c5ab208cb8f74206b0f6095cd6e3ef8ccf1f0b4da09e62a3943f266bed3aa1a9 [2021-11-15T01:27:03.592Z] $ docker rm -f c5ab208cb8f74206b0f6095cd6e3ef8ccf1f0b4da09e62a3943f266bed3aa1a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T01:27:04.309Z] 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:27:06.579Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-320/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:06.934Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:07.531Z] ---> package-listing.sh [2021-11-15T01:27:07.531Z] ++ facter osfamily [2021-11-15T01:27:07.531Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-15T01:27:07.795Z] + OS_FAMILY=redhat [2021-11-15T01:27:07.795Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-320 [2021-11-15T01:27:07.795Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-15T01:27:07.795Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-15T01:27:07.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-15T01:27:07.795Z] + PACKAGES=/tmp/packages_start.txt [2021-11-15T01:27:07.795Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-320 ']' [2021-11-15T01:27:07.795Z] + PACKAGES=/tmp/packages_end.txt [2021-11-15T01:27:07.795Z] + case "${OS_FAMILY}" in [2021-11-15T01:27:07.796Z] + sort [2021-11-15T01:27:07.796Z] + rpm -qa [2021-11-15T01:27:08.367Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-15T01:27:08.367Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-15T01:27:08.367Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-15T01:27:08.367Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-320 ']' [2021-11-15T01:27:08.367Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-320/archives/ [2021-11-15T01:27:08.367Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-320/archives/ [Pipeline] echo [2021-11-15T01:27:08.400Z] 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-320/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:27:08.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:27:09.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:27:09.297Z] [2021-11-15T01:27:09.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T01:27:09.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:27:09.640Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T01:27:09.640Z] b4d181a07f80: Pulling fs layer [2021-11-15T01:27:09.640Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T01:27:09.640Z] ed53099fbce6: Pulling fs layer [2021-11-15T01:27:09.640Z] dc539afda2c1: Pulling fs layer [2021-11-15T01:27:09.640Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T01:27:09.640Z] 9065ff56babe: Pulling fs layer [2021-11-15T01:27:09.640Z] d287ab97295c: Pulling fs layer [2021-11-15T01:27:09.640Z] 77bc0d833cb6: Waiting [2021-11-15T01:27:09.640Z] 9065ff56babe: Waiting [2021-11-15T01:27:09.640Z] d287ab97295c: Waiting [2021-11-15T01:27:09.640Z] dc539afda2c1: Waiting [2021-11-15T01:27:09.640Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T01:27:09.640Z] a1111a8f2ec3: Download complete [2021-11-15T01:27:09.640Z] dc539afda2c1: Verifying Checksum [2021-11-15T01:27:09.640Z] dc539afda2c1: Download complete [2021-11-15T01:27:09.640Z] ed53099fbce6: Verifying Checksum [2021-11-15T01:27:09.640Z] ed53099fbce6: Download complete [2021-11-15T01:27:09.911Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T01:27:09.911Z] 77bc0d833cb6: Download complete [2021-11-15T01:27:09.911Z] 9065ff56babe: Verifying Checksum [2021-11-15T01:27:09.911Z] 9065ff56babe: Download complete [2021-11-15T01:27:09.911Z] b4d181a07f80: Verifying Checksum [2021-11-15T01:27:09.911Z] b4d181a07f80: Download complete [2021-11-15T01:27:10.493Z] d287ab97295c: Verifying Checksum [2021-11-15T01:27:10.493Z] d287ab97295c: Download complete [2021-11-15T01:27:11.453Z] b4d181a07f80: Pull complete [2021-11-15T01:27:11.453Z] a1111a8f2ec3: Pull complete [2021-11-15T01:27:12.030Z] ed53099fbce6: Pull complete [2021-11-15T01:27:12.030Z] dc539afda2c1: Pull complete [2021-11-15T01:27:12.618Z] 77bc0d833cb6: Pull complete [2021-11-15T01:27:12.618Z] 9065ff56babe: Pull complete [2021-11-15T01:27:17.944Z] d287ab97295c: Pull complete [2021-11-15T01:27:17.944Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T01:27:17.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T01:27:17.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T01:27:18.039Z] prd-centos7-docker-4c-2g-569 does not seem to be running inside a container [2021-11-15T01:27:18.080Z] $ 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-320/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-320 -v /w/workspace/gexfoundry_device-mqtt-go_PR-320:/w/workspace/gexfoundry_device-mqtt-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-320@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:27:20.356Z] $ docker top 7b357e831227f39d72236289e5316831c92e4fe613ffcf9606a8352ad8d7e402 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T01:27:20.762Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-15T01:27:21.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-15T01:27:21.390Z] + ls /var/log/sa-host [2021-11-15T01:27:21.390Z] + sadf -c /var/log/sa-host/sa15 [2021-11-15T01:27:21.390Z] file_magic: OK [2021-11-15T01:27:21.390Z] HZ: Using current value: 100 [2021-11-15T01:27:21.390Z] file_header: OK [2021-11-15T01:27:21.390Z] 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:27:21.390Z] Statistics: [2021-11-15T01:27:21.390Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T01:27:21.390Z] File successfully converted to sysstat format version 12.0.3 [2021-11-15T01:27:21.390Z] + sadf -c /var/log/sa-host/sa30 [2021-11-15T01:27:21.390Z] file_magic: OK [2021-11-15T01:27:21.390Z] HZ: Using current value: 100 [2021-11-15T01:27:21.390Z] file_header: OK [2021-11-15T01:27:21.390Z] 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:27:21.390Z] Statistics: [2021-11-15T01:27:21.390Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T01:27:21.390Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T01:27:21.528Z] provisioning config files... [2021-11-15T01:27:21.540Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-320@tmp/config8798340423272803476tmp [Pipeline] { [Pipeline] echo [2021-11-15T01:27:21.577Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:21.901Z] ---> create-netrc.sh [Pipeline] } [2021-11-15T01:27:21.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:22.332Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-15T01:27:22.357Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:22.674Z] ---> sudo-logs.sh [2021-11-15T01:27:22.674Z] Archiving 'sudo' log.. [2021-11-15T01:27:22.933Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-569.novalocal: Name or service not known [2021-11-15T01:27:22.933Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-569.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-15T01:27:22.997Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:23.311Z] ---> job-cost.sh [2021-11-15T01:27:23.311Z] lf-activate-venv: SKIPPING [2021-11-15T01:27:23.311Z] DEBUG: total: 0.10999999940395355 [2021-11-15T01:27:23.311Z] INFO: Retrieving Stack Cost... [2021-11-15T01:27:23.571Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T01:27:23.832Z] INFO: Archiving Costs [Pipeline] echo [2021-11-15T01:27:23.858Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T01:27:24.181Z] ---> logs-deploy.sh [2021-11-15T01:27:24.181Z] lf-activate-venv: SKIPPING [2021-11-15T01:27:24.181Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-320/1 [2021-11-15T01:27:24.181Z] INFO: archiving workspace using pattern(s): [2021-11-15T01:27:25.130Z] Archives upload complete. [2021-11-15T01:27:25.130Z] INFO: archiving logs to Nexus