Pull request #3644 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/edgex-go Obtained Jenkinsfile from f22617e52b2d4581a41eea58218e7c8ff5bf6719+1c9af10f427590f3fed47012b244cbba5cfcd3da (65c03f567b6ff8f8cf19e222dbc53ab49a2a904f) 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-ssh7454534203367726748.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 40653689060fff6bf1399e6de9b6d29a57191201 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-ssh8902378601051665308.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 40653689060fff6bf1399e6de9b6d29a57191201 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/edgex-go/branches/PR-3644/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/edgex-go/branches/PR-3644/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh816287883491204288.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/edgex-go/branches/PR-3644/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1944922188559581881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 40653689060fff6bf1399e6de9b6d29a57191201 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 40653689060fff6bf1399e6de9b6d29a57191201 # timeout=10 Commit message: "Merge pull request #348 from ernestojeda/upatate-dockerfile-build-fix" > 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-ssh731693661036988328.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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/edgex-go/branches/PR-3644/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/edgex-go/branches/PR-3644/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh434496464962849395.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 40653689060fff6bf1399e6de9b6d29a57191201 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], 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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1705 in /w/workspace/edgexfoundry_edgex-go_PR-3644 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/1@tmp/jenkins-gitclient-ssh3391042365473528913.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1c9af10f427590f3fed47012b244cbba5cfcd3da into PR head commit f22617e52b2d4581a41eea58218e7c8ff5bf6719 Merge succeeded, producing f22617e52b2d4581a41eea58218e7c8ff5bf6719 Checking out Revision f22617e52b2d4581a41eea58218e7c8ff5bf6719 (PR-3644) > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/1@tmp/jenkins-gitclient-ssh8357416332653671818.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3644/head:refs/remotes/origin/PR-3644 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # 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/edgex-go/1@tmp/jenkins-gitclient-ssh1049123879409510300.key > git merge 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 Commit message: "ci: remove the need for a ci specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 40653689060fff6bf1399e6de9b6d29a57191201 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-02T17:45:46.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-02T17:45:46.931Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-02T17:45:47.046Z] ========================================================= [2021-08-02T17:45:47.046Z] EdgeX Global Pipelines Version Info [2021-08-02T17:45:47.046Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:45:48.345Z] ------------------- [2021-08-02T17:45:48.345Z] stable info: [2021-08-02T17:45:48.345Z] ------------------- [2021-08-02T17:45:48.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-02T17:45:48.345Z] Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 [2021-08-02T17:45:48.345Z] Message: update stable to v1.0.200 [2021-08-02T17:45:48.938Z] ------------------- [2021-08-02T17:45:48.938Z] experimental info: [2021-08-02T17:45:48.938Z] ------------------- [2021-08-02T17:45:48.938Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-02T17:45:48.938Z] Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 [2021-08-02T17:45:48.938Z] Message: update experimental to v1.0.200 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-02T17:45:49.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-08-02T17:45:49.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-08-02T17:45:49.333Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-02T17:45:49.393Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-02T17:45:49.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-02T17:45:49.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-02T17:45:49.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-02T17:45:49.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-08-02T17:45:49.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-08-02T17:45:49.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-08-02T17:45:49.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-02T17:45:49.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-02T17:45:49.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-02T17:45:49.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-02T17:45:50.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-02T17:45:50.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-02T17:45:50.165Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-02T17:45:50.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-02T17:45:50.281Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-02T17:45:50.340Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-02T17:45:50.402Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-02T17:45:50.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-08-02T17:45:50.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-02T17:45:50.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3644 [Pipeline] echo [2021-08-02T17:45:50.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3644 [Pipeline] echo [2021-08-02T17:45:50.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3644 [Pipeline] echo [2021-08-02T17:45:50.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f22617e52b2d4581a41eea58218e7c8ff5bf6719 [Pipeline] echo [2021-08-02T17:45:50.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f22617e [Pipeline] echo [2021-08-02T17:45:50.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T17:45:51.053Z] provisioning config files... [2021-08-02T17:45:51.073Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4676506449599145903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:45:51.466Z] ---> docker-login.sh [2021-08-02T17:45:51.466Z] nexus3.edgexfoundry.org:10001 [2021-08-02T17:45:51.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:45:51.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:45:51.738Z] Configure a credential helper to remove this warning. See [2021-08-02T17:45:51.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:45:51.738Z] [2021-08-02T17:45:51.738Z] Login Succeeded [2021-08-02T17:45:51.738Z] nexus3.edgexfoundry.org:10002 [2021-08-02T17:45:51.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:45:51.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:45:51.738Z] Configure a credential helper to remove this warning. See [2021-08-02T17:45:51.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:45:51.738Z] [2021-08-02T17:45:51.738Z] Login Succeeded [2021-08-02T17:45:51.738Z] nexus3.edgexfoundry.org:10003 [2021-08-02T17:45:52.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:45:52.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:45:52.010Z] Configure a credential helper to remove this warning. See [2021-08-02T17:45:52.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:45:52.010Z] [2021-08-02T17:45:52.010Z] Login Succeeded [2021-08-02T17:45:52.010Z] nexus3.edgexfoundry.org:10004 [2021-08-02T17:45:52.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:45:52.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:45:52.278Z] Configure a credential helper to remove this warning. See [2021-08-02T17:45:52.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:45:52.278Z] [2021-08-02T17:45:52.278Z] Login Succeeded [2021-08-02T17:45:52.278Z] docker.io [2021-08-02T17:45:52.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:45:52.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:45:52.546Z] Configure a credential helper to remove this warning. See [2021-08-02T17:45:52.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:45:52.546Z] [2021-08-02T17:45:52.546Z] Login Succeeded [2021-08-02T17:45:52.546Z] ---> docker-login.sh ends [Pipeline] } [2021-08-02T17:45:52.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-02T17:45:53.037Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/core-command/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo core-command,cmd/core-command/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/core-data/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo core-data,cmd/core-data/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/core-metadata/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/support-notifications/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-08-02T17:45:53.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-02T17:45:53.037Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-08-02T17:45:53.037Z] ++ cut -d/ -f2 [2021-08-02T17:45:53.037Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-08-02T17:45:53.121Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:45:54.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T17:45:54.009Z] [2021-08-02T17:45:54.009Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:45:54.397Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T17:45:54.397Z] latest: Pulling from edgex-devops/git-semver [2021-08-02T17:45:54.397Z] 31603596830f: Pulling fs layer [2021-08-02T17:45:54.397Z] d4622e32a9a9: Pulling fs layer [2021-08-02T17:45:54.397Z] 1030fce36090: Pulling fs layer [2021-08-02T17:45:54.397Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-02T17:45:54.397Z] 6c6cb7e1b49b: Waiting [2021-08-02T17:45:59.767Z] d4622e32a9a9: Download complete [2021-08-02T17:45:59.767Z] 31603596830f: Verifying Checksum [2021-08-02T17:45:59.767Z] 31603596830f: Download complete [2021-08-02T17:45:59.767Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-02T17:45:59.767Z] 6c6cb7e1b49b: Download complete [2021-08-02T17:45:59.767Z] 31603596830f: Pull complete [2021-08-02T17:46:00.034Z] d4622e32a9a9: Pull complete [2021-08-02T17:46:00.034Z] 1030fce36090: Verifying Checksum [2021-08-02T17:46:00.034Z] 1030fce36090: Download complete [2021-08-02T17:46:00.626Z] 1030fce36090: Pull complete [2021-08-02T17:46:00.626Z] 6c6cb7e1b49b: Pull complete [2021-08-02T17:46:00.626Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-02T17:46:00.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T17:46:00.626Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-02T17:46:00.756Z] prd-centos7-docker-4c-2g-1705 does not seem to be running inside a container [2021-08-02T17:46:00.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-02T17:46:01.546Z] $ docker top 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-02T17:46:01.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-02T17:46:01.788Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-02T17:46:01.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-02T17:46:01.923Z] $ docker exec 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent [2021-08-02T17:46:02.040Z] SSH_AUTH_SOCK=/tmp/ssh-DXWZnq2uug1O/agent.15 [2021-08-02T17:46:02.040Z] SSH_AGENT_PID=21 [2021-08-02T17:46:02.053Z] Running ssh-add (command line suppressed) [2021-08-02T17:46:02.157Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1277500717191982694.key (/w/workspace/edgex-go/1@tmp/private_key_1277500717191982694.key) [2021-08-02T17:46:02.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-02T17:46:02.552Z] + git tag --points-at HEAD [Pipeline] } [2021-08-02T17:46:02.585Z] $ docker exec --env ******** --env ******** 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent -k [2021-08-02T17:46:02.689Z] unset SSH_AUTH_SOCK; [2021-08-02T17:46:02.689Z] unset SSH_AGENT_PID; [2021-08-02T17:46:02.689Z] echo Agent pid 21 killed; [2021-08-02T17:46:02.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-02T17:46:02.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-02T17:46:02.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-02T17:46:02.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-02T17:46:02.924Z] $ docker exec 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent [2021-08-02T17:46:03.042Z] SSH_AUTH_SOCK=/tmp/ssh-mIGNropcPhdH/agent.55 [2021-08-02T17:46:03.042Z] SSH_AGENT_PID=62 [2021-08-02T17:46:03.052Z] Running ssh-add (command line suppressed) [2021-08-02T17:46:03.153Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2394807022411284570.key (/w/workspace/edgex-go/1@tmp/private_key_2394807022411284570.key) [2021-08-02T17:46:03.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-02T17:46:03.546Z] + git semver init [2021-08-02T17:46:03.546Z] # -> Open(): unable to determine branch for HEAD [2021-08-02T17:46:03.546Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-08-02T17:46:03.546Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-08-02T17:46:03.546Z] # $SEMVER_REMOTE_NAME = origin [2021-08-02T17:46:03.546Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-02T17:46:03.546Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-02T17:46:03.546Z] # $SEMVER_BRANCH = PR-3644 [2021-08-02T17:46:03.546Z] # $SEMVER_TEMP = /tmp/semver-729854146 [2021-08-02T17:46:03.546Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-08-02T17:46:21.799Z] # '/tmp/semver-729854146' -> '/w/workspace/edgex-go/1/.semver' [2021-08-02T17:46:21.799Z] # -> Force: false [2021-08-02T17:46:21.799Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-08-02T17:46:21.821Z] $ docker exec --env ******** --env ******** 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b ssh-agent -k [2021-08-02T17:46:21.922Z] unset SSH_AUTH_SOCK; [2021-08-02T17:46:21.922Z] unset SSH_AGENT_PID; [2021-08-02T17:46:21.922Z] echo Agent pid 62 killed; [2021-08-02T17:46:21.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-02T17:46:22.412Z] + git semver [Pipeline] } [2021-08-02T17:46:22.449Z] $ docker stop --time=1 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b [2021-08-02T17:46:24.238Z] $ docker rm -f 3345a015180d78f12db7fd2933825ef5dbd5c94cee1e9532a32d9299b428011b [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-02T17:46:24.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-02T17:46:25.166Z] Stashed 1 file(s) [Pipeline] echo [2021-08-02T17:46:25.192Z] [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-08-02T17:46:25.867Z] ========================================================= [2021-08-02T17:46:25.867Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-02T17:46:25.867Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2021-08-02T17:46:25.942Z] The fileExists step was called with a null or empty string, so the current directory will be checked instead. [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:46:26.314Z] + docker build -t ci-base-image-x86_64 -f null --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-08-02T17:46:26.314Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-go/1/null: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] // stage [Pipeline] } [2021-08-02T17:46:27.614Z] Failed in branch amd64 [2021-08-02T17:46:40.647Z] Still waiting to schedule task [2021-08-02T17:46:40.647Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1698’ is offline [2021-08-02T17:48:39.956Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1706 in /w/workspace/edgexfoundry_edgex-go_PR-3644 [Pipeline] { [Pipeline] ws [2021-08-02T17:48:40.026Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-08-02T17:48:40.306Z] The recommended git tool is: git [2021-08-02T17:48:46.077Z] using credential edgex-jenkins-ssh [2021-08-02T17:48:46.096Z] Cloning the remote Git repository [2021-08-02T17:48:46.146Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-08-02T17:48:46.334Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-08-02T17:48:46.483Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-02T17:48:46.484Z] > git --version # timeout=10 [2021-08-02T17:48:46.524Z] > git --version # 'git version 2.17.1' [2021-08-02T17:48:46.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T17:48:46.598Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T17:49:01.740Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-02T17:49:01.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T17:49:01.790Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-02T17:49:01.834Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-02T17:49:01.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T17:49:01.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3644/head:refs/remotes/origin/PR-3644 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-02T17:49:02.899Z] Merging remotes/origin/main commit 1c9af10f427590f3fed47012b244cbba5cfcd3da into PR head commit f22617e52b2d4581a41eea58218e7c8ff5bf6719 [2021-08-02T17:49:03.230Z] Merge succeeded, producing f22617e52b2d4581a41eea58218e7c8ff5bf6719 [2021-08-02T17:49:03.231Z] Checking out Revision f22617e52b2d4581a41eea58218e7c8ff5bf6719 (PR-3644) [2021-08-02T17:49:02.916Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T17:49:02.941Z] > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 [2021-08-02T17:49:03.142Z] > git remote # timeout=10 [2021-08-02T17:49:03.160Z] > git config --get remote.origin.url # timeout=10 [2021-08-02T17:49:03.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T17:49:03.188Z] > git merge 1c9af10f427590f3fed47012b244cbba5cfcd3da # timeout=10 [2021-08-02T17:49:03.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-02T17:49:03.234Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T17:49:03.251Z] > git checkout -f f22617e52b2d4581a41eea58218e7c8ff5bf6719 # timeout=10 [2021-08-02T17:49:07.580Z] Commit message: "ci: remove the need for a ci specific Dockerfile" [2021-08-02T17:49:07.635Z] > git --version # timeout=10 [2021-08-02T17:49:07.644Z] > git --version # 'git version 2.17.1' [2021-08-02T17:49:07.658Z] fatal: bad object 40653689060fff6bf1399e6de9b6d29a57191201 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T17:49:08.611Z] provisioning config files... [2021-08-02T17:49:08.640Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1608116621233787117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:49:09.401Z] ---> docker-login.sh [2021-08-02T17:49:09.401Z] nexus3.edgexfoundry.org:10001 [2021-08-02T17:49:10.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:49:10.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:49:10.619Z] Configure a credential helper to remove this warning. See [2021-08-02T17:49:10.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:49:10.619Z] [2021-08-02T17:49:10.619Z] Login Succeeded [2021-08-02T17:49:10.619Z] nexus3.edgexfoundry.org:10002 [2021-08-02T17:49:10.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:49:11.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:49:11.247Z] Configure a credential helper to remove this warning. See [2021-08-02T17:49:11.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:49:11.247Z] [2021-08-02T17:49:11.247Z] Login Succeeded [2021-08-02T17:49:11.247Z] nexus3.edgexfoundry.org:10003 [2021-08-02T17:49:11.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:49:11.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:49:11.862Z] Configure a credential helper to remove this warning. See [2021-08-02T17:49:11.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:49:11.862Z] [2021-08-02T17:49:11.862Z] Login Succeeded [2021-08-02T17:49:11.862Z] nexus3.edgexfoundry.org:10004 [2021-08-02T17:49:12.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:49:12.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:49:12.413Z] Configure a credential helper to remove this warning. See [2021-08-02T17:49:12.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:49:12.413Z] [2021-08-02T17:49:12.413Z] Login Succeeded [2021-08-02T17:49:12.413Z] docker.io [2021-08-02T17:49:12.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T17:49:13.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T17:49:13.298Z] Configure a credential helper to remove this warning. See [2021-08-02T17:49:13.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T17:49:13.298Z] [2021-08-02T17:49:13.298Z] Login Succeeded [2021-08-02T17:49:13.298Z] ---> docker-login.sh ends [Pipeline] } [2021-08-02T17:49:13.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-02T17:49:14.059Z] ========================================================= [2021-08-02T17:49:14.059Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-02T17:49:14.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2021-08-02T17:49:14.136Z] The fileExists step was called with a null or empty string, so the current directory will be checked instead. [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:49:14.535Z] + docker build -t ci-base-image-arm64 -f null --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-08-02T17:49:14.535Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-go/1/null: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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-08-02T17:49:15.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T17:49:16.180Z] [2021-08-02T17:49:16.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:49:16.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T17:49:16.863Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-02T17:49:16.863Z] 448f6bf000e3: Pulling fs layer [2021-08-02T17:49:16.863Z] f757da607395: Pulling fs layer [2021-08-02T17:49:16.863Z] 05883995daec: Pulling fs layer [2021-08-02T17:49:16.863Z] 8603b9c90790: Pulling fs layer [2021-08-02T17:49:16.863Z] 1560dd03e051: Pulling fs layer [2021-08-02T17:49:16.863Z] 27f5ce0e4adf: Pulling fs layer [2021-08-02T17:49:16.863Z] c2d8d7efcc4b: Pulling fs layer [2021-08-02T17:49:16.863Z] 8603b9c90790: Waiting [2021-08-02T17:49:16.863Z] 27f5ce0e4adf: Waiting [2021-08-02T17:49:16.863Z] c2d8d7efcc4b: Waiting [2021-08-02T17:49:16.863Z] 1560dd03e051: Waiting [2021-08-02T17:49:17.142Z] f757da607395: Verifying Checksum [2021-08-02T17:49:17.142Z] f757da607395: Download complete [2021-08-02T17:49:17.142Z] 8603b9c90790: Verifying Checksum [2021-08-02T17:49:17.142Z] 8603b9c90790: Download complete [2021-08-02T17:49:17.423Z] 1560dd03e051: Verifying Checksum [2021-08-02T17:49:17.423Z] 1560dd03e051: Download complete [2021-08-02T17:49:17.423Z] 27f5ce0e4adf: Download complete [2021-08-02T17:49:17.423Z] 05883995daec: Verifying Checksum [2021-08-02T17:49:17.423Z] 05883995daec: Download complete [2021-08-02T17:49:18.875Z] 448f6bf000e3: Verifying Checksum [2021-08-02T17:49:18.875Z] 448f6bf000e3: Download complete [2021-08-02T17:49:21.538Z] c2d8d7efcc4b: Verifying Checksum [2021-08-02T17:49:21.538Z] c2d8d7efcc4b: Download complete [2021-08-02T17:49:22.142Z] 448f6bf000e3: Pull complete [2021-08-02T17:49:23.133Z] f757da607395: Pull complete [2021-08-02T17:49:24.578Z] 05883995daec: Pull complete [2021-08-02T17:49:25.184Z] 8603b9c90790: Pull complete [2021-08-02T17:49:26.173Z] 1560dd03e051: Pull complete [2021-08-02T17:49:26.446Z] 27f5ce0e4adf: Pull complete [2021-08-02T17:49:41.529Z] c2d8d7efcc4b: Pull complete [2021-08-02T17:49:41.529Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-02T17:49:41.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T17:49:41.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-02T17:49:41.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-1706 does not seem to be running inside a container [2021-08-02T17:49:41.903Z] $ 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/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-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-08-02T17:49:46.678Z] $ docker top 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:49:47.847Z] ---> job-cost.sh [2021-08-02T17:49:47.847Z] lf-activate-venv: SKIPPING [2021-08-02T17:49:47.847Z] INFO: No Stack... [2021-08-02T17:49:49.284Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-02T17:49:49.284Z] INFO: Archiving Costs [Pipeline] sh [2021-08-02T17:49:49.982Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-08-02T17:49:49.982Z] + cut -d, -f6 [Pipeline] lock [2021-08-02T17:49:50.074Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] [2021-08-02T17:49:50.080Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] did not exist. Created. [2021-08-02T17:49:50.081Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-02T17:49:50.860Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-02T17:49:51.540Z] Stashed 1 file(s) [Pipeline] } [2021-08-02T17:49:51.578Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3644-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-02T17:49:51.663Z] $ docker stop --time=1 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c [2021-08-02T17:49:53.368Z] $ docker rm -f 591bed9036a5133783ac23738976da26a116714aead567426aa38ac7ba95b48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-02T17:49:54.408Z] 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 Scan) Stage "Snyk Scan" 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:49:56.582Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:49:57.235Z] ---> package-listing.sh [2021-08-02T17:49:57.235Z] ++ facter osfamily [2021-08-02T17:49:57.235Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-02T17:49:57.511Z] + OS_FAMILY=redhat [2021-08-02T17:49:57.511Z] + workspace=/w/workspace/edgex-go/1 [2021-08-02T17:49:57.511Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-02T17:49:57.511Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-02T17:49:57.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-02T17:49:57.511Z] + PACKAGES=/tmp/packages_start.txt [2021-08-02T17:49:57.511Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-02T17:49:57.511Z] + PACKAGES=/tmp/packages_end.txt [2021-08-02T17:49:57.511Z] + case "${OS_FAMILY}" in [2021-08-02T17:49:57.511Z] + rpm -qa [2021-08-02T17:49:57.511Z] + sort [2021-08-02T17:49:58.098Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-02T17:49:58.098Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-02T17:49:58.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-02T17:49:58.098Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-02T17:49:58.098Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-08-02T17:49:58.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-08-02T17:49:58.140Z] 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-02T17:49:58.477Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:49:59.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T17:49:59.123Z] [2021-08-02T17:49:59.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T17:49:59.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T17:49:59.499Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-02T17:49:59.499Z] b4d181a07f80: Pulling fs layer [2021-08-02T17:49:59.499Z] a1111a8f2ec3: Pulling fs layer [2021-08-02T17:49:59.499Z] ed53099fbce6: Pulling fs layer [2021-08-02T17:49:59.499Z] dc539afda2c1: Pulling fs layer [2021-08-02T17:49:59.499Z] 77bc0d833cb6: Pulling fs layer [2021-08-02T17:49:59.499Z] 9065ff56babe: Pulling fs layer [2021-08-02T17:49:59.499Z] d287ab97295c: Pulling fs layer [2021-08-02T17:49:59.499Z] 77bc0d833cb6: Waiting [2021-08-02T17:49:59.499Z] 9065ff56babe: Waiting [2021-08-02T17:49:59.499Z] d287ab97295c: Waiting [2021-08-02T17:49:59.499Z] dc539afda2c1: Waiting [2021-08-02T17:49:59.767Z] a1111a8f2ec3: Verifying Checksum [2021-08-02T17:49:59.767Z] a1111a8f2ec3: Download complete [2021-08-02T17:49:59.767Z] dc539afda2c1: Verifying Checksum [2021-08-02T17:49:59.767Z] dc539afda2c1: Download complete [2021-08-02T17:50:00.036Z] 77bc0d833cb6: Verifying Checksum [2021-08-02T17:50:00.036Z] 77bc0d833cb6: Download complete [2021-08-02T17:50:00.036Z] 9065ff56babe: Verifying Checksum [2021-08-02T17:50:00.036Z] 9065ff56babe: Download complete [2021-08-02T17:50:00.309Z] ed53099fbce6: Verifying Checksum [2021-08-02T17:50:00.309Z] ed53099fbce6: Download complete [2021-08-02T17:50:01.281Z] b4d181a07f80: Verifying Checksum [2021-08-02T17:50:01.281Z] b4d181a07f80: Download complete [2021-08-02T17:50:02.264Z] b4d181a07f80: Pull complete [2021-08-02T17:50:02.534Z] a1111a8f2ec3: Pull complete [2021-08-02T17:50:03.122Z] ed53099fbce6: Pull complete [2021-08-02T17:50:03.122Z] dc539afda2c1: Pull complete [2021-08-02T17:50:03.122Z] 77bc0d833cb6: Pull complete [2021-08-02T17:50:03.389Z] 9065ff56babe: Pull complete [2021-08-02T17:50:05.354Z] d287ab97295c: Verifying Checksum [2021-08-02T17:50:05.354Z] d287ab97295c: Download complete [2021-08-02T17:50:09.653Z] d287ab97295c: Pull complete [2021-08-02T17:50:09.653Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-02T17:50:09.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T17:50:09.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-02T17:50:09.778Z] prd-centos7-docker-4c-2g-1705 does not seem to be running inside a container [2021-08-02T17:50:09.831Z] $ 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-02T17:50:12.207Z] $ docker top acaa40b94a5b20852183a24745dcc9603a04a2854a9217885f31176516be606a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T17:50:12.669Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-02T17:50:13.006Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-02T17:50:13.356Z] + ls /var/log/sa-host [2021-08-02T17:50:13.356Z] + sadf -c /var/log/sa-host/sa02 [2021-08-02T17:50:13.356Z] file_magic: OK [2021-08-02T17:50:13.356Z] HZ: Using current value: 100 [2021-08-02T17:50:13.356Z] file_header: OK [2021-08-02T17:50:13.356Z] 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-08-02T17:50:13.356Z] Statistics: [2021-08-02T17:50:13.356Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T17:50:13.356Z] File successfully converted to sysstat format version 12.0.3 [2021-08-02T17:50:13.356Z] + sadf -c /var/log/sa-host/sa05 [2021-08-02T17:50:13.356Z] file_magic: OK [2021-08-02T17:50:13.356Z] HZ: Using current value: 100 [2021-08-02T17:50:13.356Z] file_header: OK [2021-08-02T17:50:13.356Z] 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-08-02T17:50:13.356Z] Statistics: [2021-08-02T17:50:13.356Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T17:50:13.356Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T17:50:13.610Z] provisioning config files... [2021-08-02T17:50:13.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8638874142942254980tmp [Pipeline] { [Pipeline] echo [2021-08-02T17:50:13.690Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:50:14.038Z] ---> create-netrc.sh [Pipeline] } [2021-08-02T17:50:14.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:50:14.531Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-02T17:50:14.569Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:50:14.928Z] ---> sudo-logs.sh [2021-08-02T17:50:14.928Z] Archiving 'sudo' log.. [2021-08-02T17:50:14.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1705.vexxhost.local: Name or service not known [2021-08-02T17:50:14.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1705.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-02T17:50:15.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:50:15.386Z] ---> job-cost.sh [2021-08-02T17:50:15.386Z] lf-activate-venv: SKIPPING [2021-08-02T17:50:15.386Z] DEBUG: total: 0.18000000715255737 [2021-08-02T17:50:15.386Z] INFO: Retrieving Stack Cost... [2021-08-02T17:50:16.356Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T17:50:16.946Z] INFO: Archiving Costs [Pipeline] echo [2021-08-02T17:50:16.985Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T17:50:17.345Z] ---> logs-deploy.sh [2021-08-02T17:50:17.345Z] lf-activate-venv: SKIPPING [2021-08-02T17:50:17.345Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3644/1 [2021-08-02T17:50:17.345Z] INFO: archiving workspace using pattern(s): [2021-08-02T17:50:17.933Z] Archives upload complete. [2021-08-02T17:50:18.202Z] INFO: archiving logs to Nexus