Pull request #140 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 6f382c4a568e263803f0323c19e86e56369f5d8b+ab80832e8fa331645ec332aa024eb9f07585cb40 (8573a6a4a58b346f91a5d1bfe8a4a985e9916a5e) 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-ssh6184276376997941034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh161725977216646796.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2043340914608752165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh125790301089912381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh9149041752253407401.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4889586654924903416.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13341 in /w/workspace/gexfoundry_device-rest-go_PR-140 [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4524147288942471543.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4033979227027658449.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh1059804715111942435.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:20:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:20:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:20:34 ========================================================= 23:20:34 EdgeX Global Pipelines Version Info 23:20:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:20:35 ------------------- 23:20:35 stable info: 23:20:35 ------------------- 23:20:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:20:35 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:20:35 Message: update stable to v1.0.210 23:20:36 ------------------- 23:20:36 experimental info: 23:20:36 ------------------- 23:20:36 Commited By: **** collab-it+edgex@linuxfoundation.org 23:20:36 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:20:36 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:20:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f382c4a568e263803f0323c19e86e56369f5d8b [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f382c4 [Pipeline] echo 23:20:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:37 provisioning config files... 23:20:37 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config2792923265873490692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:38 ---> docker-login.sh 23:20:38 nexus3.edgexfoundry.org:10001 23:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:38 Configure a credential helper to remove this warning. See 23:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:38 23:20:38 Login Succeeded 23:20:38 nexus3.edgexfoundry.org:10002 23:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:38 Configure a credential helper to remove this warning. See 23:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:38 23:20:38 Login Succeeded 23:20:38 nexus3.edgexfoundry.org:10003 23:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:38 Configure a credential helper to remove this warning. See 23:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:38 23:20:38 Login Succeeded 23:20:38 nexus3.edgexfoundry.org:10004 23:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:38 Configure a credential helper to remove this warning. See 23:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:38 23:20:38 Login Succeeded 23:20:38 docker.io 23:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:38 Configure a credential helper to remove this warning. See 23:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:38 23:20:38 Login Succeeded 23:20:38 ---> docker-login.sh ends [Pipeline] } 23:20:39 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 23:20:39 + git log --format=format:%s -1 6f382c4a568e263803f0323c19e86e56369f5d8b [Pipeline] echo 23:20:39 GIT_COMMIT: 6f382c4a568e263803f0323c19e86e56369f5d8b, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 23:20:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:20:40 23:20:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:20:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:20:40 latest: Pulling from edgex-devops/git-semver 23:20:40 a0d0a0d46f8b: Pulling fs layer 23:20:40 3e5f54012d9b: Pulling fs layer 23:20:40 4c7163046ea9: Pulling fs layer 23:20:40 0c2d73faf560: Pulling fs layer 23:20:40 0c2d73faf560: Waiting 23:20:40 3e5f54012d9b: Download complete 23:20:40 a0d0a0d46f8b: Verifying Checksum 23:20:40 a0d0a0d46f8b: Download complete 23:20:40 0c2d73faf560: Verifying Checksum 23:20:40 0c2d73faf560: Download complete 23:20:40 4c7163046ea9: Verifying Checksum 23:20:40 4c7163046ea9: Download complete 23:20:40 a0d0a0d46f8b: Pull complete 23:20:40 3e5f54012d9b: Pull complete 23:20:41 4c7163046ea9: Pull complete 23:20:41 0c2d73faf560: Pull complete 23:20:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:20:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:20:41 prd-centos7-docker-4c-2g-13341 does not seem to be running inside a container 23:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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:10004/edgex-devops/git-semver:latest cat 23:20:41 $ docker top 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:20:42 [ssh-agent] Looking for ssh-agent implementation... 23:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:42 $ docker exec 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent 23:20:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhgFEJI/agent.14 23:20:42 SSH_AGENT_PID=20 23:20:42 Running ssh-add (command line suppressed) 23:20:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7299756696335099019.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7299756696335099019.key) 23:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:20:42 + git tag --points-at HEAD [Pipeline] } 23:20:42 $ docker exec --env ******** --env ******** 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent -k 23:20:42 unset SSH_AUTH_SOCK; 23:20:42 unset SSH_AGENT_PID; 23:20:42 echo Agent pid 20 killed; 23:20:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:20:43 [ssh-agent] Looking for ssh-agent implementation... 23:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:43 $ docker exec 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent 23:20:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPBake/agent.54 23:20:43 SSH_AGENT_PID=60 23:20:43 Running ssh-add (command line suppressed) 23:20:43 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4203156397203237618.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4203156397203237618.key) 23:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:20:43 + git semver init 23:20:43 # -> Open(): unable to determine branch for HEAD 23:20:43 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git 23:20:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 23:20:43 # $SEMVER_REMOTE_NAME = origin 23:20:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:20:43 # $SEMVER_USER_NAME = edgex-jenkins 23:20:43 # $SEMVER_BRANCH = PR-140 23:20:43 # $SEMVER_TEMP = /tmp/semver-410489035 23:20:43 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:20:44 # '/tmp/semver-410489035' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' 23:20:44 # -> Force: false 23:20:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } 23:20:44 $ docker exec --env ******** --env ******** 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent -k 23:20:44 unset SSH_AUTH_SOCK; 23:20:44 unset SSH_AGENT_PID; 23:20:44 echo Agent pid 60 killed; 23:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:20:45 + git semver [Pipeline] } 23:20:45 $ docker stop --time=1 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a 23:20:46 $ docker rm -f 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a [Pipeline] // withDockerContainer [Pipeline] sh 23:20:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:20:47 Stashed 1 file(s) [Pipeline] echo 23:20:47 [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 23:20:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13339 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 23:20:47 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:20:47 The recommended git tool is: git 23:20:53 using credential edgex-jenkins-ssh 23:20:53 Cloning the remote Git repository 23:20:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:20:53 > git init /w/workspace/device-rest-go/1 # timeout=10 23:20:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:20:53 > git --version # timeout=10 23:20:54 > git --version # 'git version 2.17.1' 23:20:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:56 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b 23:20:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:20:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:20:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:20:56 > git config core.sparsecheckout # timeout=10 23:20:56 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 23:20:56 Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b 23:20:56 Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) 23:20:56 > git remote # timeout=10 23:20:56 > git config --get remote.origin.url # timeout=10 23:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:56 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 23:20:56 > git rev-parse HEAD^{commit} # timeout=10 23:20:56 > git config core.sparsecheckout # timeout=10 23:20:56 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 23:21:01 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:21:01 > git --version # timeout=10 23:21:01 > git --version # 'git version 2.17.1' 23:21:01 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:02 Still waiting to schedule task 23:21:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:21:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:21:02 % Total % Received % Xferd Average Speed Time Time Time Current 23:21:02 Dload Upload Total Spent Left Speed 23:21:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 151k 0 --:--:-- --:--:-- --:--:-- 151k [Pipeline] sh 23:21:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:21:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:21:03 + sudo tee /etc/docker/daemon.new 23:21:03 { 23:21:03 "registry-mirrors": [ 23:21:03 "https://nexus3.edgexfoundry.org:10001" 23:21:03 ], 23:21:03 "bip": "10.250.0.254/24", 23:21:03 "hosts": [ 23:21:03 "tcp://0.0.0.0:5555", 23:21:03 "unix:///var/run/docker.sock" 23:21:03 ], 23:21:03 "mtu": 1458, 23:21:03 "selinux-enabled": true, 23:21:03 "seccomp-profile": "/etc/docker/seccomp.json" 23:21:03 } [Pipeline] sh 23:21:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:21:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:22 provisioning config files... 23:21:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7215821986660024782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:23 ---> docker-login.sh 23:21:23 nexus3.edgexfoundry.org:10001 23:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:24 Configure a credential helper to remove this warning. See 23:21:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:24 23:21:24 Login Succeeded 23:21:24 nexus3.edgexfoundry.org:10002 23:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:24 Configure a credential helper to remove this warning. See 23:21:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:24 23:21:24 Login Succeeded 23:21:24 nexus3.edgexfoundry.org:10003 23:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:25 Configure a credential helper to remove this warning. See 23:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:25 23:21:25 Login Succeeded 23:21:25 nexus3.edgexfoundry.org:10004 23:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:26 Configure a credential helper to remove this warning. See 23:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:26 23:21:26 Login Succeeded 23:21:26 docker.io 23:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:27 Configure a credential helper to remove this warning. See 23:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:27 23:21:27 Login Succeeded 23:21:27 ---> docker-login.sh ends [Pipeline] } 23:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:27 ========================================================= 23:21:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:21:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:21:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:21:28 Sending build context to Docker daemon 119.3kB 23:21:28 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:21:28 Step 2/11 : FROM ${BASE} AS builder 23:21:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:21:28 552d1f2373af: Pulling fs layer 23:21:28 ea3f2d53f512: Pulling fs layer 23:21:28 9e70ebbbe112: Pulling fs layer 23:21:28 7a9cfe048b4a: Pulling fs layer 23:21:28 72dc09318566: Pulling fs layer 23:21:28 f4f7b4309257: Pulling fs layer 23:21:28 0ac9a79272e3: Pulling fs layer 23:21:28 b78e95d17946: Pulling fs layer 23:21:28 72dc09318566: Waiting 23:21:28 0ac9a79272e3: Waiting 23:21:28 b78e95d17946: Waiting 23:21:28 f4f7b4309257: Waiting 23:21:28 7a9cfe048b4a: Waiting 23:21:29 9e70ebbbe112: Verifying Checksum 23:21:29 9e70ebbbe112: Download complete 23:21:29 ea3f2d53f512: Verifying Checksum 23:21:29 ea3f2d53f512: Download complete 23:21:29 72dc09318566: Download complete 23:21:29 552d1f2373af: Verifying Checksum 23:21:29 f4f7b4309257: Verifying Checksum 23:21:29 f4f7b4309257: Download complete 23:21:29 0ac9a79272e3: Verifying Checksum 23:21:29 0ac9a79272e3: Download complete 23:21:30 552d1f2373af: Pull complete 23:21:30 ea3f2d53f512: Pull complete 23:21:31 9e70ebbbe112: Pull complete 23:21:31 b78e95d17946: Verifying Checksum 23:21:31 b78e95d17946: Download complete 23:21:31 7a9cfe048b4a: Verifying Checksum 23:21:31 7a9cfe048b4a: Download complete 23:21:44 7a9cfe048b4a: Pull complete 23:21:44 72dc09318566: Pull complete 23:21:44 f4f7b4309257: Pull complete 23:21:44 0ac9a79272e3: Pull complete 23:21:51 b78e95d17946: Pull complete 23:21:51 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:21:51 ---> 8b459fc5aaf0 23:21:51 Step 3/11 : ARG MAKE='make build' 23:21:53 ---> Running in c20fd61643dc 23:21:53 Removing intermediate container c20fd61643dc 23:21:53 ---> ef6896a660ca 23:21:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:21:53 ---> Running in 69afc692181c 23:21:54 Removing intermediate container 69afc692181c 23:21:54 ---> e7a8f193a6a0 23:21:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:21:54 ---> Running in be7a9d86e844 23:21:54 Removing intermediate container be7a9d86e844 23:21:54 ---> 7203ad57e505 23:21:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:21:54 ---> Running in 4f972cae1b11 23:21:57 Removing intermediate container 4f972cae1b11 23:21:57 ---> fc76c925ba0b 23:21:57 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:57 ---> Running in df890f898bf3 23:21:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:21:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:22:00 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:22:00 (2/4) Installing libedit (20210216.3.1-r0) 23:22:00 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:22:00 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:22:00 Executing busybox-1.33.1-r3.trigger 23:22:00 OK: 223 MiB in 56 packages 23:22:02 Removing intermediate container df890f898bf3 23:22:02 ---> 6182e419e9a7 23:22:02 Step 8/11 : WORKDIR /device-rest-go 23:22:02 ---> Running in 97b4c0b7c05a 23:22:03 Removing intermediate container 97b4c0b7c05a 23:22:03 ---> fd98500e2ea7 23:22:03 Step 9/11 : COPY . . 23:22:03 ---> 7d350f5ad8fd 23:22:03 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:03 ---> Running in ed63e75b8202 23:22:08 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone 23:22:08 server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 23:22:08 skipping... 23:22:10 Running on prd-centos7-docker-4c-2g-13344 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 23:22:10 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:22:10 The recommended git tool is: git 23:22:11 Removing intermediate container ed63e75b8202 23:22:11 ---> b4ea01512722 23:22:11 Step 11/11 : RUN $MAKE 23:22:11 ---> Running in 26bc6ba273f0 23:22:12 using credential edgex-jenkins-ssh 23:22:12 noop 23:22:12 Cloning the remote Git repository 23:22:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:22:12 > git init /w/workspace/device-rest-go/1 # timeout=10 23:22:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:22:12 > git --version # timeout=10 23:22:12 > git --version # 'git version 2.24.4' 23:22:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:12 [INFO] Currently running in a labeled security context 23:22:12 [INFO] Currently SELinux is 'enforcing' on the host 23:22:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1898183710099548601.key 23:22:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:13 Removing intermediate container 26bc6ba273f0 23:22:13 ---> 7094e9c72e0d 23:22:13 Successfully built 7094e9c72e0d 23:22:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:22:14 + docker inspect -f . ci-base-image-arm64 23:22:14 . 23:22:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:22:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:22:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:22:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:13 [INFO] Currently running in a labeled security context 23:22:13 [INFO] Currently SELinux is 'enforcing' on the host 23:22:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2894242065343588796.key 23:22:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] withDockerContainer 23:22:14 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b 23:22:14 Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b 23:22:14 Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) 23:22:14 prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container 23:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:13 > git config core.sparsecheckout # timeout=10 23:22:13 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 23:22:13 > git remote # timeout=10 23:22:13 > git config --get remote.origin.url # timeout=10 23:22:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:13 [INFO] Currently running in a labeled security context 23:22:13 [INFO] Currently SELinux is 'enforcing' on the host 23:22:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7612141822624627702.key 23:22:13 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 23:22:13 > git rev-parse HEAD^{commit} # timeout=10 23:22:13 > git config core.sparsecheckout # timeout=10 23:22:13 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 23:22:16 $ docker top ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:17 + go version 23:22:17 go version go1.16.8 linux/arm64 [Pipeline] } 23:22:17 $ docker stop --time=1 ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 23:22:17 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:22:17 > git --version # timeout=10 23:22:17 > git --version # 'git version 2.24.4' 23:22:17 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:22:19 $ docker rm -f ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:19 provisioning config files... 23:22:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config410863541876340865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:20 + docker inspect -f . ci-base-image-arm64 23:22:20 . [Pipeline] withDockerContainer 23:22:20 ---> docker-login.sh 23:22:20 nexus3.edgexfoundry.org:10001 23:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:20 prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container 23:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:20 Configure a credential helper to remove this warning. See 23:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:20 23:22:20 Login Succeeded 23:22:20 nexus3.edgexfoundry.org:10002 23:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:20 Configure a credential helper to remove this warning. See 23:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:20 23:22:20 Login Succeeded 23:22:20 nexus3.edgexfoundry.org:10003 23:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:20 Configure a credential helper to remove this warning. See 23:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:20 23:22:20 Login Succeeded 23:22:20 nexus3.edgexfoundry.org:10004 23:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:20 Configure a credential helper to remove this warning. See 23:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:20 23:22:20 Login Succeeded 23:22:20 docker.io 23:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:21 Configure a credential helper to remove this warning. See 23:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:21 23:22:21 Login Succeeded 23:22:21 ---> docker-login.sh ends 23:22:22 $ docker top dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 -eo pid,comm [Pipeline] { [Pipeline] } 23:22:22 Deleting 1 temporary files [Pipeline] fileExists [Pipeline] // configFileProvider [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:23 ========================================================= 23:22:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:22:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:22:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:22:23 Sending build context to Docker daemon 119.3kB 23:22:23 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:22:23 Step 2/11 : FROM ${BASE} AS builder 23:22:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:22:23 a0d0a0d46f8b: Pulling fs layer 23:22:23 31adcdaf11c8: Pulling fs layer 23:22:23 b8b176561691: Pulling fs layer 23:22:23 4527c011a84f: Pulling fs layer 23:22:23 5d74067f8e1e: Pulling fs layer 23:22:23 e0aca202a116: Pulling fs layer 23:22:23 3a43be97a3b4: Pulling fs layer 23:22:23 34cad66bf833: Pulling fs layer 23:22:23 b4e3c513aaa6: Pulling fs layer 23:22:23 e0aca202a116: Waiting 23:22:23 3a43be97a3b4: Waiting 23:22:23 34cad66bf833: Waiting 23:22:23 b4e3c513aaa6: Waiting 23:22:23 4527c011a84f: Waiting 23:22:23 b8b176561691: Verifying Checksum 23:22:23 b8b176561691: Download complete 23:22:23 31adcdaf11c8: Verifying Checksum 23:22:23 31adcdaf11c8: Download complete 23:22:23 5d74067f8e1e: Verifying Checksum 23:22:23 5d74067f8e1e: Download complete 23:22:23 e0aca202a116: Verifying Checksum 23:22:23 e0aca202a116: Download complete 23:22:23 3a43be97a3b4: Verifying Checksum 23:22:23 3a43be97a3b4: Download complete 23:22:23 a0d0a0d46f8b: Verifying Checksum 23:22:23 a0d0a0d46f8b: Download complete 23:22:23 + make test 23:22:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:22:23 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:22:23 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:22:23 make: *** [Makefile:27: test] Error 1 [Pipeline] } 23:22:23 $ docker stop --time=1 dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 23:22:23 34cad66bf833: Verifying Checksum 23:22:23 34cad66bf833: Download complete 23:22:24 b4e3c513aaa6: Verifying Checksum 23:22:24 b4e3c513aaa6: Download complete 23:22:24 4527c011a84f: Verifying Checksum 23:22:24 4527c011a84f: Download complete 23:22:24 a0d0a0d46f8b: Pull complete 23:22:24 31adcdaf11c8: Pull complete 23:22:24 b8b176561691: Pull complete 23:22:25 $ docker rm -f dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:26 23:22:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:27 arm64: Pulling from edgex-lftools-log-publisher 23:22:27 448f6bf000e3: Pulling fs layer 23:22:27 f757da607395: Pulling fs layer 23:22:27 05883995daec: Pulling fs layer 23:22:27 8603b9c90790: Pulling fs layer 23:22:27 1560dd03e051: Pulling fs layer 23:22:27 27f5ce0e4adf: Pulling fs layer 23:22:27 c2d8d7efcc4b: Pulling fs layer 23:22:27 8603b9c90790: Waiting 23:22:27 1560dd03e051: Waiting 23:22:27 27f5ce0e4adf: Waiting 23:22:27 c2d8d7efcc4b: Waiting 23:22:27 f757da607395: Verifying Checksum 23:22:27 f757da607395: Download complete 23:22:27 8603b9c90790: Verifying Checksum 23:22:27 8603b9c90790: Download complete 23:22:27 1560dd03e051: Verifying Checksum 23:22:27 1560dd03e051: Download complete 23:22:27 27f5ce0e4adf: Verifying Checksum 23:22:27 27f5ce0e4adf: Download complete 23:22:27 05883995daec: Verifying Checksum 23:22:27 05883995daec: Download complete 23:22:28 448f6bf000e3: Verifying Checksum 23:22:28 448f6bf000e3: Download complete 23:22:28 4527c011a84f: Pull complete 23:22:28 5d74067f8e1e: Pull complete 23:22:28 e0aca202a116: Pull complete 23:22:28 3a43be97a3b4: Pull complete 23:22:28 34cad66bf833: Pull complete 23:22:31 b4e3c513aaa6: Pull complete 23:22:31 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:22:31 ---> 9f6097aaca64 23:22:31 Step 3/11 : ARG MAKE='make build' 23:22:31 c2d8d7efcc4b: Verifying Checksum 23:22:31 c2d8d7efcc4b: Download complete 23:22:32 448f6bf000e3: Pull complete 23:22:33 ---> Running in 1849c0c96c88 23:22:33 Removing intermediate container 1849c0c96c88 23:22:33 ---> 5fd50d6451cb 23:22:33 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:22:33 ---> Running in 62ddd006ce20 23:22:33 Removing intermediate container 62ddd006ce20 23:22:33 ---> a56df47478e2 23:22:33 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:22:33 ---> Running in 30a80022b75a 23:22:33 Removing intermediate container 30a80022b75a 23:22:33 ---> 2ed6961767b4 23:22:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:33 ---> Running in 7b1f2cd47d96 23:22:33 f757da607395: Pull complete 23:22:33 Removing intermediate container 7b1f2cd47d96 23:22:33 ---> 5ac07a2e51cf 23:22:33 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:22:33 ---> Running in 0ab986d9a149 23:22:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:22:34 05883995daec: Pull complete 23:22:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:22:34 8603b9c90790: Pull complete 23:22:35 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:22:35 (2/4) Installing libedit (20210216.3.1-r0) 23:22:35 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:22:35 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:22:35 Executing busybox-1.33.1-r3.trigger 23:22:35 OK: 224 MiB in 56 packages 23:22:35 1560dd03e051: Pull complete 23:22:35 Removing intermediate container 0ab986d9a149 23:22:35 ---> 120ae236d3a1 23:22:35 Step 8/11 : WORKDIR /device-rest-go 23:22:35 ---> Running in 2cc08d888846 23:22:35 Removing intermediate container 2cc08d888846 23:22:35 ---> ebb74574afc7 23:22:35 Step 9/11 : COPY . . 23:22:36 ---> 409f1e6253d5 23:22:36 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:36 ---> Running in 41efc5da3146 23:22:36 27f5ce0e4adf: Pull complete 23:22:38 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone 23:22:38 server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 23:22:38 skipping... 23:22:38 Removing intermediate container 41efc5da3146 23:22:38 ---> ca95b3993631 23:22:38 Step 11/11 : RUN $MAKE 23:22:38 ---> Running in dbde5dba71af 23:22:38 noop 23:22:39 Removing intermediate container dbde5dba71af 23:22:39 ---> fac9b2766182 23:22:39 Successfully built fac9b2766182 23:22:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:22:39 + docker inspect -f . ci-base-image-x86_64 23:22:39 . [Pipeline] withDockerContainer 23:22:39 prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container 23:22:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:40 $ docker top a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:40 + go version 23:22:40 go version go1.16.8 linux/amd64 [Pipeline] } 23:22:40 $ docker stop --time=1 a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 23:22:41 $ docker rm -f a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:42 + docker inspect -f . ci-base-image-x86_64 23:22:42 . [Pipeline] withDockerContainer 23:22:42 prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container 23:22:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:42 $ docker top ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:22:43 + make test 23:22:43 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:22:43 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:22:43 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:22:43 make: *** [Makefile:27: test] Error 1 [Pipeline] } 23:22:43 $ docker stop --time=1 ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 23:22:44 $ docker rm -f ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:45 23:22:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:22:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:46 latest: Pulling from edgex-lftools-log-publisher 23:22:46 b4d181a07f80: Pulling fs layer 23:22:46 a1111a8f2ec3: Pulling fs layer 23:22:46 ed53099fbce6: Pulling fs layer 23:22:46 dc539afda2c1: Pulling fs layer 23:22:46 77bc0d833cb6: Pulling fs layer 23:22:46 9065ff56babe: Pulling fs layer 23:22:46 d287ab97295c: Pulling fs layer 23:22:46 77bc0d833cb6: Waiting 23:22:46 dc539afda2c1: Waiting 23:22:46 9065ff56babe: Waiting 23:22:46 d287ab97295c: Waiting 23:22:46 a1111a8f2ec3: Download complete 23:22:46 dc539afda2c1: Verifying Checksum 23:22:46 dc539afda2c1: Download complete 23:22:46 ed53099fbce6: Verifying Checksum 23:22:46 ed53099fbce6: Download complete 23:22:46 77bc0d833cb6: Verifying Checksum 23:22:46 77bc0d833cb6: Download complete 23:22:46 9065ff56babe: Verifying Checksum 23:22:46 9065ff56babe: Download complete 23:22:46 b4d181a07f80: Verifying Checksum 23:22:46 b4d181a07f80: Download complete 23:22:46 d287ab97295c: Verifying Checksum 23:22:46 d287ab97295c: Download complete 23:22:47 b4d181a07f80: Pull complete 23:22:47 a1111a8f2ec3: Pull complete 23:22:48 ed53099fbce6: Pull complete 23:22:48 dc539afda2c1: Pull complete 23:22:49 77bc0d833cb6: Pull complete 23:22:49 9065ff56babe: Pull complete 23:22:51 c2d8d7efcc4b: Pull complete 23:22:51 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:22:51 prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container 23:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:22:54 d287ab97295c: Pull complete 23:22:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:22:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:55 $ docker top bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 23:22:55 prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container 23:22:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:22:58 $ docker top 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 23:22:58 ---> job-cost.sh 23:22:58 lf-activate-venv: SKIPPING 23:22:58 INFO: No Stack... 23:22:59 INFO: Retrieving Pricing Info for: v3-standard-2 23:22:59 ---> job-cost.sh 23:22:59 lf-activate-venv: SKIPPING 23:22:59 INFO: No Stack... 23:22:59 INFO: Archiving Costs [Pipeline] sh 23:22:59 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:59 + + cat /w/workspace/device-rest-go/1/archives/cost.csv 23:22:59 cut -d, -f6 [Pipeline] lock 23:22:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] 23:22:59 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] did not exist. Created. 23:22:59 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:59 INFO: Archiving Costs [Pipeline] sh 23:23:00 + echo total: 0.05999999865889549 [Pipeline] stash 23:23:00 Stashed 1 file(s) [Pipeline] } 23:23:00 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:23:00 $ docker stop --time=1 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 23:23:00 + cat /w/workspace/device-rest-go/1/archives/cost.csv 23:23:00 + cut -d, -f6 23:23:01 $ docker rm -f 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] lock 23:23:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] 23:23:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] did not exist. Created. 23:23:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] { [Pipeline] // script [Pipeline] unstash [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:23:02 Failed in branch amd64 23:23:02 /w/workspace/device-rest-go/1@tmp/durable-e9de2fc3/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-e9de2fc3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:23:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:23:03 Warning: overwriting stash ‘stack-cost’ 23:23:03 Stashed 1 file(s) [Pipeline] } 23:23:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:23:03 $ docker stop --time=1 bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 23:23:05 $ docker rm -f bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:23:05 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] sh 23:23:08 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:23:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:09 ---> package-listing.sh 23:23:09 ++ facter osfamily 23:23:09 ++ tr '[:upper:]' '[:lower:]' 23:23:09 + OS_FAMILY=redhat 23:23:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 23:23:09 + START_PACKAGES=/tmp/packages_start.txt 23:23:09 + END_PACKAGES=/tmp/packages_end.txt 23:23:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:09 + PACKAGES=/tmp/packages_start.txt 23:23:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 23:23:09 + PACKAGES=/tmp/packages_end.txt 23:23:09 + case "${OS_FAMILY}" in 23:23:09 + sort 23:23:09 + rpm -qa 23:23:09 + '[' -f /tmp/packages_start.txt ']' 23:23:09 + '[' -f /tmp/packages_end.txt ']' 23:23:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 23:23:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ 23:23:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [Pipeline] echo 23:23:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:23:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:10 23:23:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:11 latest: Pulling from edgex-lftools-log-publisher 23:23:11 b4d181a07f80: Pulling fs layer 23:23:11 a1111a8f2ec3: Pulling fs layer 23:23:11 ed53099fbce6: Pulling fs layer 23:23:11 dc539afda2c1: Pulling fs layer 23:23:11 77bc0d833cb6: Pulling fs layer 23:23:11 9065ff56babe: Pulling fs layer 23:23:11 d287ab97295c: Pulling fs layer 23:23:11 dc539afda2c1: Waiting 23:23:11 9065ff56babe: Waiting 23:23:11 77bc0d833cb6: Waiting 23:23:11 d287ab97295c: Waiting 23:23:11 a1111a8f2ec3: Verifying Checksum 23:23:11 a1111a8f2ec3: Download complete 23:23:11 dc539afda2c1: Verifying Checksum 23:23:11 dc539afda2c1: Download complete 23:23:11 ed53099fbce6: Verifying Checksum 23:23:11 ed53099fbce6: Download complete 23:23:11 9065ff56babe: Verifying Checksum 23:23:11 9065ff56babe: Download complete 23:23:11 77bc0d833cb6: Verifying Checksum 23:23:11 77bc0d833cb6: Download complete 23:23:11 b4d181a07f80: Verifying Checksum 23:23:11 b4d181a07f80: Download complete 23:23:11 d287ab97295c: Verifying Checksum 23:23:11 d287ab97295c: Download complete 23:23:12 b4d181a07f80: Pull complete 23:23:12 a1111a8f2ec3: Pull complete 23:23:13 ed53099fbce6: Pull complete 23:23:13 dc539afda2c1: Pull complete 23:23:14 77bc0d833cb6: Pull complete 23:23:14 9065ff56babe: Pull complete 23:23:19 d287ab97295c: Pull complete 23:23:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:23:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:23:19 prd-centos7-docker-4c-2g-13341 does not seem to be running inside a container 23:23:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:23:21 $ docker top fc225fb043f0bfe938b9e36cdc32d0aaa37bd6c00d644909b4729ed488a51e6a -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:21 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:22 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:22 + ls /var/log/sa-host 23:23:22 + sadf -c /var/log/sa-host/sa28 23:23:22 file_magic: OK 23:23:22 HZ: Using current value: 100 23:23:22 file_header: OK 23:23:22 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 23:23:22 Statistics: 23:23:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:23:22 File successfully converted to sysstat format version 12.0.3 23:23:22 + sadf -c /var/log/sa-host/sa30 23:23:22 file_magic: OK 23:23:22 HZ: Using current value: 100 23:23:22 file_header: OK 23:23:22 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 23:23:22 Statistics: 23:23:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:23:22 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:22 provisioning config files... 23:23:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config5854832845746032152tmp [Pipeline] { [Pipeline] echo 23:23:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:22 ---> create-netrc.sh [Pipeline] } 23:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:23 ---> python-tools-install.sh [Pipeline] echo 23:23:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:23 ---> sudo-logs.sh 23:23:23 Archiving 'sudo' log.. 23:23:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-13341.novalocal: Name or service not known 23:23:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-13341.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:23:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:24 ---> job-cost.sh 23:23:24 lf-activate-venv: SKIPPING 23:23:24 DEBUG: total: 0.10999999940395355 23:23:24 INFO: Retrieving Stack Cost... 23:23:24 INFO: Retrieving Pricing Info for: v3-standard-2 23:23:24 INFO: Archiving Costs [Pipeline] echo 23:23:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:24 ---> logs-deploy.sh 23:23:24 lf-activate-venv: SKIPPING 23:23:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/1 23:23:24 INFO: archiving workspace using pattern(s): 23:23:25 Archives upload complete. 23:23:25 INFO: archiving logs to Nexus