Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e3f17100cbecc49b07fca8c81a93e30a5261c95 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-ssh17880835918591143065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12918808290266843448.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7824983696772558701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5813458585685598688.key > 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-ssh1106407575297189909.key > 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17551 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) Commit message: "docs: Update changelog for v3.0 (#326)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 > git rev-list --no-walk 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:38:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:38:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:38:44 ========================================================= 20:38:44 EdgeX Global Pipelines Version Info 20:38:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:38:45 ------------------- 20:38:45 stable info: 20:38:45 ------------------- 20:38:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:38:45 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:38:45 Message: update stable to v1.0.249 20:38:46 ------------------- 20:38:46 experimental info: 20:38:46 ------------------- 20:38:46 Commited By: **** collab-it+edgex@linuxfoundation.org 20:38:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:38:46 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e3f171 [Pipeline] echo 20:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:46 provisioning config files... 20:38:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3022098945563488918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:47 ---> docker-login.sh 20:38:47 nexus3.edgexfoundry.org:10001 20:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:47 Configure a credential helper to remove this warning. See 20:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:47 20:38:47 Login Succeeded 20:38:47 nexus3.edgexfoundry.org:10002 20:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:47 Configure a credential helper to remove this warning. See 20:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:47 20:38:47 Login Succeeded 20:38:47 nexus3.edgexfoundry.org:10003 20:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:47 Configure a credential helper to remove this warning. See 20:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:47 20:38:47 Login Succeeded 20:38:47 nexus3.edgexfoundry.org:10004 20:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:47 Configure a credential helper to remove this warning. See 20:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:47 20:38:47 Login Succeeded 20:38:47 docker.io 20:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:48 Configure a credential helper to remove this warning. See 20:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:48 20:38:48 Login Succeeded 20:38:48 ---> docker-login.sh ends [Pipeline] } 20:38:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:38:48 + git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 20:38:48 -----------> git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [false] [Pipeline] sh 20:38:48 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 20:38:48 ========================================================= 20:38:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 20:38:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:49 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 20:38:49 [semverPrep] GIT_COMMIT: 1e3f17100cbecc49b07fca8c81a93e30a5261c95, Commit Message: docs: Update changelog for v3.0 (#326) [Pipeline] echo 20:38:49 [semverPrep] This is not a build commit. [Pipeline] sh 20:38:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:38:49 + grep -v github /etc/ssh/ssh_known_hosts 20:38:49 + [ -e /tmp/ssh_known_hosts ] 20:38:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:38:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:38:49 + sudo tee -a /etc/ssh/ssh_known_hosts 20:38:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:49 20:38:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:50 0.1.4: Pulling from edgex-devops/py-git-semver 20:38:50 b85a868b505f: Pulling fs layer 20:38:50 e2be974225ed: Pulling fs layer 20:38:50 339a4e72a1f5: Pulling fs layer 20:38:50 988bab9f4d93: Pulling fs layer 20:38:50 1469e6f7b9e6: Pulling fs layer 20:38:50 eaf3925da568: Pulling fs layer 20:38:50 bab4dde63d76: Pulling fs layer 20:38:50 988bab9f4d93: Waiting 20:38:50 bde34c3a00c8: Pulling fs layer 20:38:50 b352a97aabf1: Pulling fs layer 20:38:50 1469e6f7b9e6: Waiting 20:38:50 4872d77fe225: Pulling fs layer 20:38:50 bde34c3a00c8: Waiting 20:38:50 5851b861e8e6: Pulling fs layer 20:38:50 bab4dde63d76: Waiting 20:38:50 b352a97aabf1: Waiting 20:38:50 4872d77fe225: Waiting 20:38:50 e2be974225ed: Download complete 20:38:50 988bab9f4d93: Download complete 20:38:50 1469e6f7b9e6: Verifying Checksum 20:38:50 1469e6f7b9e6: Download complete 20:38:50 339a4e72a1f5: Verifying Checksum 20:38:50 339a4e72a1f5: Download complete 20:38:50 eaf3925da568: Download complete 20:38:50 bde34c3a00c8: Download complete 20:38:50 b352a97aabf1: Download complete 20:38:50 4872d77fe225: Verifying Checksum 20:38:50 4872d77fe225: Download complete 20:38:50 5851b861e8e6: Verifying Checksum 20:38:50 5851b861e8e6: Download complete 20:38:50 b85a868b505f: Verifying Checksum 20:38:50 b85a868b505f: Download complete 20:38:50 bab4dde63d76: Verifying Checksum 20:38:50 bab4dde63d76: Download complete 20:38:52 b85a868b505f: Pull complete 20:38:52 e2be974225ed: Pull complete 20:38:52 339a4e72a1f5: Pull complete 20:38:52 988bab9f4d93: Pull complete 20:38:53 1469e6f7b9e6: Pull complete 20:38:53 eaf3925da568: Pull complete 20:38:55 bab4dde63d76: Pull complete 20:38:55 bde34c3a00c8: Pull complete 20:38:55 b352a97aabf1: Pull complete 20:38:55 4872d77fe225: Pull complete 20:38:55 5851b861e8e6: Pull complete 20:38:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:38:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:55 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:38:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:38:58 $ docker top 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 -eo pid,comm 20:38:58 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). 20:38:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:38:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:58 [ssh-agent] Looking for ssh-agent implementation... 20:38:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:58 $ docker exec 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent 20:38:58 SSH_AUTH_SOCK=/tmp/ssh-rbzGsPvaLpPY/agent.32 20:38:58 SSH_AGENT_PID=38 20:38:58 Running ssh-add (command line suppressed) 20:38:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10457892292810701239.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10457892292810701239.key) 20:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:58 + git tag --points-at 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } 20:38:58 $ docker exec --env ******** --env ******** 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent -k 20:38:59 unset SSH_AUTH_SOCK; 20:38:59 unset SSH_AGENT_PID; 20:38:59 echo Agent pid 38 killed; 20:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:38:59 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.47' [Pipeline] sshagent 20:38:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:59 [ssh-agent] Looking for ssh-agent implementation... 20:38:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:59 $ docker exec 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent 20:38:59 SSH_AUTH_SOCK=/tmp/ssh-lc2YjznMROw8/agent.70 20:38:59 SSH_AGENT_PID=76 20:38:59 Running ssh-add (command line suppressed) 20:38:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4021072816263433524.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4021072816263433524.key) 20:38:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:59 + git semver init 20:39:00 2023-05-31 20:38:59,995 [run_init] DEBUG init version:0.0.0 force:False 20:39:00 2023-05-31 20:38:59,996 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:39:00 2023-05-31 20:38:59,996 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:39:00 2023-05-31 20:38:59,997 [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) 20:39:01 2023-05-31 20:39:00,987 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:39:01 2023-05-31 20:39:00,988 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:39:01 2023-05-31 20:39:00,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:39:01 2023-05-31 20:39:00,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:39:01 3.0.0 [Pipeline] } 20:39:01 $ docker exec --env ******** --env ******** 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent -k 20:39:01 unset SSH_AUTH_SOCK; 20:39:01 unset SSH_AGENT_PID; 20:39:01 echo Agent pid 76 killed; 20:39:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:01 + git semver [Pipeline] } 20:39:02 $ docker stop --time=1 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 20:39:03 $ docker rm -f --volumes 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:04 Stashed 1 file(s) [Pipeline] echo 20:39:04 [edgeXSemver]: initialized semver on version 3.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:04 + git checkout 1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:39:04 HEAD is now at 1e3f171 docs: Update changelog for v3.0 (#326) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:04 provisioning config files... 20:39:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17533048976166103403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:04 ---> docker-login.sh 20:39:04 nexus3.edgexfoundry.org:10001 20:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:04 Configure a credential helper to remove this warning. See 20:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:04 20:39:04 Login Succeeded 20:39:04 nexus3.edgexfoundry.org:10002 20:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:04 Configure a credential helper to remove this warning. See 20:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:04 20:39:04 Login Succeeded 20:39:04 nexus3.edgexfoundry.org:10003 20:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:05 Configure a credential helper to remove this warning. See 20:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:05 20:39:05 Login Succeeded 20:39:05 nexus3.edgexfoundry.org:10004 20:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:05 Configure a credential helper to remove this warning. See 20:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:05 20:39:05 Login Succeeded 20:39:05 docker.io 20:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:05 Configure a credential helper to remove this warning. See 20:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:05 20:39:05 Login Succeeded 20:39:05 ---> docker-login.sh ends [Pipeline] } 20:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:05 ========================================================= 20:39:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:39:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:39:05 Sending build context to Docker daemon 10.94MB 20:39:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:39:05 Step 2/12 : FROM ${BASE} AS builder 20:39:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:05 f56be85fc22e: Pulling fs layer 20:39:05 85791d961cd3: Pulling fs layer 20:39:05 d694b5ae8c79: Pulling fs layer 20:39:05 9f32a84ed3da: Pulling fs layer 20:39:05 4d19c01a9841: Pulling fs layer 20:39:05 9325e15d5711: Pulling fs layer 20:39:05 556b6ee489ea: Pulling fs layer 20:39:05 c5a4b2cf53e6: Pulling fs layer 20:39:05 9325e15d5711: Waiting 20:39:05 556b6ee489ea: Waiting 20:39:05 c5a4b2cf53e6: Waiting 20:39:05 9f32a84ed3da: Waiting 20:39:05 4d19c01a9841: Waiting 20:39:05 85791d961cd3: Verifying Checksum 20:39:05 9f32a84ed3da: Download complete 20:39:05 4d19c01a9841: Download complete 20:39:05 f56be85fc22e: Verifying Checksum 20:39:05 f56be85fc22e: Download complete 20:39:05 9325e15d5711: Verifying Checksum 20:39:05 9325e15d5711: Download complete 20:39:05 f56be85fc22e: Pull complete 20:39:06 85791d961cd3: Pull complete 20:39:06 c5a4b2cf53e6: Verifying Checksum 20:39:06 c5a4b2cf53e6: Download complete 20:39:07 d694b5ae8c79: Verifying Checksum 20:39:07 d694b5ae8c79: Download complete 20:39:07 556b6ee489ea: Verifying Checksum 20:39:07 556b6ee489ea: Download complete 20:39:11 d694b5ae8c79: Pull complete 20:39:11 9f32a84ed3da: Pull complete 20:39:11 4d19c01a9841: Pull complete 20:39:11 9325e15d5711: Pull complete 20:39:14 556b6ee489ea: Pull complete 20:39:15 c5a4b2cf53e6: Pull complete 20:39:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:39:15 ---> c4be618373d6 20:39:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:39:19 Still waiting to schedule task 20:39:19 ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:19 ‘prd-ubuntu20.04-docker-8c-8g-17548’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:19 ‘prd-ubuntu20.04-docker-8c-8g-17552’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:19 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17553’ is offline 20:39:20 ---> Running in 39687d7e39d5 20:39:20 Removing intermediate container 39687d7e39d5 20:39:20 ---> d8ee2ac39a47 20:39:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:20 ---> Running in 393e2ab9fdc5 20:39:20 Removing intermediate container 393e2ab9fdc5 20:39:20 ---> 6bf2d9fd93b7 20:39:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:20 ---> Running in 7e64feab55b6 20:39:20 Removing intermediate container 7e64feab55b6 20:39:20 ---> 30ce944456ae 20:39:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:39:20 ---> Running in 738f5359d396 20:39:20 Removing intermediate container 738f5359d396 20:39:20 ---> 9b1d2e570ed1 20:39:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:20 ---> Running in a44932680dfc 20:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:20 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:39:20 (2/4) Installing libedit (20221030.3.1-r0) 20:39:20 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:39:20 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:39:20 Executing busybox-1.35.0-r29.trigger 20:39:20 OK: 269 MiB in 57 packages 20:39:21 Removing intermediate container a44932680dfc 20:39:21 ---> 4e6846f6cd8e 20:39:21 Step 8/12 : WORKDIR /device-rest-go 20:39:21 ---> Running in a11bcfa9c8e5 20:39:21 Removing intermediate container a11bcfa9c8e5 20:39:21 ---> dd0b48d16946 20:39:21 Step 9/12 : COPY go.mod vendor* ./ 20:39:21 ---> 81e569af57c3 20:39:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:21 ---> Running in 2b03a588ebfc 20:40:08 Removing intermediate container 2b03a588ebfc 20:40:08 ---> 2eba9fe5ee01 20:40:08 Step 11/12 : COPY . . 20:40:08 ---> 1fad8235b037 20:40:08 Step 12/12 : RUN $MAKE 20:40:08 ---> Running in 9f9e45e23056 20:40:08 noop 20:40:08 Removing intermediate container 9f9e45e23056 20:40:08 ---> 4dfb09ccab07 20:40:08 Successfully built 4dfb09ccab07 20:40:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:08 + docker inspect -f . ci-base-image-x86_64 20:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:08 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:40:08 $ 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 20:40:08 $ docker top 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:09 + go version 20:40:09 go version go1.20.2 linux/amd64 [Pipeline] } 20:40:09 $ docker stop --time=1 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 20:40:10 $ docker rm -f --volumes 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:10 + docker inspect -f . ci-base-image-x86_64 20:40:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:11 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:40:11 $ 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 20:40:11 $ docker top a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:40:12 + make test 20:40:12 go test ./... -coverprofile=coverage.out ./... 20:40:17 ? github.com/edgexfoundry/device-rest-go [no test files] 20:40:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:40:27 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 20:40:35 go vet ./... 20:40:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:40:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:40:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:40:38 $ docker stop --time=1 a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 20:40:42 $ docker rm -f --volumes a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 [Pipeline] // withDockerContainer [Pipeline] sh 20:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:40:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:40:43 + ls -al . 20:40:43 total 184 20:40:43 drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:40 . 20:40:43 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 .. 20:40:43 -rw-rw-r-- 1 jenkins jenkins 151 May 31 20:38 .dockerignore 20:40:43 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:39 .git 20:40:43 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 .github 20:40:43 -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:38 .gitignore 20:40:43 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:38 .golangci.yml 20:40:43 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:39 .semver 20:40:43 -rw-rw-r-- 1 jenkins jenkins 9331 May 31 20:38 Attribution.txt 20:40:43 -rw-rw-r-- 1 jenkins jenkins 15709 May 31 20:38 CHANGELOG.md 20:40:43 -rw-rw-r-- 1 jenkins jenkins 1578 May 31 20:38 Dockerfile 20:40:43 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:38 GOVERNANCE.md 20:40:43 -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:38 Jenkinsfile 20:40:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:38 LICENSE 20:40:43 -rw-rw-r-- 1 jenkins jenkins 1779 May 31 20:38 Makefile 20:40:43 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:38 OWNERS.md 20:40:43 -rw-rw-r-- 1 jenkins jenkins 15827 May 31 20:38 README.md 20:40:43 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION 20:40:43 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 bin 20:40:43 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 cmd 20:40:43 -rw-r--r-- 1 jenkins jenkins 14663 May 31 20:40 coverage.out 20:40:43 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 driver 20:40:43 -rw-rw-r-- 1 jenkins jenkins 3354 May 31 20:38 go.mod 20:40:43 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:38 go.sum 20:40:43 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 snap 20:40:43 -rw-rw-r-- 1 jenkins jenkins 713 May 31 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:44 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=amd64 --label version=3.0.0 . 20:40:44 Sending build context to Docker daemon 10.96MB 20:40:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:40:44 Step 2/25 : FROM ${BASE} AS builder 20:40:44 ---> 4dfb09ccab07 20:40:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:40:44 ---> Running in 5b558f7f5b98 20:40:44 Removing intermediate container 5b558f7f5b98 20:40:44 ---> d6962cb4b4f4 20:40:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:44 ---> Running in a7e8f1e49feb 20:40:44 Removing intermediate container a7e8f1e49feb 20:40:44 ---> 69de083f2c0a 20:40:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:40:44 ---> Running in 8bae3f3a6e46 20:40:44 Removing intermediate container 8bae3f3a6e46 20:40:44 ---> d08e2cf3e56e 20:40:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:40:44 ---> Running in 8885981fee82 20:40:44 Removing intermediate container 8885981fee82 20:40:44 ---> a9e8839e3a19 20:40:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:44 ---> Running in be1ee3ffc26c 20:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:40:45 OK: 269 MiB in 57 packages 20:40:45 Removing intermediate container be1ee3ffc26c 20:40:45 ---> 8bf0102829c9 20:40:45 Step 8/25 : WORKDIR /device-rest-go 20:40:45 ---> Running in 59b5cd0ac47b 20:40:45 Removing intermediate container 59b5cd0ac47b 20:40:45 ---> 06149b7e9141 20:40:45 Step 9/25 : COPY go.mod vendor* ./ 20:40:46 ---> 5b7bd25e5eaf 20:40:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:46 ---> Running in be25eab4ee62 20:40:46 Removing intermediate container be25eab4ee62 20:40:46 ---> e2c4a1ed8a86 20:40:46 Step 11/25 : COPY . . 20:40:47 ---> cf6bbb5ef4f0 20:40:47 Step 12/25 : RUN $MAKE 20:40:47 ---> Running in a84849b72c43 20:40:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:41:09 Removing intermediate container a84849b72c43 20:41:09 ---> 3f1010720a35 20:41:09 Step 13/25 : FROM alpine:3.17 20:41:09 3.17: Pulling from library/alpine 20:41:09 f56be85fc22e: Already exists 20:41:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:41:09 Status: Downloaded newer image for alpine:3.17 20:41:09 ---> 9ed4aefc74f6 20:41:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:41:09 ---> Running in 18be7e65cfa9 20:41:09 Removing intermediate container 18be7e65cfa9 20:41:09 ---> caeb66ecc2d5 20:41:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:41:09 ---> Running in cd1f3635ada5 20:41:09 Removing intermediate container cd1f3635ada5 20:41:09 ---> 2540a4c2193f 20:41:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:41:09 ---> Running in acadd31027d5 20:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:41:09 (1/1) Installing dumb-init (1.2.5-r2) 20:41:09 Executing busybox-1.35.0-r29.trigger 20:41:09 OK: 7 MiB in 16 packages 20:41:09 Removing intermediate container acadd31027d5 20:41:09 ---> 7c6299cd8295 20:41:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:41:10 ---> 7df7c0ac8be0 20:41:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:41:10 ---> 82b3d1ba3313 20:41:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:41:10 ---> 38eec63a2e85 20:41:10 Step 20/25 : EXPOSE 59986 20:41:10 ---> Running in bf3bf016e1ad 20:41:11 Removing intermediate container bf3bf016e1ad 20:41:11 ---> f080516ec549 20:41:11 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:41:11 ---> Running in 0838ac26e7ee 20:41:11 Removing intermediate container 0838ac26e7ee 20:41:11 ---> 3890a1657c7b 20:41:11 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:41:11 ---> Running in 94d9ffa67d68 20:41:11 Removing intermediate container 94d9ffa67d68 20:41:11 ---> 8abd13e8facb 20:41:11 Step 23/25 : LABEL arch=amd64 20:41:11 ---> Running in a9f44818dace 20:41:11 Removing intermediate container a9f44818dace 20:41:11 ---> a23f60d2ac51 20:41:11 Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:41:11 ---> Running in 840633113c13 20:41:11 Removing intermediate container 840633113c13 20:41:11 ---> 883a895cfdfa 20:41:11 Step 25/25 : LABEL version=3.0.0 20:41:11 ---> Running in 01de580cddd9 20:41:11 Removing intermediate container 01de580cddd9 20:41:11 ---> e7c77d1e0792 20:41:11 [Warning] One or more build-args [ARCH] were not consumed 20:41:11 Successfully built e7c77d1e0792 20:41:11 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:11 provisioning config files... 20:41:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config734447743246288930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:11 ---> docker-login.sh 20:41:11 nexus3.edgexfoundry.org:10001 20:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:11 Configure a credential helper to remove this warning. See 20:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:11 20:41:11 Login Succeeded 20:41:11 nexus3.edgexfoundry.org:10002 20:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:11 Configure a credential helper to remove this warning. See 20:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:11 20:41:11 Login Succeeded 20:41:11 nexus3.edgexfoundry.org:10003 20:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:12 Configure a credential helper to remove this warning. See 20:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:12 20:41:12 Login Succeeded 20:41:12 nexus3.edgexfoundry.org:10004 20:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:12 Configure a credential helper to remove this warning. See 20:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:12 20:41:12 Login Succeeded 20:41:12 docker.io 20:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:12 Configure a credential helper to remove this warning. See 20:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:12 20:41:12 Login Succeeded 20:41:12 ---> docker-login.sh ends [Pipeline] } 20:41:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:12 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:41:12 1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:41:12 latest 20:41:12 3.0.0 20:41:12 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:41:12 main 20:41:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:41:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:13 b08c1c120f2f: Preparing 20:41:13 cbb09a9baea2: Preparing 20:41:13 af97117794d7: Preparing 20:41:13 7ba2df11d1a5: Preparing 20:41:13 f1417ff83b31: Preparing 20:41:13 f1417ff83b31: Layer already exists 20:41:13 7ba2df11d1a5: Pushed 20:41:13 b08c1c120f2f: Pushed 20:41:13 cbb09a9baea2: Pushed 20:41:15 af97117794d7: Pushed 20:41:15 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:16 b08c1c120f2f: Preparing 20:41:16 cbb09a9baea2: Preparing 20:41:16 af97117794d7: Preparing 20:41:16 7ba2df11d1a5: Preparing 20:41:16 f1417ff83b31: Preparing 20:41:16 b08c1c120f2f: Layer already exists 20:41:16 af97117794d7: Layer already exists 20:41:16 7ba2df11d1a5: Layer already exists 20:41:16 f1417ff83b31: Layer already exists 20:41:16 cbb09a9baea2: Layer already exists 20:41:16 latest: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0 20:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:16 b08c1c120f2f: Preparing 20:41:16 cbb09a9baea2: Preparing 20:41:16 af97117794d7: Preparing 20:41:16 7ba2df11d1a5: Preparing 20:41:16 f1417ff83b31: Preparing 20:41:16 b08c1c120f2f: Layer already exists 20:41:16 af97117794d7: Layer already exists 20:41:16 7ba2df11d1a5: Layer already exists 20:41:16 f1417ff83b31: Layer already exists 20:41:16 cbb09a9baea2: Layer already exists 20:41:16 3.0.0: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:41:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:17 b08c1c120f2f: Preparing 20:41:17 cbb09a9baea2: Preparing 20:41:17 af97117794d7: Preparing 20:41:17 7ba2df11d1a5: Preparing 20:41:17 f1417ff83b31: Preparing 20:41:17 7ba2df11d1a5: Layer already exists 20:41:17 b08c1c120f2f: Layer already exists 20:41:17 cbb09a9baea2: Layer already exists 20:41:17 af97117794d7: Layer already exists 20:41:17 f1417ff83b31: Layer already exists 20:41:17 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:41:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:18 b08c1c120f2f: Preparing 20:41:18 cbb09a9baea2: Preparing 20:41:18 af97117794d7: Preparing 20:41:18 7ba2df11d1a5: Preparing 20:41:18 f1417ff83b31: Preparing 20:41:18 f1417ff83b31: Layer already exists 20:41:18 af97117794d7: Layer already exists 20:41:18 7ba2df11d1a5: Layer already exists 20:41:18 b08c1c120f2f: Layer already exists 20:41:18 cbb09a9baea2: Layer already exists 20:41:18 main: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:18 ===================================================== [Pipeline] echo 20:41:18 taggedImages: 20:41:18 - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:41:18 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:41:18 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0 20:41:18 - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:41:18 - 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 20:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:18 20:41:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:18 latest: Pulling from edgex-lftools-log-publisher 20:41:18 5eb5b503b376: Pulling fs layer 20:41:18 5c69ac0246d0: Pulling fs layer 20:41:18 ec43610c2a17: Pulling fs layer 20:41:18 3a2ae6a8a46f: Pulling fs layer 20:41:18 33b1e0a273af: Pulling fs layer 20:41:18 5d3b04190fa2: Pulling fs layer 20:41:18 2f39f015ded8: Pulling fs layer 20:41:18 3a2ae6a8a46f: Waiting 20:41:18 33b1e0a273af: Waiting 20:41:18 5d3b04190fa2: Waiting 20:41:18 2f39f015ded8: Waiting 20:41:18 5c69ac0246d0: Download complete 20:41:18 3a2ae6a8a46f: Download complete 20:41:18 33b1e0a273af: Verifying Checksum 20:41:18 33b1e0a273af: Download complete 20:41:18 5d3b04190fa2: Verifying Checksum 20:41:18 5d3b04190fa2: Download complete 20:41:18 ec43610c2a17: Verifying Checksum 20:41:18 ec43610c2a17: Download complete 20:41:19 5eb5b503b376: Verifying Checksum 20:41:19 5eb5b503b376: Download complete 20:41:19 2f39f015ded8: Download complete 20:41:20 5eb5b503b376: Pull complete 20:41:20 5c69ac0246d0: Pull complete 20:41:21 ec43610c2a17: Pull complete 20:41:21 3a2ae6a8a46f: Pull complete 20:41:21 33b1e0a273af: Pull complete 20:41:21 5d3b04190fa2: Pull complete 20:41:25 2f39f015ded8: Pull complete 20:41:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:41:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:25 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:41:25 $ 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 20:41:30 $ docker top c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:30 ---> job-cost.sh 20:41:30 lf-activate-venv: SKIPPING 20:41:30 INFO: No Stack... 20:41:30 INFO: Retrieving Pricing Info for: v3-standard-8 20:41:31 INFO: Archiving Costs [Pipeline] sh 20:41:31 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:41:31 + cut -d, -f6 [Pipeline] lock 20:41:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] 20:41:31 Resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] did not exist. Created. 20:41:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:41:32 + echo total: 0.2199999988079071 [Pipeline] stash 20:41:32 Stashed 1 file(s) [Pipeline] } 20:41:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 20:41:32 $ docker stop --time=1 c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 20:41:33 $ docker rm -f --volumes c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17559 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:42:06 Running in /w/workspace/device-rest-go/120 [Pipeline] { [Pipeline] checkout 20:42:06 The recommended git tool is: git 20:42:14 using credential edgex-jenkins-ssh 20:42:14 Cloning the remote Git repository 20:42:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:42:14 > git init /w/workspace/device-rest-go/120 # timeout=10 20:42:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:42:14 > git --version # timeout=10 20:42:14 > git --version # 'git version 2.25.1' 20:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:42:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:18 Avoid second fetch 20:42:18 Checking out Revision 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) 20:42:18 > git config core.sparsecheckout # timeout=10 20:42:19 > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 20:42:19 Commit message: "docs: Update changelog for v3.0 (#326)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:42:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:20 Dload Upload Total Spent Left Speed 20:42:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 141k 0 --:--:-- --:--:-- --:--:-- 143k [Pipeline] sh 20:42:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:42:22 + sudo tee /etc/docker/daemon.new 20:42:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:42:22 { 20:42:22 "registry-mirrors": [ 20:42:22 "https://nexus3.edgexfoundry.org:10001" 20:42:22 ], 20:42:22 "bip": "10.250.0.254/24", 20:42:22 "hosts": [ 20:42:22 "tcp://0.0.0.0:5555", 20:42:22 "unix:///var/run/docker.sock" 20:42:22 ], 20:42:22 "mtu": 1458, 20:42:22 "selinux-enabled": true, 20:42:22 "seccomp-profile": "/etc/docker/seccomp.json" 20:42:22 } [Pipeline] sh 20:42:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:42:22 + sudo service docker restart [Pipeline] sh 20:42:41 + git checkout 1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:42:41 HEAD is now at 1e3f171 docs: Update changelog for v3.0 (#326) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:41 provisioning config files... 20:42:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/120@tmp/config3960516197657604879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:42 ---> docker-login.sh 20:42:42 nexus3.edgexfoundry.org:10001 20:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:43 Configure a credential helper to remove this warning. See 20:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:43 20:42:43 Login Succeeded 20:42:43 nexus3.edgexfoundry.org:10002 20:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:43 Configure a credential helper to remove this warning. See 20:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:43 20:42:43 Login Succeeded 20:42:43 nexus3.edgexfoundry.org:10003 20:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:44 Configure a credential helper to remove this warning. See 20:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:44 20:42:44 Login Succeeded 20:42:44 nexus3.edgexfoundry.org:10004 20:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:44 Configure a credential helper to remove this warning. See 20:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:44 20:42:44 Login Succeeded 20:42:44 docker.io 20:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:45 Configure a credential helper to remove this warning. See 20:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:45 20:42:45 Login Succeeded 20:42:45 ---> docker-login.sh ends [Pipeline] } 20:42:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:45 ========================================================= 20:42:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:42:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:42:46 Sending build context to Docker daemon 141.8kB 20:42:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:42:46 Step 2/12 : FROM ${BASE} AS builder 20:42:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:42:46 c41833b44d91: Pulling fs layer 20:42:46 ed15518f5707: Pulling fs layer 20:42:46 feae8fd75edb: Pulling fs layer 20:42:46 242c74f7c9fa: Pulling fs layer 20:42:46 3cdef696dda3: Pulling fs layer 20:42:46 2ced38df9373: Pulling fs layer 20:42:46 58f1dce35555: Pulling fs layer 20:42:46 242c74f7c9fa: Waiting 20:42:46 3cdef696dda3: Waiting 20:42:46 ed15518f5707: Verifying Checksum 20:42:46 ed15518f5707: Download complete 20:42:46 242c74f7c9fa: Verifying Checksum 20:42:46 242c74f7c9fa: Download complete 20:42:46 3cdef696dda3: Verifying Checksum 20:42:46 3cdef696dda3: Download complete 20:42:47 c41833b44d91: Verifying Checksum 20:42:47 c41833b44d91: Download complete 20:42:48 c41833b44d91: Pull complete 20:42:48 ed15518f5707: Pull complete 20:42:48 58f1dce35555: Verifying Checksum 20:42:48 58f1dce35555: Download complete 20:42:50 2ced38df9373: Verifying Checksum 20:42:50 2ced38df9373: Download complete 20:42:50 feae8fd75edb: Verifying Checksum 20:42:50 feae8fd75edb: Download complete 20:43:03 feae8fd75edb: Pull complete 20:43:03 242c74f7c9fa: Pull complete 20:43:03 3cdef696dda3: Pull complete 20:43:09 2ced38df9373: Pull complete 20:43:11 58f1dce35555: Pull complete 20:43:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:43:11 ---> fadd8f120f05 20:43:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:13 ---> Running in 598073ea71fc 20:43:13 Removing intermediate container 598073ea71fc 20:43:13 ---> ad5aff858b3b 20:43:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:14 ---> Running in d123fe45bb54 20:43:14 Removing intermediate container d123fe45bb54 20:43:14 ---> 4f592ceb80c1 20:43:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:14 ---> Running in f19b7c376f7a 20:43:15 Removing intermediate container f19b7c376f7a 20:43:15 ---> 74b0781c3f36 20:43:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:15 ---> Running in e3d4a8bd25cc 20:43:15 Removing intermediate container e3d4a8bd25cc 20:43:15 ---> 7d9a886ca29b 20:43:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:15 ---> Running in c284b8ad45e3 20:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:43:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:43:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:43:19 (2/4) Installing libedit (20221030.3.1-r0) 20:43:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:43:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:43:19 Executing busybox-1.35.0-r29.trigger 20:43:19 OK: 268 MiB in 57 packages 20:43:20 Removing intermediate container c284b8ad45e3 20:43:20 ---> ede5396cd5e0 20:43:20 Step 8/12 : WORKDIR /device-rest-go 20:43:20 ---> Running in 0ca68a65d2bd 20:43:21 Removing intermediate container 0ca68a65d2bd 20:43:21 ---> ca23fafddb1f 20:43:21 Step 9/12 : COPY go.mod vendor* ./ 20:43:21 ---> 5d121151e034 20:43:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:21 ---> Running in 097eaaf25467 20:44:29 Removing intermediate container 097eaaf25467 20:44:29 ---> 9bdfa87f3444 20:44:29 Step 11/12 : COPY . . 20:44:30 ---> d6329844ba06 20:44:30 Step 12/12 : RUN $MAKE 20:44:30 ---> Running in ba428f0c20e9 20:44:31 noop 20:44:32 Removing intermediate container ba428f0c20e9 20:44:32 ---> 918b03d2c541 20:44:32 Successfully built 918b03d2c541 20:44:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:33 + docker inspect -f . ci-base-image-arm64 20:44:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:33 prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container 20:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:44:34 $ docker top db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:35 + go version 20:44:35 go version go1.20.2 linux/arm64 [Pipeline] } 20:44:35 $ docker stop --time=1 db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 20:44:37 $ docker rm -f --volumes db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:38 + docker inspect -f . ci-base-image-arm64 20:44:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:38 prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container 20:44:38 $ 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/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:44:39 $ docker top 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:40 + git config --global --add safe.directory /w/workspace/device-rest-go/120 [Pipeline] fileExists [Pipeline] sh 20:44:41 + make test 20:44:41 go test ./... -coverprofile=coverage.out ./... 20:45:28 ? github.com/edgexfoundry/device-rest-go [no test files] 20:47:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:47:50 ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 32.2% of statements 20:47:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:47:50 go vet ./... 20:48:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:48:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:48:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:48:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:48:22 $ docker stop --time=1 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 20:48:24 $ docker rm -f --volumes 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 [Pipeline] // withDockerContainer [Pipeline] sh 20:48:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:48:25 Warning: overwriting stash ‘coverage-report’ 20:48:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:48:27 + ls -al . 20:48:27 total 180 20:48:27 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:44 . 20:48:27 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 .. 20:48:27 -rw-rw-r-- 1 jenkins jenkins 151 May 31 20:42 .dockerignore 20:48:27 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:42 .git 20:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 .github 20:48:27 -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:42 .gitignore 20:48:27 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:42 .golangci.yml 20:48:27 -rw-rw-r-- 1 jenkins jenkins 9331 May 31 20:42 Attribution.txt 20:48:27 -rw-rw-r-- 1 jenkins jenkins 15709 May 31 20:42 CHANGELOG.md 20:48:27 -rw-rw-r-- 1 jenkins jenkins 1578 May 31 20:42 Dockerfile 20:48:27 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:42 GOVERNANCE.md 20:48:27 -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:42 Jenkinsfile 20:48:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:42 LICENSE 20:48:27 -rw-rw-r-- 1 jenkins jenkins 1779 May 31 20:42 Makefile 20:48:27 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:42 OWNERS.md 20:48:27 -rw-rw-r-- 1 jenkins jenkins 15827 May 31 20:42 README.md 20:48:27 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION 20:48:27 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 bin 20:48:27 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 cmd 20:48:27 -rw-r--r-- 1 jenkins jenkins 14663 May 31 20:47 coverage.out 20:48:27 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 driver 20:48:27 -rw-rw-r-- 1 jenkins jenkins 3354 May 31 20:42 go.mod 20:48:27 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:42 go.sum 20:48:27 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 snap 20:48:27 -rw-rw-r-- 1 jenkins jenkins 713 May 31 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:27 + 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=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=arm64 --label version=3.0.0 . 20:48:27 Sending build context to Docker daemon 157.2kB 20:48:27 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:48:27 Step 2/25 : FROM ${BASE} AS builder 20:48:27 ---> 918b03d2c541 20:48:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:48:28 ---> Running in 2e71eeae2b1a 20:48:28 Removing intermediate container 2e71eeae2b1a 20:48:28 ---> d53e5c22e642 20:48:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:28 ---> Running in 101c96d97419 20:48:28 Removing intermediate container 101c96d97419 20:48:28 ---> 7d81611744df 20:48:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:48:28 ---> Running in 9b631dd258ff 20:48:29 Removing intermediate container 9b631dd258ff 20:48:29 ---> 12f73bef314a 20:48:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:48:29 ---> Running in 208ac5d9da1e 20:48:29 Removing intermediate container 208ac5d9da1e 20:48:29 ---> e012053d153e 20:48:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:48:29 ---> Running in 7a5ddac2a6b3 20:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:48:33 OK: 268 MiB in 57 packages 20:48:34 Removing intermediate container 7a5ddac2a6b3 20:48:34 ---> 476f58adc30b 20:48:34 Step 8/25 : WORKDIR /device-rest-go 20:48:34 ---> Running in c7906e6a9bf9 20:48:34 Removing intermediate container c7906e6a9bf9 20:48:34 ---> 55cedde44f03 20:48:34 Step 9/25 : COPY go.mod vendor* ./ 20:48:36 ---> 58e6ce93fd3b 20:48:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:36 ---> Running in a30a13fcde9a 20:48:40 Removing intermediate container a30a13fcde9a 20:48:40 ---> 444ca30f19b6 20:48:40 Step 11/25 : COPY . . 20:48:40 ---> 94c17034475c 20:48:40 Step 12/25 : RUN $MAKE 20:48:40 ---> Running in 0e8dddf56659 20:48:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:51:33 Removing intermediate container 0e8dddf56659 20:51:33 ---> 7470335198f8 20:51:33 Step 13/25 : FROM alpine:3.17 20:51:33 3.17: Pulling from library/alpine 20:51:33 c41833b44d91: Already exists 20:51:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:51:33 Status: Downloaded newer image for alpine:3.17 20:51:33 ---> 51e60588ff2c 20:51:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:51:33 ---> Running in fdaff207b5b4 20:51:33 Removing intermediate container fdaff207b5b4 20:51:33 ---> 4bcdc9511045 20:51:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:51:33 ---> Running in 6cf8c146e148 20:51:33 Removing intermediate container 6cf8c146e148 20:51:33 ---> 340722c39f52 20:51:33 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:51:33 ---> Running in 2297f1331655 20:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:51:33 (1/1) Installing dumb-init (1.2.5-r2) 20:51:33 Executing busybox-1.35.0-r29.trigger 20:51:33 OK: 8 MiB in 16 packages 20:51:33 Removing intermediate container 2297f1331655 20:51:33 ---> 0b5bd5d1d9d9 20:51:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:51:33 ---> ab147b5ff585 20:51:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:51:33 ---> 0777871f56ee 20:51:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:51:33 ---> 5b5c2823b952 20:51:33 Step 20/25 : EXPOSE 59986 20:51:33 ---> Running in 3de62fbed918 20:51:33 Removing intermediate container 3de62fbed918 20:51:33 ---> 10c7db6604c3 20:51:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:51:33 ---> Running in 49e8f383204e 20:51:33 Removing intermediate container 49e8f383204e 20:51:33 ---> 872e613eb19f 20:51:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:33 ---> Running in 294bb0057ac8 20:51:33 Removing intermediate container 294bb0057ac8 20:51:33 ---> 10b243757c27 20:51:33 Step 23/25 : LABEL arch=arm64 20:51:33 ---> Running in f48cb4de7b6d 20:51:33 Removing intermediate container f48cb4de7b6d 20:51:33 ---> 63229524ad4c 20:51:33 Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:51:33 ---> Running in 831a067f8427 20:51:33 Removing intermediate container 831a067f8427 20:51:33 ---> 3b7b58f2c108 20:51:33 Step 25/25 : LABEL version=3.0.0 20:51:33 ---> Running in 3be93f9058dc 20:51:33 Removing intermediate container 3be93f9058dc 20:51:33 ---> 1bc99b009f18 20:51:33 [Warning] One or more build-args [ARCH] were not consumed 20:51:33 Successfully built 1bc99b009f18 20:51:33 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 20:51:33 provisioning config files... 20:51:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/120@tmp/config1474271906810862588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:34 ---> docker-login.sh 20:51:34 nexus3.edgexfoundry.org:10001 20:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:34 Configure a credential helper to remove this warning. See 20:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:34 20:51:34 Login Succeeded 20:51:34 nexus3.edgexfoundry.org:10002 20:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:34 Configure a credential helper to remove this warning. See 20:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:34 20:51:34 Login Succeeded 20:51:34 nexus3.edgexfoundry.org:10003 20:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:35 Configure a credential helper to remove this warning. See 20:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:35 20:51:35 Login Succeeded 20:51:35 nexus3.edgexfoundry.org:10004 20:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:35 Configure a credential helper to remove this warning. See 20:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:35 20:51:35 Login Succeeded 20:51:35 docker.io 20:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:36 Configure a credential helper to remove this warning. See 20:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:36 20:51:36 Login Succeeded 20:51:36 ---> docker-login.sh ends [Pipeline] } 20:51:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:36 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:51:36 1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:51:36 latest 20:51:36 3.0.0 20:51:36 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:51:36 main 20:51:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:51:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:51:36 2b7a40ac269e: Preparing 20:51:36 f840e0aa18a1: Preparing 20:51:36 f91ea78b20ac: Preparing 20:51:36 2a7383a98eae: Preparing 20:51:36 26cbea5cba74: Preparing 20:51:37 26cbea5cba74: Layer already exists 20:51:37 2b7a40ac269e: Pushed 20:51:37 f840e0aa18a1: Pushed 20:51:37 2a7383a98eae: Pushed 20:51:42 f91ea78b20ac: Pushed 20:51:42 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:51:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:51:43 2b7a40ac269e: Preparing 20:51:43 f840e0aa18a1: Preparing 20:51:43 f91ea78b20ac: Preparing 20:51:43 2a7383a98eae: Preparing 20:51:43 26cbea5cba74: Preparing 20:51:43 26cbea5cba74: Layer already exists 20:51:43 f91ea78b20ac: Layer already exists 20:51:43 2b7a40ac269e: Layer already exists 20:51:43 f840e0aa18a1: Layer already exists 20:51:43 2a7383a98eae: Layer already exists 20:51:43 latest: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 20:51:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:51:44 2b7a40ac269e: Preparing 20:51:44 f840e0aa18a1: Preparing 20:51:44 f91ea78b20ac: Preparing 20:51:44 2a7383a98eae: Preparing 20:51:44 26cbea5cba74: Preparing 20:51:44 26cbea5cba74: Layer already exists 20:51:44 f840e0aa18a1: Layer already exists 20:51:44 2b7a40ac269e: Layer already exists 20:51:44 2a7383a98eae: Layer already exists 20:51:44 f91ea78b20ac: Layer already exists 20:51:44 3.0.0: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:51:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:51:45 2b7a40ac269e: Preparing 20:51:45 f840e0aa18a1: Preparing 20:51:45 f91ea78b20ac: Preparing 20:51:45 2a7383a98eae: Preparing 20:51:45 26cbea5cba74: Preparing 20:51:45 2a7383a98eae: Layer already exists 20:51:45 f840e0aa18a1: Layer already exists 20:51:45 26cbea5cba74: Layer already exists 20:51:45 f91ea78b20ac: Layer already exists 20:51:45 2b7a40ac269e: Layer already exists 20:51:45 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:51:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:51:46 2b7a40ac269e: Preparing 20:51:46 f840e0aa18a1: Preparing 20:51:46 f91ea78b20ac: Preparing 20:51:46 2a7383a98eae: Preparing 20:51:46 26cbea5cba74: Preparing 20:51:46 f840e0aa18a1: Layer already exists 20:51:46 f91ea78b20ac: Layer already exists 20:51:46 26cbea5cba74: Layer already exists 20:51:46 2a7383a98eae: Layer already exists 20:51:46 2b7a40ac269e: Layer already exists 20:51:46 main: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:46 ===================================================== [Pipeline] echo 20:51:46 taggedImages: 20:51:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 20:51:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:51:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 20:51:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 20:51:46 - 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 20:51:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:47 20:51:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:48 arm64: Pulling from edgex-lftools-log-publisher 20:51:48 8998bd30e6a1: Pulling fs layer 20:51:48 04944245beec: Pulling fs layer 20:51:48 699f458cf7ca: Pulling fs layer 20:51:48 765212b225bb: Pulling fs layer 20:51:48 f23df028b6ca: Pulling fs layer 20:51:48 d65c8cfc05b1: Pulling fs layer 20:51:48 2437ff75d9bd: Pulling fs layer 20:51:48 d65c8cfc05b1: Waiting 20:51:48 2437ff75d9bd: Waiting 20:51:48 f23df028b6ca: Waiting 20:51:48 765212b225bb: Waiting 20:51:48 04944245beec: Verifying Checksum 20:51:48 04944245beec: Download complete 20:51:48 765212b225bb: Verifying Checksum 20:51:48 765212b225bb: Download complete 20:51:48 f23df028b6ca: Verifying Checksum 20:51:48 f23df028b6ca: Download complete 20:51:48 d65c8cfc05b1: Verifying Checksum 20:51:48 d65c8cfc05b1: Download complete 20:51:48 699f458cf7ca: Verifying Checksum 20:51:48 699f458cf7ca: Download complete 20:51:48 8998bd30e6a1: Verifying Checksum 20:51:48 8998bd30e6a1: Download complete 20:51:51 2437ff75d9bd: Verifying Checksum 20:51:51 2437ff75d9bd: Download complete 20:51:53 8998bd30e6a1: Pull complete 20:51:53 04944245beec: Pull complete 20:51:54 699f458cf7ca: Pull complete 20:51:55 765212b225bb: Pull complete 20:51:56 f23df028b6ca: Pull complete 20:51:56 d65c8cfc05b1: Pull complete 20:52:11 2437ff75d9bd: Pull complete 20:52:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:11 prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container 20:52:11 $ 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/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:52:14 $ docker top 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:15 ---> job-cost.sh 20:52:15 lf-activate-venv: SKIPPING 20:52:15 INFO: No Stack... 20:52:15 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:16 INFO: Archiving Costs [Pipeline] sh 20:52:17 + cat /w/workspace/device-rest-go/120/archives/cost.csv 20:52:17 + cut -d, -f6 [Pipeline] lock 20:52:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] 20:52:17 Resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] did not exist. Created. 20:52:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:17 /w/workspace/device-rest-go/120@tmp/durable-aed23650/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:18 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:18 Warning: overwriting stash ‘stack-cost’ 20:52:18 Stashed 1 file(s) [Pipeline] } 20:52:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:18 $ docker stop --time=1 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 20:52:19 $ docker rm -f --volumes 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 [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 20:52:20 provisioning config files... 20:52:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config777983480300061313tmp [Pipeline] { [Pipeline] sh 20:52:20 + set +x 20:52:20 + curl -s https://codecov.io/bash 20:52:20 + bash -s -- 20:52:20 20:52:20 _____ _ 20:52:20 / ____| | | 20:52:20 | | ___ __| | ___ ___ _____ __ 20:52:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:20 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:20 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:20 Bash-1.0.6 20:52:20 20:52:20 20:52:20 ==> git version 2.25.1 found 20:52:20 ==> 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 20:52:20 Release-Date: 2020-01-08 20:52:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:20 ==> Jenkins CI detected. 20:52:20 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:52:20 project root: . 20:52:20 --> token set from env 20:52:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:20 ==> Running gcov in . (disable via -X gcov) 20:52:20 ==> Python coveragepy not found 20:52:20 ==> Searching for coverage reports in: 20:52:20 + . 20:52:20 -> Found 1 reports 20:52:20 ==> Detecting git/mercurial file structure 20:52:20 ==> Reading reports 20:52:20 + ./coverage.out bytes=14663 20:52:20 ==> Appending adjustments 20:52:20 https://docs.codecov.io/docs/fixing-reports 20:52:20 + Found adjustments 20:52:20 ==> Gzipping contents 20:52:20 4.0K /tmp/codecov.EC8lFs.gz 20:52:20 ==> Uploading reports 20:52:20 url: https://codecov.io 20:52:20 query: branch=main&commit=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:20 -> Pinging Codecov 20:52:20 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=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:20 -> Uploading to 20:52:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/4E5D53B4F1F92C436F7061BF334D961C/1e3f17100cbecc49b07fca8c81a93e30a5261c95/4173c4ed-c1be-4568-923c-da57e36b7fbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83deb555c96aefc5370858d1a5d86e84903b11bd021668fa60b2640b648950f0 20:52:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:20 Dload Upload Total Spent Left Speed 20:52:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 9400 --:--:-- --:--:-- --:--:-- 9400 20:52:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } 20:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:52:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:52:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:21 20:52:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:52:22 df9b9388f04a: Pulling fs layer 20:52:22 52dc419b0ee2: Pulling fs layer 20:52:22 25bc292e5bac: Pulling fs layer 20:52:22 114826534d7a: Pulling fs layer 20:52:22 4657fd5d0bcf: Pulling fs layer 20:52:22 6ad1cebc031e: Pulling fs layer 20:52:22 8a3aa393b2d8: Pulling fs layer 20:52:22 114826534d7a: Waiting 20:52:22 6ad1cebc031e: Waiting 20:52:22 8a3aa393b2d8: Waiting 20:52:22 4657fd5d0bcf: Waiting 20:52:22 25bc292e5bac: Verifying Checksum 20:52:22 25bc292e5bac: Download complete 20:52:22 52dc419b0ee2: Download complete 20:52:22 4657fd5d0bcf: Verifying Checksum 20:52:22 4657fd5d0bcf: Download complete 20:52:22 df9b9388f04a: Download complete 20:52:22 6ad1cebc031e: Verifying Checksum 20:52:22 6ad1cebc031e: Download complete 20:52:22 df9b9388f04a: Pull complete 20:52:22 52dc419b0ee2: Pull complete 20:52:22 25bc292e5bac: Pull complete 20:52:22 114826534d7a: Verifying Checksum 20:52:22 114826534d7a: Download complete 20:52:22 8a3aa393b2d8: Verifying Checksum 20:52:22 8a3aa393b2d8: Download complete 20:52:27 114826534d7a: Pull complete 20:52:27 4657fd5d0bcf: Pull complete 20:52:27 6ad1cebc031e: Pull complete 20:52:29 8a3aa393b2d8: Pull complete 20:52:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:29 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:52:29 $ 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 20:52:33 $ docker top d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d -eo pid,comm [Pipeline] { [Pipeline] echo 20:52:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:52:33 + set -o pipefail 20:52:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:52:38 20:52:38 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:52:38 20:52:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/acfeed5a-2f09-4339-b56f-f6180a8cf818 20:52:38 20:52:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:52:38 20:52:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:52:38 20:52:40 20:52:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:52:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:52:40 More details here: https://snyk.co/ue1NS [Pipeline] } 20:52:40 $ docker stop --time=1 d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d 20:52:43 $ docker rm -f --volumes d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d [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 20:52:43 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] sh 20:52:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:44 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:52:44 $ 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 20:52:44 $ docker top f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f -eo pid,comm 20:52:44 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). 20:52:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:44 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:45 + git semver [Pipeline] } 20:52:45 $ docker stop --time=1 f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f 20:52:46 $ docker rm -f --volumes f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:47 20:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:47 0.23.1-centos7: Pulling from edgex-lftools 20:52:47 ab5ef0e58194: Pulling fs layer 20:52:47 9712f1f96733: Pulling fs layer 20:52:47 63f879dbbcfc: Pulling fs layer 20:52:47 0d9ebad4ef96: Pulling fs layer 20:52:47 e9a5061849ea: Pulling fs layer 20:52:47 d747dcd14b5f: Pulling fs layer 20:52:47 2de7ff778b66: Pulling fs layer 20:52:47 0d9ebad4ef96: Waiting 20:52:47 e9a5061849ea: Waiting 20:52:47 d747dcd14b5f: Waiting 20:52:47 2de7ff778b66: Waiting 20:52:47 9712f1f96733: Download complete 20:52:47 63f879dbbcfc: Verifying Checksum 20:52:47 63f879dbbcfc: Download complete 20:52:48 e9a5061849ea: Verifying Checksum 20:52:48 e9a5061849ea: Download complete 20:52:48 d747dcd14b5f: Verifying Checksum 20:52:48 d747dcd14b5f: Download complete 20:52:48 0d9ebad4ef96: Verifying Checksum 20:52:48 0d9ebad4ef96: Download complete 20:52:48 ab5ef0e58194: Verifying Checksum 20:52:48 ab5ef0e58194: Download complete 20:52:48 2de7ff778b66: Verifying Checksum 20:52:51 ab5ef0e58194: Pull complete 20:52:51 9712f1f96733: Pull complete 20:52:51 63f879dbbcfc: Pull complete 20:52:55 0d9ebad4ef96: Pull complete 20:52:55 e9a5061849ea: Pull complete 20:52:55 d747dcd14b5f: Pull complete 20:52:57 2de7ff778b66: Pull complete 20:52:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:57 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:52:57 $ 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 20:53:02 $ docker top a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:53:02 provisioning config files... 20:53:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11720186902919068444tmp 20:53:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10340192427785176478tmp 20:53:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7492824127298818999tmp [Pipeline] { [Pipeline] echo 20:53:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:53:02 ---> sigul-configuration.sh 20:53:02 gpg: directory `/root/.gnupg' created 20:53:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:53:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:53:02 gpg: keyring `/root/.gnupg/secring.gpg' created 20:53:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:53:02 gpg: CAST5 encrypted data 20:53:02 gpg: encrypted with 1 passphrase 20:53:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:53:02 + mkdir /home/jenkins 20:53:02 + mkdir /home/jenkins/sigul [Pipeline] sh 20:53:03 + 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 20:53:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:03 ---> sigul-install.sh 20:53:03 Sigul already installed; skipping installation. [Pipeline] sh 20:53:03 + git tag --list 20:53:03 v1.0.0 20:53:03 v1.1.0 20:53:03 v1.1.1 20:53:03 v1.1.2 20:53:03 v1.2.0 20:53:03 v1.2.1 20:53:03 v2.0.0 20:53:03 v2.1.0 20:53:03 v2.1.1 20:53:03 v2.1.1-dev.1 20:53:03 v2.1.1-dev.2 20:53:03 v2.1.1-dev.3 20:53:03 v2.2.0 20:53:03 v2.2.1-dev.1 20:53:03 v2.2.1-dev.2 20:53:03 v2.2.1-dev.3 20:53:03 v2.2.1-dev.4 20:53:03 v2.2.1-dev.5 20:53:03 v2.2.1-dev.6 20:53:03 v2.2.1-dev.7 20:53:03 v2.2.1-dev.8 20:53:03 v2.2.1-dev.9 20:53:03 v2.3.0 20:53:03 v2.3.0-dev.10 20:53:03 v2.3.0-dev.11 20:53:03 v2.3.0-dev.12 20:53:03 v2.3.0-dev.13 20:53:03 v2.3.0-dev.14 20:53:03 v2.3.0-dev.15 20:53:03 v2.3.0-dev.16 20:53:03 v2.3.0-dev.17 20:53:03 v2.3.0-dev.18 20:53:03 v2.3.0-dev.19 20:53:03 v2.3.0-dev.20 20:53:03 v2.3.0-dev.21 20:53:03 v2.3.0-dev.22 20:53:03 v2.3.0-dev.23 20:53:03 v2.3.0-dev.24 20:53:03 v2.3.0-dev.25 20:53:03 v2.3.0-dev.9 20:53:03 v3.0.0 20:53:03 v3.0.0-dev.1 20:53:03 v3.0.0-dev.10 20:53:03 v3.0.0-dev.11 20:53:03 v3.0.0-dev.12 20:53:03 v3.0.0-dev.13 20:53:03 v3.0.0-dev.14 20:53:03 v3.0.0-dev.15 20:53:03 v3.0.0-dev.16 20:53:03 v3.0.0-dev.17 20:53:03 v3.0.0-dev.18 20:53:03 v3.0.0-dev.19 20:53:03 v3.0.0-dev.2 20:53:03 v3.0.0-dev.20 20:53:03 v3.0.0-dev.21 20:53:03 v3.0.0-dev.22 20:53:03 v3.0.0-dev.23 20:53:03 v3.0.0-dev.24 20:53:03 v3.0.0-dev.25 20:53:03 v3.0.0-dev.26 20:53:03 v3.0.0-dev.27 20:53:03 v3.0.0-dev.28 20:53:03 v3.0.0-dev.29 20:53:03 v3.0.0-dev.3 20:53:03 v3.0.0-dev.30 20:53:03 v3.0.0-dev.31 20:53:03 v3.0.0-dev.32 20:53:03 v3.0.0-dev.33 20:53:03 v3.0.0-dev.34 20:53:03 v3.0.0-dev.35 20:53:03 v3.0.0-dev.36 20:53:03 v3.0.0-dev.37 20:53:03 v3.0.0-dev.38 20:53:03 v3.0.0-dev.39 20:53:03 v3.0.0-dev.4 20:53:03 v3.0.0-dev.40 20:53:03 v3.0.0-dev.41 20:53:03 v3.0.0-dev.42 20:53:03 v3.0.0-dev.43 20:53:03 v3.0.0-dev.44 20:53:03 v3.0.0-dev.45 20:53:03 v3.0.0-dev.46 20:53:03 v3.0.0-dev.47 20:53:03 v3.0.0-dev.5 20:53:03 v3.0.0-dev.6 20:53:03 v3.0.0-dev.7 20:53:03 v3.0.0-dev.8 20:53:03 v3.0.0-dev.9 [Pipeline] sh 20:53:04 + lftools sign git-tag v3.0.0 20:53:04 Signing Git tag with Sigul... 20:53:04 Signing v3.0.0 [Pipeline] echo 20:53:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:53:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:53:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:53:05 $ docker stop --time=1 a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 20:53:06 $ docker rm -f --volumes a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:53:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:07 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:53:07 $ 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 20:53:07 $ docker top d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c -eo pid,comm 20:53:07 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). 20:53:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:08 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:08 + git semver [Pipeline] } 20:53:08 $ docker stop --time=1 d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c 20:53:09 $ docker rm -f --volumes d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c [Pipeline] // withDockerContainer [Pipeline] sh 20:53:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:10 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:53:10 $ 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 20:53:10 $ docker top a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:11 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:11 + git semver [Pipeline] } 20:53:11 $ docker stop --time=1 a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 20:53:12 $ docker rm -f --volumes a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 [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 20:53:13 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:53:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:53:13 total 16 20:53:13 drwxr-xr-x 3 root root 4096 May 31 20:41 . 20:53:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:53 .. 20:53:13 drwxr-xr-x 2 root root 4096 May 31 20:41 cost 20:53:13 -rw-r--r-- 1 root root 86 May 31 20:41 cost.csv 20:53:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:53:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:53:13 total 16 20:53:13 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:41 . 20:53:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:53 .. 20:53:13 drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:41 cost 20:53:13 -rw-r--r-- 1 jenkins jenkins 86 May 31 20:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:14 ---> package-listing.sh 20:53:14 ++ facter osfamily 20:53:14 ++ tr '[:upper:]' '[:lower:]' 20:53:14 + OS_FAMILY=debian 20:53:14 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:53:14 + START_PACKAGES=/tmp/packages_start.txt 20:53:14 + END_PACKAGES=/tmp/packages_end.txt 20:53:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:14 + PACKAGES=/tmp/packages_start.txt 20:53:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:53:14 + PACKAGES=/tmp/packages_end.txt 20:53:14 + case "${OS_FAMILY}" in 20:53:14 + dpkg -l 20:53:14 + grep '^ii' 20:53:14 + '[' -f /tmp/packages_start.txt ']' 20:53:14 + '[' -f /tmp/packages_end.txt ']' 20:53:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:53:14 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:53:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:53:14 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 20:53:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:15 prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container 20:53:15 $ 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 20:53:16 $ docker top 92e70656016b8af3cf52f402f6dba9a5d7fa66140df3aad90308ea9087fcb82a -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:16 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:16 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:16 + ls /var/log/sa-host 20:53:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:17 provisioning config files... 20:53:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9147402049400100276tmp [Pipeline] { [Pipeline] echo 20:53:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> create-netrc.sh [Pipeline] } 20:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> python-tools-install.sh [Pipeline] echo 20:53:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> sudo-logs.sh 20:53:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:18 ---> job-cost.sh 20:53:18 lf-activate-venv: SKIPPING 20:53:18 DEBUG: total: 0.2199999988079071 20:53:18 INFO: Retrieving Stack Cost... 20:53:18 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:19 INFO: Archiving Costs [Pipeline] echo 20:53:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:19 ---> logs-deploy.sh 20:53:19 lf-activate-venv: SKIPPING 20:53:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/120 20:53:19 INFO: archiving workspace using pattern(s): 20:53:20 Archives upload complete. 20:53:20 INFO: archiving logs to Nexus