Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa2594666deb171bc078c2a791882f5db0311ade 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-ssh15209242329661626254.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2955484918704643948.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5512424650852504903.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh10855793601820435084.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2749629550047396410.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1430 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision fa2594666deb171bc078c2a791882f5db0311ade (main) Commit message: "Merge pull request #213 from lenny-intel/nats-builds" > 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 core.sparsecheckout # timeout=10 > git checkout -f fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 > git rev-list --no-walk 4a40192a1b6bb0369d057e4fca0f08fde1edf441 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:20:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:20:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:20:49 ========================================================= 21:20:49 EdgeX Global Pipelines Version Info 21:20:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:20:50 ------------------- 21:20:50 stable info: 21:20:50 ------------------- 21:20:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:20:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:20:50 Message: update stable to v1.0.239 21:20:50 ------------------- 21:20:50 experimental info: 21:20:50 ------------------- 21:20:50 Commited By: **** collab-it+edgex@linuxfoundation.org 21:20:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:20:50 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa25946 [Pipeline] echo 21:20:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:51 provisioning config files... 21:20:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11725342017113178400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> docker-login.sh 21:20:51 nexus3.edgexfoundry.org:10001 21:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:52 Configure a credential helper to remove this warning. See 21:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:52 21:20:52 Login Succeeded 21:20:52 nexus3.edgexfoundry.org:10002 21:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:52 Configure a credential helper to remove this warning. See 21:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:52 21:20:52 Login Succeeded 21:20:52 nexus3.edgexfoundry.org:10003 21:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:52 Configure a credential helper to remove this warning. See 21:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:52 21:20:52 Login Succeeded 21:20:52 nexus3.edgexfoundry.org:10004 21:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:52 Configure a credential helper to remove this warning. See 21:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:52 21:20:52 Login Succeeded 21:20:52 docker.io 21:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:52 Configure a credential helper to remove this warning. See 21:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:52 21:20:52 Login Succeeded 21:20:52 ---> docker-login.sh ends [Pipeline] } 21:20:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:20:53 + git rev-list -1 --merges fa2594666deb171bc078c2a791882f5db0311ade~1..fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] echo 21:20:53 -----------> git rev-list -1 --merges fa2594666deb171bc078c2a791882f5db0311ade~1..fa2594666deb171bc078c2a791882f5db0311ade fa2594666deb171bc078c2a791882f5db0311ade 21:20:53 fa2594666deb171bc078c2a791882f5db0311ade [false] [Pipeline] sh 21:20:53 + git log --format=format:%s -1 fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] echo 21:20:53 ========================================================= 21:20:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:20:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:53 + git log --format=format:%s -1 fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] echo 21:20:53 [semverPrep] GIT_COMMIT: fa2594666deb171bc078c2a791882f5db0311ade, Commit Message: Merge pull request #213 from lenny-intel/nats-builds [Pipeline] echo 21:20:53 [semverPrep] This is not a build commit. [Pipeline] sh 21:20:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:20:54 + grep -v github /etc/ssh/ssh_known_hosts 21:20:54 + [ -e /tmp/ssh_known_hosts ] 21:20:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:20:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:20:54 + sudo tee -a /etc/ssh/ssh_known_hosts 21:20:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:54 21:20:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:54 0.1.4: Pulling from edgex-devops/py-git-semver 21:20:54 b85a868b505f: Pulling fs layer 21:20:54 e2be974225ed: Pulling fs layer 21:20:54 339a4e72a1f5: Pulling fs layer 21:20:54 988bab9f4d93: Pulling fs layer 21:20:54 1469e6f7b9e6: Pulling fs layer 21:20:54 eaf3925da568: Pulling fs layer 21:20:54 bab4dde63d76: Pulling fs layer 21:20:54 bde34c3a00c8: Pulling fs layer 21:20:54 b352a97aabf1: Pulling fs layer 21:20:54 4872d77fe225: Pulling fs layer 21:20:54 5851b861e8e6: Pulling fs layer 21:20:54 bde34c3a00c8: Waiting 21:20:54 988bab9f4d93: Waiting 21:20:54 b352a97aabf1: Waiting 21:20:54 1469e6f7b9e6: Waiting 21:20:54 eaf3925da568: Waiting 21:20:54 4872d77fe225: Waiting 21:20:54 bab4dde63d76: Waiting 21:20:54 e2be974225ed: Verifying Checksum 21:20:54 e2be974225ed: Download complete 21:20:54 988bab9f4d93: Verifying Checksum 21:20:54 988bab9f4d93: Download complete 21:20:55 1469e6f7b9e6: Verifying Checksum 21:20:55 1469e6f7b9e6: Download complete 21:20:55 eaf3925da568: Verifying Checksum 21:20:55 eaf3925da568: Download complete 21:20:55 339a4e72a1f5: Verifying Checksum 21:20:55 339a4e72a1f5: Download complete 21:20:55 bde34c3a00c8: Download complete 21:20:55 b352a97aabf1: Verifying Checksum 21:20:55 b352a97aabf1: Download complete 21:20:55 4872d77fe225: Verifying Checksum 21:20:55 4872d77fe225: Download complete 21:20:55 5851b861e8e6: Verifying Checksum 21:20:55 5851b861e8e6: Download complete 21:20:55 b85a868b505f: Verifying Checksum 21:20:55 b85a868b505f: Download complete 21:20:55 bab4dde63d76: Verifying Checksum 21:20:55 bab4dde63d76: Download complete 21:20:56 b85a868b505f: Pull complete 21:20:56 e2be974225ed: Pull complete 21:20:56 339a4e72a1f5: Pull complete 21:20:56 988bab9f4d93: Pull complete 21:20:57 1469e6f7b9e6: Pull complete 21:20:57 eaf3925da568: Pull complete 21:20:59 bab4dde63d76: Pull complete 21:20:59 bde34c3a00c8: Pull complete 21:20:59 b352a97aabf1: Pull complete 21:20:59 4872d77fe225: Pull complete 21:20:59 5851b861e8e6: Pull complete 21:20:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:59 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:20:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:21:00 $ docker top e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 -eo pid,comm 21:21:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:21:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:21:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:00 [ssh-agent] Looking for ssh-agent implementation... 21:21:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:00 $ docker exec e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 ssh-agent 21:21:00 SSH_AUTH_SOCK=/tmp/ssh-O00MRb19sFuD/agent.32 21:21:00 SSH_AGENT_PID=38 21:21:00 Running ssh-add (command line suppressed) 21:21:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13504827479814042825.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13504827479814042825.key) 21:21:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:01 + git tag --points-at HEAD [Pipeline] } 21:21:01 $ docker exec --env ******** --env ******** e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 ssh-agent -k 21:21:01 unset SSH_AUTH_SOCK; 21:21:01 unset SSH_AGENT_PID; 21:21:01 echo Agent pid 38 killed; 21:21:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:21:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:01 [ssh-agent] Looking for ssh-agent implementation... 21:21:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:01 $ docker exec e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 ssh-agent 21:21:01 SSH_AUTH_SOCK=/tmp/ssh-K3NQIzzbGxY9/agent.71 21:21:01 SSH_AGENT_PID=77 21:21:01 Running ssh-add (command line suppressed) 21:21:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18094674899453072865.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18094674899453072865.key) 21:21:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:01 + git semver init 21:21:02 2022-09-27 21:21:02,118 [run_init] DEBUG init version:0.0.0 force:False 21:21:02 2022-09-27 21:21:02,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:02 2022-09-27 21:21:02,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:02 2022-09-27 21:21:02,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:21:03 2022-09-27 21:21:03,151 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:21:03 2022-09-27 21:21:03,152 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:21:03 2022-09-27 21:21:03,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:03 2022-09-27 21:21:03,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:03 2.3.0-dev.16 [Pipeline] } 21:21:03 $ docker exec --env ******** --env ******** e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 ssh-agent -k 21:21:03 unset SSH_AUTH_SOCK; 21:21:03 unset SSH_AGENT_PID; 21:21:03 echo Agent pid 77 killed; 21:21:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:21:03 + git semver [Pipeline] } 21:21:04 $ docker stop --time=1 e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 21:21:05 $ docker rm -f e1c7451931a85d268fc18d7ae464a08d34cd0563111901a94e00d330eb5b7bb6 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:21:05 Stashed 1 file(s) [Pipeline] echo 21:21:05 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:06 provisioning config files... 21:21:06 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14797714560444119259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:06 ---> docker-login.sh 21:21:06 nexus3.edgexfoundry.org:10001 21:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:06 Configure a credential helper to remove this warning. See 21:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:06 21:21:06 Login Succeeded 21:21:06 nexus3.edgexfoundry.org:10002 21:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:06 Configure a credential helper to remove this warning. See 21:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:06 21:21:06 Login Succeeded 21:21:06 nexus3.edgexfoundry.org:10003 21:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:06 Configure a credential helper to remove this warning. See 21:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:06 21:21:06 Login Succeeded 21:21:06 nexus3.edgexfoundry.org:10004 21:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:06 Configure a credential helper to remove this warning. See 21:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:06 21:21:06 Login Succeeded 21:21:06 docker.io 21:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:07 Configure a credential helper to remove this warning. See 21:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:07 21:21:07 Login Succeeded 21:21:07 ---> docker-login.sh ends [Pipeline] } 21:21:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:07 ========================================================= 21:21:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:21:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:21:07 Sending build context to Docker daemon 10.72MB 21:21:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:21:07 Step 2/13 : FROM ${BASE} AS builder 21:21:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:21:07 2408cc74d12b: Pulling fs layer 21:21:07 ea60b727a1ce: Pulling fs layer 21:21:07 30c4a7721957: Pulling fs layer 21:21:07 370296b7ddb6: Pulling fs layer 21:21:07 7c6cee850709: Pulling fs layer 21:21:07 39a5fcdaea64: Pulling fs layer 21:21:07 d94ebbe4e438: Pulling fs layer 21:21:07 bcfd1f05c69d: Pulling fs layer 21:21:07 59ccb84bbe0f: Pulling fs layer 21:21:07 370296b7ddb6: Waiting 21:21:07 39a5fcdaea64: Waiting 21:21:07 bcfd1f05c69d: Waiting 21:21:07 d94ebbe4e438: Waiting 21:21:07 59ccb84bbe0f: Waiting 21:21:07 30c4a7721957: Verifying Checksum 21:21:07 30c4a7721957: Download complete 21:21:07 ea60b727a1ce: Verifying Checksum 21:21:07 ea60b727a1ce: Download complete 21:21:07 7c6cee850709: Verifying Checksum 21:21:07 7c6cee850709: Download complete 21:21:07 39a5fcdaea64: Verifying Checksum 21:21:07 39a5fcdaea64: Download complete 21:21:07 2408cc74d12b: Verifying Checksum 21:21:07 d94ebbe4e438: Download complete 21:21:07 2408cc74d12b: Pull complete 21:21:08 ea60b727a1ce: Pull complete 21:21:08 30c4a7721957: Pull complete 21:21:08 bcfd1f05c69d: Verifying Checksum 21:21:08 bcfd1f05c69d: Download complete 21:21:08 59ccb84bbe0f: Verifying Checksum 21:21:08 59ccb84bbe0f: Download complete 21:21:08 370296b7ddb6: Verifying Checksum 21:21:08 370296b7ddb6: Download complete 21:21:11 370296b7ddb6: Pull complete 21:21:12 7c6cee850709: Pull complete 21:21:12 39a5fcdaea64: Pull complete 21:21:12 d94ebbe4e438: Pull complete 21:21:14 bcfd1f05c69d: Pull complete 21:21:14 59ccb84bbe0f: Pull complete 21:21:14 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:21:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:21:14 ---> a4fb48ad2a94 21:21:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:21:16 ---> Running in dc71b83d1401 21:21:16 Removing intermediate container dc71b83d1401 21:21:16 ---> 711caea1a3d0 21:21:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:16 ---> Running in eefae04116fe 21:21:16 Removing intermediate container eefae04116fe 21:21:16 ---> dd97e75b3103 21:21:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:21:16 ---> Running in adb2682bf074 21:21:16 Removing intermediate container adb2682bf074 21:21:16 ---> 83c41dbb2598 21:21:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:21:16 ---> Running in 6a295e33e246 21:21:16 Removing intermediate container 6a295e33e246 21:21:16 ---> 4f8d78db4443 21:21:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:16 ---> Running in ff09bf350ff1 21:21:17 Removing intermediate container ff09bf350ff1 21:21:17 ---> db1716b675db 21:21:17 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:17 ---> Running in 59c8bcfc6f8a 21:21:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:21:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:21:18 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:21:18 (2/4) Installing libedit (20210910.3.1-r0) 21:21:18 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:21:18 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:21:19 Executing busybox-1.35.0-r13.trigger 21:21:19 OK: 216 MiB in 55 packages 21:21:19 Removing intermediate container 59c8bcfc6f8a 21:21:19 ---> 388052e2d265 21:21:19 Step 9/13 : WORKDIR /device-rest-go 21:21:19 ---> Running in 8bef9bd600c0 21:21:19 Removing intermediate container 8bef9bd600c0 21:21:19 ---> 0e7b74b8efb1 21:21:19 Step 10/13 : COPY go.mod vendor* ./ 21:21:19 ---> 7b840c629665 21:21:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:19 ---> Running in e9b4f0cf19ee 21:21:21 Still waiting to schedule task 21:21:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:21:34 Removing intermediate container e9b4f0cf19ee 21:21:34 ---> 5d056cb4088b 21:21:34 Step 12/13 : COPY . . 21:21:34 ---> 93c69f234899 21:21:34 Step 13/13 : RUN $MAKE 21:21:34 ---> Running in f030abb29a5b 21:21:34 noop 21:21:34 Removing intermediate container f030abb29a5b 21:21:34 ---> 77f040a2f098 21:21:34 Successfully built 77f040a2f098 21:21:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:34 + docker inspect -f . ci-base-image-x86_64 21:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:34 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:21:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 21:21:35 $ docker top a7119146b13317cde444f64ad407ce386412ee23533e932270528d37c0af62f1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:35 + go version 21:21:35 go version go1.18.3 linux/amd64 [Pipeline] } 21:21:35 $ docker stop --time=1 a7119146b13317cde444f64ad407ce386412ee23533e932270528d37c0af62f1 21:21:36 $ docker rm -f a7119146b13317cde444f64ad407ce386412ee23533e932270528d37c0af62f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:37 + docker inspect -f . ci-base-image-x86_64 21:21:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:37 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 21:21:37 $ docker top 06cf116bb9df07380d4d422447e4de7bf91c91103e764ed350bfaff964345bb7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:21:38 + make test 21:21:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:21:38 ? github.com/edgexfoundry/device-rest-go [no test files] 21:21:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:21:48 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 21:21:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:21:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:21:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:21:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:21:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:21:57 $ docker stop --time=1 06cf116bb9df07380d4d422447e4de7bf91c91103e764ed350bfaff964345bb7 21:21:59 $ docker rm -f 06cf116bb9df07380d4d422447e4de7bf91c91103e764ed350bfaff964345bb7 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:21:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:00 + ls -al . 21:22:00 total 180 21:22:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:21 . 21:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:20 .. 21:22:00 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:20 .dockerignore 21:22:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:21 .git 21:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:20 .github 21:22:00 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:20 .gitignore 21:22:00 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:20 .golangci.yml 21:22:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:21 .semver 21:22:00 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 21:20 Attribution.txt 21:22:00 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 21:20 CHANGELOG.md 21:22:00 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 21:20 Dockerfile 21:22:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:20 GOVERNANCE.md 21:22:00 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:20 Jenkinsfile 21:22:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:20 LICENSE 21:22:00 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 21:20 Makefile 21:22:00 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:20 OWNERS.md 21:22:00 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 21:20 README.md 21:22:00 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:21 VERSION 21:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:20 bin 21:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:20 cmd 21:22:00 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 21:21 coverage.out 21:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:20 driver 21:22:00 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 21:20 go.mod 21:22:00 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 21:20 go.sum 21:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:20 snap 21:22:00 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:00 + 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=fa2594666deb171bc078c2a791882f5db0311ade --label arch=amd64 --label version=2.3.0-dev.16 . 21:22:00 Sending build context to Docker daemon 10.73MB 21:22:00 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:22:00 Step 2/26 : FROM ${BASE} AS builder 21:22:00 ---> 77f040a2f098 21:22:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:22:00 ---> Running in caac65824457 21:22:00 Removing intermediate container caac65824457 21:22:00 ---> 4efad1cd8599 21:22:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:01 ---> Running in a2499fd5a1d3 21:22:01 Removing intermediate container a2499fd5a1d3 21:22:01 ---> 8eab0c5cdf3b 21:22:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:22:01 ---> Running in f30408f3baa8 21:22:01 Removing intermediate container f30408f3baa8 21:22:01 ---> 2f0ffb97d8ed 21:22:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:22:01 ---> Running in 7ec4a5a3f823 21:22:01 Removing intermediate container 7ec4a5a3f823 21:22:01 ---> d42e8b9a9aea 21:22:01 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:01 ---> Running in 784c076392c1 21:22:01 Removing intermediate container 784c076392c1 21:22:01 ---> 78f7facc99c1 21:22:01 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:01 ---> Running in 636aa66bc349 21:22:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:22:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:22:03 OK: 216 MiB in 55 packages 21:22:03 Removing intermediate container 636aa66bc349 21:22:03 ---> 9ba55463d8c7 21:22:03 Step 9/26 : WORKDIR /device-rest-go 21:22:03 ---> Running in aa6adb189228 21:22:03 Removing intermediate container aa6adb189228 21:22:03 ---> bb9bde72c6c0 21:22:03 Step 10/26 : COPY go.mod vendor* ./ 21:22:03 ---> e0f10686b2e0 21:22:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:03 ---> Running in 24c30201f735 21:22:04 Removing intermediate container 24c30201f735 21:22:04 ---> 5abb4b52de13 21:22:04 Step 12/26 : COPY . . 21:22:04 ---> 991285fcb535 21:22:04 Step 13/26 : RUN $MAKE 21:22:04 ---> Running in 4c4fa94e467c 21:22:05 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 21:22:23 Removing intermediate container 4c4fa94e467c 21:22:23 ---> 0988fa575d04 21:22:23 Step 14/26 : FROM alpine:3.16 21:22:23 3.16: Pulling from library/alpine 21:22:23 213ec9aee27d: Pulling fs layer 21:22:23 213ec9aee27d: Verifying Checksum 21:22:23 213ec9aee27d: Download complete 21:22:23 213ec9aee27d: Pull complete 21:22:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:22:23 Status: Downloaded newer image for alpine:3.16 21:22:23 ---> 9c6f07244728 21:22:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:23 ---> Running in ea26efb90be1 21:22:23 Removing intermediate container ea26efb90be1 21:22:23 ---> 2c0878605c2c 21:22:23 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 21:22:23 ---> Running in f62d0b525d6a 21:22:23 Removing intermediate container f62d0b525d6a 21:22:23 ---> 9e98ae911139 21:22:23 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 21:22:23 ---> Running in cd0aa43d1b41 21:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:22:24 (1/6) Installing dumb-init (1.2.5-r1) 21:22:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:22:24 (3/6) Installing libsodium (1.0.18-r0) 21:22:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:22:24 (5/6) Installing libzmq (4.3.4-r0) 21:22:24 (6/6) Installing zeromq (4.3.4-r0) 21:22:24 Executing busybox-1.35.0-r17.trigger 21:22:24 OK: 8 MiB in 20 packages 21:22:24 Removing intermediate container cd0aa43d1b41 21:22:24 ---> 04f749700230 21:22:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:22:25 ---> 528315992d3f 21:22:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:22:25 ---> bfe6902a0739 21:22:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:22:25 ---> 1c585cf0e633 21:22:25 Step 21/26 : EXPOSE 59986 21:22:25 ---> Running in 1a9515b8a398 21:22:25 Removing intermediate container 1a9515b8a398 21:22:25 ---> 6b4b1c10e68d 21:22:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:22:25 ---> Running in 4aa5fe7af707 21:22:26 Removing intermediate container 4aa5fe7af707 21:22:26 ---> 1fe8d733b307 21:22:26 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:22:26 ---> Running in 2530fc68e780 21:22:26 Removing intermediate container 2530fc68e780 21:22:26 ---> ee798cb6b68b 21:22:26 Step 24/26 : LABEL arch=amd64 21:22:26 ---> Running in 0b51c1b5193c 21:22:26 Removing intermediate container 0b51c1b5193c 21:22:26 ---> cf4d65b01ad4 21:22:26 Step 25/26 : LABEL git_sha=fa2594666deb171bc078c2a791882f5db0311ade 21:22:26 ---> Running in 88a372b6d958 21:22:26 Removing intermediate container 88a372b6d958 21:22:26 ---> 9716c95c800b 21:22:26 Step 26/26 : LABEL version=2.3.0-dev.16 21:22:26 ---> Running in 702f66003888 21:22:26 Removing intermediate container 702f66003888 21:22:26 ---> fadf676359c5 21:22:26 [Warning] One or more build-args [ARCH] were not consumed 21:22:26 Successfully built fadf676359c5 21:22:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:26 provisioning config files... 21:22:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1612570339584233311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:26 ---> docker-login.sh 21:22:26 nexus3.edgexfoundry.org:10001 21:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:26 Configure a credential helper to remove this warning. See 21:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:26 21:22:26 Login Succeeded 21:22:26 nexus3.edgexfoundry.org:10002 21:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:26 Configure a credential helper to remove this warning. See 21:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:26 21:22:26 Login Succeeded 21:22:26 nexus3.edgexfoundry.org:10003 21:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:26 Configure a credential helper to remove this warning. See 21:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:26 21:22:26 Login Succeeded 21:22:26 nexus3.edgexfoundry.org:10004 21:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:26 Configure a credential helper to remove this warning. See 21:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:26 21:22:26 Login Succeeded 21:22:26 docker.io 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 ---> docker-login.sh ends [Pipeline] } 21:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:22:27 fa2594666deb171bc078c2a791882f5db0311ade 21:22:27 latest 21:22:27 2.3.0-dev.16 21:22:27 fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:22:27 main 21:22:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade 21:22:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:28 2d357d24be00: Preparing 21:22:28 a224adb61740: Preparing 21:22:28 7b3d18c40c8f: Preparing 21:22:28 ac0cf36df4f2: Preparing 21:22:28 994393dc58e7: Preparing 21:22:28 994393dc58e7: Layer already exists 21:22:28 2d357d24be00: Pushed 21:22:28 a224adb61740: Pushed 21:22:28 ac0cf36df4f2: Pushed 21:22:31 7b3d18c40c8f: Pushed 21:22:31 fa2594666deb171bc078c2a791882f5db0311ade: digest: sha256:4c8475354657e2ca5aa22a60f1481b419bd8b7aa5cf5cb04d4c67571d4cd1b48 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:22:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:31 2d357d24be00: Preparing 21:22:31 a224adb61740: Preparing 21:22:31 7b3d18c40c8f: Preparing 21:22:31 ac0cf36df4f2: Preparing 21:22:31 994393dc58e7: Preparing 21:22:31 a224adb61740: Layer already exists 21:22:31 7b3d18c40c8f: Layer already exists 21:22:31 ac0cf36df4f2: Layer already exists 21:22:31 994393dc58e7: Layer already exists 21:22:31 2d357d24be00: Layer already exists 21:22:31 latest: digest: sha256:4c8475354657e2ca5aa22a60f1481b419bd8b7aa5cf5cb04d4c67571d4cd1b48 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.16 21:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:32 2d357d24be00: Preparing 21:22:32 a224adb61740: Preparing 21:22:32 7b3d18c40c8f: Preparing 21:22:32 ac0cf36df4f2: Preparing 21:22:32 994393dc58e7: Preparing 21:22:32 ac0cf36df4f2: Layer already exists 21:22:32 7b3d18c40c8f: Layer already exists 21:22:32 a224adb61740: Layer already exists 21:22:32 994393dc58e7: Layer already exists 21:22:32 2d357d24be00: Layer already exists 21:22:32 2.3.0-dev.16: digest: sha256:4c8475354657e2ca5aa22a60f1481b419bd8b7aa5cf5cb04d4c67571d4cd1b48 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:32 2d357d24be00: Preparing 21:22:32 a224adb61740: Preparing 21:22:32 7b3d18c40c8f: Preparing 21:22:32 ac0cf36df4f2: Preparing 21:22:32 994393dc58e7: Preparing 21:22:32 a224adb61740: Layer already exists 21:22:32 7b3d18c40c8f: Layer already exists 21:22:32 994393dc58e7: Layer already exists 21:22:32 ac0cf36df4f2: Layer already exists 21:22:32 2d357d24be00: Layer already exists 21:22:32 fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16: digest: sha256:4c8475354657e2ca5aa22a60f1481b419bd8b7aa5cf5cb04d4c67571d4cd1b48 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:22:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:33 2d357d24be00: Preparing 21:22:33 a224adb61740: Preparing 21:22:33 7b3d18c40c8f: Preparing 21:22:33 ac0cf36df4f2: Preparing 21:22:33 994393dc58e7: Preparing 21:22:33 2d357d24be00: Layer already exists 21:22:33 994393dc58e7: Layer already exists 21:22:33 a224adb61740: Layer already exists 21:22:33 ac0cf36df4f2: Layer already exists 21:22:33 7b3d18c40c8f: Layer already exists 21:22:33 main: digest: sha256:4c8475354657e2ca5aa22a60f1481b419bd8b7aa5cf5cb04d4c67571d4cd1b48 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:33 ===================================================== [Pipeline] echo 21:22:33 taggedImages: 21:22:33 - nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade 21:22:33 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:22:33 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.16 21:22:33 - nexus3.edgexfoundry.org:10004/device-rest:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:22:33 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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] withEnv [Pipeline] { [Pipeline] sh 21:22:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:33 21:22:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:34 latest: Pulling from edgex-lftools-log-publisher 21:22:34 5eb5b503b376: Pulling fs layer 21:22:34 5c69ac0246d0: Pulling fs layer 21:22:34 ec43610c2a17: Pulling fs layer 21:22:34 3a2ae6a8a46f: Pulling fs layer 21:22:34 33b1e0a273af: Pulling fs layer 21:22:34 5d3b04190fa2: Pulling fs layer 21:22:34 2f39f015ded8: Pulling fs layer 21:22:34 33b1e0a273af: Waiting 21:22:34 5d3b04190fa2: Waiting 21:22:34 2f39f015ded8: Waiting 21:22:34 3a2ae6a8a46f: Waiting 21:22:34 5c69ac0246d0: Verifying Checksum 21:22:34 3a2ae6a8a46f: Verifying Checksum 21:22:34 3a2ae6a8a46f: Download complete 21:22:34 ec43610c2a17: Verifying Checksum 21:22:34 ec43610c2a17: Download complete 21:22:34 33b1e0a273af: Verifying Checksum 21:22:34 33b1e0a273af: Download complete 21:22:34 5d3b04190fa2: Verifying Checksum 21:22:34 5d3b04190fa2: Download complete 21:22:34 5eb5b503b376: Verifying Checksum 21:22:34 5eb5b503b376: Download complete 21:22:34 2f39f015ded8: Download complete 21:22:35 5eb5b503b376: Pull complete 21:22:35 5c69ac0246d0: Pull complete 21:22:36 ec43610c2a17: Pull complete 21:22:36 3a2ae6a8a46f: Pull complete 21:22:36 33b1e0a273af: Pull complete 21:22:36 5d3b04190fa2: Pull complete 21:22:40 2f39f015ded8: Pull complete 21:22:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:22:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:40 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:22:40 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:22:42 $ docker top f6084218c655b66ffe89f05ddeadd6b38db4a040ebdc2bc173cd485d9f6b2694 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:42 ---> job-cost.sh 21:22:42 lf-activate-venv: SKIPPING 21:22:42 INFO: No Stack... 21:22:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:22:43 INFO: Archiving Costs [Pipeline] sh 21:22:43 + + cutcat -d, /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv -f6 21:22:43 [Pipeline] lock 21:22:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] 21:22:43 Resource [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] did not exist. Created. 21:22:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:22:44 + echo total: 0.2199999988079071 [Pipeline] stash 21:22:44 Stashed 1 file(s) [Pipeline] } 21:22:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 21:22:44 $ docker stop --time=1 f6084218c655b66ffe89f05ddeadd6b38db4a040ebdc2bc173cd485d9f6b2694 21:22:45 $ docker rm -f f6084218c655b66ffe89f05ddeadd6b38db4a040ebdc2bc173cd485d9f6b2694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1431 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:23:26 Running in /w/workspace/device-rest-go/60 [Pipeline] { [Pipeline] checkout 21:23:26 The recommended git tool is: git 21:23:31 using credential edgex-jenkins-ssh 21:23:31 Cloning the remote Git repository 21:23:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:23:31 > git init /w/workspace/device-rest-go/60 # timeout=10 21:23:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:23:31 > git --version # timeout=10 21:23:31 > git --version # 'git version 2.25.1' 21:23:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:32 Verifying host key using known hosts file 21:23:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:23:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:23:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:35 Avoid second fetch 21:23:35 Checking out Revision fa2594666deb171bc078c2a791882f5db0311ade (main) 21:23:35 Commit message: "Merge pull request #213 from lenny-intel/nats-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:35 > git config core.sparsecheckout # timeout=10 21:23:35 > git checkout -f fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 21:23:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:36 Dload Upload Total Spent Left Speed 21:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 21:23:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:23:37 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new 21:23:37 /etc/docker/daemon.json 21:23:37 { 21:23:37 "registry-mirrors": [ 21:23:37 "https://nexus3.edgexfoundry.org:10001" 21:23:37 ], 21:23:37 "bip": "10.250.0.254/24", 21:23:37 "hosts": [ 21:23:37 "tcp://0.0.0.0:5555", 21:23:37 "unix:///var/run/docker.sock" 21:23:37 ], 21:23:37 "mtu": 1458, 21:23:37 "selinux-enabled": true, 21:23:37 "seccomp-profile": "/etc/docker/seccomp.json" 21:23:37 } [Pipeline] sh 21:23:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:23:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:56 provisioning config files... 21:23:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/60@tmp/config7336836387297733044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:56 ---> docker-login.sh 21:23:56 nexus3.edgexfoundry.org:10001 21:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:57 Configure a credential helper to remove this warning. See 21:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:57 21:23:57 Login Succeeded 21:23:57 nexus3.edgexfoundry.org:10002 21:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:58 Configure a credential helper to remove this warning. See 21:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:58 21:23:58 Login Succeeded 21:23:58 nexus3.edgexfoundry.org:10003 21:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:58 Configure a credential helper to remove this warning. See 21:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:58 21:23:58 Login Succeeded 21:23:58 nexus3.edgexfoundry.org:10004 21:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:58 Configure a credential helper to remove this warning. See 21:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:58 21:23:58 Login Succeeded 21:23:58 docker.io 21:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:59 Configure a credential helper to remove this warning. See 21:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:59 21:23:59 Login Succeeded 21:23:59 ---> docker-login.sh ends [Pipeline] } 21:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:59 ========================================================= 21:23:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:23:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:23:59 Sending build context to Docker daemon 127kB 21:24:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:24:00 Step 2/13 : FROM ${BASE} AS builder 21:24:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:24:00 b3c136eddcbf: Pulling fs layer 21:24:00 c0a3192eca97: Pulling fs layer 21:24:00 a050256f5b6f: Pulling fs layer 21:24:00 656be50a0ddc: Pulling fs layer 21:24:00 2bbca73fdf42: Pulling fs layer 21:24:00 46d945488cbd: Pulling fs layer 21:24:00 8a5474983e97: Pulling fs layer 21:24:00 329c88fbcd65: Pulling fs layer 21:24:00 656be50a0ddc: Waiting 21:24:00 2bbca73fdf42: Waiting 21:24:00 46d945488cbd: Waiting 21:24:00 8a5474983e97: Waiting 21:24:00 329c88fbcd65: Waiting 21:24:00 a050256f5b6f: Verifying Checksum 21:24:00 a050256f5b6f: Download complete 21:24:00 c0a3192eca97: Download complete 21:24:00 2bbca73fdf42: Verifying Checksum 21:24:00 2bbca73fdf42: Download complete 21:24:00 46d945488cbd: Verifying Checksum 21:24:00 46d945488cbd: Download complete 21:24:00 b3c136eddcbf: Verifying Checksum 21:24:00 b3c136eddcbf: Download complete 21:24:01 b3c136eddcbf: Pull complete 21:24:01 329c88fbcd65: Verifying Checksum 21:24:01 329c88fbcd65: Download complete 21:24:01 c0a3192eca97: Pull complete 21:24:02 a050256f5b6f: Pull complete 21:24:02 8a5474983e97: Verifying Checksum 21:24:02 8a5474983e97: Download complete 21:24:03 656be50a0ddc: Verifying Checksum 21:24:03 656be50a0ddc: Download complete 21:24:15 656be50a0ddc: Pull complete 21:24:15 2bbca73fdf42: Pull complete 21:24:15 46d945488cbd: Pull complete 21:24:19 8a5474983e97: Pull complete 21:24:21 329c88fbcd65: Pull complete 21:24:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:24:21 ---> ff4287adb874 21:24:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:24:23 ---> Running in 8cd364285a0b 21:24:24 Removing intermediate container 8cd364285a0b 21:24:24 ---> 92922706fa38 21:24:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:24 ---> Running in 318b6dfe7563 21:24:24 Removing intermediate container 318b6dfe7563 21:24:24 ---> 18934e94a2a0 21:24:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:24:24 ---> Running in c7e4604ff355 21:24:24 Removing intermediate container c7e4604ff355 21:24:24 ---> 565af5006b57 21:24:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:24:24 ---> Running in f45d392fb10a 21:24:25 Removing intermediate container f45d392fb10a 21:24:25 ---> 60c84e21d35d 21:24:25 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:25 ---> Running in 5249380dd8ec 21:24:27 Removing intermediate container 5249380dd8ec 21:24:27 ---> b267d46e62d7 21:24:27 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:27 ---> Running in 2a08625ecb78 21:24:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:24:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:24:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:24:29 (2/4) Installing libedit (20210910.3.1-r0) 21:24:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:24:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:24:30 Executing busybox-1.35.0-r13.trigger 21:24:30 OK: 226 MiB in 55 packages 21:24:31 Removing intermediate container 2a08625ecb78 21:24:31 ---> 2e3f4f59ea63 21:24:31 Step 9/13 : WORKDIR /device-rest-go 21:24:31 ---> Running in de46f0a4a09b 21:24:31 Removing intermediate container de46f0a4a09b 21:24:31 ---> 7a55f04c37c4 21:24:31 Step 10/13 : COPY go.mod vendor* ./ 21:24:31 ---> ea9048db91e0 21:24:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:32 ---> Running in fc438b9a653b 21:25:28 Removing intermediate container fc438b9a653b 21:25:28 ---> 88cc98cae917 21:25:28 Step 12/13 : COPY . . 21:25:28 ---> 4eaf938c8ab1 21:25:28 Step 13/13 : RUN $MAKE 21:25:28 ---> Running in 36739ef4fab4 21:25:28 noop 21:25:28 Removing intermediate container 36739ef4fab4 21:25:28 ---> 1890577a7f99 21:25:28 Successfully built 1890577a7f99 21:25:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:29 + docker inspect -f . ci-base-image-arm64 21:25:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:29 prd-ubuntu20.04-docker-arm64-4c-16g-1431 does not seem to be running inside a container 21:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/60 -v /w/workspace/device-rest-go/60:/w/workspace/device-rest-go/60:rw,z -v /w/workspace/device-rest-go/60@tmp:/w/workspace/device-rest-go/60@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 ******** ci-base-image-arm64 cat 21:25:30 $ docker top 96894e7cde26643240b38a8dc6ba892a40b3b344e7cf9820ff1823ecfc8126e1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:31 + go version 21:25:31 go version go1.18.3 linux/arm64 [Pipeline] } 21:25:31 $ docker stop --time=1 96894e7cde26643240b38a8dc6ba892a40b3b344e7cf9820ff1823ecfc8126e1 21:25:33 $ docker rm -f 96894e7cde26643240b38a8dc6ba892a40b3b344e7cf9820ff1823ecfc8126e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:33 + docker inspect -f . ci-base-image-arm64 21:25:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:34 prd-ubuntu20.04-docker-arm64-4c-16g-1431 does not seem to be running inside a container 21:25:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/60 -v /w/workspace/device-rest-go/60:/w/workspace/device-rest-go/60:rw,z -v /w/workspace/device-rest-go/60@tmp:/w/workspace/device-rest-go/60@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 ******** ci-base-image-arm64 cat 21:25:35 $ docker top e60564e62eeea3485a4718c494ed584bb035444fb44fdbea4155d018eae6de1e -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:36 + git config --global --add safe.directory /w/workspace/device-rest-go/60 [Pipeline] fileExists [Pipeline] sh 21:25:36 + make test 21:25:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:25:38 ? github.com/edgexfoundry/device-rest-go [no test files] 21:27:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:27:15 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 21:27:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:27:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:27:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:27:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:27:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:27:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:27:30 $ docker stop --time=1 e60564e62eeea3485a4718c494ed584bb035444fb44fdbea4155d018eae6de1e 21:27:31 $ docker rm -f e60564e62eeea3485a4718c494ed584bb035444fb44fdbea4155d018eae6de1e [Pipeline] // withDockerContainer [Pipeline] sh 21:27:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:27:32 Warning: overwriting stash ‘coverage-report’ 21:27:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:27:33 + ls -al . 21:27:33 total 176 21:27:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:25 . 21:27:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 .. 21:27:33 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:23 .dockerignore 21:27:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:23 .git 21:27:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 .github 21:27:33 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:23 .gitignore 21:27:33 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:23 .golangci.yml 21:27:33 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 21:23 Attribution.txt 21:27:33 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 21:23 CHANGELOG.md 21:27:33 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 21:23 Dockerfile 21:27:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:23 GOVERNANCE.md 21:27:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:23 Jenkinsfile 21:27:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:23 LICENSE 21:27:33 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 21:23 Makefile 21:27:33 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:23 OWNERS.md 21:27:33 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 21:23 README.md 21:27:33 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:21 VERSION 21:27:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 bin 21:27:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 cmd 21:27:33 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 21:27 coverage.out 21:27:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 driver 21:27:33 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 21:23 go.mod 21:27:33 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 21:23 go.sum 21:27:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 snap 21:27:33 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:34 + 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=fa2594666deb171bc078c2a791882f5db0311ade --label arch=arm64 --label version=2.3.0-dev.16 . 21:27:34 Sending build context to Docker daemon 137.2kB 21:27:34 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:27:34 Step 2/26 : FROM ${BASE} AS builder 21:27:34 ---> 1890577a7f99 21:27:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:27:34 ---> Running in 6731a09fb9e7 21:27:34 Removing intermediate container 6731a09fb9e7 21:27:34 ---> f6ca01a80a9c 21:27:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:34 ---> Running in 313451d870b7 21:27:35 Removing intermediate container 313451d870b7 21:27:35 ---> ec5c7d735eeb 21:27:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:27:35 ---> Running in 55d88ab990e9 21:27:35 Removing intermediate container 55d88ab990e9 21:27:35 ---> 486541c66eee 21:27:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:27:35 ---> Running in 674b9f82a3b8 21:27:35 Removing intermediate container 674b9f82a3b8 21:27:35 ---> aea0c722943a 21:27:35 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:36 ---> Running in d0fb3d6e46e6 21:27:37 Removing intermediate container d0fb3d6e46e6 21:27:37 ---> ef3945aeb550 21:27:37 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:37 ---> Running in bb358eca955d 21:27:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:27:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:27:40 OK: 226 MiB in 55 packages 21:27:41 Removing intermediate container bb358eca955d 21:27:41 ---> 181b375410eb 21:27:41 Step 9/26 : WORKDIR /device-rest-go 21:27:41 ---> Running in 3d93f85ef657 21:27:41 Removing intermediate container 3d93f85ef657 21:27:41 ---> 9694e9c97337 21:27:41 Step 10/26 : COPY go.mod vendor* ./ 21:27:42 ---> 4896d463e9ea 21:27:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:42 ---> Running in 4d167e24d6af 21:27:44 Removing intermediate container 4d167e24d6af 21:27:44 ---> d71adcd4c3bd 21:27:44 Step 12/26 : COPY . . 21:27:44 ---> b5a9b9e97f96 21:27:44 Step 13/26 : RUN $MAKE 21:27:44 ---> Running in f1b5cb33a869 21:27:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 21:30:22 Removing intermediate container f1b5cb33a869 21:30:22 ---> 37497ead77c9 21:30:22 Step 14/26 : FROM alpine:3.16 21:30:22 3.16: Pulling from library/alpine 21:30:22 9b18e9b68314: Pulling fs layer 21:30:22 9b18e9b68314: Verifying Checksum 21:30:22 9b18e9b68314: Download complete 21:30:22 9b18e9b68314: Pull complete 21:30:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:30:22 Status: Downloaded newer image for alpine:3.16 21:30:22 ---> a6215f271958 21:30:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:30:22 ---> Running in 0a4031a7702f 21:30:22 Removing intermediate container 0a4031a7702f 21:30:22 ---> 591bf770423e 21:30:22 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 21:30:22 ---> Running in b8e45754ec52 21:30:22 Removing intermediate container b8e45754ec52 21:30:22 ---> 616069ab514b 21:30:22 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 21:30:22 ---> Running in 6affd080040c 21:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:30:22 (1/6) Installing dumb-init (1.2.5-r1) 21:30:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:30:22 (3/6) Installing libsodium (1.0.18-r0) 21:30:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:30:22 (5/6) Installing libzmq (4.3.4-r0) 21:30:22 (6/6) Installing zeromq (4.3.4-r0) 21:30:22 Executing busybox-1.35.0-r17.trigger 21:30:22 OK: 8 MiB in 20 packages 21:30:23 Removing intermediate container 6affd080040c 21:30:23 ---> 1848450f9008 21:30:23 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:30:25 ---> 19a861680950 21:30:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:30:25 ---> f86faa020d07 21:30:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:30:25 ---> 11c04b41f768 21:30:25 Step 21/26 : EXPOSE 59986 21:30:25 ---> Running in 2726a979a9b9 21:30:26 Removing intermediate container 2726a979a9b9 21:30:26 ---> 78c617d404e0 21:30:26 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:30:26 ---> Running in 3127765b6f10 21:30:26 Removing intermediate container 3127765b6f10 21:30:26 ---> 8afb8f5d7bcf 21:30:26 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:30:26 ---> Running in f64f59e3d3cd 21:30:27 Removing intermediate container f64f59e3d3cd 21:30:27 ---> 883e2dd5ce24 21:30:27 Step 24/26 : LABEL arch=arm64 21:30:27 ---> Running in bfa30d8e399c 21:30:27 Removing intermediate container bfa30d8e399c 21:30:27 ---> 8c8c50f6eed0 21:30:27 Step 25/26 : LABEL git_sha=fa2594666deb171bc078c2a791882f5db0311ade 21:30:27 ---> Running in 9d8e233f5bc7 21:30:27 Removing intermediate container 9d8e233f5bc7 21:30:27 ---> 22b8cedad1e0 21:30:27 Step 26/26 : LABEL version=2.3.0-dev.16 21:30:27 ---> Running in 46c9dd1e46c0 21:30:27 Removing intermediate container 46c9dd1e46c0 21:30:27 ---> 99a5ef62ed0b 21:30:27 [Warning] One or more build-args [ARCH] were not consumed 21:30:27 Successfully built 99a5ef62ed0b 21:30:28 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:28 provisioning config files... 21:30:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/60@tmp/config6017407328640761504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:28 ---> docker-login.sh 21:30:28 nexus3.edgexfoundry.org:10001 21:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:28 Configure a credential helper to remove this warning. See 21:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:28 21:30:28 Login Succeeded 21:30:28 nexus3.edgexfoundry.org:10002 21:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:29 Configure a credential helper to remove this warning. See 21:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:29 21:30:29 Login Succeeded 21:30:29 nexus3.edgexfoundry.org:10003 21:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:29 Configure a credential helper to remove this warning. See 21:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:29 21:30:29 Login Succeeded 21:30:29 nexus3.edgexfoundry.org:10004 21:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:29 Configure a credential helper to remove this warning. See 21:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:29 21:30:29 Login Succeeded 21:30:29 docker.io 21:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:30 Configure a credential helper to remove this warning. See 21:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:30 21:30:30 Login Succeeded 21:30:30 ---> docker-login.sh ends [Pipeline] } 21:30:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:30 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:30:30 fa2594666deb171bc078c2a791882f5db0311ade 21:30:30 latest 21:30:30 2.3.0-dev.16 21:30:30 fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:30:30 main 21:30:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade 21:30:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:30:31 1500149ea738: Preparing 21:30:31 f65dafbff116: Preparing 21:30:31 b728a9b066ea: Preparing 21:30:31 fb5bf586c267: Preparing 21:30:31 5d3e392a13a0: Preparing 21:30:31 5d3e392a13a0: Layer already exists 21:30:31 f65dafbff116: Pushed 21:30:31 1500149ea738: Pushed 21:30:32 fb5bf586c267: Pushed 21:30:37 b728a9b066ea: Pushed 21:30:37 fa2594666deb171bc078c2a791882f5db0311ade: digest: sha256:e68ce9af79bef5d7d3eee14aad4a28941a4d14b25880640f271217b5507a2d1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:30:38 1500149ea738: Preparing 21:30:38 f65dafbff116: Preparing 21:30:38 b728a9b066ea: Preparing 21:30:38 fb5bf586c267: Preparing 21:30:38 5d3e392a13a0: Preparing 21:30:38 fb5bf586c267: Layer already exists 21:30:38 5d3e392a13a0: Layer already exists 21:30:38 1500149ea738: Layer already exists 21:30:38 f65dafbff116: Layer already exists 21:30:38 b728a9b066ea: Layer already exists 21:30:38 latest: digest: sha256:e68ce9af79bef5d7d3eee14aad4a28941a4d14b25880640f271217b5507a2d1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.16 21:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:30:38 1500149ea738: Preparing 21:30:38 f65dafbff116: Preparing 21:30:38 b728a9b066ea: Preparing 21:30:38 fb5bf586c267: Preparing 21:30:38 5d3e392a13a0: Preparing 21:30:38 f65dafbff116: Layer already exists 21:30:38 fb5bf586c267: Layer already exists 21:30:38 5d3e392a13a0: Layer already exists 21:30:38 1500149ea738: Layer already exists 21:30:38 b728a9b066ea: Layer already exists 21:30:38 2.3.0-dev.16: digest: sha256:e68ce9af79bef5d7d3eee14aad4a28941a4d14b25880640f271217b5507a2d1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:30:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:30:39 1500149ea738: Preparing 21:30:39 f65dafbff116: Preparing 21:30:39 b728a9b066ea: Preparing 21:30:39 fb5bf586c267: Preparing 21:30:39 5d3e392a13a0: Preparing 21:30:39 b728a9b066ea: Layer already exists 21:30:39 f65dafbff116: Layer already exists 21:30:39 fb5bf586c267: Layer already exists 21:30:39 1500149ea738: Layer already exists 21:30:39 5d3e392a13a0: Layer already exists 21:30:39 fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16: digest: sha256:e68ce9af79bef5d7d3eee14aad4a28941a4d14b25880640f271217b5507a2d1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:30:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:30:40 1500149ea738: Preparing 21:30:40 f65dafbff116: Preparing 21:30:40 b728a9b066ea: Preparing 21:30:40 fb5bf586c267: Preparing 21:30:40 5d3e392a13a0: Preparing 21:30:40 fb5bf586c267: Layer already exists 21:30:40 1500149ea738: Layer already exists 21:30:40 b728a9b066ea: Layer already exists 21:30:40 5d3e392a13a0: Layer already exists 21:30:40 f65dafbff116: Layer already exists 21:30:40 main: digest: sha256:e68ce9af79bef5d7d3eee14aad4a28941a4d14b25880640f271217b5507a2d1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:40 ===================================================== [Pipeline] echo 21:30:40 taggedImages: 21:30:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade 21:30:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:30:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.16 21:30:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa2594666deb171bc078c2a791882f5db0311ade-2.3.0-dev.16 21:30:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:30:40 21:30:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:30:40 arm64: Pulling from edgex-lftools-log-publisher 21:30:40 8998bd30e6a1: Pulling fs layer 21:30:40 04944245beec: Pulling fs layer 21:30:40 699f458cf7ca: Pulling fs layer 21:30:40 765212b225bb: Pulling fs layer 21:30:40 f23df028b6ca: Pulling fs layer 21:30:40 d65c8cfc05b1: Pulling fs layer 21:30:40 2437ff75d9bd: Pulling fs layer 21:30:40 765212b225bb: Waiting 21:30:40 f23df028b6ca: Waiting 21:30:40 d65c8cfc05b1: Waiting 21:30:40 2437ff75d9bd: Waiting 21:30:41 04944245beec: Verifying Checksum 21:30:41 04944245beec: Download complete 21:30:41 765212b225bb: Download complete 21:30:41 f23df028b6ca: Verifying Checksum 21:30:41 f23df028b6ca: Download complete 21:30:41 d65c8cfc05b1: Verifying Checksum 21:30:41 d65c8cfc05b1: Download complete 21:30:41 699f458cf7ca: Verifying Checksum 21:30:41 699f458cf7ca: Download complete 21:30:41 8998bd30e6a1: Verifying Checksum 21:30:41 8998bd30e6a1: Download complete 21:30:44 2437ff75d9bd: Verifying Checksum 21:30:44 2437ff75d9bd: Download complete 21:30:45 8998bd30e6a1: Pull complete 21:30:45 04944245beec: Pull complete 21:30:47 699f458cf7ca: Pull complete 21:30:47 765212b225bb: Pull complete 21:30:48 f23df028b6ca: Pull complete 21:30:48 d65c8cfc05b1: Pull complete 21:31:03 2437ff75d9bd: Pull complete 21:31:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:03 prd-ubuntu20.04-docker-arm64-4c-16g-1431 does not seem to be running inside a container 21:31:03 $ 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/60 -v /w/workspace/device-rest-go/60:/w/workspace/device-rest-go/60:rw,z -v /w/workspace/device-rest-go/60@tmp:/w/workspace/device-rest-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:31:05 $ docker top 2a050f0d8c78d41e71fe893c7a39d4cd88b96dc9034b677b68e17ccdcfa36696 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:06 ---> job-cost.sh 21:31:06 lf-activate-venv: SKIPPING 21:31:06 INFO: No Stack... 21:31:06 INFO: Retrieving Pricing Info for: v3-standard-4 21:31:07 INFO: Archiving Costs [Pipeline] sh 21:31:08 + cut -d, -f6 21:31:08 + cat /w/workspace/device-rest-go/60/archives/cost.csv [Pipeline] lock 21:31:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] 21:31:08 Resource [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] did not exist. Created. 21:31:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:08 /w/workspace/device-rest-go/60@tmp/durable-29c39a56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:31:09 + echo total: 0.10999999940395355 [Pipeline] stash 21:31:09 Warning: overwriting stash ‘stack-cost’ 21:31:09 Stashed 1 file(s) [Pipeline] } 21:31:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:09 $ docker stop --time=1 2a050f0d8c78d41e71fe893c7a39d4cd88b96dc9034b677b68e17ccdcfa36696 21:31:10 $ docker rm -f 2a050f0d8c78d41e71fe893c7a39d4cd88b96dc9034b677b68e17ccdcfa36696 [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 21:31:10 provisioning config files... 21:31:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2593505832717136593tmp [Pipeline] { [Pipeline] sh 21:31:11 + set +x 21:31:11 + bash -s -- 21:31:11 + curl -s https://codecov.io/bash 21:31:11 21:31:11 _____ _ 21:31:11 / ____| | | 21:31:11 | | ___ __| | ___ ___ _____ __ 21:31:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:31:11 | |___| (_) | (_| | __/ (_| (_) \ V / 21:31:11 \_____\___/ \__,_|\___|\___\___/ \_/ 21:31:11 Bash-1.0.6 21:31:11 21:31:11 21:31:11 ==> git version 2.25.1 found 21:31:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:31:11 Release-Date: 2020-01-08 21:31:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:31:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:31:11 ==> Jenkins CI detected. 21:31:11 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:31:11 project root: . 21:31:11 --> token set from env 21:31:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:31:11 ==> Running gcov in . (disable via -X gcov) 21:31:11 ==> Python coveragepy not found 21:31:11 ==> Searching for coverage reports in: 21:31:11 + . 21:31:11 -> Found 1 reports 21:31:11 ==> Detecting git/mercurial file structure 21:31:11 ==> Reading reports 21:31:11 + ./coverage.out bytes=9355 21:31:11 ==> Appending adjustments 21:31:11 https://docs.codecov.io/docs/fixing-reports 21:31:11 + Found adjustments 21:31:11 ==> Gzipping contents 21:31:11 4.0K /tmp/codecov.VqBpX3.gz 21:31:11 ==> Uploading reports 21:31:11 url: https://codecov.io 21:31:11 query: branch=main&commit=fa2594666deb171bc078c2a791882f5db0311ade&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:11 -> Pinging Codecov 21:31:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=fa2594666deb171bc078c2a791882f5db0311ade&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:12 -> Uploading to 21:31:12 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/fa2594666deb171bc078c2a791882f5db0311ade/890484a5-5a6d-4653-bba7-cf20b9df7b9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T213112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c86393650c5ccbbfd22e11ce804f53bcf0bc2a747fea6daa05ba140fad1b2273 21:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:12 Dload Upload Total Spent Left Speed 21:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6842 --:--:-- --:--:-- --:--:-- 6815 100 1738 0 0 100 1738 0 6842 --:--:-- --:--:-- --:--:-- 6815 21:31:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] } 21:31:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:31:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:31:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:13 21:31:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:31:13 df9b9388f04a: Pulling fs layer 21:31:13 52dc419b0ee2: Pulling fs layer 21:31:13 25bc292e5bac: Pulling fs layer 21:31:13 114826534d7a: Pulling fs layer 21:31:13 4657fd5d0bcf: Pulling fs layer 21:31:13 6ad1cebc031e: Pulling fs layer 21:31:13 8a3aa393b2d8: Pulling fs layer 21:31:13 4657fd5d0bcf: Waiting 21:31:13 8a3aa393b2d8: Waiting 21:31:13 6ad1cebc031e: Waiting 21:31:13 114826534d7a: Waiting 21:31:13 25bc292e5bac: Verifying Checksum 21:31:13 25bc292e5bac: Download complete 21:31:13 52dc419b0ee2: Download complete 21:31:13 4657fd5d0bcf: Verifying Checksum 21:31:13 4657fd5d0bcf: Download complete 21:31:13 df9b9388f04a: Download complete 21:31:13 6ad1cebc031e: Verifying Checksum 21:31:13 6ad1cebc031e: Download complete 21:31:13 df9b9388f04a: Pull complete 21:31:13 52dc419b0ee2: Pull complete 21:31:13 25bc292e5bac: Pull complete 21:31:14 114826534d7a: Verifying Checksum 21:31:14 114826534d7a: Download complete 21:31:14 8a3aa393b2d8: Verifying Checksum 21:31:14 8a3aa393b2d8: Download complete 21:31:17 114826534d7a: Pull complete 21:31:17 4657fd5d0bcf: Pull complete 21:31:17 6ad1cebc031e: Pull complete 21:31:20 8a3aa393b2d8: Pull complete 21:31:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:31:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:20 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:31:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:31:22 $ docker top 1b2c41ae82dd5a76d51c8d4b250039838bc697c2f3ec9dc3b2d0b11aee5dae4c -eo pid,comm [Pipeline] { [Pipeline] echo 21:31:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:31:22 + set -o pipefail 21:31:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:31:27 21:31:27 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:31:27 21:31:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/41473d71-574f-46d0-945c-934a96371d00 21:31:27 21:31:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:31:27 21:31:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:31:27 21:31:27 [Pipeline] } 21:31:27 $ docker stop --time=1 1b2c41ae82dd5a76d51c8d4b250039838bc697c2f3ec9dc3b2d0b11aee5dae4c 21:31:29 $ docker rm -f 1b2c41ae82dd5a76d51c8d4b250039838bc697c2f3ec9dc3b2d0b11aee5dae4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:30 + git log --format=format:%s -1 fa2594666deb171bc078c2a791882f5db0311ade [Pipeline] sh 21:31:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:31:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:31 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:31 $ docker top b956108ec738fad64b591abec2f4cc7d1fcfa02bfc53443f35c2b7f2897b1e69 -eo pid,comm 21:31:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:31:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:31 [ssh-agent] Looking for ssh-agent implementation... 21:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:31 $ docker exec b956108ec738fad64b591abec2f4cc7d1fcfa02bfc53443f35c2b7f2897b1e69 ssh-agent 21:31:31 SSH_AUTH_SOCK=/tmp/ssh-d6tOylzW2h2a/agent.32 21:31:31 SSH_AGENT_PID=38 21:31:31 Running ssh-add (command line suppressed) 21:31:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16120468637101570845.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16120468637101570845.key) 21:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:32 + git semver tag 21:31:32 2022-09-27 21:31:32,456 [run_tag] DEBUG tag force:False 21:31:32 2022-09-27 21:31:32,456 [check_head_tag] DEBUG check head tag 21:31:32 2022-09-27 21:31:32,457 [execute] INFO git cat-file --batch-check 21:31:32 2022-09-27 21:31:32,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:31:32 2022-09-27 21:31:32,460 [execute] INFO git cat-file --batch 21:31:32 2022-09-27 21:31:32,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:31:32 2022-09-27 21:31:32,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:32 2022-09-27 21:31:32,473 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 21:31:32 2022-09-27 21:31:32,473 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:31:32 2022-09-27 21:31:32,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:32 2.3.0-dev.16 [Pipeline] } 21:31:32 $ docker exec --env ******** --env ******** b956108ec738fad64b591abec2f4cc7d1fcfa02bfc53443f35c2b7f2897b1e69 ssh-agent -k 21:31:32 unset SSH_AUTH_SOCK; 21:31:32 unset SSH_AGENT_PID; 21:31:32 echo Agent pid 38 killed; 21:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:32 + git semver [Pipeline] } 21:31:33 $ docker stop --time=1 b956108ec738fad64b591abec2f4cc7d1fcfa02bfc53443f35c2b7f2897b1e69 21:31:34 $ docker rm -f b956108ec738fad64b591abec2f4cc7d1fcfa02bfc53443f35c2b7f2897b1e69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:31:34 21:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:31:35 0.23.1-centos7: Pulling from edgex-lftools 21:31:35 ab5ef0e58194: Pulling fs layer 21:31:35 9712f1f96733: Pulling fs layer 21:31:35 63f879dbbcfc: Pulling fs layer 21:31:35 0d9ebad4ef96: Pulling fs layer 21:31:35 e9a5061849ea: Pulling fs layer 21:31:35 0d9ebad4ef96: Waiting 21:31:35 d747dcd14b5f: Pulling fs layer 21:31:35 2de7ff778b66: Pulling fs layer 21:31:35 d747dcd14b5f: Waiting 21:31:35 2de7ff778b66: Waiting 21:31:35 e9a5061849ea: Waiting 21:31:35 9712f1f96733: Verifying Checksum 21:31:35 63f879dbbcfc: Verifying Checksum 21:31:35 63f879dbbcfc: Download complete 21:31:35 ab5ef0e58194: Verifying Checksum 21:31:35 ab5ef0e58194: Download complete 21:31:35 e9a5061849ea: Verifying Checksum 21:31:35 e9a5061849ea: Download complete 21:31:35 d747dcd14b5f: Download complete 21:31:35 0d9ebad4ef96: Verifying Checksum 21:31:35 0d9ebad4ef96: Download complete 21:31:35 2de7ff778b66: Verifying Checksum 21:31:35 2de7ff778b66: Download complete 21:31:38 ab5ef0e58194: Pull complete 21:31:38 9712f1f96733: Pull complete 21:31:38 63f879dbbcfc: Pull complete 21:31:42 0d9ebad4ef96: Pull complete 21:31:42 e9a5061849ea: Pull complete 21:31:42 d747dcd14b5f: Pull complete 21:31:43 2de7ff778b66: Pull complete 21:31:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:31:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:43 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:31:45 $ docker top 90e9a7f22da1abf0c9904b85c4ef9f9b7f9be5d4a8358d9c4f801c668139b872 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:31:45 provisioning config files... 21:31:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3019131671143343461tmp 21:31:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10760740968788968212tmp 21:31:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3170900823726390704tmp [Pipeline] { [Pipeline] echo 21:31:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:31:45 ---> sigul-configuration.sh 21:31:45 gpg: directory `/root/.gnupg' created 21:31:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:31:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:31:45 gpg: keyring `/root/.gnupg/secring.gpg' created 21:31:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:31:45 gpg: CAST5 encrypted data 21:31:45 gpg: encrypted with 1 passphrase 21:31:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:31:45 + mkdir /home/jenkins 21:31:45 + mkdir /home/jenkins/sigul [Pipeline] sh 21:31:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:31:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:31:46 ---> sigul-install.sh 21:31:46 Sigul already installed; skipping installation. [Pipeline] sh 21:31:46 + git tag --list 21:31:46 v1.0.0 21:31:46 v1.1.0 21:31:46 v1.1.1 21:31:46 v1.1.2 21:31:46 v1.2.0 21:31:46 v1.2.1 21:31:46 v2.0.0 21:31:46 v2.1.0 21:31:46 v2.1.1 21:31:46 v2.1.1-dev.1 21:31:46 v2.1.1-dev.2 21:31:46 v2.1.1-dev.3 21:31:46 v2.2.0 21:31:46 v2.2.1-dev.1 21:31:46 v2.2.1-dev.2 21:31:46 v2.2.1-dev.3 21:31:46 v2.2.1-dev.4 21:31:46 v2.2.1-dev.5 21:31:46 v2.2.1-dev.6 21:31:46 v2.2.1-dev.7 21:31:46 v2.2.1-dev.8 21:31:46 v2.2.1-dev.9 21:31:46 v2.3.0-dev.10 21:31:46 v2.3.0-dev.11 21:31:46 v2.3.0-dev.12 21:31:46 v2.3.0-dev.13 21:31:46 v2.3.0-dev.14 21:31:46 v2.3.0-dev.15 21:31:46 v2.3.0-dev.16 21:31:46 v2.3.0-dev.9 [Pipeline] sh 21:31:46 + lftools sign git-tag v2.3.0-dev.16 21:31:47 Signing Git tag with Sigul... 21:31:47 Signing v2.3.0-dev.16 [Pipeline] echo 21:31:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:31:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:31:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:31:48 $ docker stop --time=1 90e9a7f22da1abf0c9904b85c4ef9f9b7f9be5d4a8358d9c4f801c668139b872 21:31:49 $ docker rm -f 90e9a7f22da1abf0c9904b85c4ef9f9b7f9be5d4a8358d9c4f801c668139b872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:31:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:31:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:50 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:50 $ docker top bcf69db2fcd01054222e1bcc64d0df2d8a214e582e7ca5621e3d632e417ce8c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:50 [ssh-agent] Looking for ssh-agent implementation... 21:31:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:50 $ docker exec bcf69db2fcd01054222e1bcc64d0df2d8a214e582e7ca5621e3d632e417ce8c0 ssh-agent 21:31:50 SSH_AUTH_SOCK=/tmp/ssh-iNvifAzG5pc8/agent.33 21:31:50 SSH_AGENT_PID=39 21:31:50 Running ssh-add (command line suppressed) 21:31:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476306099924025584.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476306099924025584.key) 21:31:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:51 + git semver bump pre 21:31:51 2022-09-27 21:31:51,372 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:51 2022-09-27 21:31:51,372 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 21:31:51 2022-09-27 21:31:51,372 [bump_version] DEBUG bumped version:2.3.0-dev.17 21:31:51 2022-09-27 21:31:51,372 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:31:51 2022-09-27 21:31:51,372 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:51 2022-09-27 21:31:51,372 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:51 2022-09-27 21:31:51,374 [execute] INFO git cat-file --batch-check 21:31:51 2022-09-27 21:31:51,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:31:51 2022-09-27 21:31:51,379 [execute] INFO git cat-file --batch 21:31:51 2022-09-27 21:31:51,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:31:51 2022-09-27 21:31:51,384 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:51 2.3.0-dev.17 [Pipeline] } 21:31:51 $ docker exec --env ******** --env ******** bcf69db2fcd01054222e1bcc64d0df2d8a214e582e7ca5621e3d632e417ce8c0 ssh-agent -k 21:31:51 unset SSH_AUTH_SOCK; 21:31:51 unset SSH_AGENT_PID; 21:31:51 echo Agent pid 39 killed; 21:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:51 + git semver [Pipeline] } 21:31:52 $ docker stop --time=1 bcf69db2fcd01054222e1bcc64d0df2d8a214e582e7ca5621e3d632e417ce8c0 21:31:53 $ docker rm -f bcf69db2fcd01054222e1bcc64d0df2d8a214e582e7ca5621e3d632e417ce8c0 [Pipeline] // withDockerContainer [Pipeline] sh 21:31:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:31:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:54 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:54 $ docker top 49ba69a61da3bf4f5fdf5a8057e06a5eb3233d8733d6832bc6c9f2f296870eb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:54 [ssh-agent] Looking for ssh-agent implementation... 21:31:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:54 $ docker exec 49ba69a61da3bf4f5fdf5a8057e06a5eb3233d8733d6832bc6c9f2f296870eb7 ssh-agent 21:31:54 SSH_AUTH_SOCK=/tmp/ssh-J5lRhtDYwJKL/agent.31 21:31:54 SSH_AGENT_PID=37 21:31:54 Running ssh-add (command line suppressed) 21:31:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6457562619482488870.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6457562619482488870.key) 21:31:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:55 + git semver push 21:31:55 2022-09-27 21:31:55,364 [run_push] DEBUG push 21:31:55 2022-09-27 21:31:55,364 [execute] INFO git cat-file --batch-check 21:31:55 2022-09-27 21:31:55,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:31:55 2022-09-27 21:31:55,367 [execute] INFO git rev-list fce7e2a2c78a3309f67d621f73078d2e20e3cbda -- 21:31:55 2022-09-27 21:31:55,368 [execute] DEBUG Popen(['git', 'rev-list', 'fce7e2a2c78a3309f67d621f73078d2e20e3cbda', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:31:55 2022-09-27 21:31:55,374 [execute] INFO git fetch -v origin 21:31:55 2022-09-27 21:31:55,374 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:31:56 2022-09-27 21:31:55,928 [run_push] DEBUG no remote changes detected 21:31:56 2022-09-27 21:31:55,928 [execute] INFO git push origin semver 21:31:56 2022-09-27 21:31:55,929 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:31:57 2022-09-27 21:31:56,732 [run_push] DEBUG push all version tags 21:31:57 2022-09-27 21:31:56,732 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:31:57 2022-09-27 21:31:56,733 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:31:57 2022-09-27 21:31:57,648 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:31:57 2.3.0-dev.17 [Pipeline] } 21:31:57 $ docker exec --env ******** --env ******** 49ba69a61da3bf4f5fdf5a8057e06a5eb3233d8733d6832bc6c9f2f296870eb7 ssh-agent -k 21:31:58 unset SSH_AUTH_SOCK; 21:31:58 unset SSH_AGENT_PID; 21:31:58 echo Agent pid 37 killed; 21:31:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:58 + git semver [Pipeline] } 21:31:58 $ docker stop --time=1 49ba69a61da3bf4f5fdf5a8057e06a5eb3233d8733d6832bc6c9f2f296870eb7 21:31:59 $ docker rm -f 49ba69a61da3bf4f5fdf5a8057e06a5eb3233d8733d6832bc6c9f2f296870eb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 21:32:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:00 total 16 21:32:00 drwxr-xr-x 3 root root 4096 Sep 27 21:22 . 21:32:00 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:31 .. 21:32:00 drwxr-xr-x 2 root root 4096 Sep 27 21:22 cost 21:32:00 -rw-r--r-- 1 root root 85 Sep 27 21:22 cost.csv 21:32:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:00 total 16 21:32:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:22 . 21:32:00 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:31 .. 21:32:00 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:22 cost 21:32:00 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 21:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:32:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:32:01 ---> package-listing.sh 21:32:01 ++ facter osfamily 21:32:01 ++ tr '[:upper:]' '[:lower:]' 21:32:01 + OS_FAMILY=debian 21:32:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:32:01 + START_PACKAGES=/tmp/packages_start.txt 21:32:01 + END_PACKAGES=/tmp/packages_end.txt 21:32:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:32:01 + PACKAGES=/tmp/packages_start.txt 21:32:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:32:01 + PACKAGES=/tmp/packages_end.txt 21:32:01 + case "${OS_FAMILY}" in 21:32:01 + dpkg -l 21:32:01 + grep '^ii' 21:32:01 + '[' -f /tmp/packages_start.txt ']' 21:32:01 + '[' -f /tmp/packages_end.txt ']' 21:32:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:32:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:32:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:32:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:32:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:32:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:02 prd-ubuntu20.04-docker-8c-8g-1430 does not seem to be running inside a container 21:32:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:32:02 $ docker top deb7f0da15558bb36fa51fed741713ba0e06a126e3541aa55587d6d32db553ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:32:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:32:03 + ls /var/log/sa-host 21:32:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:03 provisioning config files... 21:32:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config839948513854276932tmp [Pipeline] { [Pipeline] echo 21:32:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:32:04 ---> create-netrc.sh [Pipeline] } 21:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:32:04 ---> python-tools-install.sh [Pipeline] echo 21:32:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:32:04 ---> sudo-logs.sh 21:32:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:32:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:32:04 ---> job-cost.sh 21:32:04 lf-activate-venv: SKIPPING 21:32:04 DEBUG: total: 0.2199999988079071 21:32:04 INFO: Retrieving Stack Cost... 21:32:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:05 INFO: Archiving Costs [Pipeline] echo 21:32:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:32:06 ---> logs-deploy.sh 21:32:06 lf-activate-venv: SKIPPING 21:32:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/60 21:32:06 INFO: archiving workspace using pattern(s): 21:32:07 Archives upload complete. 21:32:07 INFO: archiving logs to Nexus