Pull request #145 updated 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 96e184b927e04097306fc9a54b999550e4976e4b+09739088bb3ccddf347dd8b212f45a4687ee065f (d6ba9b0cd4bfcc32a23694b0a4b3d43ccf13b633) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3709090351236519407.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3319631177052801797.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6116629540936815421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4372108320036326678.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5828439999240422140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-723 in /w/workspace/gexfoundry_device-rest-go_PR-145 [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-145 # 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-145@tmp/jenkins-gitclient-ssh9212938196280799080.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-145@tmp/jenkins-gitclient-ssh3986614048514837967.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) > git config core.sparsecheckout # timeout=10 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # 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-145@tmp/jenkins-gitclient-ssh7907651879231669464.key > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 Commit message: "feat: Add support for Object ValueType" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:38:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:38:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:38:51 ========================================================= 23:38:51 EdgeX Global Pipelines Version Info 23:38:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c3fc48eef4e44410167cfefdb5a507862d65592a # timeout=10 23:38:52 ------------------- 23:38:52 stable info: 23:38:52 ------------------- 23:38:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:38:52 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 23:38:52 Message: update stable to v1.0.215 23:38:53 ------------------- 23:38:53 experimental info: 23:38:53 ------------------- 23:38:53 Commited By: **** collab-it+edgex@linuxfoundation.org 23:38:53 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 23:38:53 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96e184b [Pipeline] echo 23:38:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:54 provisioning config files... 23:38:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config1884202591084320773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:54 ---> docker-login.sh 23:38:54 nexus3.edgexfoundry.org:10001 23:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:54 Configure a credential helper to remove this warning. See 23:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:54 23:38:54 Login Succeeded 23:38:54 nexus3.edgexfoundry.org:10002 23:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:54 Configure a credential helper to remove this warning. See 23:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:54 23:38:54 Login Succeeded 23:38:54 nexus3.edgexfoundry.org:10003 23:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:54 Configure a credential helper to remove this warning. See 23:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:54 23:38:54 Login Succeeded 23:38:54 nexus3.edgexfoundry.org:10004 23:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:54 Configure a credential helper to remove this warning. See 23:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:54 23:38:54 Login Succeeded 23:38:54 docker.io 23:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:55 Configure a credential helper to remove this warning. See 23:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:55 23:38:55 Login Succeeded 23:38:55 ---> docker-login.sh ends [Pipeline] } 23:38:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:38:55 + git rev-list -1 --merges 96e184b927e04097306fc9a54b999550e4976e4b~1..96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo 23:38:55 -----------> git rev-list -1 --merges 96e184b927e04097306fc9a54b999550e4976e4b~1..96e184b927e04097306fc9a54b999550e4976e4b 96e184b927e04097306fc9a54b999550e4976e4b [false] [Pipeline] sh 23:38:55 + git log --format=format:%s -1 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo 23:38:55 ========================================================= 23:38:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:38:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:56 + git log --format=format:%s -1 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo 23:38:56 [semverPrep] GIT_COMMIT: 96e184b927e04097306fc9a54b999550e4976e4b, Commit Message: feat: Add support for Object ValueType [Pipeline] echo 23:38:56 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:38:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:56 23:38:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:38:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:57 latest: Pulling from edgex-devops/git-semver 23:38:57 a0d0a0d46f8b: Pulling fs layer 23:38:57 3e5f54012d9b: Pulling fs layer 23:38:57 4c7163046ea9: Pulling fs layer 23:38:57 0c2d73faf560: Pulling fs layer 23:38:57 0c2d73faf560: Waiting 23:38:57 3e5f54012d9b: Verifying Checksum 23:38:57 3e5f54012d9b: Download complete 23:38:57 a0d0a0d46f8b: Verifying Checksum 23:38:57 a0d0a0d46f8b: Download complete 23:38:57 0c2d73faf560: Verifying Checksum 23:38:57 0c2d73faf560: Download complete 23:38:57 4c7163046ea9: Verifying Checksum 23:38:57 4c7163046ea9: Download complete 23:38:57 a0d0a0d46f8b: Pull complete 23:38:57 3e5f54012d9b: Pull complete 23:38:57 4c7163046ea9: Pull complete 23:38:57 0c2d73faf560: Pull complete 23:38:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:38:57 prd-centos7-docker-4c-2g-723 does not seem to be running inside a container 23:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-145 -v /w/workspace/gexfoundry_device-rest-go_PR-145:/w/workspace/gexfoundry_device-rest-go_PR-145:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-145@tmp:/w/workspace/gexfoundry_device-rest-go_PR-145@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:10004/edgex-devops/git-semver:latest cat 23:38:58 $ docker top f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:58 [ssh-agent] Looking for ssh-agent implementation... 23:38:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:58 $ docker exec f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent 23:38:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLiMNDA/agent.14 23:38:58 SSH_AGENT_PID=20 23:38:58 Running ssh-add (command line suppressed) 23:38:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_1954707379254230572.key (/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_1954707379254230572.key) 23:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:59 + git tag --points-at HEAD [Pipeline] } 23:38:59 $ docker exec --env ******** --env ******** f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent -k 23:38:59 unset SSH_AUTH_SOCK; 23:38:59 unset SSH_AGENT_PID; 23:38:59 echo Agent pid 20 killed; 23:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:38:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:59 [ssh-agent] Looking for ssh-agent implementation... 23:38:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:59 $ docker exec f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent 23:38:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogCmIo/agent.55 23:38:59 SSH_AGENT_PID=62 23:38:59 Running ssh-add (command line suppressed) 23:38:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_7013534708788173088.key (/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_7013534708788173088.key) 23:38:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:59 + git semver init 23:38:59 # -> Open(): unable to determine branch for HEAD 23:38:59 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-145/.git 23:38:59 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-145 23:38:59 # $SEMVER_REMOTE_NAME = origin 23:38:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:38:59 # $SEMVER_USER_NAME = edgex-jenkins 23:38:59 # $SEMVER_BRANCH = PR-145 23:38:59 # $SEMVER_TEMP = /tmp/semver-227615328 23:38:59 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:39:00 # '/tmp/semver-227615328' -> '/w/workspace/gexfoundry_device-rest-go_PR-145/.semver' 23:39:00 # -> Force: false 23:39:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-145/.semver [Pipeline] } 23:39:00 $ docker exec --env ******** --env ******** f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent -k 23:39:00 unset SSH_AUTH_SOCK; 23:39:00 unset SSH_AGENT_PID; 23:39:00 echo Agent pid 62 killed; 23:39:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:39:01 + git semver [Pipeline] } 23:39:01 $ docker stop --time=1 f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 23:39:02 $ docker rm -f f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 [Pipeline] // withDockerContainer [Pipeline] sh 23:39:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:39:03 Stashed 1 file(s) [Pipeline] echo 23:39:03 [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:39:18 Still waiting to schedule task 23:39:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:39:18 Still waiting to schedule task 23:39:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:40:14 Running on prd-centos7-docker-4c-2g-726 in /w/workspace/gexfoundry_device-rest-go_PR-145 [Pipeline] { [Pipeline] ws 23:40:14 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 23:40:14 The recommended git tool is: git 23:40:16 using credential edgex-jenkins-ssh 23:40:16 Cloning the remote Git repository 23:40:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:40:15 > git init /w/workspace/device-rest-go/2 # timeout=10 23:40:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:40:15 > git --version # timeout=10 23:40:15 > git --version # 'git version 2.24.4' 23:40:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:15 [INFO] Currently running in a labeled security context 23:40:15 [INFO] Currently SELinux is 'enforcing' on the host 23:40:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5222149155717060303.key 23:40:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:22 Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b 23:40:22 Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b 23:40:22 Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) 23:40:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:40:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:40:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:40:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:21 [INFO] Currently running in a labeled security context 23:40:21 [INFO] Currently SELinux is 'enforcing' on the host 23:40:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5684764364831662949.key 23:40:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:22 > git config core.sparsecheckout # timeout=10 23:40:22 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 23:40:22 > git remote # timeout=10 23:40:22 > git config --get remote.origin.url # timeout=10 23:40:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:22 [INFO] Currently running in a labeled security context 23:40:22 [INFO] Currently SELinux is 'enforcing' on the host 23:40:22 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh8931908654939160182.key 23:40:22 > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 23:40:22 > git rev-parse HEAD^{commit} # timeout=10 23:40:22 > git config core.sparsecheckout # timeout=10 23:40:22 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 23:40:26 Commit message: "feat: Add support for Object ValueType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:26 provisioning config files... 23:40:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5825077278601116206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:26 ---> docker-login.sh 23:40:26 nexus3.edgexfoundry.org:10001 23:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:26 Configure a credential helper to remove this warning. See 23:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:26 23:40:26 Login Succeeded 23:40:26 nexus3.edgexfoundry.org:10002 23:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:27 Configure a credential helper to remove this warning. See 23:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:27 23:40:27 Login Succeeded 23:40:27 nexus3.edgexfoundry.org:10003 23:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:27 Configure a credential helper to remove this warning. See 23:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:27 23:40:27 Login Succeeded 23:40:27 nexus3.edgexfoundry.org:10004 23:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:27 Configure a credential helper to remove this warning. See 23:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:27 23:40:27 Login Succeeded 23:40:27 docker.io 23:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:27 Configure a credential helper to remove this warning. See 23:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:27 23:40:27 Login Succeeded 23:40:27 ---> docker-login.sh ends [Pipeline] } 23:40:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:27 ========================================================= 23:40:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:40:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:40:28 + 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:40:28 Sending build context to Docker daemon 121.3kB 23:40:28 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:40:28 Step 2/11 : FROM ${BASE} AS builder 23:40:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:40:28 a0d0a0d46f8b: Pulling fs layer 23:40:28 31adcdaf11c8: Pulling fs layer 23:40:28 b8b176561691: Pulling fs layer 23:40:28 4527c011a84f: Pulling fs layer 23:40:28 5d74067f8e1e: Pulling fs layer 23:40:28 e0aca202a116: Pulling fs layer 23:40:28 3a43be97a3b4: Pulling fs layer 23:40:28 34cad66bf833: Pulling fs layer 23:40:28 b4e3c513aaa6: Pulling fs layer 23:40:28 e0aca202a116: Waiting 23:40:28 3a43be97a3b4: Waiting 23:40:28 34cad66bf833: Waiting 23:40:28 b4e3c513aaa6: Waiting 23:40:28 4527c011a84f: Waiting 23:40:28 5d74067f8e1e: Waiting 23:40:28 b8b176561691: Verifying Checksum 23:40:28 b8b176561691: Download complete 23:40:28 31adcdaf11c8: Verifying Checksum 23:40:28 31adcdaf11c8: Download complete 23:40:28 5d74067f8e1e: Verifying Checksum 23:40:28 5d74067f8e1e: Download complete 23:40:28 e0aca202a116: Verifying Checksum 23:40:28 e0aca202a116: Download complete 23:40:28 a0d0a0d46f8b: Verifying Checksum 23:40:28 a0d0a0d46f8b: Download complete 23:40:28 3a43be97a3b4: Verifying Checksum 23:40:28 3a43be97a3b4: Download complete 23:40:28 34cad66bf833: Verifying Checksum 23:40:28 34cad66bf833: Download complete 23:40:28 a0d0a0d46f8b: Pull complete 23:40:28 4527c011a84f: Verifying Checksum 23:40:28 4527c011a84f: Download complete 23:40:28 b4e3c513aaa6: Verifying Checksum 23:40:28 b4e3c513aaa6: Download complete 23:40:28 31adcdaf11c8: Pull complete 23:40:28 b8b176561691: Pull complete 23:40:33 4527c011a84f: Pull complete 23:40:33 5d74067f8e1e: Pull complete 23:40:33 e0aca202a116: Pull complete 23:40:33 3a43be97a3b4: Pull complete 23:40:33 34cad66bf833: Pull complete 23:40:35 b4e3c513aaa6: Pull complete 23:40:35 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:40:35 ---> 9f6097aaca64 23:40:35 Step 3/11 : ARG MAKE='make build' 23:40:38 ---> Running in 7400be12c97a 23:40:38 Removing intermediate container 7400be12c97a 23:40:38 ---> 4625c1b9137c 23:40:38 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:40:38 ---> Running in 832f11cef567 23:40:38 Removing intermediate container 832f11cef567 23:40:38 ---> 613e468849e5 23:40:38 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:40:38 ---> Running in e25abc3be5f0 23:40:38 Removing intermediate container e25abc3be5f0 23:40:38 ---> 78dbb1383fad 23:40:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:40:38 ---> Running in 9b5484e44096 23:40:38 Removing intermediate container 9b5484e44096 23:40:38 ---> c7b31bec58b8 23:40:38 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:38 ---> Running in 946d65f1a352 23:40:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:40:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:40:40 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:40:40 (2/4) Installing libedit (20210216.3.1-r0) 23:40:40 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:40:40 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:40:40 Executing busybox-1.33.1-r3.trigger 23:40:40 OK: 224 MiB in 56 packages 23:40:40 Removing intermediate container 946d65f1a352 23:40:40 ---> 3efeedd7d82b 23:40:40 Step 8/11 : WORKDIR /device-rest-go 23:40:40 ---> Running in 94d62d699c43 23:40:41 Removing intermediate container 94d62d699c43 23:40:41 ---> 131ff03e954f 23:40:41 Step 9/11 : COPY . . 23:40:41 ---> 4f675511f7e3 23:40:41 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:41 ---> Running in 929ff007294a 23:40:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-725 in /w/workspace/gexfoundry_device-rest-go_PR-145 [Pipeline] { [Pipeline] ws 23:40:44 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 23:40:44 The recommended git tool is: git 23:40:49 using credential edgex-jenkins-ssh 23:40:49 Cloning the remote Git repository 23:40:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:40:49 > git init /w/workspace/device-rest-go/2 # timeout=10 23:40:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:40:49 > git --version # timeout=10 23:40:49 > git --version # 'git version 2.17.1' 23:40:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:55 Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b 23:40:55 Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b 23:40:55 Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) 23:40:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:40:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:40:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:40:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:55 > git config core.sparsecheckout # timeout=10 23:40:55 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 23:40:55 > git remote # timeout=10 23:40:55 > git config --get remote.origin.url # timeout=10 23:40:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:55 > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 23:40:55 > git rev-parse HEAD^{commit} # timeout=10 23:40:55 > git config core.sparsecheckout # timeout=10 23:40:55 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 23:40:59 Commit message: "feat: Add support for Object ValueType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:41:00 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:00 Dload Upload Total Spent Left Speed 23:41:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83858 0 --:--:-- --:--:-- --:--:-- 83858 [Pipeline] sh 23:41:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:41:01 + sudo tee /etc/docker/daemon.new 23:41:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:41:01 { 23:41:01 "registry-mirrors": [ 23:41:01 "https://nexus3.edgexfoundry.org:10001" 23:41:01 ], 23:41:01 "bip": "10.250.0.254/24", 23:41:01 "hosts": [ 23:41:01 "tcp://0.0.0.0:5555", 23:41:01 "unix:///var/run/docker.sock" 23:41:01 ], 23:41:01 "mtu": 1458, 23:41:01 "selinux-enabled": true, 23:41:01 "seccomp-profile": "/etc/docker/seccomp.json" 23:41:01 } [Pipeline] sh 23:41:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:41:02 + sudo service docker restart 23:41:13 Removing intermediate container 929ff007294a 23:41:13 ---> f8787627dfb2 23:41:13 Step 11/11 : RUN $MAKE 23:41:13 ---> Running in 8ad0cef1cc90 23:41:13 noop 23:41:13 Removing intermediate container 8ad0cef1cc90 23:41:13 ---> 6bd175b31e8f 23:41:13 Successfully built 6bd175b31e8f 23:41:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:41:13 + docker inspect -f . ci-base-image-x86_64 23:41:13 . [Pipeline] withDockerContainer 23:41:13 prd-centos7-docker-4c-2g-726 does not seem to be running inside a container 23:41:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:41:14 $ docker top 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:14 + go version 23:41:14 go version go1.16.8 linux/amd64 [Pipeline] } 23:41:14 $ docker stop --time=1 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de 23:41:15 $ docker rm -f 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:41:16 + docker inspect -f . ci-base-image-x86_64 23:41:16 . [Pipeline] withDockerContainer 23:41:16 prd-centos7-docker-4c-2g-726 does not seem to be running inside a container 23:41:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:41:16 $ docker top 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:41:16 + make test 23:41:16 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:41:17 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:20 provisioning config files... 23:41:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3148390420016401189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:21 ---> docker-login.sh 23:41:21 nexus3.edgexfoundry.org:10001 23:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:22 Configure a credential helper to remove this warning. See 23:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:22 23:41:22 Login Succeeded 23:41:22 nexus3.edgexfoundry.org:10002 23:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:22 Configure a credential helper to remove this warning. See 23:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:22 23:41:22 Login Succeeded 23:41:22 nexus3.edgexfoundry.org:10003 23:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:23 Configure a credential helper to remove this warning. See 23:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:23 23:41:23 Login Succeeded 23:41:23 nexus3.edgexfoundry.org:10004 23:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:23 Configure a credential helper to remove this warning. See 23:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:23 23:41:23 Login Succeeded 23:41:23 docker.io 23:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:24 Configure a credential helper to remove this warning. See 23:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:24 23:41:24 Login Succeeded 23:41:24 ---> docker-login.sh ends [Pipeline] } 23:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:25 ========================================================= 23:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:41:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:25 + 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:41:25 Sending build context to Docker daemon 121.3kB 23:41:25 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:41:25 Step 2/11 : FROM ${BASE} AS builder 23:41:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:25 552d1f2373af: Pulling fs layer 23:41:25 ea3f2d53f512: Pulling fs layer 23:41:25 9e70ebbbe112: Pulling fs layer 23:41:25 7a9cfe048b4a: Pulling fs layer 23:41:25 72dc09318566: Pulling fs layer 23:41:25 f4f7b4309257: Pulling fs layer 23:41:25 0ac9a79272e3: Pulling fs layer 23:41:25 b78e95d17946: Pulling fs layer 23:41:25 f4f7b4309257: Waiting 23:41:25 7a9cfe048b4a: Waiting 23:41:25 72dc09318566: Waiting 23:41:25 9e70ebbbe112: Verifying Checksum 23:41:25 9e70ebbbe112: Download complete 23:41:25 ea3f2d53f512: Download complete 23:41:25 72dc09318566: Verifying Checksum 23:41:25 72dc09318566: Download complete 23:41:25 f4f7b4309257: Verifying Checksum 23:41:25 f4f7b4309257: Download complete 23:41:25 552d1f2373af: Verifying Checksum 23:41:25 552d1f2373af: Download complete 23:41:25 0ac9a79272e3: Download complete 23:41:26 552d1f2373af: Pull complete 23:41:27 ea3f2d53f512: Pull complete 23:41:27 9e70ebbbe112: Pull complete 23:41:27 b78e95d17946: Verifying Checksum 23:41:27 b78e95d17946: Download complete 23:41:28 7a9cfe048b4a: Verifying Checksum 23:41:28 7a9cfe048b4a: Download complete 23:41:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:41:32 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 23:41:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:41:38 7a9cfe048b4a: Pull complete 23:41:38 72dc09318566: Pull complete 23:41:39 f4f7b4309257: Pull complete 23:41:39 0ac9a79272e3: Pull complete 23:41:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:41:40 ./bin/test-attribution-txt.sh [Pipeline] echo 23:41:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:41:41 $ docker stop --time=1 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 23:41:42 $ docker rm -f 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:41:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:44 + ls -al . 23:41:44 total 144 23:41:44 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 15 23:41 . 23:41:44 drwxrwxr-x. 4 jenkins jenkins 28 Nov 15 23:40 .. 23:41:44 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 15 23:40 Attribution.txt 23:41:44 drwxrwxr-x. 2 jenkins jenkins 37 Nov 15 23:40 bin 23:41:44 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 15 23:40 CHANGELOG.md 23:41:44 drwxrwxr-x. 3 jenkins jenkins 32 Nov 15 23:40 cmd 23:41:44 -rw-r--r--. 1 jenkins jenkins 9215 Nov 15 23:41 coverage.out 23:41:44 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 15 23:40 Dockerfile 23:41:44 -rw-rw-r--. 1 jenkins jenkins 151 Nov 15 23:40 .dockerignore 23:41:44 drwxrwxr-x. 2 jenkins jenkins 76 Nov 15 23:40 driver 23:41:44 drwxrwxr-x. 8 jenkins jenkins 179 Nov 15 23:40 .git 23:41:44 drwxrwxr-x. 2 jenkins jenkins 103 Nov 15 23:40 .github 23:41:44 -rw-rw-r--. 1 jenkins jenkins 329 Nov 15 23:40 .gitignore 23:41:44 -rw-rw-r--. 1 jenkins jenkins 271 Nov 15 23:40 go.mod 23:41:44 -rw-rw-r--. 1 jenkins jenkins 49306 Nov 15 23:40 go.sum 23:41:44 -rw-rw-r--. 1 jenkins jenkins 677 Nov 15 23:40 GOVERNANCE.md 23:41:44 -rw-rw-r--. 1 jenkins jenkins 680 Nov 15 23:40 Jenkinsfile 23:41:44 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 15 23:40 LICENSE 23:41:44 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 15 23:40 Makefile 23:41:44 -rw-rw-r--. 1 jenkins jenkins 620 Nov 15 23:40 OWNERS.md 23:41:44 -rw-rw-r--. 1 jenkins jenkins 7661 Nov 15 23:40 README.md 23:41:44 drwxrwxr-x. 4 jenkins jenkins 71 Nov 15 23:40 snap 23:41:44 -rw-rw-r--. 1 jenkins jenkins 5 Nov 15 23:39 VERSION 23:41:44 -rw-rw-r--. 1 jenkins jenkins 713 Nov 15 23:40 version.go [Pipeline] isUnix [Pipeline] sh 23:41:44 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=96e184b927e04097306fc9a54b999550e4976e4b --label arch=amd64 --label version=0.0.0 . 23:41:44 Sending build context to Docker daemon 131.1kB 23:41:44 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:41:44 Step 2/24 : FROM ${BASE} AS builder 23:41:44 ---> 6bd175b31e8f 23:41:44 Step 3/24 : ARG MAKE='make build' 23:41:44 ---> Running in 322e37e51535 23:41:44 Removing intermediate container 322e37e51535 23:41:44 ---> 782d51e94e6c 23:41:44 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:41:44 ---> Running in e615a61b000a 23:41:45 Removing intermediate container e615a61b000a 23:41:45 ---> 1fe1d5c6c869 23:41:45 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:41:45 ---> Running in 0e5ad6a77ce7 23:41:45 Removing intermediate container 0e5ad6a77ce7 23:41:45 ---> 0e10631c7f67 23:41:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:45 ---> Running in 8351eca9d3f1 23:41:45 Removing intermediate container 8351eca9d3f1 23:41:45 ---> 0142ac87df63 23:41:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:45 ---> Running in e8cabb02a33e 23:41:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:41:46 b78e95d17946: Pull complete 23:41:46 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:41:46 ---> 8b459fc5aaf0 23:41:46 Step 3/11 : ARG MAKE='make build' 23:41:46 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:41:46 OK: 224 MiB in 56 packages 23:41:47 ---> Running in 66e52447358b 23:41:47 Removing intermediate container e8cabb02a33e 23:41:47 ---> c3dbd0240438 23:41:47 Step 8/24 : WORKDIR /device-rest-go 23:41:47 ---> Running in 53af964f4f83 23:41:47 Removing intermediate container 53af964f4f83 23:41:47 ---> bb6aa277cea7 23:41:47 Step 9/24 : COPY . . 23:41:47 ---> c85efacb85f6 23:41:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:47 ---> Running in 75858b98d56e 23:41:47 Removing intermediate container 66e52447358b 23:41:47 ---> 045ccfd311e1 23:41:47 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:41:47 ---> Running in 94478e8bcc0f 23:41:48 Removing intermediate container 75858b98d56e 23:41:48 ---> 4ef2f5b22215 23:41:48 Step 11/24 : RUN $MAKE 23:41:48 ---> Running in 51dfe89eb4b3 23:41:48 Removing intermediate container 94478e8bcc0f 23:41:48 ---> eb3e6875c9f8 23:41:48 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:41:48 ---> Running in 1c9c92600e07 23:41:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:41:48 Removing intermediate container 1c9c92600e07 23:41:48 ---> e69b0de0c46c 23:41:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:48 ---> Running in fadf346a5613 23:41:50 Removing intermediate container fadf346a5613 23:41:50 ---> 1e97f999da86 23:41:50 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:50 ---> Running in 317a79bfe26b 23:41:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:41:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:41:53 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:41:53 (2/4) Installing libedit (20210216.3.1-r0) 23:41:53 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:41:54 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:41:54 Executing busybox-1.33.1-r3.trigger 23:41:54 OK: 223 MiB in 56 packages 23:41:55 Removing intermediate container 317a79bfe26b 23:41:55 ---> ccbafc55021a 23:41:55 Step 8/11 : WORKDIR /device-rest-go 23:41:55 ---> Running in 0d81bb551398 23:41:55 Removing intermediate container 0d81bb551398 23:41:55 ---> 4c8bc067d863 23:41:55 Step 9/11 : COPY . . 23:41:56 ---> 105cc8d1f273 23:41:56 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:56 ---> Running in 884fb50159e6 23:42:00 Removing intermediate container 51dfe89eb4b3 23:42:00 ---> 9750c568bb1a 23:42:00 Step 12/24 : FROM alpine:3.14 23:42:00 3.14: Pulling from library/alpine 23:42:00 97518928ae5f: Pulling fs layer 23:42:00 97518928ae5f: Verifying Checksum 23:42:00 97518928ae5f: Download complete 23:42:00 97518928ae5f: Pull complete 23:42:00 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:42:00 Status: Downloaded newer image for alpine:3.14 23:42:00 ---> 0a97eee8041e 23:42:00 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:42:00 ---> Running in 32a28838cf98 23:42:00 Removing intermediate container 32a28838cf98 23:42:00 ---> 9d70dc1a912e 23:42:00 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 23:42:00 ---> Running in 08e3aaacec1c 23:42:00 Removing intermediate container 08e3aaacec1c 23:42:00 ---> 284c91f77130 23:42:00 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:42:00 ---> Running in 67e407a76742 23:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:42:01 (1/6) Installing dumb-init (1.2.5-r1) 23:42:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:42:01 (3/6) Installing libsodium (1.0.18-r0) 23:42:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:42:01 (5/6) Installing libzmq (4.3.4-r0) 23:42:01 (6/6) Installing zeromq (4.3.4-r0) 23:42:01 Executing busybox-1.33.1-r6.trigger 23:42:01 OK: 8 MiB in 20 packages 23:42:01 Removing intermediate container 67e407a76742 23:42:01 ---> c705ce9d0727 23:42:01 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 23:42:02 ---> 11523212fc25 23:42:02 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 23:42:02 ---> 254cbea7cfbb 23:42:02 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 23:42:02 ---> e6bca4a6e896 23:42:02 Step 19/24 : EXPOSE 59986 23:42:02 ---> Running in c59d68ab5364 23:42:02 Removing intermediate container c59d68ab5364 23:42:02 ---> f36f59cd9b04 23:42:02 Step 20/24 : ENTRYPOINT ["/device-rest"] 23:42:02 ---> Running in 9a1c3d25dc8e 23:42:02 Removing intermediate container 9a1c3d25dc8e 23:42:02 ---> 28f619e148e2 23:42:02 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:42:02 ---> Running in f0ea2e25f30e 23:42:02 Removing intermediate container f0ea2e25f30e 23:42:02 ---> 787e74501ff3 23:42:02 Step 22/24 : LABEL arch=amd64 23:42:02 ---> Running in e475ff668de5 23:42:02 Removing intermediate container e475ff668de5 23:42:02 ---> ce557c4a4a89 23:42:02 Step 23/24 : LABEL git_sha=96e184b927e04097306fc9a54b999550e4976e4b 23:42:02 ---> Running in c15d804d5406 23:42:03 Removing intermediate container c15d804d5406 23:42:03 ---> 54b88e333692 23:42:03 Step 24/24 : LABEL version=0.0.0 23:42:03 ---> Running in b85a661d8484 23:42:03 Removing intermediate container b85a661d8484 23:42:03 ---> f3582438a1bd 23:42:03 [Warning] One or more build-args [ARCH] were not consumed 23:42:03 Successfully built f3582438a1bd 23:42:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:03 23:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:04 latest: Pulling from edgex-lftools-log-publisher 23:42:04 b4d181a07f80: Pulling fs layer 23:42:04 a1111a8f2ec3: Pulling fs layer 23:42:04 ed53099fbce6: Pulling fs layer 23:42:04 dc539afda2c1: Pulling fs layer 23:42:04 77bc0d833cb6: Pulling fs layer 23:42:04 9065ff56babe: Pulling fs layer 23:42:04 d287ab97295c: Pulling fs layer 23:42:04 dc539afda2c1: Waiting 23:42:04 77bc0d833cb6: Waiting 23:42:04 9065ff56babe: Waiting 23:42:04 d287ab97295c: Waiting 23:42:04 a1111a8f2ec3: Verifying Checksum 23:42:04 a1111a8f2ec3: Download complete 23:42:04 dc539afda2c1: Verifying Checksum 23:42:04 dc539afda2c1: Download complete 23:42:04 ed53099fbce6: Verifying Checksum 23:42:04 ed53099fbce6: Download complete 23:42:04 9065ff56babe: Verifying Checksum 23:42:04 9065ff56babe: Download complete 23:42:04 77bc0d833cb6: Verifying Checksum 23:42:04 77bc0d833cb6: Download complete 23:42:04 b4d181a07f80: Verifying Checksum 23:42:04 b4d181a07f80: Download complete 23:42:04 d287ab97295c: Verifying Checksum 23:42:04 d287ab97295c: Download complete 23:42:05 b4d181a07f80: Pull complete 23:42:05 a1111a8f2ec3: Pull complete 23:42:06 ed53099fbce6: Pull complete 23:42:06 dc539afda2c1: Pull complete 23:42:06 77bc0d833cb6: Pull complete 23:42:06 9065ff56babe: Pull complete 23:42:11 d287ab97295c: Pull complete 23:42:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:42:12 prd-centos7-docker-4c-2g-726 does not seem to be running inside a container 23:42:12 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:42:14 $ docker top e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:14 ---> job-cost.sh 23:42:14 lf-activate-venv: SKIPPING 23:42:14 INFO: No Stack... 23:42:15 INFO: Retrieving Pricing Info for: v3-standard-2 23:42:15 INFO: Archiving Costs [Pipeline] sh 23:42:15 + cat /w/workspace/device-rest-go/2/archives/cost.csv 23:42:15 + cut -d, -f6 [Pipeline] lock 23:42:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] 23:42:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] did not exist. Created. 23:42:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:16 + echo total: 0.05999999865889549 [Pipeline] stash 23:42:16 Stashed 1 file(s) [Pipeline] } 23:42:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:16 $ docker stop --time=1 e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a 23:42:17 $ docker rm -f e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:43:18 Removing intermediate container 884fb50159e6 23:43:18 ---> d6730e84e6b9 23:43:18 Step 11/11 : RUN $MAKE 23:43:18 ---> Running in 3e939764eefc 23:43:18 noop 23:43:18 Removing intermediate container 3e939764eefc 23:43:18 ---> 2bb8dc0ed5e3 23:43:18 Successfully built 2bb8dc0ed5e3 23:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:43:18 + docker inspect -f . ci-base-image-arm64 23:43:18 . [Pipeline] withDockerContainer 23:43:19 prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:20 $ docker top a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:21 + go version 23:43:21 go version go1.16.8 linux/arm64 [Pipeline] } 23:43:21 $ docker stop --time=1 a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 23:43:23 $ docker rm -f a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:43:24 + docker inspect -f . ci-base-image-arm64 23:43:24 . [Pipeline] withDockerContainer 23:43:24 prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:26 $ docker top 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:43:27 + make test 23:43:27 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:43:28 ? github.com/edgexfoundry/device-rest-go [no test files] 23:44:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:44:25 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.0% of statements 23:44:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:44:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:44:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:44:58 $ docker stop --time=1 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 23:44:59 $ docker rm -f 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:00 Warning: overwriting stash ‘coverage-report’ 23:45:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:02 + ls -al . 23:45:02 total 172 23:45:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:44 . 23:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 23:40 .. 23:45:02 -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 23:40 .dockerignore 23:45:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:40 .git 23:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 .github 23:45:02 -rw-rw-r-- 1 jenkins jenkins 329 Nov 15 23:40 .gitignore 23:45:02 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 15 23:40 Attribution.txt 23:45:02 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 15 23:40 CHANGELOG.md 23:45:02 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 15 23:40 Dockerfile 23:45:02 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 23:40 GOVERNANCE.md 23:45:02 -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 23:40 Jenkinsfile 23:45:02 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 23:40 LICENSE 23:45:02 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 15 23:40 Makefile 23:45:02 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 23:40 OWNERS.md 23:45:02 -rw-rw-r-- 1 jenkins jenkins 7661 Nov 15 23:40 README.md 23:45:02 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 23:39 VERSION 23:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 bin 23:45:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 23:40 cmd 23:45:02 -rw-r--r-- 1 jenkins jenkins 9215 Nov 15 23:44 coverage.out 23:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 driver 23:45:02 -rw-rw-r-- 1 jenkins jenkins 271 Nov 15 23:40 go.mod 23:45:02 -rw-rw-r-- 1 jenkins jenkins 49306 Nov 15 23:40 go.sum 23:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 23:40 snap 23:45:02 -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 23:40 version.go [Pipeline] isUnix [Pipeline] sh 23:45:02 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=96e184b927e04097306fc9a54b999550e4976e4b --label arch=arm64 --label version=0.0.0 . 23:45:02 Sending build context to Docker daemon 131.1kB 23:45:03 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:45:03 Step 2/24 : FROM ${BASE} AS builder 23:45:03 ---> 2bb8dc0ed5e3 23:45:03 Step 3/24 : ARG MAKE='make build' 23:45:03 ---> Running in 437db86ed8c0 23:45:03 Removing intermediate container 437db86ed8c0 23:45:03 ---> 8d8caadf052a 23:45:03 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:45:03 ---> Running in a8fd7f1b85f0 23:45:04 Removing intermediate container a8fd7f1b85f0 23:45:04 ---> b4c8b0fc809a 23:45:04 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:45:04 ---> Running in 8a0a66c9cb59 23:45:04 Removing intermediate container 8a0a66c9cb59 23:45:04 ---> 5adf4c0f5ae0 23:45:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:45:04 ---> Running in 9e42c7468247 23:45:06 Removing intermediate container 9e42c7468247 23:45:06 ---> 5ea0dc890542 23:45:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:06 ---> Running in 3e63298b6949 23:45:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:45:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:45:09 OK: 223 MiB in 56 packages 23:45:10 Removing intermediate container 3e63298b6949 23:45:10 ---> 75c985872a7f 23:45:10 Step 8/24 : WORKDIR /device-rest-go 23:45:10 ---> Running in 33fae32963a0 23:45:11 Removing intermediate container 33fae32963a0 23:45:11 ---> 42b0294bfd49 23:45:11 Step 9/24 : COPY . . 23:45:12 ---> 1876c72717c2 23:45:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:12 ---> Running in f09d95c75ac0 23:45:15 Removing intermediate container f09d95c75ac0 23:45:15 ---> 366fde8f087e 23:45:15 Step 11/24 : RUN $MAKE 23:45:15 ---> Running in 9967e53d4837 23:45:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:45:55 Removing intermediate container 9967e53d4837 23:45:55 ---> 59e2d959c058 23:45:55 Step 12/24 : FROM alpine:3.14 23:45:59 3.14: Pulling from library/alpine 23:45:59 be307f383ecc: Pulling fs layer 23:45:59 be307f383ecc: Verifying Checksum 23:45:59 be307f383ecc: Download complete 23:45:59 be307f383ecc: Pull complete 23:45:59 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:45:59 Status: Downloaded newer image for alpine:3.14 23:45:59 ---> 5b8b7b635229 23:45:59 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:45:59 ---> Running in d0623a4fe713 23:46:00 Removing intermediate container d0623a4fe713 23:46:00 ---> c0f4031eaa0c 23:46:00 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 23:46:00 ---> Running in f56e770a6d58 23:46:00 Removing intermediate container f56e770a6d58 23:46:00 ---> c5a991e6c6a8 23:46:00 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:46:01 ---> Running in 26cc88796dfe 23:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:46:03 (1/6) Installing dumb-init (1.2.5-r1) 23:46:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:46:03 (3/6) Installing libsodium (1.0.18-r0) 23:46:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:46:03 (5/6) Installing libzmq (4.3.4-r0) 23:46:03 (6/6) Installing zeromq (4.3.4-r0) 23:46:03 Executing busybox-1.33.1-r6.trigger 23:46:03 OK: 8 MiB in 20 packages 23:46:04 Removing intermediate container 26cc88796dfe 23:46:04 ---> 6369c384dffa 23:46:04 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 23:46:05 ---> 44649ce478da 23:46:05 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 23:46:06 ---> c1e52e027c78 23:46:06 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 23:46:07 ---> a5d8fd81ca20 23:46:07 Step 19/24 : EXPOSE 59986 23:46:07 ---> Running in 71dd511206ef 23:46:07 Removing intermediate container 71dd511206ef 23:46:07 ---> fbacd18eb284 23:46:07 Step 20/24 : ENTRYPOINT ["/device-rest"] 23:46:08 ---> Running in 9532a3e1e2f9 23:46:08 Removing intermediate container 9532a3e1e2f9 23:46:08 ---> 8b0e90bc21f2 23:46:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:46:08 ---> Running in fe3b6f228368 23:46:08 Removing intermediate container fe3b6f228368 23:46:08 ---> e2f83e8d3191 23:46:08 Step 22/24 : LABEL arch=arm64 23:46:08 ---> Running in 3d4a2f8d5e52 23:46:09 Removing intermediate container 3d4a2f8d5e52 23:46:09 ---> 85e3f06e452c 23:46:09 Step 23/24 : LABEL git_sha=96e184b927e04097306fc9a54b999550e4976e4b 23:46:09 ---> Running in 0cbfd608ea81 23:46:10 Removing intermediate container 0cbfd608ea81 23:46:10 ---> 5c6759224662 23:46:10 Step 24/24 : LABEL version=0.0.0 23:46:10 ---> Running in 3cb787613ac5 23:46:10 Removing intermediate container 3cb787613ac5 23:46:10 ---> eeb0315fcf86 23:46:10 [Warning] One or more build-args [ARCH] were not consumed 23:46:10 Successfully built eeb0315fcf86 23:46:10 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:46:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:11 23:46:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:46:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:11 arm64: Pulling from edgex-lftools-log-publisher 23:46:11 448f6bf000e3: Pulling fs layer 23:46:11 f757da607395: Pulling fs layer 23:46:11 05883995daec: Pulling fs layer 23:46:11 8603b9c90790: Pulling fs layer 23:46:11 1560dd03e051: Pulling fs layer 23:46:11 27f5ce0e4adf: Pulling fs layer 23:46:11 c2d8d7efcc4b: Pulling fs layer 23:46:11 8603b9c90790: Waiting 23:46:11 1560dd03e051: Waiting 23:46:11 27f5ce0e4adf: Waiting 23:46:11 c2d8d7efcc4b: Waiting 23:46:11 f757da607395: Verifying Checksum 23:46:11 f757da607395: Download complete 23:46:11 8603b9c90790: Verifying Checksum 23:46:11 8603b9c90790: Download complete 23:46:12 1560dd03e051: Verifying Checksum 23:46:12 1560dd03e051: Download complete 23:46:12 27f5ce0e4adf: Verifying Checksum 23:46:12 27f5ce0e4adf: Download complete 23:46:12 05883995daec: Verifying Checksum 23:46:12 05883995daec: Download complete 23:46:12 448f6bf000e3: Verifying Checksum 23:46:12 448f6bf000e3: Download complete 23:46:15 c2d8d7efcc4b: Verifying Checksum 23:46:15 c2d8d7efcc4b: Download complete 23:46:15 448f6bf000e3: Pull complete 23:46:16 f757da607395: Pull complete 23:46:18 05883995daec: Pull complete 23:46:18 8603b9c90790: Pull complete 23:46:19 1560dd03e051: Pull complete 23:46:19 27f5ce0e4adf: Pull complete 23:46:34 c2d8d7efcc4b: Pull complete 23:46:34 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:46:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:46:34 prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:46:34 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:46:38 $ docker top 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:39 ---> job-cost.sh 23:46:39 lf-activate-venv: SKIPPING 23:46:39 INFO: No Stack... 23:46:39 INFO: Retrieving Pricing Info for: v3-standard-4 23:46:40 INFO: Archiving Costs [Pipeline] sh 23:46:40 + cat /w/workspace/device-rest-go/2/archives/cost.csv 23:46:40 + cut -d, -f6 [Pipeline] lock 23:46:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] 23:46:40 Resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] did not exist. Created. 23:46:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:46:41 /w/workspace/device-rest-go/2@tmp/durable-e05a2091/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-e05a2091/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:46:42 + echo total: 0.10999999940395355 [Pipeline] stash 23:46:42 Warning: overwriting stash ‘stack-cost’ 23:46:42 Stashed 1 file(s) [Pipeline] } 23:46:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:46:42 $ docker stop --time=1 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d 23:46:44 $ docker rm -f 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:46:44 provisioning config files... 23:46:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config3989942722664703821tmp [Pipeline] { [Pipeline] sh 23:46:45 + set +x 23:46:45 + curl -s https://codecov.io/bash 23:46:45 + bash -s -- 23:46:45 23:46:45 _____ _ 23:46:45 / ____| | | 23:46:45 | | ___ __| | ___ ___ _____ __ 23:46:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:46:45 | |___| (_) | (_| | __/ (_| (_) \ V / 23:46:45 \_____\___/ \__,_|\___|\___\___/ \_/ 23:46:45 Bash-1.0.6 23:46:45 23:46:45 23:46:45 ==> git version 2.24.4 found 23:46:45 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 23:46:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:46:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:46:45 ==> Jenkins CI detected. 23:46:45 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-145 23:46:45 project root: . 23:46:45 --> token set from env 23:46:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:46:45 ==> Running gcov in . (disable via -X gcov) 23:46:45 ==> Python coveragepy not found 23:46:45 ==> Searching for coverage reports in: 23:46:45 + . 23:46:45 -> Found 1 reports 23:46:45 ==> Detecting git/mercurial file structure 23:46:45 ==> Reading reports 23:46:45 + ./coverage.out bytes=9215 23:46:45 ==> Appending adjustments 23:46:45 https://docs.codecov.io/docs/fixing-reports 23:46:45 + Found adjustments 23:46:45 ==> Gzipping contents 23:46:45 4.0K /tmp/codecov.9EXxRn.gz 23:46:45 ==> Uploading reports 23:46:45 url: https://codecov.io 23:46:45 query: branch=PR-145&commit=96e184b927e04097306fc9a54b999550e4976e4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-145%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=145&job=&cmd_args= 23:46:45 -> Pinging Codecov 23:46:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-145&commit=96e184b927e04097306fc9a54b999550e4976e4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-145%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=145&job=&cmd_args= 23:46:45 -> Uploading to 23:46:45 https://storage.googleapis.com/codecov/v4/raw/2021-11-15/4E5D53B4F1F92C436F7061BF334D961C/96e184b927e04097306fc9a54b999550e4976e4b/2df755fb-fa53-425c-a3c6-3900ffc6de32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211115T234645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f407f7f8a2c1c49361ae1708c20c15443e0a0bd023a8de153b773d66aa13a079 23:46:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:45 Dload Upload Total Spent Left Speed 23:46:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1821 0 0 100 1821 0 6822 --:--:-- --:--:-- --:--:-- 6845 23:46:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] } 23:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:46:47 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-145/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:46:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:46:48 ---> package-listing.sh 23:46:48 ++ facter osfamily 23:46:48 ++ tr '[:upper:]' '[:lower:]' 23:46:48 + OS_FAMILY=redhat 23:46:48 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-145 23:46:48 + START_PACKAGES=/tmp/packages_start.txt 23:46:48 + END_PACKAGES=/tmp/packages_end.txt 23:46:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:46:48 + PACKAGES=/tmp/packages_start.txt 23:46:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-145 ']' 23:46:48 + PACKAGES=/tmp/packages_end.txt 23:46:48 + case "${OS_FAMILY}" in 23:46:48 + sort 23:46:48 + rpm -qa 23:46:48 + '[' -f /tmp/packages_start.txt ']' 23:46:48 + '[' -f /tmp/packages_end.txt ']' 23:46:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:46:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-145 ']' 23:46:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-145/archives/ 23:46:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-145/archives/ [Pipeline] echo 23:46:48 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:46:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:46:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:49 23:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:46:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:50 latest: Pulling from edgex-lftools-log-publisher 23:46:50 b4d181a07f80: Pulling fs layer 23:46:50 a1111a8f2ec3: Pulling fs layer 23:46:50 ed53099fbce6: Pulling fs layer 23:46:50 dc539afda2c1: Pulling fs layer 23:46:50 77bc0d833cb6: Pulling fs layer 23:46:50 9065ff56babe: Pulling fs layer 23:46:50 d287ab97295c: Pulling fs layer 23:46:50 dc539afda2c1: Waiting 23:46:50 77bc0d833cb6: Waiting 23:46:50 9065ff56babe: Waiting 23:46:50 d287ab97295c: Waiting 23:46:50 a1111a8f2ec3: Verifying Checksum 23:46:50 a1111a8f2ec3: Download complete 23:46:50 dc539afda2c1: Verifying Checksum 23:46:50 dc539afda2c1: Download complete 23:46:50 ed53099fbce6: Verifying Checksum 23:46:50 ed53099fbce6: Download complete 23:46:50 9065ff56babe: Verifying Checksum 23:46:50 9065ff56babe: Download complete 23:46:50 77bc0d833cb6: Verifying Checksum 23:46:50 77bc0d833cb6: Download complete 23:46:50 b4d181a07f80: Verifying Checksum 23:46:50 b4d181a07f80: Download complete 23:46:50 d287ab97295c: Verifying Checksum 23:46:50 d287ab97295c: Download complete 23:46:51 b4d181a07f80: Pull complete 23:46:51 a1111a8f2ec3: Pull complete 23:46:52 ed53099fbce6: Pull complete 23:46:52 dc539afda2c1: Pull complete 23:46:52 77bc0d833cb6: Pull complete 23:46:52 9065ff56babe: Pull complete 23:46:57 d287ab97295c: Pull complete 23:46:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:46:57 prd-centos7-docker-4c-2g-723 does not seem to be running inside a container 23:46:58 $ 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-145/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-145 -v /w/workspace/gexfoundry_device-rest-go_PR-145:/w/workspace/gexfoundry_device-rest-go_PR-145:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-145@tmp:/w/workspace/gexfoundry_device-rest-go_PR-145@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:47:01 $ docker top 7d8e6ce78b1637483480e67ddb4f4645dedf5fadec1df914a958f886a2f26589 -eo pid,comm [Pipeline] { [Pipeline] sh 23:47:01 + touch /tmp/pre-build-complete [Pipeline] sh 23:47:01 + mkdir -p /var/log/sysstat [Pipeline] sh 23:47:02 + ls /var/log/sa-host 23:47:02 + sadf -c /var/log/sa-host/sa15 23:47:02 file_magic: OK 23:47:02 HZ: Using current value: 100 23:47:02 file_header: OK 23:47:02 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:47:02 Statistics: 23:47:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:47:02 File successfully converted to sysstat format version 12.0.3 23:47:02 + sadf -c /var/log/sa-host/sa30 23:47:02 file_magic: OK 23:47:02 HZ: Using current value: 100 23:47:02 file_header: OK 23:47:02 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:47:02 Statistics: 23:47:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:47:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:02 provisioning config files... 23:47:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config2256701743853173711tmp [Pipeline] { [Pipeline] echo 23:47:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:47:02 ---> create-netrc.sh [Pipeline] } 23:47:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:47:02 ---> python-tools-install.sh [Pipeline] echo 23:47:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:47:03 ---> sudo-logs.sh 23:47:03 Archiving 'sudo' log.. 23:47:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-723.novalocal: Name or service not known 23:47:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-723.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:47:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:47:03 ---> job-cost.sh 23:47:03 lf-activate-venv: SKIPPING 23:47:03 DEBUG: total: 0.10999999940395355 23:47:03 INFO: Retrieving Stack Cost... 23:47:04 INFO: Retrieving Pricing Info for: v3-standard-2 23:47:04 INFO: Archiving Costs [Pipeline] echo 23:47:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:47:05 ---> logs-deploy.sh 23:47:05 lf-activate-venv: SKIPPING 23:47:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-145/2 23:47:05 INFO: archiving workspace using pattern(s): 23:47:05 Archives upload complete. 23:47:05 INFO: archiving logs to Nexus