Pull request #181 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 2f4dde20e98ab81f17845983116e66fdec69c9ea+7658dde2fa5f0df1322b53e9d399e0259178d9cc (51fac66e5dcf4a000f17f71bc9cdbb1720c2e735) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 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/app-service-configurable/branches/PR-181/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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/app-service-configurable/branches/PR-181/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 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:app-service-configurable, 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: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22896 in /w/workspace/_app-service-configurable_PR-181 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-181 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/hanoi commit 7658dde2fa5f0df1322b53e9d399e0259178d9cc into PR head commit 2f4dde20e98ab81f17845983116e66fdec69c9ea Merge succeeded, producing 2f4dde20e98ab81f17845983116e66fdec69c9ea Checking out Revision 2f4dde20e98ab81f17845983116e66fdec69c9ea (PR-181) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7658dde2fa5f0df1322b53e9d399e0259178d9cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix for Hanoi" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T23:19:08.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T23:19:09.378Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T23:19:09.586Z] ========================================================= [2021-01-26T23:19:09.586Z] EdgeX Global Pipelines Version Info [2021-01-26T23:19:09.586Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:19:11.084Z] ------------------- [2021-01-26T23:19:11.084Z] stable info: [2021-01-26T23:19:11.084Z] ------------------- [2021-01-26T23:19:11.084Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T23:19:11.084Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T23:19:11.084Z] Message: update stable to v1.0.179 [2021-01-26T23:19:12.036Z] ------------------- [2021-01-26T23:19:12.036Z] experimental info: [2021-01-26T23:19:12.036Z] ------------------- [2021-01-26T23:19:12.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T23:19:12.036Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T23:19:12.036Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T23:19:12.659Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2021-01-26T23:19:12.848Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2021-01-26T23:19:12.981Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T23:19:13.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T23:19:13.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T23:19:13.411Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T23:19:13.526Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T23:19:13.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T23:19:13.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-26T23:19:13.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T23:19:14.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T23:19:14.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2021-01-26T23:19:14.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T23:19:14.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T23:19:14.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-26T23:19:14.705Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-26T23:19:14.841Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T23:19:14.975Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T23:19:15.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T23:19:15.221Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-26T23:19:15.358Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-26T23:19:15.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-26T23:19:15.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T23:19:15.741Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T23:19:15.857Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-26T23:19:15.978Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T23:19:16.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T23:19:16.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo [2021-01-26T23:19:16.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo [2021-01-26T23:19:16.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo [2021-01-26T23:19:16.576Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f4dde20e98ab81f17845983116e66fdec69c9ea [Pipeline] echo [2021-01-26T23:19:16.700Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f4dde2 [Pipeline] echo [2021-01-26T23:19:16.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T23:19:17.064Z] provisioning config files... [2021-01-26T23:19:17.095Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-181@tmp/config2355111600010898969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:19:17.510Z] ---> docker-login.sh [2021-01-26T23:19:17.510Z] nexus3.edgexfoundry.org:10001 [2021-01-26T23:19:17.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:19:18.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:19:18.041Z] Configure a credential helper to remove this warning. See [2021-01-26T23:19:18.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:19:18.041Z] [2021-01-26T23:19:18.041Z] Login Succeeded [2021-01-26T23:19:18.041Z] nexus3.edgexfoundry.org:10002 [2021-01-26T23:19:18.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:19:18.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:19:18.306Z] Configure a credential helper to remove this warning. See [2021-01-26T23:19:18.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:19:18.306Z] [2021-01-26T23:19:18.306Z] Login Succeeded [2021-01-26T23:19:18.306Z] nexus3.edgexfoundry.org:10003 [2021-01-26T23:19:18.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:19:18.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:19:18.306Z] Configure a credential helper to remove this warning. See [2021-01-26T23:19:18.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:19:18.306Z] [2021-01-26T23:19:18.306Z] Login Succeeded [2021-01-26T23:19:18.306Z] nexus3.edgexfoundry.org:10004 [2021-01-26T23:19:18.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:19:18.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:19:18.569Z] Configure a credential helper to remove this warning. See [2021-01-26T23:19:18.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:19:18.569Z] [2021-01-26T23:19:18.569Z] Login Succeeded [2021-01-26T23:19:18.569Z] docker.io [2021-01-26T23:19:18.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:19:18.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:19:18.831Z] Configure a credential helper to remove this warning. See [2021-01-26T23:19:18.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:19:18.831Z] [2021-01-26T23:19:18.831Z] Login Succeeded [2021-01-26T23:19:18.831Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T23:19:18.855Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T23:19:19.922Z] + git log --format=format:%s -1 2f4dde20e98ab81f17845983116e66fdec69c9ea [Pipeline] echo [2021-01-26T23:19:20.026Z] GIT_COMMIT: 2f4dde20e98ab81f17845983116e66fdec69c9ea, Commit Message: fix: Upgrade to go-mod-messaging with ZMQ fix for Hanoi [Pipeline] echo [2021-01-26T23:19:20.108Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:19:21.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T23:19:21.185Z] [2021-01-26T23:19:21.185Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:19:21.571Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T23:19:21.571Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T23:19:21.571Z] 31603596830f: Pulling fs layer [2021-01-26T23:19:21.571Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T23:19:21.571Z] 6ca5941a6612: Pulling fs layer [2021-01-26T23:19:21.571Z] ecc8261a40a4: Pulling fs layer [2021-01-26T23:19:21.571Z] ecc8261a40a4: Waiting [2021-01-26T23:19:21.571Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T23:19:21.571Z] 2a8b12db71e7: Download complete [2021-01-26T23:19:21.571Z] 31603596830f: Verifying Checksum [2021-01-26T23:19:21.571Z] 31603596830f: Download complete [2021-01-26T23:19:21.838Z] ecc8261a40a4: Verifying Checksum [2021-01-26T23:19:21.838Z] ecc8261a40a4: Download complete [2021-01-26T23:19:21.838Z] 6ca5941a6612: Verifying Checksum [2021-01-26T23:19:21.838Z] 6ca5941a6612: Download complete [2021-01-26T23:19:22.100Z] 31603596830f: Pull complete [2021-01-26T23:19:22.100Z] 2a8b12db71e7: Pull complete [2021-01-26T23:19:23.059Z] 6ca5941a6612: Pull complete [2021-01-26T23:19:23.323Z] ecc8261a40a4: Pull complete [2021-01-26T23:19:23.323Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T23:19:23.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T23:19:23.323Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T23:19:23.445Z] prd-centos7-docker-4c-2g-22896 does not seem to be running inside a container [2021-01-26T23:19:23.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-181 -v /w/workspace/_app-service-configurable_PR-181:/w/workspace/_app-service-configurable_PR-181:rw,z -v /w/workspace/_app-service-configurable_PR-181@tmp:/w/workspace/_app-service-configurable_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T23:19:25.435Z] $ docker top 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T23:19:25.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T23:19:25.842Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T23:19:26.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T23:19:26.074Z] $ docker exec 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 ssh-agent [2021-01-26T23:19:26.236Z] SSH_AUTH_SOCK=/tmp/ssh-FrE0bI9CTLJg/agent.12 [2021-01-26T23:19:26.236Z] SSH_AGENT_PID=17 [2021-01-26T23:19:26.245Z] Running ssh-add (command line suppressed) [2021-01-26T23:19:26.364Z] Identity added: /w/workspace/_app-service-configurable_PR-181@tmp/private_key_8146230747312937221.key (/w/workspace/_app-service-configurable_PR-181@tmp/private_key_8146230747312937221.key) [2021-01-26T23:19:26.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T23:19:26.788Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T23:19:26.817Z] $ docker exec --env ******** --env ******** 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 ssh-agent -k [2021-01-26T23:19:26.935Z] unset SSH_AUTH_SOCK; [2021-01-26T23:19:26.936Z] unset SSH_AGENT_PID; [2021-01-26T23:19:26.936Z] echo Agent pid 17 killed; [2021-01-26T23:19:26.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T23:19:27.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T23:19:27.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T23:19:27.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T23:19:27.341Z] $ docker exec 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 ssh-agent [2021-01-26T23:19:27.500Z] SSH_AUTH_SOCK=/tmp/ssh-KkxrRqosqFCe/agent.45 [2021-01-26T23:19:27.500Z] SSH_AGENT_PID=50 [2021-01-26T23:19:27.509Z] Running ssh-add (command line suppressed) [2021-01-26T23:19:27.627Z] Identity added: /w/workspace/_app-service-configurable_PR-181@tmp/private_key_1345767481661295856.key (/w/workspace/_app-service-configurable_PR-181@tmp/private_key_1345767481661295856.key) [2021-01-26T23:19:27.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T23:19:28.060Z] + git semver init [2021-01-26T23:19:28.061Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T23:19:28.061Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-181/.git [2021-01-26T23:19:28.061Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-181 [2021-01-26T23:19:28.061Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T23:19:28.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T23:19:28.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T23:19:28.061Z] # $SEMVER_BRANCH = PR-181 [2021-01-26T23:19:28.061Z] # $SEMVER_TEMP = /tmp/semver-860157080 [2021-01-26T23:19:28.061Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2021-01-26T23:19:28.637Z] # '/tmp/semver-860157080' -> '/w/workspace/_app-service-configurable_PR-181/.semver' [2021-01-26T23:19:28.637Z] # -> Force: false [2021-01-26T23:19:28.637Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-181/.semver [Pipeline] } [2021-01-26T23:19:28.659Z] $ docker exec --env ******** --env ******** 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 ssh-agent -k [2021-01-26T23:19:28.772Z] unset SSH_AUTH_SOCK; [2021-01-26T23:19:28.773Z] unset SSH_AGENT_PID; [2021-01-26T23:19:28.773Z] echo Agent pid 50 killed; [2021-01-26T23:19:28.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T23:19:29.374Z] + git semver [Pipeline] } [2021-01-26T23:19:29.406Z] $ docker stop --time=1 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 [2021-01-26T23:19:30.835Z] $ docker rm -f 41481c8b2f60f3a32d9f89a6e2b242fa9f9e86b2a5b212b6b8530dbc00f0bd94 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T23:19:31.452Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T23:19:31.868Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T23:19:31.889Z] [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-01-26T23:19:47.685Z] Still waiting to schedule task [2021-01-26T23:19:47.686Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-26T23:19:47.708Z] Still waiting to schedule task [2021-01-26T23:19:47.708Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-26T23:21:13.441Z] Running on prd-centos7-docker-4c-2g-22897 in /w/workspace/_app-service-configurable_PR-181 [Pipeline] { [Pipeline] ws [2021-01-26T23:21:13.575Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2021-01-26T23:21:16.063Z] using credential edgex-jenkins-ssh [2021-01-26T23:21:16.142Z] Cloning the remote Git repository [2021-01-26T23:21:15.776Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:21:15.854Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2021-01-26T23:21:15.916Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:21:15.917Z] > git --version # timeout=10 [2021-01-26T23:21:15.924Z] > git --version # 'git version 2.24.3' [2021-01-26T23:21:15.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:21:15.952Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T23:21:16.547Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-26T23:21:16.553Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T23:21:16.563Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-26T23:21:16.575Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:21:16.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:21:16.579Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T23:21:17.286Z] Merging remotes/origin/hanoi commit 7658dde2fa5f0df1322b53e9d399e0259178d9cc into PR head commit 2f4dde20e98ab81f17845983116e66fdec69c9ea [2021-01-26T23:21:17.411Z] Merge succeeded, producing 2f4dde20e98ab81f17845983116e66fdec69c9ea [2021-01-26T23:21:17.411Z] Checking out Revision 2f4dde20e98ab81f17845983116e66fdec69c9ea (PR-181) [2021-01-26T23:21:16.998Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T23:21:17.003Z] > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 [2021-01-26T23:21:17.091Z] > git remote # timeout=10 [2021-01-26T23:21:17.097Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T23:21:17.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:21:17.105Z] > git merge 7658dde2fa5f0df1322b53e9d399e0259178d9cc # timeout=10 [2021-01-26T23:21:17.117Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T23:21:17.128Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T23:21:17.131Z] > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 [2021-01-26T23:21:20.825Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix for Hanoi" [2021-01-26T23:21:20.859Z] > git --version # timeout=10 [2021-01-26T23:21:20.864Z] > git --version # 'git version 2.24.3' [2021-01-26T23:21:20.871Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T23:21:22.444Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T23:21:22.790Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T23:21:23.153Z] + sudo service docker restart [2021-01-26T23:21:23.153Z] + true [2021-01-26T23:21:23.153Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T23:21:24.708Z] provisioning config files... [2021-01-26T23:21:24.737Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3549156151626805296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:21:25.154Z] ---> docker-login.sh [2021-01-26T23:21:25.154Z] nexus3.edgexfoundry.org:10001 [2021-01-26T23:21:25.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:21:25.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:21:25.424Z] Configure a credential helper to remove this warning. See [2021-01-26T23:21:25.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:21:25.424Z] [2021-01-26T23:21:25.424Z] Login Succeeded [2021-01-26T23:21:25.424Z] nexus3.edgexfoundry.org:10002 [2021-01-26T23:21:25.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:21:25.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:21:25.685Z] Configure a credential helper to remove this warning. See [2021-01-26T23:21:25.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:21:25.685Z] [2021-01-26T23:21:25.685Z] Login Succeeded [2021-01-26T23:21:25.685Z] nexus3.edgexfoundry.org:10003 [2021-01-26T23:21:25.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:21:25.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:21:25.948Z] Configure a credential helper to remove this warning. See [2021-01-26T23:21:25.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:21:25.948Z] [2021-01-26T23:21:25.948Z] Login Succeeded [2021-01-26T23:21:25.948Z] nexus3.edgexfoundry.org:10004 [2021-01-26T23:21:25.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:21:25.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:21:25.948Z] Configure a credential helper to remove this warning. See [2021-01-26T23:21:25.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:21:25.948Z] [2021-01-26T23:21:25.948Z] Login Succeeded [2021-01-26T23:21:25.948Z] docker.io [2021-01-26T23:21:26.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:21:26.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:21:26.475Z] Configure a credential helper to remove this warning. See [2021-01-26T23:21:26.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:21:26.475Z] [2021-01-26T23:21:26.475Z] Login Succeeded [2021-01-26T23:21:26.475Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T23:21:26.499Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T23:21:27.018Z] ========================================================= [2021-01-26T23:21:27.018Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T23:21:27.018Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:21:27.412Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-26T23:21:27.413Z] Sending build context to Docker daemon 98.82kB [2021-01-26T23:21:27.413Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T23:21:27.413Z] Step 2/8 : FROM ${BASE} [2021-01-26T23:21:27.413Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T23:21:27.413Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T23:21:27.413Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T23:21:27.413Z] de9db76c5a1d: Pulling fs layer [2021-01-26T23:21:27.413Z] bca2f99d35d6: Pulling fs layer [2021-01-26T23:21:27.413Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T23:21:27.413Z] 7c6f9722023f: Pulling fs layer [2021-01-26T23:21:27.413Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T23:21:27.413Z] bca2f99d35d6: Waiting [2021-01-26T23:21:27.413Z] 93359f2a8cfa: Waiting [2021-01-26T23:21:27.413Z] 7c6f9722023f: Waiting [2021-01-26T23:21:27.413Z] a35cf1a2eb13: Waiting [2021-01-26T23:21:27.675Z] de9db76c5a1d: Download complete [2021-01-26T23:21:27.675Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T23:21:27.675Z] 0ef7d3d256c8: Download complete [2021-01-26T23:21:27.675Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T23:21:27.675Z] 93359f2a8cfa: Download complete [2021-01-26T23:21:27.675Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T23:21:27.675Z] 188c0c94c7c5: Download complete [2021-01-26T23:21:27.675Z] 7c6f9722023f: Verifying Checksum [2021-01-26T23:21:27.675Z] 7c6f9722023f: Download complete [2021-01-26T23:21:27.939Z] 188c0c94c7c5: Pull complete [2021-01-26T23:21:28.201Z] 0ef7d3d256c8: Pull complete [2021-01-26T23:21:28.201Z] de9db76c5a1d: Pull complete [2021-01-26T23:21:30.133Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T23:21:30.133Z] a35cf1a2eb13: Download complete [2021-01-26T23:21:30.708Z] bca2f99d35d6: Verifying Checksum [2021-01-26T23:21:30.708Z] bca2f99d35d6: Download complete [2021-01-26T23:21:36.026Z] bca2f99d35d6: Pull complete [2021-01-26T23:21:36.026Z] 93359f2a8cfa: Pull complete [2021-01-26T23:21:36.026Z] 7c6f9722023f: Pull complete [2021-01-26T23:21:41.544Z] a35cf1a2eb13: Pull complete [2021-01-26T23:21:41.544Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T23:21:41.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T23:21:41.544Z] ---> a62c8e92a672 [2021-01-26T23:21:41.544Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T23:21:41.544Z] ---> Running in e548cac27485 [2021-01-26T23:21:41.544Z] Removing intermediate container e548cac27485 [2021-01-26T23:21:41.544Z] ---> 9eb63233f0b3 [2021-01-26T23:21:41.544Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T23:21:41.544Z] ---> Running in 84cdd7734be2 [2021-01-26T23:21:42.494Z] Removing intermediate container 84cdd7734be2 [2021-01-26T23:21:42.494Z] ---> ace49f0d27a2 [2021-01-26T23:21:42.494Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2021-01-26T23:21:42.494Z] ---> Running in 3250a05aa991 [2021-01-26T23:21:43.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T23:21:44.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T23:21:44.594Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-01-26T23:21:44.594Z] (2/6) Installing libsodium (1.0.18-r0) [2021-01-26T23:21:44.594Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-01-26T23:21:44.856Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-01-26T23:21:44.856Z] (5/6) Installing libzmq (4.3.3-r0) [2021-01-26T23:21:44.856Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-01-26T23:21:45.123Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T23:21:45.123Z] OK: 167 MiB in 45 packages [2021-01-26T23:21:45.695Z] Removing intermediate container 3250a05aa991 [2021-01-26T23:21:45.695Z] ---> b68617dd086d [2021-01-26T23:21:45.695Z] Step 6/8 : WORKDIR /app [2021-01-26T23:21:45.695Z] ---> Running in 823c21af0453 [2021-01-26T23:21:45.695Z] Removing intermediate container 823c21af0453 [2021-01-26T23:21:45.695Z] ---> 3508eb1b5526 [2021-01-26T23:21:45.695Z] Step 7/8 : COPY . . [2021-01-26T23:21:45.959Z] ---> 7b0071b6de60 [2021-01-26T23:21:45.959Z] Step 8/8 : RUN go mod download [2021-01-26T23:21:46.224Z] ---> Running in d32b39959ca8 [2021-01-26T23:22:12.878Z] Removing intermediate container d32b39959ca8 [2021-01-26T23:22:12.878Z] ---> bf8a76867049 [2021-01-26T23:22:12.878Z] Successfully built bf8a76867049 [2021-01-26T23:22:12.878Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:22:13.244Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T23:22:13.244Z] . [Pipeline] withDockerContainer [2021-01-26T23:22:13.384Z] prd-centos7-docker-4c-2g-22897 does not seem to be running inside a container [2021-01-26T23:22:13.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T23:22:14.233Z] $ docker top 8234ddee0776f1529635595914857007a23e77d5ab51a8c3f4bbc15ddb1afc23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T23:22:14.783Z] + go version [2021-01-26T23:22:14.783Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T23:22:14.815Z] $ docker stop --time=1 8234ddee0776f1529635595914857007a23e77d5ab51a8c3f4bbc15ddb1afc23 [2021-01-26T23:22:16.156Z] $ docker rm -f 8234ddee0776f1529635595914857007a23e77d5ab51a8c3f4bbc15ddb1afc23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:22:17.177Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T23:22:17.177Z] . [Pipeline] withDockerContainer [2021-01-26T23:22:17.314Z] prd-centos7-docker-4c-2g-22897 does not seem to be running inside a container [2021-01-26T23:22:17.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T23:22:17.929Z] $ docker top ae5bc5098bbb71dc9f1609605e2f60ad164158bfbd5c3f33afa894d9eb4e27e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T23:22:18.455Z] + make test [2021-01-26T23:22:18.455Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-01-26T23:22:36.718Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-01-26T23:22:36.719Z] CGO_ENABLED=1 go vet ./... [2021-01-26T23:22:39.322Z] gofmt -l . [2021-01-26T23:22:39.322Z] [ "`gofmt -l .`" = "" ] [2021-01-26T23:22:39.322Z] ./bin/test-go-mod-tidy.sh [2021-01-26T23:22:39.584Z] go.mod is not tidy, please run "go mod tidy" [2021-01-26T23:22:39.584Z] changes from running "go mod tidy:" [2021-01-26T23:22:39.584Z] --- go.mod [2021-01-26T23:22:39.584Z] +++ go.mod.bk [2021-01-26T23:22:39.584Z] @@ -3,3 +3,4 @@ [2021-01-26T23:22:39.584Z] go 1.15 [2021-01-26T23:22:39.584Z] [2021-01-26T23:22:39.584Z] require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.1 [2021-01-26T23:22:39.584Z] + [2021-01-26T23:22:39.584Z] make: *** [makefile:38: test] Error 1 [Pipeline] } [2021-01-26T23:22:39.632Z] $ docker stop --time=1 ae5bc5098bbb71dc9f1609605e2f60ad164158bfbd5c3f33afa894d9eb4e27e2 [2021-01-26T23:22:41.876Z] $ docker rm -f ae5bc5098bbb71dc9f1609605e2f60ad164158bfbd5c3f33afa894d9eb4e27e2 [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T23:22:44.229Z] Failed in branch amd64 [2021-01-26T23:23:01.673Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22899 in /w/workspace/_app-service-configurable_PR-181 [Pipeline] { [Pipeline] ws [2021-01-26T23:23:01.800Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2021-01-26T23:23:07.352Z] using credential edgex-jenkins-ssh [2021-01-26T23:23:07.494Z] Cloning the remote Git repository [2021-01-26T23:23:07.569Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:23:07.688Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2021-01-26T23:23:07.765Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:23:07.766Z] > git --version # timeout=10 [2021-01-26T23:23:07.787Z] > git --version # 'git version 2.17.1' [2021-01-26T23:23:07.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:23:07.871Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T23:23:09.242Z] Merging remotes/origin/hanoi commit 7658dde2fa5f0df1322b53e9d399e0259178d9cc into PR head commit 2f4dde20e98ab81f17845983116e66fdec69c9ea [2021-01-26T23:23:09.548Z] Merge succeeded, producing 2f4dde20e98ab81f17845983116e66fdec69c9ea [2021-01-26T23:23:09.549Z] Checking out Revision 2f4dde20e98ab81f17845983116e66fdec69c9ea (PR-181) [2021-01-26T23:23:08.562Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-26T23:23:08.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T23:23:08.626Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-01-26T23:23:08.664Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-01-26T23:23:08.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:23:08.676Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T23:23:09.278Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T23:23:09.302Z] > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 [2021-01-26T23:23:09.390Z] > git remote # timeout=10 [2021-01-26T23:23:09.412Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T23:23:09.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T23:23:09.437Z] > git merge 7658dde2fa5f0df1322b53e9d399e0259178d9cc # timeout=10 [2021-01-26T23:23:09.505Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T23:23:09.559Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T23:23:09.604Z] > git checkout -f 2f4dde20e98ab81f17845983116e66fdec69c9ea # timeout=10 [2021-01-26T23:23:13.995Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix for Hanoi" [2021-01-26T23:23:14.057Z] > git --version # timeout=10 [2021-01-26T23:23:14.068Z] > git --version # 'git version 2.17.1' [2021-01-26T23:23:14.083Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T23:23:15.775Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T23:23:16.219Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T23:23:16.581Z] + sudo service docker restart [2021-01-26T23:23:16.581Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T23:23:19.371Z] provisioning config files... [2021-01-26T23:23:19.415Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6614788540922819083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:23:19.889Z] ---> docker-login.sh [2021-01-26T23:23:19.889Z] nexus3.edgexfoundry.org:10001 [2021-01-26T23:23:20.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:23:21.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:23:21.155Z] Configure a credential helper to remove this warning. See [2021-01-26T23:23:21.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:23:21.155Z] [2021-01-26T23:23:21.155Z] Login Succeeded [2021-01-26T23:23:21.155Z] nexus3.edgexfoundry.org:10002 [2021-01-26T23:23:21.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:23:21.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:23:21.710Z] Configure a credential helper to remove this warning. See [2021-01-26T23:23:21.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:23:21.710Z] [2021-01-26T23:23:21.710Z] Login Succeeded [2021-01-26T23:23:21.710Z] nexus3.edgexfoundry.org:10003 [2021-01-26T23:23:21.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:23:22.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:23:22.263Z] Configure a credential helper to remove this warning. See [2021-01-26T23:23:22.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:23:22.263Z] [2021-01-26T23:23:22.263Z] Login Succeeded [2021-01-26T23:23:22.263Z] nexus3.edgexfoundry.org:10004 [2021-01-26T23:23:22.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:23:22.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:23:22.539Z] Configure a credential helper to remove this warning. See [2021-01-26T23:23:22.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:23:22.539Z] [2021-01-26T23:23:22.539Z] Login Succeeded [2021-01-26T23:23:22.816Z] docker.io [2021-01-26T23:23:23.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T23:23:23.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T23:23:23.366Z] Configure a credential helper to remove this warning. See [2021-01-26T23:23:23.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T23:23:23.366Z] [2021-01-26T23:23:23.366Z] Login Succeeded [2021-01-26T23:23:23.366Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T23:23:23.404Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T23:23:24.052Z] ========================================================= [2021-01-26T23:23:24.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T23:23:24.052Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:23:24.467Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-26T23:23:24.467Z] Sending build context to Docker daemon 98.82kB [2021-01-26T23:23:24.741Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T23:23:24.741Z] Step 2/8 : FROM ${BASE} [2021-01-26T23:23:25.021Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T23:23:25.021Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T23:23:25.021Z] a4357932f1b6: Pulling fs layer [2021-01-26T23:23:25.021Z] 18c013af1878: Pulling fs layer [2021-01-26T23:23:25.021Z] 00ac8860ef70: Pulling fs layer [2021-01-26T23:23:25.021Z] 63d7cb157983: Pulling fs layer [2021-01-26T23:23:25.021Z] b116817d02f9: Pulling fs layer [2021-01-26T23:23:25.021Z] 745a02a5169b: Pulling fs layer [2021-01-26T23:23:25.021Z] 00ac8860ef70: Waiting [2021-01-26T23:23:25.021Z] 63d7cb157983: Waiting [2021-01-26T23:23:25.021Z] b116817d02f9: Waiting [2021-01-26T23:23:25.021Z] 745a02a5169b: Waiting [2021-01-26T23:23:25.021Z] 18c013af1878: Verifying Checksum [2021-01-26T23:23:25.021Z] 18c013af1878: Download complete [2021-01-26T23:23:25.021Z] a4357932f1b6: Verifying Checksum [2021-01-26T23:23:25.021Z] a4357932f1b6: Download complete [2021-01-26T23:23:25.021Z] 63d7cb157983: Verifying Checksum [2021-01-26T23:23:25.021Z] 63d7cb157983: Download complete [2021-01-26T23:23:25.021Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T23:23:25.021Z] 5f621e34cdf4: Download complete [2021-01-26T23:23:25.021Z] b116817d02f9: Verifying Checksum [2021-01-26T23:23:25.021Z] b116817d02f9: Download complete [2021-01-26T23:23:25.624Z] 5f621e34cdf4: Pull complete [2021-01-26T23:23:26.237Z] a4357932f1b6: Pull complete [2021-01-26T23:23:26.843Z] 18c013af1878: Pull complete [2021-01-26T23:23:27.443Z] 745a02a5169b: Verifying Checksum [2021-01-26T23:23:27.443Z] 745a02a5169b: Download complete [2021-01-26T23:23:29.436Z] 00ac8860ef70: Verifying Checksum [2021-01-26T23:23:29.436Z] 00ac8860ef70: Download complete [2021-01-26T23:23:39.616Z] 00ac8860ef70: Pull complete [2021-01-26T23:23:39.890Z] 63d7cb157983: Pull complete [2021-01-26T23:23:40.165Z] b116817d02f9: Pull complete [2021-01-26T23:23:44.506Z] 745a02a5169b: Pull complete [2021-01-26T23:23:44.506Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T23:23:44.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T23:23:44.506Z] ---> b7e6874047d6 [2021-01-26T23:23:44.506Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T23:23:47.139Z] ---> Running in cb12a0bc80f0 [2021-01-26T23:23:47.139Z] Removing intermediate container cb12a0bc80f0 [2021-01-26T23:23:47.139Z] ---> 8630f067ca44 [2021-01-26T23:23:47.139Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T23:23:47.412Z] ---> Running in 90821e668ca9 [2021-01-26T23:23:49.393Z] Removing intermediate container 90821e668ca9 [2021-01-26T23:23:49.393Z] ---> d39a0a054c88 [2021-01-26T23:23:49.393Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2021-01-26T23:23:49.671Z] ---> Running in e07bda97c3bf [2021-01-26T23:23:50.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T23:23:52.077Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T23:23:53.051Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-01-26T23:23:53.051Z] (2/6) Installing libsodium (1.0.18-r0) [2021-01-26T23:23:53.323Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-01-26T23:23:53.323Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-01-26T23:23:53.595Z] (5/6) Installing libzmq (4.3.3-r0) [2021-01-26T23:23:53.891Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-01-26T23:23:53.891Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T23:23:53.891Z] OK: 144 MiB in 45 packages [2021-01-26T23:23:55.322Z] Removing intermediate container e07bda97c3bf [2021-01-26T23:23:55.322Z] ---> 24b02c143e2b [2021-01-26T23:23:55.322Z] Step 6/8 : WORKDIR /app [2021-01-26T23:23:55.322Z] ---> Running in beaf0cf169bf [2021-01-26T23:23:55.599Z] Removing intermediate container beaf0cf169bf [2021-01-26T23:23:55.599Z] ---> 3768132aff16 [2021-01-26T23:23:55.599Z] Step 7/8 : COPY . . [2021-01-26T23:23:56.581Z] ---> 608f738e343f [2021-01-26T23:23:56.581Z] Step 8/8 : RUN go mod download [2021-01-26T23:23:56.862Z] ---> Running in bef66c282bde [2021-01-26T23:24:29.185Z] Removing intermediate container bef66c282bde [2021-01-26T23:24:29.185Z] ---> de1eac3cb1e7 [2021-01-26T23:24:29.185Z] Successfully built de1eac3cb1e7 [2021-01-26T23:24:29.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:24:29.558Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T23:24:29.558Z] . [Pipeline] withDockerContainer [2021-01-26T23:24:29.847Z] prd-ubuntu18.04-docker-arm64-4c-16g-22899 does not seem to be running inside a container [2021-01-26T23:24:29.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** -e ******** ci-base-image-arm64 cat [2021-01-26T23:24:31.455Z] $ docker top b782cb8b6ddf3eda1bf21691186ed1f4a4b665940a0be75b17292f0583471b1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T23:24:32.532Z] + go version [2021-01-26T23:24:32.532Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T23:24:32.571Z] $ docker stop --time=1 b782cb8b6ddf3eda1bf21691186ed1f4a4b665940a0be75b17292f0583471b1c [2021-01-26T23:24:34.486Z] $ docker rm -f b782cb8b6ddf3eda1bf21691186ed1f4a4b665940a0be75b17292f0583471b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:24:35.725Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T23:24:35.725Z] . [Pipeline] withDockerContainer [2021-01-26T23:24:35.975Z] prd-ubuntu18.04-docker-arm64-4c-16g-22899 does not seem to be running inside a container [2021-01-26T23:24:36.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** -e ******** ci-base-image-arm64 cat [2021-01-26T23:24:37.546Z] $ docker top 5992c67423b05b22d83b9f0d94333f3b2ee63207730b6ba7e05f8a8210d87b79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T23:24:38.684Z] + make test [2021-01-26T23:24:38.685Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-01-26T23:25:35.321Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-01-26T23:25:35.321Z] CGO_ENABLED=1 go vet ./... [2021-01-26T23:25:36.754Z] gofmt -l . [2021-01-26T23:25:36.754Z] [ "`gofmt -l .`" = "" ] [2021-01-26T23:25:36.754Z] ./bin/test-go-mod-tidy.sh [2021-01-26T23:25:37.351Z] go.mod is not tidy, please run "go mod tidy" [2021-01-26T23:25:37.351Z] changes from running "go mod tidy:" [2021-01-26T23:25:37.351Z] --- go.mod [2021-01-26T23:25:37.351Z] +++ go.mod.bk [2021-01-26T23:25:37.351Z] @@ -3,3 +3,4 @@ [2021-01-26T23:25:37.351Z] go 1.15 [2021-01-26T23:25:37.351Z] [2021-01-26T23:25:37.351Z] require github.com/edgexfoundry/app-functions-sdk-go v1.3.1-dev.1 [2021-01-26T23:25:37.351Z] + [2021-01-26T23:25:37.351Z] make: *** [makefile:38: test] Error 1 [Pipeline] } [2021-01-26T23:25:37.405Z] $ docker stop --time=1 5992c67423b05b22d83b9f0d94333f3b2ee63207730b6ba7e05f8a8210d87b79 [2021-01-26T23:25:39.662Z] $ docker rm -f 5992c67423b05b22d83b9f0d94333f3b2ee63207730b6ba7e05f8a8210d87b79 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T23:25:42.871Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:25:47.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:25:47.813Z] ---> package-listing.sh [2021-01-26T23:25:47.813Z] ++ facter osfamily [2021-01-26T23:25:47.813Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T23:25:47.813Z] + OS_FAMILY=redhat [2021-01-26T23:25:47.814Z] + workspace=/w/workspace/_app-service-configurable_PR-181 [2021-01-26T23:25:47.814Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T23:25:47.814Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T23:25:47.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T23:25:47.814Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T23:25:47.814Z] + '[' /w/workspace/_app-service-configurable_PR-181 ']' [2021-01-26T23:25:47.814Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T23:25:47.814Z] + case "${OS_FAMILY}" in [2021-01-26T23:25:47.814Z] + rpm -qa [2021-01-26T23:25:47.814Z] + sort [2021-01-26T23:25:53.139Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T23:25:53.139Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T23:25:53.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T23:25:53.139Z] + '[' /w/workspace/_app-service-configurable_PR-181 ']' [2021-01-26T23:25:53.139Z] + mkdir -p /w/workspace/_app-service-configurable_PR-181/archives/ [2021-01-26T23:25:53.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-181/archives/ [Pipeline] echo [2021-01-26T23:25:53.175Z] 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/_app-service-configurable_PR-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T23:25:53.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:25:53.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T23:25:53.838Z] [2021-01-26T23:25:53.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T23:25:54.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T23:25:54.237Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T23:25:54.237Z] df20fa9351a1: Pulling fs layer [2021-01-26T23:25:54.237Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T23:25:54.237Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T23:25:54.237Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T23:25:54.237Z] 93b61091891f: Pulling fs layer [2021-01-26T23:25:54.237Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T23:25:54.237Z] 5e14af77c1be: Pulling fs layer [2021-01-26T23:25:54.237Z] 01666e4c0597: Pulling fs layer [2021-01-26T23:25:54.237Z] aa168da1d23b: Pulling fs layer [2021-01-26T23:25:54.237Z] 93b9cdb0e59b: Waiting [2021-01-26T23:25:54.237Z] 5e14af77c1be: Waiting [2021-01-26T23:25:54.237Z] 01666e4c0597: Waiting [2021-01-26T23:25:54.237Z] 46f8f816bc3b: Waiting [2021-01-26T23:25:54.237Z] aa168da1d23b: Waiting [2021-01-26T23:25:54.237Z] 93b61091891f: Waiting [2021-01-26T23:25:54.237Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T23:25:54.237Z] 36b3adc4ff6f: Download complete [2021-01-26T23:25:54.237Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T23:25:54.237Z] 46f8f816bc3b: Download complete [2021-01-26T23:25:54.503Z] df20fa9351a1: Verifying Checksum [2021-01-26T23:25:54.503Z] df20fa9351a1: Download complete [2021-01-26T23:25:54.503Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T23:25:54.503Z] 93b9cdb0e59b: Download complete [2021-01-26T23:25:54.503Z] 93b61091891f: Verifying Checksum [2021-01-26T23:25:54.503Z] 93b61091891f: Download complete [2021-01-26T23:25:54.503Z] 5e14af77c1be: Verifying Checksum [2021-01-26T23:25:54.503Z] 5e14af77c1be: Download complete [2021-01-26T23:25:54.503Z] 01666e4c0597: Verifying Checksum [2021-01-26T23:25:54.503Z] 01666e4c0597: Download complete [2021-01-26T23:25:54.767Z] df20fa9351a1: Pull complete [2021-01-26T23:25:55.032Z] 36b3adc4ff6f: Pull complete [2021-01-26T23:25:55.032Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T23:25:55.032Z] 8ad3a11d3b57: Download complete [2021-01-26T23:25:55.988Z] 8ad3a11d3b57: Pull complete [2021-01-26T23:25:55.988Z] 46f8f816bc3b: Pull complete [2021-01-26T23:25:56.565Z] 93b61091891f: Pull complete [2021-01-26T23:25:56.827Z] 93b9cdb0e59b: Pull complete [2021-01-26T23:25:56.827Z] aa168da1d23b: Verifying Checksum [2021-01-26T23:25:56.827Z] aa168da1d23b: Download complete [2021-01-26T23:25:57.095Z] 5e14af77c1be: Pull complete [2021-01-26T23:25:57.095Z] 01666e4c0597: Pull complete [2021-01-26T23:26:05.330Z] aa168da1d23b: Pull complete [2021-01-26T23:26:05.330Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T23:26:05.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T23:26:05.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T23:26:05.587Z] prd-centos7-docker-4c-2g-22896 does not seem to be running inside a container [2021-01-26T23:26:05.650Z] $ 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/_app-service-configurable_PR-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-181 -v /w/workspace/_app-service-configurable_PR-181:/w/workspace/_app-service-configurable_PR-181:rw,z -v /w/workspace/_app-service-configurable_PR-181@tmp:/w/workspace/_app-service-configurable_PR-181@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:alpine cat [2021-01-26T23:26:08.783Z] $ docker top 571b77fe50cbb7301ea883af5dbc0ee3f7326c311c06defc3781603f82da274f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T23:26:09.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T23:26:09.654Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T23:26:09.975Z] + ls /var/log/sa-host [2021-01-26T23:26:09.975Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T23:26:09.975Z] file_magic: OK [2021-01-26T23:26:09.975Z] HZ: Using current value: 100 [2021-01-26T23:26:09.975Z] file_header: OK [2021-01-26T23:26:09.975Z] 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-01-26T23:26:09.975Z] Statistics: [2021-01-26T23:26:09.975Z] Hnuu...uuuununununu... [2021-01-26T23:26:09.975Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T23:26:09.975Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T23:26:09.975Z] file_magic: OK [2021-01-26T23:26:09.975Z] HZ: Using current value: 100 [2021-01-26T23:26:09.975Z] file_header: OK [2021-01-26T23:26:09.975Z] 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-01-26T23:26:09.975Z] Statistics: [2021-01-26T23:26:09.975Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T23:26:09.975Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T23:26:10.707Z] provisioning config files... [2021-01-26T23:26:10.723Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-181@tmp/config6003256892763571347tmp [Pipeline] { [Pipeline] echo [2021-01-26T23:26:10.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:26:11.184Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T23:26:11.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T23:26:11.366Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:26:11.717Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T23:26:11.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:26:12.099Z] ---> sudo-logs.sh [2021-01-26T23:26:12.099Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T23:26:12.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:26:12.466Z] ---> job-cost.sh [2021-01-26T23:26:12.466Z] lf-activate-venv: SKIPPING [2021-01-26T23:26:12.466Z] INFO: No Stack... [2021-01-26T23:26:13.420Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T23:26:14.001Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T23:26:14.034Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T23:26:14.363Z] ---> logs-deploy.sh [2021-01-26T23:26:14.363Z] lf-activate-venv: SKIPPING [2021-01-26T23:26:14.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-181/1 [2021-01-26T23:26:14.363Z] INFO: archiving workspace using pattern(s): [2021-01-26T23:26:16.288Z] Archives upload complete. [2021-01-26T23:26:16.288Z] INFO: archiving logs to Nexus