Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 902791f62f87f394a27844f89324d8f205f58021+5c06a72fcc3128da4af48966d2175cda114393df (96b277ce82efbfd694e0a388493f3199c050442d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7233456497351914870.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh946128391478891819.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8001889956504661292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7342739395340885228.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7362393770599162218.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-280’ is offline Running on prd-centos7-docker-4c-2g-281 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-965 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh375416781352509532.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh9072718211406275480.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 Merge succeeded, producing 37964b92e769bcfe72c99d04b1219fc45d648eef Checking out Revision 37964b92e769bcfe72c99d04b1219fc45d648eef (PR-965) > git config core.sparsecheckout # timeout=10 > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh3163827758640584622.key > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37964b92e769bcfe72c99d04b1219fc45d648eef # timeout=10 Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" > git rev-list --no-walk 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T18:41:48.984Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T18:41:49.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T18:41:49.123Z] ========================================================= [2021-06-10T18:41:49.123Z] EdgeX Global Pipelines Version Info [2021-06-10T18:41:49.123Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:41:50.500Z] ------------------- [2021-06-10T18:41:50.501Z] stable info: [2021-06-10T18:41:50.501Z] ------------------- [2021-06-10T18:41:50.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T18:41:50.501Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T18:41:50.501Z] Message: update stable to v1.0.195 [2021-06-10T18:41:51.082Z] ------------------- [2021-06-10T18:41:51.082Z] experimental info: [2021-06-10T18:41:51.082Z] ------------------- [2021-06-10T18:41:51.082Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T18:41:51.082Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T18:41:51.082Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T18:41:51.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-10T18:41:51.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-10T18:41:51.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T18:41:51.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T18:41:51.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T18:41:51.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T18:41:51.389Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T18:41:51.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T18:41:51.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-10T18:41:51.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T18:41:51.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T18:41:51.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-10T18:41:51.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T18:41:51.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T18:41:51.581Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T18:41:51.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:41:51.629Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:41:51.654Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:41:51.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T18:41:51.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T18:41:51.724Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-10T18:41:51.747Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-10T18:41:51.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T18:41:51.871Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T18:41:51.896Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T18:41:51.920Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T18:41:51.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-965 [Pipeline] echo [2021-06-10T18:41:51.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-965 [Pipeline] echo [2021-06-10T18:41:51.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-965 [Pipeline] echo [2021-06-10T18:41:52.020Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37964b92e769bcfe72c99d04b1219fc45d648eef [Pipeline] echo [2021-06-10T18:41:52.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37964b9 [Pipeline] echo [2021-06-10T18:41:52.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:41:52.159Z] provisioning config files... [2021-06-10T18:41:52.174Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/config5111523748166426001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:41:52.500Z] ---> docker-login.sh [2021-06-10T18:41:52.501Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:41:52.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:41:52.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:41:52.501Z] Configure a credential helper to remove this warning. See [2021-06-10T18:41:52.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:41:52.501Z] [2021-06-10T18:41:52.501Z] Login Succeeded [2021-06-10T18:41:52.501Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:41:52.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:41:52.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:41:52.765Z] Configure a credential helper to remove this warning. See [2021-06-10T18:41:52.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:41:52.765Z] [2021-06-10T18:41:52.765Z] Login Succeeded [2021-06-10T18:41:52.765Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:41:52.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:41:52.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:41:52.765Z] Configure a credential helper to remove this warning. See [2021-06-10T18:41:52.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:41:52.765Z] [2021-06-10T18:41:52.765Z] Login Succeeded [2021-06-10T18:41:52.765Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:41:53.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:41:53.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:41:53.030Z] Configure a credential helper to remove this warning. See [2021-06-10T18:41:53.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:41:53.030Z] [2021-06-10T18:41:53.030Z] Login Succeeded [2021-06-10T18:41:53.030Z] docker.io [2021-06-10T18:41:53.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:41:53.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:41:53.291Z] Configure a credential helper to remove this warning. See [2021-06-10T18:41:53.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:41:53.291Z] [2021-06-10T18:41:53.291Z] Login Succeeded [2021-06-10T18:41:53.291Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:41:53.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:41:53.824Z] + git log --format=format:%s -1 37964b92e769bcfe72c99d04b1219fc45d648eef [Pipeline] echo [2021-06-10T18:41:53.862Z] GIT_COMMIT: 37964b92e769bcfe72c99d04b1219fc45d648eef, Commit Message: Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD [Pipeline] echo [2021-06-10T18:41:53.877Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:41:54.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:41:54.495Z] [2021-06-10T18:41:54.495Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:41:54.824Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:41:54.824Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T18:41:54.824Z] 31603596830f: Pulling fs layer [2021-06-10T18:41:54.824Z] 54011a49482f: Pulling fs layer [2021-06-10T18:41:54.824Z] a6820b24f6d8: Pulling fs layer [2021-06-10T18:41:54.824Z] f581987b2513: Pulling fs layer [2021-06-10T18:41:54.824Z] f581987b2513: Waiting [2021-06-10T18:41:54.824Z] 54011a49482f: Verifying Checksum [2021-06-10T18:41:54.824Z] 54011a49482f: Download complete [2021-06-10T18:41:54.824Z] 31603596830f: Verifying Checksum [2021-06-10T18:41:54.824Z] 31603596830f: Download complete [2021-06-10T18:41:55.090Z] a6820b24f6d8: Verifying Checksum [2021-06-10T18:41:55.090Z] a6820b24f6d8: Download complete [2021-06-10T18:41:55.090Z] f581987b2513: Verifying Checksum [2021-06-10T18:41:55.090Z] f581987b2513: Download complete [2021-06-10T18:41:55.090Z] 31603596830f: Pull complete [2021-06-10T18:41:55.360Z] 54011a49482f: Pull complete [2021-06-10T18:41:55.935Z] a6820b24f6d8: Pull complete [2021-06-10T18:41:56.197Z] f581987b2513: Pull complete [2021-06-10T18:41:56.198Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T18:41:56.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:41:56.198Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T18:41:56.284Z] prd-centos7-docker-4c-2g-281 does not seem to be running inside a container [2021-06-10T18:41:56.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-965 -v /w/workspace/dgexfoundry_device-sdk-go_PR-965:/w/workspace/dgexfoundry_device-sdk-go_PR-965:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-965@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-06-10T18:41:57.335Z] $ docker top 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T18:41:57.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T18:41:57.485Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T18:41:57.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T18:41:57.597Z] $ docker exec 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 ssh-agent [2021-06-10T18:41:57.702Z] SSH_AUTH_SOCK=/tmp/ssh-1U8TUaoH7mJD/agent.14 [2021-06-10T18:41:57.702Z] SSH_AGENT_PID=20 [2021-06-10T18:41:57.710Z] Running ssh-add (command line suppressed) [2021-06-10T18:41:57.806Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_7226306928434125778.key (/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_7226306928434125778.key) [2021-06-10T18:41:57.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T18:41:58.138Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T18:41:58.150Z] $ docker exec --env ******** --env ******** 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 ssh-agent -k [2021-06-10T18:41:58.245Z] unset SSH_AUTH_SOCK; [2021-06-10T18:41:58.246Z] unset SSH_AGENT_PID; [2021-06-10T18:41:58.246Z] echo Agent pid 20 killed; [2021-06-10T18:41:58.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T18:41:58.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T18:41:58.305Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T18:41:58.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T18:41:58.405Z] $ docker exec 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 ssh-agent [2021-06-10T18:41:58.521Z] SSH_AUTH_SOCK=/tmp/ssh-PIJ37fyC0Xk0/agent.53 [2021-06-10T18:41:58.521Z] SSH_AGENT_PID=59 [2021-06-10T18:41:58.526Z] Running ssh-add (command line suppressed) [2021-06-10T18:41:58.612Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_1903088751831505137.key (/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_1903088751831505137.key) [2021-06-10T18:41:58.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T18:41:58.940Z] + git semver init [2021-06-10T18:41:58.940Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T18:41:58.940Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-965/.git [2021-06-10T18:41:58.940Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-965 [2021-06-10T18:41:58.940Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T18:41:58.940Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T18:41:58.940Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T18:41:58.940Z] # $SEMVER_BRANCH = PR-965 [2021-06-10T18:41:58.940Z] # $SEMVER_TEMP = /tmp/semver-276526862 [2021-06-10T18:41:58.940Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-10T18:41:59.519Z] # '/tmp/semver-276526862' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-965/.semver' [2021-06-10T18:41:59.519Z] # -> Force: false [2021-06-10T18:41:59.519Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-965/.semver [Pipeline] } [2021-06-10T18:41:59.528Z] $ docker exec --env ******** --env ******** 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 ssh-agent -k [2021-06-10T18:41:59.629Z] unset SSH_AUTH_SOCK; [2021-06-10T18:41:59.629Z] unset SSH_AGENT_PID; [2021-06-10T18:41:59.629Z] echo Agent pid 59 killed; [2021-06-10T18:41:59.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T18:41:59.991Z] + git semver [Pipeline] } [2021-06-10T18:42:00.004Z] $ docker stop --time=1 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 [2021-06-10T18:42:01.269Z] $ docker rm -f 09cf1e1607e2f3643f43e2e7957de547b25b4938589b3bfc945e2fc38d66d8c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T18:42:01.652Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T18:42:01.928Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T18:42:01.933Z] [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-06-10T18:42:17.166Z] Still waiting to schedule task [2021-06-10T18:42:17.167Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-10T18:42:17.169Z] Still waiting to schedule task [2021-06-10T18:42:17.170Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-10T18:43:25.164Z] Running on prd-centos7-docker-4c-2g-285 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] ws [2021-06-10T18:43:25.182Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-10T18:43:25.306Z] Selected Git installation does not exist. Using Default [2021-06-10T18:43:25.306Z] The recommended git tool is: NONE [2021-06-10T18:43:27.937Z] using credential edgex-jenkins-ssh [2021-06-10T18:43:27.975Z] Cloning the remote Git repository [2021-06-10T18:43:27.996Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:43:28.078Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-10T18:43:28.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:43:28.114Z] > git --version # timeout=10 [2021-06-10T18:43:28.122Z] > git --version # 'git version 2.24.4' [2021-06-10T18:43:28.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:43:28.152Z] [INFO] Currently running in a labeled security context [2021-06-10T18:43:28.152Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:43:28.152Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4742682253603066482.key [2021-06-10T18:43:28.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:43:29.427Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T18:43:29.542Z] Merge succeeded, producing 2617ed86421304145823b6515f1cce0630b38ffa [2021-06-10T18:43:29.543Z] Checking out Revision 2617ed86421304145823b6515f1cce0630b38ffa (PR-965) [2021-06-10T18:43:28.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:43:28.991Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:43:29.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:43:29.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:43:29.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:43:29.022Z] [INFO] Currently running in a labeled security context [2021-06-10T18:43:29.022Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:43:29.022Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1519873328878784418.key [2021-06-10T18:43:29.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T18:43:29.432Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:43:29.438Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T18:43:29.484Z] > git remote # timeout=10 [2021-06-10T18:43:29.491Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T18:43:29.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:43:29.499Z] [INFO] Currently running in a labeled security context [2021-06-10T18:43:29.499Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:43:29.499Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh669935747597757312.key [2021-06-10T18:43:29.508Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-10T18:43:29.529Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T18:43:29.540Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:43:29.547Z] > git checkout -f 2617ed86421304145823b6515f1cce0630b38ffa # timeout=10 [2021-06-10T18:43:33.166Z] Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" [2021-06-10T18:43:33.164Z] > git rev-list --no-walk 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:43:34.299Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:43:34.631Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:43:34.932Z] + sudo service docker restart [2021-06-10T18:43:34.932Z] + true [2021-06-10T18:43:34.932Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:43:53.126Z] provisioning config files... [2021-06-10T18:43:53.144Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8396864783912228272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:43:53.486Z] ---> docker-login.sh [2021-06-10T18:43:53.486Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:43:53.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:43:53.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:43:53.753Z] Configure a credential helper to remove this warning. See [2021-06-10T18:43:53.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:43:53.753Z] [2021-06-10T18:43:53.753Z] Login Succeeded [2021-06-10T18:43:53.753Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:43:53.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:43:53.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:43:53.753Z] Configure a credential helper to remove this warning. See [2021-06-10T18:43:53.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:43:53.753Z] [2021-06-10T18:43:53.753Z] Login Succeeded [2021-06-10T18:43:53.753Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:43:54.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:43:54.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:43:54.020Z] Configure a credential helper to remove this warning. See [2021-06-10T18:43:54.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:43:54.020Z] [2021-06-10T18:43:54.020Z] Login Succeeded [2021-06-10T18:43:54.020Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:43:54.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:43:54.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:43:54.282Z] Configure a credential helper to remove this warning. See [2021-06-10T18:43:54.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:43:54.282Z] [2021-06-10T18:43:54.282Z] Login Succeeded [2021-06-10T18:43:54.282Z] docker.io [2021-06-10T18:43:54.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:43:54.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:43:54.544Z] Configure a credential helper to remove this warning. See [2021-06-10T18:43:54.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:43:54.544Z] [2021-06-10T18:43:54.544Z] Login Succeeded [2021-06-10T18:43:54.544Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:43:54.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T18:43:54.748Z] ========================================================= [2021-06-10T18:43:54.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T18:43:54.748Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:43:55.063Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-10T18:43:55.063Z] Sending build context to Docker daemon 2.657MB [2021-06-10T18:43:55.063Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:43:55.063Z] Step 2/8 : FROM ${BASE} [2021-06-10T18:43:55.325Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T18:43:55.326Z] 540db60ca938: Pulling fs layer [2021-06-10T18:43:55.326Z] adcc1eea9eea: Pulling fs layer [2021-06-10T18:43:55.326Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T18:43:55.326Z] 0510c868ecb4: Pulling fs layer [2021-06-10T18:43:55.326Z] afea3b2eda06: Pulling fs layer [2021-06-10T18:43:55.326Z] 7809a108b3ef: Pulling fs layer [2021-06-10T18:43:55.326Z] f706445af74f: Pulling fs layer [2021-06-10T18:43:55.326Z] 0510c868ecb4: Waiting [2021-06-10T18:43:55.326Z] afea3b2eda06: Waiting [2021-06-10T18:43:55.326Z] 7809a108b3ef: Waiting [2021-06-10T18:43:55.326Z] f706445af74f: Waiting [2021-06-10T18:43:55.326Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T18:43:55.326Z] 4c4ab2625f07: Download complete [2021-06-10T18:43:55.326Z] adcc1eea9eea: Verifying Checksum [2021-06-10T18:43:55.326Z] adcc1eea9eea: Download complete [2021-06-10T18:43:55.326Z] afea3b2eda06: Verifying Checksum [2021-06-10T18:43:55.326Z] afea3b2eda06: Download complete [2021-06-10T18:43:55.326Z] 7809a108b3ef: Verifying Checksum [2021-06-10T18:43:55.326Z] 7809a108b3ef: Download complete [2021-06-10T18:43:55.326Z] 540db60ca938: Verifying Checksum [2021-06-10T18:43:55.326Z] 540db60ca938: Download complete [2021-06-10T18:43:55.589Z] 540db60ca938: Pull complete [2021-06-10T18:43:55.589Z] adcc1eea9eea: Pull complete [2021-06-10T18:43:55.857Z] 4c4ab2625f07: Pull complete [2021-06-10T18:43:56.806Z] f706445af74f: Verifying Checksum [2021-06-10T18:43:56.806Z] f706445af74f: Download complete [2021-06-10T18:43:57.067Z] 0510c868ecb4: Verifying Checksum [2021-06-10T18:43:57.067Z] 0510c868ecb4: Download complete [2021-06-10T18:44:01.381Z] 0510c868ecb4: Pull complete [2021-06-10T18:44:01.381Z] afea3b2eda06: Pull complete [2021-06-10T18:44:01.381Z] 7809a108b3ef: Pull complete [2021-06-10T18:44:02.357Z] f706445af74f: Pull complete [2021-06-10T18:44:02.357Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T18:44:02.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T18:44:02.357Z] ---> b068be0155e3 [2021-06-10T18:44:02.357Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:44:06.582Z] ---> Running in 43097a58f22b [2021-06-10T18:44:06.850Z] Removing intermediate container 43097a58f22b [2021-06-10T18:44:06.850Z] ---> 7f28144c720b [2021-06-10T18:44:06.850Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:44:06.850Z] ---> Running in 8dd9df510817 [2021-06-10T18:44:07.434Z] Removing intermediate container 8dd9df510817 [2021-06-10T18:44:07.434Z] ---> 7d577f059e99 [2021-06-10T18:44:07.434Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T18:44:07.434Z] ---> Running in 4a8f1824a620 [2021-06-10T18:44:07.698Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T18:44:08.650Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T18:44:09.229Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T18:44:09.229Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T18:44:09.229Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T18:44:09.229Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T18:44:09.491Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T18:44:09.491Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T18:44:09.753Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T18:44:09.753Z] OK: 150 MiB in 46 packages [2021-06-10T18:44:10.024Z] Removing intermediate container 4a8f1824a620 [2021-06-10T18:44:10.024Z] ---> 58820e7fd989 [2021-06-10T18:44:10.024Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T18:44:10.024Z] ---> Running in 1c2741f1bd79 [2021-06-10T18:44:10.024Z] Removing intermediate container 1c2741f1bd79 [2021-06-10T18:44:10.024Z] ---> 4d6ef79ea983 [2021-06-10T18:44:10.024Z] Step 7/8 : COPY . . [2021-06-10T18:44:10.611Z] ---> b969a6d698f9 [2021-06-10T18:44:10.612Z] Step 8/8 : RUN go mod download [2021-06-10T18:44:10.612Z] ---> Running in df3eeb140c9c [2021-06-10T18:44:22.894Z] Removing intermediate container df3eeb140c9c [2021-06-10T18:44:22.894Z] ---> b044078ab9b5 [2021-06-10T18:44:22.894Z] Successfully built b044078ab9b5 [2021-06-10T18:44:22.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:44:23.218Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T18:44:23.218Z] . [Pipeline] withDockerContainer [2021-06-10T18:44:23.307Z] prd-centos7-docker-4c-2g-285 does not seem to be running inside a container [2021-06-10T18:44:23.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-10T18:44:23.783Z] $ docker top aa14836ea5677dbe9fa35e0c8fb69a186c981351bbfb35134a60c8309e09a718 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:44:24.176Z] + go version [2021-06-10T18:44:24.176Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T18:44:24.187Z] $ docker stop --time=1 aa14836ea5677dbe9fa35e0c8fb69a186c981351bbfb35134a60c8309e09a718 [2021-06-10T18:44:25.389Z] $ docker rm -f aa14836ea5677dbe9fa35e0c8fb69a186c981351bbfb35134a60c8309e09a718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:44:25.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T18:44:25.923Z] . [Pipeline] withDockerContainer [2021-06-10T18:44:26.001Z] prd-centos7-docker-4c-2g-285 does not seem to be running inside a container [2021-06-10T18:44:26.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-10T18:44:26.401Z] $ docker top 76ef0c2f8c5bb4d1968ad01b48c34ead1f90be059ba2fcd82056928159ec9fe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:44:26.809Z] + go mod tidy [2021-06-10T18:44:27.073Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T18:44:27.073Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T18:44:27.695Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T18:44:27.695Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-10T18:44:27.695Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-10T18:44:27.717Z] $ docker stop --time=1 76ef0c2f8c5bb4d1968ad01b48c34ead1f90be059ba2fcd82056928159ec9fe3 [2021-06-10T18:44:28.971Z] $ docker rm -f 76ef0c2f8c5bb4d1968ad01b48c34ead1f90be059ba2fcd82056928159ec9fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:44:29.982Z] ---> job-cost.sh [2021-06-10T18:44:29.982Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P06B [2021-06-10T18:44:40.047Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T18:44:52.326Z] lf-activate-venv(): INFO: Adding /tmp/venv-P06B/bin to PATH [2021-06-10T18:44:52.326Z] INFO: No Stack... [2021-06-10T18:44:52.326Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T18:44:52.326Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T18:44:52.637Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-10T18:44:52.637Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T18:44:52.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [2021-06-10T18:44:52.677Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] did not exist. Created. [2021-06-10T18:44:52.677Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T18:44:53.008Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T18:44:53.270Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T18:44:53.280Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T18:44:53.547Z] Failed in branch amd64 [2021-06-10T18:45:21.545Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-286 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] ws [2021-06-10T18:45:21.570Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-10T18:45:21.788Z] Selected Git installation does not exist. Using Default [2021-06-10T18:45:21.788Z] The recommended git tool is: NONE [2021-06-10T18:45:27.450Z] using credential edgex-jenkins-ssh [2021-06-10T18:45:27.475Z] Cloning the remote Git repository [2021-06-10T18:45:27.529Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:45:27.655Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-10T18:45:27.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:45:27.761Z] > git --version # timeout=10 [2021-06-10T18:45:27.787Z] > git --version # 'git version 2.17.1' [2021-06-10T18:45:27.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:45:27.870Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:45:29.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:45:29.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:45:29.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:45:29.682Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T18:45:29.936Z] Merge succeeded, producing 7c5fbe9efa39bca932d14481d8f0ac3e7fac1081 [2021-06-10T18:45:29.936Z] Checking out Revision 7c5fbe9efa39bca932d14481d8f0ac3e7fac1081 (PR-965) [2021-06-10T18:45:29.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:45:29.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:45:29.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T18:45:29.693Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:45:29.705Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T18:45:29.800Z] > git remote # timeout=10 [2021-06-10T18:45:29.823Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T18:45:29.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:45:29.843Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-10T18:45:29.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T18:45:29.938Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:45:29.946Z] > git checkout -f 7c5fbe9efa39bca932d14481d8f0ac3e7fac1081 # timeout=10 [2021-06-10T18:45:34.128Z] Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" [2021-06-10T18:45:34.130Z] > git rev-list --no-walk 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:45:35.486Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:45:35.906Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:45:36.251Z] + + sudo servicetrue docker [2021-06-10T18:45:36.252Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:45:54.625Z] provisioning config files... [2021-06-10T18:45:54.661Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4779514318691202414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:45:55.063Z] ---> docker-login.sh [2021-06-10T18:45:55.063Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:45:56.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:45:56.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:45:56.343Z] Configure a credential helper to remove this warning. See [2021-06-10T18:45:56.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:45:56.343Z] [2021-06-10T18:45:56.343Z] Login Succeeded [2021-06-10T18:45:56.343Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:45:56.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:45:56.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:45:56.904Z] Configure a credential helper to remove this warning. See [2021-06-10T18:45:56.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:45:56.904Z] [2021-06-10T18:45:56.904Z] Login Succeeded [2021-06-10T18:45:56.904Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:45:57.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:45:57.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:45:57.468Z] Configure a credential helper to remove this warning. See [2021-06-10T18:45:57.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:45:57.468Z] [2021-06-10T18:45:57.468Z] Login Succeeded [2021-06-10T18:45:57.468Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:45:57.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:45:58.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:45:58.020Z] Configure a credential helper to remove this warning. See [2021-06-10T18:45:58.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:45:58.020Z] [2021-06-10T18:45:58.020Z] Login Succeeded [2021-06-10T18:45:58.020Z] docker.io [2021-06-10T18:45:58.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:45:58.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:45:58.899Z] Configure a credential helper to remove this warning. See [2021-06-10T18:45:58.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:45:58.899Z] [2021-06-10T18:45:58.899Z] Login Succeeded [2021-06-10T18:45:58.899Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:45:58.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T18:45:59.582Z] ========================================================= [2021-06-10T18:45:59.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T18:45:59.582Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:45:59.952Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-10T18:46:00.557Z] Sending build context to Docker daemon 2.655MB [2021-06-10T18:46:00.557Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:46:00.557Z] Step 2/8 : FROM ${BASE} [2021-06-10T18:46:01.162Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T18:46:01.162Z] 595b0fe564bb: Pulling fs layer [2021-06-10T18:46:01.162Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T18:46:01.162Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T18:46:01.162Z] ba82ee9f976e: Pulling fs layer [2021-06-10T18:46:01.162Z] 506bd15cee9f: Pulling fs layer [2021-06-10T18:46:01.162Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T18:46:01.162Z] ba82ee9f976e: Waiting [2021-06-10T18:46:01.162Z] 506bd15cee9f: Waiting [2021-06-10T18:46:01.162Z] 618dc40b7e24: Pulling fs layer [2021-06-10T18:46:01.162Z] 75a0a4a0db45: Waiting [2021-06-10T18:46:01.162Z] 618dc40b7e24: Waiting [2021-06-10T18:46:01.162Z] 5b7225fbf94c: Download complete [2021-06-10T18:46:01.162Z] 3088b5b3c5c0: Verifying Checksum [2021-06-10T18:46:01.162Z] 3088b5b3c5c0: Download complete [2021-06-10T18:46:01.162Z] 506bd15cee9f: Verifying Checksum [2021-06-10T18:46:01.162Z] 506bd15cee9f: Download complete [2021-06-10T18:46:01.162Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T18:46:01.162Z] 75a0a4a0db45: Download complete [2021-06-10T18:46:01.162Z] 595b0fe564bb: Verifying Checksum [2021-06-10T18:46:01.162Z] 595b0fe564bb: Download complete [2021-06-10T18:46:02.186Z] 595b0fe564bb: Pull complete [2021-06-10T18:46:02.818Z] 3088b5b3c5c0: Pull complete [2021-06-10T18:46:03.424Z] 5b7225fbf94c: Pull complete [2021-06-10T18:46:03.424Z] 618dc40b7e24: Verifying Checksum [2021-06-10T18:46:03.424Z] 618dc40b7e24: Download complete [2021-06-10T18:46:04.423Z] ba82ee9f976e: Verifying Checksum [2021-06-10T18:46:04.423Z] ba82ee9f976e: Download complete [2021-06-10T18:46:16.845Z] ba82ee9f976e: Pull complete [2021-06-10T18:46:16.845Z] 506bd15cee9f: Pull complete [2021-06-10T18:46:16.845Z] 75a0a4a0db45: Pull complete [2021-06-10T18:46:19.493Z] 618dc40b7e24: Pull complete [2021-06-10T18:46:19.493Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T18:46:19.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T18:46:19.493Z] ---> a36622ca3599 [2021-06-10T18:46:19.493Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:46:21.505Z] ---> Running in 964cca1903a2 [2021-06-10T18:46:21.792Z] Removing intermediate container 964cca1903a2 [2021-06-10T18:46:21.792Z] ---> 0f0dd3128768 [2021-06-10T18:46:21.792Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:46:21.792Z] ---> Running in bc321efa19b0 [2021-06-10T18:46:24.421Z] Removing intermediate container bc321efa19b0 [2021-06-10T18:46:24.421Z] ---> fbebde5aecef [2021-06-10T18:46:24.421Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T18:46:24.421Z] ---> Running in dd88e22c928c [2021-06-10T18:46:25.396Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T18:46:26.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T18:46:27.336Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T18:46:27.337Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T18:46:27.337Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T18:46:27.337Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T18:46:27.610Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T18:46:27.610Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T18:46:27.610Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T18:46:27.610Z] OK: 139 MiB in 46 packages [2021-06-10T18:46:29.047Z] Removing intermediate container dd88e22c928c [2021-06-10T18:46:29.047Z] ---> 8e9051b9d181 [2021-06-10T18:46:29.047Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T18:46:29.047Z] ---> Running in 6175df616866 [2021-06-10T18:46:29.644Z] Removing intermediate container 6175df616866 [2021-06-10T18:46:29.644Z] ---> 8045dccedd0f [2021-06-10T18:46:29.644Z] Step 7/8 : COPY . . [2021-06-10T18:46:31.082Z] ---> d60b51e17022 [2021-06-10T18:46:31.083Z] Step 8/8 : RUN go mod download [2021-06-10T18:46:31.083Z] ---> Running in 3612d06b42b8 [2021-06-10T18:46:57.896Z] Removing intermediate container 3612d06b42b8 [2021-06-10T18:46:57.896Z] ---> 1fd251268ef5 [2021-06-10T18:46:57.896Z] Successfully built 1fd251268ef5 [2021-06-10T18:46:57.896Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:46:58.241Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T18:46:58.242Z] . [Pipeline] withDockerContainer [2021-06-10T18:46:58.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-286 does not seem to be running inside a container [2021-06-10T18:46:58.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-10T18:47:00.029Z] $ docker top 7d3d5f168208d02048a4f85aa027ff80d8b82a64c1a20a175988acfc47f1e477 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:47:01.008Z] + go version [2021-06-10T18:47:01.008Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T18:47:01.026Z] $ docker stop --time=1 7d3d5f168208d02048a4f85aa027ff80d8b82a64c1a20a175988acfc47f1e477 [2021-06-10T18:47:02.849Z] $ docker rm -f 7d3d5f168208d02048a4f85aa027ff80d8b82a64c1a20a175988acfc47f1e477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:47:03.594Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T18:47:03.594Z] . [Pipeline] withDockerContainer [2021-06-10T18:47:03.837Z] prd-ubuntu18.04-docker-arm64-4c-16g-286 does not seem to be running inside a container [2021-06-10T18:47:03.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-10T18:47:05.616Z] $ docker top ca2ac0e46cfae4535882f824da8589339ae671a5131cc24975e3558b098a54aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:47:06.601Z] + go mod tidy [2021-06-10T18:47:07.198Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T18:47:07.199Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T18:47:07.199Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T18:47:07.199Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T18:47:07.471Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-10T18:47:07.743Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T18:47:07.743Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T18:47:07.743Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T18:47:07.743Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T18:47:07.743Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-10T18:47:07.743Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-10T18:47:07.762Z] $ docker stop --time=1 ca2ac0e46cfae4535882f824da8589339ae671a5131cc24975e3558b098a54aa [2021-06-10T18:47:09.592Z] $ docker rm -f ca2ac0e46cfae4535882f824da8589339ae671a5131cc24975e3558b098a54aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:47:10.548Z] ---> job-cost.sh [2021-06-10T18:47:10.548Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UnMm [2021-06-10T18:47:57.484Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T18:49:49.357Z] lf-activate-venv(): INFO: Adding /tmp/venv-UnMm/bin to PATH [2021-06-10T18:49:49.357Z] INFO: No Stack... [2021-06-10T18:49:49.357Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T18:49:49.357Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T18:49:49.704Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-10T18:49:49.704Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T18:49:49.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [2021-06-10T18:49:49.780Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] did not exist. Created. [2021-06-10T18:49:49.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T18:49:50.156Z] /w/workspace/device-sdk-go/2@tmp/durable-10e92ddd/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-10e92ddd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T18:49:50.502Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T18:49:50.536Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T18:49:51.332Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T18:49:51.352Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-965-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T18:49:51.660Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:49:53.245Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:49:53.836Z] ---> package-listing.sh [2021-06-10T18:49:53.836Z] ++ facter osfamily [2021-06-10T18:49:53.836Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T18:49:54.099Z] + OS_FAMILY=redhat [2021-06-10T18:49:54.099Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-965 [2021-06-10T18:49:54.099Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T18:49:54.099Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T18:49:54.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T18:49:54.099Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T18:49:54.099Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-965 ']' [2021-06-10T18:49:54.099Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T18:49:54.099Z] + case "${OS_FAMILY}" in [2021-06-10T18:49:54.099Z] + rpm -qa [2021-06-10T18:49:54.099Z] + sort [2021-06-10T18:49:54.673Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T18:49:54.673Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T18:49:54.673Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T18:49:54.673Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-965 ']' [2021-06-10T18:49:54.673Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-965/archives/ [2021-06-10T18:49:54.673Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-965/archives/ [Pipeline] echo [2021-06-10T18:49:54.687Z] 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/dgexfoundry_device-sdk-go_PR-965/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T18:49:54.978Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:49:55.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:49:55.572Z] [2021-06-10T18:49:55.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:49:55.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:49:55.889Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T18:49:55.889Z] df20fa9351a1: Pulling fs layer [2021-06-10T18:49:55.889Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T18:49:55.889Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T18:49:55.889Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T18:49:55.889Z] 93b61091891f: Pulling fs layer [2021-06-10T18:49:55.889Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T18:49:55.889Z] 5e14af77c1be: Pulling fs layer [2021-06-10T18:49:55.889Z] 01666e4c0597: Pulling fs layer [2021-06-10T18:49:55.889Z] aa168da1d23b: Pulling fs layer [2021-06-10T18:49:55.889Z] 93b9cdb0e59b: Waiting [2021-06-10T18:49:55.889Z] 5e14af77c1be: Waiting [2021-06-10T18:49:55.889Z] 01666e4c0597: Waiting [2021-06-10T18:49:55.889Z] aa168da1d23b: Waiting [2021-06-10T18:49:55.889Z] 46f8f816bc3b: Waiting [2021-06-10T18:49:55.889Z] 93b61091891f: Waiting [2021-06-10T18:49:55.889Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T18:49:55.889Z] 36b3adc4ff6f: Download complete [2021-06-10T18:49:55.889Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T18:49:55.889Z] 46f8f816bc3b: Download complete [2021-06-10T18:49:56.153Z] df20fa9351a1: Verifying Checksum [2021-06-10T18:49:56.154Z] df20fa9351a1: Download complete [2021-06-10T18:49:56.154Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T18:49:56.154Z] 93b9cdb0e59b: Download complete [2021-06-10T18:49:56.154Z] 5e14af77c1be: Verifying Checksum [2021-06-10T18:49:56.154Z] 5e14af77c1be: Download complete [2021-06-10T18:49:56.154Z] 93b61091891f: Verifying Checksum [2021-06-10T18:49:56.154Z] 93b61091891f: Download complete [2021-06-10T18:49:56.154Z] 01666e4c0597: Verifying Checksum [2021-06-10T18:49:56.154Z] 01666e4c0597: Download complete [2021-06-10T18:49:56.417Z] df20fa9351a1: Pull complete [2021-06-10T18:49:56.417Z] 36b3adc4ff6f: Pull complete [2021-06-10T18:49:56.687Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T18:49:56.687Z] 8ad3a11d3b57: Download complete [2021-06-10T18:49:57.262Z] 8ad3a11d3b57: Pull complete [2021-06-10T18:49:57.262Z] 46f8f816bc3b: Pull complete [2021-06-10T18:49:57.525Z] 93b61091891f: Pull complete [2021-06-10T18:49:57.786Z] 93b9cdb0e59b: Pull complete [2021-06-10T18:49:57.786Z] 5e14af77c1be: Pull complete [2021-06-10T18:49:57.786Z] 01666e4c0597: Pull complete [2021-06-10T18:49:58.356Z] aa168da1d23b: Verifying Checksum [2021-06-10T18:49:58.356Z] aa168da1d23b: Download complete [2021-06-10T18:50:02.601Z] aa168da1d23b: Pull complete [2021-06-10T18:50:02.601Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T18:50:02.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:50:02.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T18:50:02.680Z] prd-centos7-docker-4c-2g-281 does not seem to be running inside a container [2021-06-10T18:50:02.719Z] $ 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/dgexfoundry_device-sdk-go_PR-965/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-965 -v /w/workspace/dgexfoundry_device-sdk-go_PR-965:/w/workspace/dgexfoundry_device-sdk-go_PR-965:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-965@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:alpine cat [2021-06-10T18:50:04.633Z] $ docker top 0e190b6c41044a37012b6efa2e8552c04c9a45ad1c8c46ba7b05d78f8e82a827 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:50:05.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T18:50:05.314Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T18:50:05.607Z] + ls /var/log/sa-host [2021-06-10T18:50:05.607Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T18:50:05.607Z] file_magic: OK [2021-06-10T18:50:05.607Z] HZ: Using current value: 100 [2021-06-10T18:50:05.607Z] file_header: OK [2021-06-10T18:50:05.607Z] 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-06-10T18:50:05.607Z] Statistics: [2021-06-10T18:50:05.607Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T18:50:05.607Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T18:50:05.607Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T18:50:05.607Z] file_magic: OK [2021-06-10T18:50:05.607Z] HZ: Using current value: 100 [2021-06-10T18:50:05.607Z] file_header: OK [2021-06-10T18:50:05.607Z] 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-06-10T18:50:05.607Z] Statistics: [2021-06-10T18:50:05.607Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T18:50:05.607Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:50:06.185Z] provisioning config files... [2021-06-10T18:50:06.204Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/config2625563149171200820tmp [Pipeline] { [Pipeline] echo [2021-06-10T18:50:06.228Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:50:06.534Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T18:50:06.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:50:06.942Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T18:50:06.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:50:07.248Z] ---> sudo-logs.sh [2021-06-10T18:50:07.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T18:50:07.301Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:50:07.612Z] ---> job-cost.sh [2021-06-10T18:50:07.612Z] lf-activate-venv: SKIPPING [2021-06-10T18:50:07.612Z] DEBUG: total: 0.18000000715255737 [2021-06-10T18:50:07.612Z] INFO: Retrieving Stack Cost... [2021-06-10T18:50:09.003Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T18:50:09.263Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T18:50:09.278Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:50:09.588Z] ---> logs-deploy.sh [2021-06-10T18:50:09.588Z] lf-activate-venv: SKIPPING [2021-06-10T18:50:09.588Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-965/2 [2021-06-10T18:50:09.588Z] INFO: archiving workspace using pattern(s): [2021-06-10T18:50:10.535Z] Archives upload complete. [2021-06-10T18:50:10.535Z] INFO: archiving logs to Nexus