Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55c123e92a81b52ef904480be8a3eb69bc416b29 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-ssh16503761031950772232.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-ssh872181914507854769.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-ssh17855694904109165003.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-ssh2000272014734846519.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-ssh1825406993865001972.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16366 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 55c123e92a81b52ef904480be8a3eb69bc416b29 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#323)" > git config core.sparsecheckout # timeout=10 > git checkout -f 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-list --no-walk b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:33:22 ========================================================= 21:33:22 EdgeX Global Pipelines Version Info 21:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:33:23 ------------------- 21:33:23 stable info: 21:33:23 ------------------- 21:33:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:33:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:33:23 Message: update stable to v1.0.249 21:33:24 ------------------- 21:33:24 experimental info: 21:33:24 ------------------- 21:33:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:33:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:33:24 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55c123e [Pipeline] echo 21:33:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:24 provisioning config files... 21:33:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15715831543935441404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:25 ---> docker-login.sh 21:33:25 nexus3.edgexfoundry.org:10001 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 nexus3.edgexfoundry.org:10002 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 nexus3.edgexfoundry.org:10003 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 nexus3.edgexfoundry.org:10004 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 docker.io 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 ---> docker-login.sh ends [Pipeline] } 21:33:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:33:26 + git rev-list -1 --merges 55c123e92a81b52ef904480be8a3eb69bc416b29~1..55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] echo 21:33:26 -----------> git rev-list -1 --merges 55c123e92a81b52ef904480be8a3eb69bc416b29~1..55c123e92a81b52ef904480be8a3eb69bc416b29 55c123e92a81b52ef904480be8a3eb69bc416b29 [false] [Pipeline] sh 21:33:26 + git log --format=format:%s -1 55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] echo 21:33:26 ========================================================= 21:33:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:33:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:26 + git log --format=format:%s -1 55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] echo 21:33:26 [semverPrep] GIT_COMMIT: 55c123e92a81b52ef904480be8a3eb69bc416b29, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#323) [Pipeline] echo 21:33:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:33:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:27 + grep -v github /etc/ssh/ssh_known_hosts 21:33:27 + [ -e /tmp/ssh_known_hosts ] 21:33:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:33:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:33:27 + sudo tee -a /etc/ssh/ssh_known_hosts 21:33:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:27 21:33:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:27 0.1.4: Pulling from edgex-devops/py-git-semver 21:33:27 b85a868b505f: Pulling fs layer 21:33:27 e2be974225ed: Pulling fs layer 21:33:27 339a4e72a1f5: Pulling fs layer 21:33:27 988bab9f4d93: Pulling fs layer 21:33:27 1469e6f7b9e6: Pulling fs layer 21:33:27 eaf3925da568: Pulling fs layer 21:33:27 bab4dde63d76: Pulling fs layer 21:33:27 bde34c3a00c8: Pulling fs layer 21:33:27 b352a97aabf1: Pulling fs layer 21:33:27 4872d77fe225: Pulling fs layer 21:33:27 5851b861e8e6: Pulling fs layer 21:33:27 eaf3925da568: Waiting 21:33:27 bab4dde63d76: Waiting 21:33:27 1469e6f7b9e6: Waiting 21:33:27 bde34c3a00c8: Waiting 21:33:27 b352a97aabf1: Waiting 21:33:27 988bab9f4d93: Waiting 21:33:27 4872d77fe225: Waiting 21:33:27 e2be974225ed: Verifying Checksum 21:33:27 e2be974225ed: Download complete 21:33:27 988bab9f4d93: Verifying Checksum 21:33:27 988bab9f4d93: Download complete 21:33:27 1469e6f7b9e6: Verifying Checksum 21:33:27 1469e6f7b9e6: Download complete 21:33:28 eaf3925da568: Download complete 21:33:28 339a4e72a1f5: Verifying Checksum 21:33:28 339a4e72a1f5: Download complete 21:33:28 bde34c3a00c8: Verifying Checksum 21:33:28 bde34c3a00c8: Download complete 21:33:28 b352a97aabf1: Verifying Checksum 21:33:28 b352a97aabf1: Download complete 21:33:28 4872d77fe225: Verifying Checksum 21:33:28 4872d77fe225: Download complete 21:33:28 5851b861e8e6: Download complete 21:33:28 b85a868b505f: Verifying Checksum 21:33:28 b85a868b505f: Download complete 21:33:28 bab4dde63d76: Verifying Checksum 21:33:28 bab4dde63d76: Download complete 21:33:29 b85a868b505f: Pull complete 21:33:29 e2be974225ed: Pull complete 21:33:30 339a4e72a1f5: Pull complete 21:33:30 988bab9f4d93: Pull complete 21:33:30 1469e6f7b9e6: Pull complete 21:33:30 eaf3925da568: Pull complete 21:33:32 bab4dde63d76: Pull complete 21:33:32 bde34c3a00c8: Pull complete 21:33:32 b352a97aabf1: Pull complete 21:33:32 4872d77fe225: Pull complete 21:33:32 5851b861e8e6: Pull complete 21:33:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:32 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:33:35 $ docker top fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c -eo pid,comm 21:33:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:33:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:33:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:35 [ssh-agent] Looking for ssh-agent implementation... 21:33:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:35 $ docker exec fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c ssh-agent 21:33:35 SSH_AUTH_SOCK=/tmp/ssh-uBCzObsJQivc/agent.31 21:33:35 SSH_AGENT_PID=37 21:33:35 Running ssh-add (command line suppressed) 21:33:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5427605899205695531.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5427605899205695531.key) 21:33:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:35 + git tag --points-at HEAD [Pipeline] } 21:33:35 $ docker exec --env ******** --env ******** fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c ssh-agent -k 21:33:36 unset SSH_AUTH_SOCK; 21:33:36 unset SSH_AGENT_PID; 21:33:36 echo Agent pid 37 killed; 21:33:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:33:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:36 [ssh-agent] Looking for ssh-agent implementation... 21:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:36 $ docker exec fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c ssh-agent 21:33:36 SSH_AUTH_SOCK=/tmp/ssh-k6ZYODei5EKS/agent.69 21:33:36 SSH_AGENT_PID=75 21:33:36 Running ssh-add (command line suppressed) 21:33:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14856268343700525431.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14856268343700525431.key) 21:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:36 + git semver init 21:33:36 2023-05-22 21:33:36,909 [run_init] DEBUG init version:0.0.0 force:False 21:33:36 2023-05-22 21:33:36,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:33:36 2023-05-22 21:33:36,911 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:33:36 2023-05-22 21:33:36,911 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:33:37 2023-05-22 21:33:37,833 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:33:37 2023-05-22 21:33:37,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:33:37 2023-05-22 21:33:37,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:37 2023-05-22 21:33:37,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:37 3.0.0-dev.45 [Pipeline] } 21:33:37 $ docker exec --env ******** --env ******** fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c ssh-agent -k 21:33:38 unset SSH_AUTH_SOCK; 21:33:38 unset SSH_AGENT_PID; 21:33:38 echo Agent pid 75 killed; 21:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:38 + git semver [Pipeline] } 21:33:38 $ docker stop --time=1 fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c 21:33:39 $ docker rm -f --volumes fb6ad912d2a9857469f85bac53959619db57fdc86af867d3fb04a5cb71521c0c [Pipeline] // withDockerContainer [Pipeline] sh 21:33:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:33:40 Stashed 1 file(s) [Pipeline] echo 21:33:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.45 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:40 provisioning config files... 21:33:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14223814745452286333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:40 ---> docker-login.sh 21:33:40 nexus3.edgexfoundry.org:10001 21:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:40 Configure a credential helper to remove this warning. See 21:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:40 21:33:40 Login Succeeded 21:33:40 nexus3.edgexfoundry.org:10002 21:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:40 Configure a credential helper to remove this warning. See 21:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:40 21:33:40 Login Succeeded 21:33:40 nexus3.edgexfoundry.org:10003 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 nexus3.edgexfoundry.org:10004 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 docker.io 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 ---> docker-login.sh ends [Pipeline] } 21:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:41 ========================================================= 21:33:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:33:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:41 + 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 . 21:33:41 Sending build context to Docker daemon 10.93MB 21:33:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:33:41 Step 2/12 : FROM ${BASE} AS builder 21:33:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:33:41 f56be85fc22e: Pulling fs layer 21:33:41 85791d961cd3: Pulling fs layer 21:33:41 d694b5ae8c79: Pulling fs layer 21:33:41 9f32a84ed3da: Pulling fs layer 21:33:41 4d19c01a9841: Pulling fs layer 21:33:41 9325e15d5711: Pulling fs layer 21:33:41 556b6ee489ea: Pulling fs layer 21:33:41 c5a4b2cf53e6: Pulling fs layer 21:33:41 9f32a84ed3da: Waiting 21:33:41 4d19c01a9841: Waiting 21:33:41 9325e15d5711: Waiting 21:33:41 556b6ee489ea: Waiting 21:33:41 c5a4b2cf53e6: Waiting 21:33:41 85791d961cd3: Download complete 21:33:41 9f32a84ed3da: Download complete 21:33:42 4d19c01a9841: Verifying Checksum 21:33:42 4d19c01a9841: Download complete 21:33:42 f56be85fc22e: Verifying Checksum 21:33:42 f56be85fc22e: Download complete 21:33:42 9325e15d5711: Verifying Checksum 21:33:42 9325e15d5711: Download complete 21:33:42 f56be85fc22e: Pull complete 21:33:42 85791d961cd3: Pull complete 21:33:42 c5a4b2cf53e6: Verifying Checksum 21:33:42 c5a4b2cf53e6: Download complete 21:33:42 d694b5ae8c79: Verifying Checksum 21:33:42 d694b5ae8c79: Download complete 21:33:42 556b6ee489ea: Verifying Checksum 21:33:42 556b6ee489ea: Download complete 21:33:46 d694b5ae8c79: Pull complete 21:33:46 9f32a84ed3da: Pull complete 21:33:46 4d19c01a9841: Pull complete 21:33:46 9325e15d5711: Pull complete 21:33:48 556b6ee489ea: Pull complete 21:33:49 c5a4b2cf53e6: Pull complete 21:33:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:33:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:33:49 ---> c4be618373d6 21:33:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:33:53 ---> Running in d20b1ab8d2f2 21:33:53 Removing intermediate container d20b1ab8d2f2 21:33:53 ---> 2933ced37898 21:33:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:53 ---> Running in 0e3ffe8fbda6 21:33:53 Removing intermediate container 0e3ffe8fbda6 21:33:53 ---> ff0b9db21a88 21:33:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:33:53 ---> Running in 78673846e76a 21:33:53 Removing intermediate container 78673846e76a 21:33:53 ---> 6f9974c94332 21:33:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:33:53 ---> Running in 79d4b7460246 21:33:53 Removing intermediate container 79d4b7460246 21:33:53 ---> 0d9ab281c464 21:33:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:53 ---> Running in e27c21cc45bc 21:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:33:54 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:33:54 (2/4) Installing libedit (20221030.3.1-r0) 21:33:54 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:33:54 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:33:54 Executing busybox-1.35.0-r29.trigger 21:33:54 OK: 269 MiB in 57 packages 21:33:54 Removing intermediate container e27c21cc45bc 21:33:54 ---> 10ccf59314dc 21:33:54 Step 8/12 : WORKDIR /device-rest-go 21:33:54 ---> Running in 510399e76bb5 21:33:54 Removing intermediate container 510399e76bb5 21:33:54 ---> 752ccc8765b3 21:33:54 Step 9/12 : COPY go.mod vendor* ./ 21:33:54 ---> 2ecee737ccbb 21:33:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:54 ---> Running in 4a360371f4e5 21:33:55 Still waiting to schedule task 21:33:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:34:21 Removing intermediate container 4a360371f4e5 21:34:21 ---> 8020f3beaeea 21:34:21 Step 11/12 : COPY . . 21:34:21 ---> b41b94bea060 21:34:21 Step 12/12 : RUN $MAKE 21:34:21 ---> Running in b53109995d96 21:34:21 noop 21:34:21 Removing intermediate container b53109995d96 21:34:21 ---> bee96a8ac95d 21:34:21 Successfully built bee96a8ac95d 21:34:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:21 + docker inspect -f . ci-base-image-x86_64 21:34:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:21 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:34:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:34:22 $ docker top 99cbe0a500bf69245becd36fcf837f264ea60683581fac689224f72082371d5e -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:22 + go version 21:34:22 go version go1.20.2 linux/amd64 [Pipeline] } 21:34:22 $ docker stop --time=1 99cbe0a500bf69245becd36fcf837f264ea60683581fac689224f72082371d5e 21:34:23 $ docker rm -f --volumes 99cbe0a500bf69245becd36fcf837f264ea60683581fac689224f72082371d5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:24 + docker inspect -f . ci-base-image-x86_64 21:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:24 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:34:24 $ docker top bbf5b30789f544488b96a7c536903f1c0d47d8c7f92df0eeb1fa5b0eabc9c73b -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:34:25 + make test 21:34:25 go test ./... -coverprofile=coverage.out ./... 21:34:30 ? github.com/edgexfoundry/device-rest-go [no test files] 21:34:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:34:40 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 21:34:44 go vet ./... 21:34:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:48 ./bin/test-attribution-txt.sh [Pipeline] echo 21:34:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:48 $ docker stop --time=1 bbf5b30789f544488b96a7c536903f1c0d47d8c7f92df0eeb1fa5b0eabc9c73b 21:34:52 $ docker rm -f --volumes bbf5b30789f544488b96a7c536903f1c0d47d8c7f92df0eeb1fa5b0eabc9c73b [Pipeline] // withDockerContainer [Pipeline] sh 21:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:54 + ls -al . 21:34:54 total 184 21:34:54 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:34 . 21:34:54 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:33 .. 21:34:54 -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:33 .dockerignore 21:34:54 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:33 .git 21:34:54 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:33 .github 21:34:54 -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:33 .gitignore 21:34:54 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:33 .golangci.yml 21:34:54 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:33 .semver 21:34:54 -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:33 Attribution.txt 21:34:54 -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:33 CHANGELOG.md 21:34:54 -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:33 Dockerfile 21:34:54 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:33 GOVERNANCE.md 21:34:54 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:33 Jenkinsfile 21:34:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:33 LICENSE 21:34:54 -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:33 Makefile 21:34:54 -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:33 OWNERS.md 21:34:54 -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:33 README.md 21:34:54 -rw-rw-r-- 1 jenkins jenkins 12 May 22 21:33 VERSION 21:34:54 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:33 bin 21:34:54 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:33 cmd 21:34:54 -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:34 coverage.out 21:34:54 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:33 driver 21:34:54 -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:33 go.mod 21:34:54 -rw-rw-r-- 1 jenkins jenkins 31328 May 22 21:33 go.sum 21:34:54 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:33 snap 21:34:54 -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:54 + 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=55c123e92a81b52ef904480be8a3eb69bc416b29 --label arch=amd64 --label version=3.0.0-dev.45 . 21:34:54 Sending build context to Docker daemon 10.95MB 21:34:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:34:54 Step 2/25 : FROM ${BASE} AS builder 21:34:54 ---> bee96a8ac95d 21:34:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:34:54 ---> Running in c71373f099b6 21:34:54 Removing intermediate container c71373f099b6 21:34:54 ---> 79fa1bca69b6 21:34:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:54 ---> Running in 4de055fcb5e0 21:34:54 Removing intermediate container 4de055fcb5e0 21:34:54 ---> ebffb1f0299a 21:34:54 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:34:54 ---> Running in ba0a685cca37 21:34:54 Removing intermediate container ba0a685cca37 21:34:54 ---> d45bc55dcd38 21:34:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:34:54 ---> Running in 0608e76313d3 21:34:54 Removing intermediate container 0608e76313d3 21:34:54 ---> bd52e349624f 21:34:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:54 ---> Running in 2df12cede7db 21:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:34:55 OK: 269 MiB in 57 packages 21:34:55 Removing intermediate container 2df12cede7db 21:34:55 ---> eac8d11564a3 21:34:55 Step 8/25 : WORKDIR /device-rest-go 21:34:55 ---> Running in 81ce7475959e 21:34:55 Removing intermediate container 81ce7475959e 21:34:55 ---> 6ccfc6fa8e2f 21:34:55 Step 9/25 : COPY go.mod vendor* ./ 21:34:55 ---> 34afe5d9a2ec 21:34:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:55 ---> Running in d425076e4199 21:34:56 Removing intermediate container d425076e4199 21:34:56 ---> 1612370bc689 21:34:56 Step 11/25 : COPY . . 21:34:57 ---> 63f0f8dc2e4d 21:34:57 Step 12/25 : RUN $MAKE 21:34:57 ---> Running in 90d0973cfcc8 21:34:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:35:15 Removing intermediate container 90d0973cfcc8 21:35:15 ---> 043e34a5e0c2 21:35:15 Step 13/25 : FROM alpine:3.17 21:35:16 3.17: Pulling from library/alpine 21:35:16 f56be85fc22e: Already exists 21:35:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:35:16 Status: Downloaded newer image for alpine:3.17 21:35:16 ---> 9ed4aefc74f6 21:35:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:35:16 ---> Running in b968005fd490 21:35:16 Removing intermediate container b968005fd490 21:35:16 ---> 537fa0807b44 21:35:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:35:16 ---> Running in 28490053331b 21:35:16 Removing intermediate container 28490053331b 21:35:16 ---> 19fc8758dd06 21:35:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:35:16 ---> Running in b10a973defb4 21:35:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:35:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:35:16 (1/1) Installing dumb-init (1.2.5-r2) 21:35:16 Executing busybox-1.35.0-r29.trigger 21:35:16 OK: 7 MiB in 16 packages 21:35:17 Removing intermediate container b10a973defb4 21:35:17 ---> 2415800cf1c1 21:35:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:35:17 ---> f9a3a49004cb 21:35:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:35:18 ---> 7318519d6cb9 21:35:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:35:18 ---> 9806cc42f41d 21:35:18 Step 20/25 : EXPOSE 59986 21:35:18 ---> Running in 468422d11290 21:35:18 Removing intermediate container 468422d11290 21:35:18 ---> 4ee204d376ac 21:35:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:35:18 ---> Running in 75d9c76750e7 21:35:18 Removing intermediate container 75d9c76750e7 21:35:18 ---> d3165f351f1a 21:35:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:35:18 ---> Running in 6672296769d2 21:35:18 Removing intermediate container 6672296769d2 21:35:18 ---> b2ef43a43d31 21:35:18 Step 23/25 : LABEL arch=amd64 21:35:18 ---> Running in 15fcd658f1ea 21:35:19 Removing intermediate container 15fcd658f1ea 21:35:19 ---> 63665116af30 21:35:19 Step 24/25 : LABEL git_sha=55c123e92a81b52ef904480be8a3eb69bc416b29 21:35:19 ---> Running in 4effbdec7bf3 21:35:19 Removing intermediate container 4effbdec7bf3 21:35:19 ---> fc13a0ced9cc 21:35:19 Step 25/25 : LABEL version=3.0.0-dev.45 21:35:19 ---> Running in 54b1e2121051 21:35:19 Removing intermediate container 54b1e2121051 21:35:19 ---> 976c6b9e8890 21:35:19 [Warning] One or more build-args [ARCH] were not consumed 21:35:19 Successfully built 976c6b9e8890 21:35:19 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:35:19 provisioning config files... 21:35:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3568264441027973537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:19 ---> docker-login.sh 21:35:19 nexus3.edgexfoundry.org:10001 21:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:19 Configure a credential helper to remove this warning. See 21:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:19 21:35:19 Login Succeeded 21:35:19 nexus3.edgexfoundry.org:10002 21:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:19 Configure a credential helper to remove this warning. See 21:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:19 21:35:19 Login Succeeded 21:35:19 nexus3.edgexfoundry.org:10003 21:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:20 Configure a credential helper to remove this warning. See 21:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:20 21:35:20 Login Succeeded 21:35:20 nexus3.edgexfoundry.org:10004 21:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:20 Configure a credential helper to remove this warning. See 21:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:20 21:35:20 Login Succeeded 21:35:20 docker.io 21:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:20 Configure a credential helper to remove this warning. See 21:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:20 21:35:20 Login Succeeded 21:35:20 ---> docker-login.sh ends [Pipeline] } 21:35:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:35:20 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:35:20 55c123e92a81b52ef904480be8a3eb69bc416b29 21:35:20 latest 21:35:20 3.0.0-dev.45 21:35:20 55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:35:20 main 21:35:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29 21:35:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:35:21 57d815163406: Preparing 21:35:21 dae6eb042096: Preparing 21:35:21 b141404f5053: Preparing 21:35:21 57c679cb2865: Preparing 21:35:21 f1417ff83b31: Preparing 21:35:21 f1417ff83b31: Layer already exists 21:35:21 57c679cb2865: Pushed 21:35:21 dae6eb042096: Pushed 21:35:21 57d815163406: Pushed 21:35:23 b141404f5053: Pushed 21:35:23 55c123e92a81b52ef904480be8a3eb69bc416b29: digest: sha256:144750267f292de263cc6ed7d84f373b640c7987192b9d58f8e5efee5ede6000 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:35:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:35:24 57d815163406: Preparing 21:35:24 dae6eb042096: Preparing 21:35:24 b141404f5053: Preparing 21:35:24 57c679cb2865: Preparing 21:35:24 f1417ff83b31: Preparing 21:35:24 f1417ff83b31: Layer already exists 21:35:24 dae6eb042096: Layer already exists 21:35:24 57c679cb2865: Layer already exists 21:35:24 57d815163406: Layer already exists 21:35:24 b141404f5053: Layer already exists 21:35:24 latest: digest: sha256:144750267f292de263cc6ed7d84f373b640c7987192b9d58f8e5efee5ede6000 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.45 21:35:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:35:24 57d815163406: Preparing 21:35:24 dae6eb042096: Preparing 21:35:24 b141404f5053: Preparing 21:35:24 57c679cb2865: Preparing 21:35:24 f1417ff83b31: Preparing 21:35:24 57c679cb2865: Layer already exists 21:35:24 b141404f5053: Layer already exists 21:35:24 dae6eb042096: Layer already exists 21:35:24 f1417ff83b31: Layer already exists 21:35:24 57d815163406: Layer already exists 21:35:24 3.0.0-dev.45: digest: sha256:144750267f292de263cc6ed7d84f373b640c7987192b9d58f8e5efee5ede6000 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:35:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:35:25 57d815163406: Preparing 21:35:25 dae6eb042096: Preparing 21:35:25 b141404f5053: Preparing 21:35:25 57c679cb2865: Preparing 21:35:25 f1417ff83b31: Preparing 21:35:25 f1417ff83b31: Layer already exists 21:35:25 57d815163406: Layer already exists 21:35:25 b141404f5053: Layer already exists 21:35:25 57c679cb2865: Layer already exists 21:35:25 dae6eb042096: Layer already exists 21:35:25 55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45: digest: sha256:144750267f292de263cc6ed7d84f373b640c7987192b9d58f8e5efee5ede6000 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:35:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:35:26 57d815163406: Preparing 21:35:26 dae6eb042096: Preparing 21:35:26 b141404f5053: Preparing 21:35:26 57c679cb2865: Preparing 21:35:26 f1417ff83b31: Preparing 21:35:26 57c679cb2865: Layer already exists 21:35:26 57d815163406: Layer already exists 21:35:26 f1417ff83b31: Layer already exists 21:35:26 dae6eb042096: Layer already exists 21:35:26 b141404f5053: Layer already exists 21:35:26 main: digest: sha256:144750267f292de263cc6ed7d84f373b640c7987192b9d58f8e5efee5ede6000 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:35:26 ===================================================== [Pipeline] echo 21:35:26 taggedImages: 21:35:26 - nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29 21:35:26 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:35:26 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.45 21:35:26 - nexus3.edgexfoundry.org:10004/device-rest:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:35:26 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:26 21:35:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:27 latest: Pulling from edgex-lftools-log-publisher 21:35:27 5eb5b503b376: Pulling fs layer 21:35:27 5c69ac0246d0: Pulling fs layer 21:35:27 ec43610c2a17: Pulling fs layer 21:35:27 3a2ae6a8a46f: Pulling fs layer 21:35:27 33b1e0a273af: Pulling fs layer 21:35:27 5d3b04190fa2: Pulling fs layer 21:35:27 2f39f015ded8: Pulling fs layer 21:35:27 3a2ae6a8a46f: Waiting 21:35:27 5d3b04190fa2: Waiting 21:35:27 33b1e0a273af: Waiting 21:35:27 2f39f015ded8: Waiting 21:35:27 5c69ac0246d0: Download complete 21:35:27 3a2ae6a8a46f: Verifying Checksum 21:35:27 3a2ae6a8a46f: Download complete 21:35:27 33b1e0a273af: Verifying Checksum 21:35:27 33b1e0a273af: Download complete 21:35:27 5d3b04190fa2: Download complete 21:35:27 ec43610c2a17: Verifying Checksum 21:35:27 ec43610c2a17: Download complete 21:35:27 5eb5b503b376: Verifying Checksum 21:35:27 5eb5b503b376: Download complete 21:35:28 2f39f015ded8: Download complete 21:35:28 5eb5b503b376: Pull complete 21:35:29 5c69ac0246d0: Pull complete 21:35:29 ec43610c2a17: Pull complete 21:35:29 3a2ae6a8a46f: Pull complete 21:35:29 33b1e0a273af: Pull complete 21:35:29 5d3b04190fa2: Pull complete 21:35:33 2f39f015ded8: Pull complete 21:35:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:35:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:34 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:35:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:35:37 $ docker top d6936946a7c54a8f3426f1ea4c4ee5f8b9863098efc91f557fcafa1b0fb3a2e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:37 ---> job-cost.sh 21:35:37 lf-activate-venv: SKIPPING 21:35:37 INFO: No Stack... 21:35:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:35:38 INFO: Archiving Costs [Pipeline] sh 21:35:38 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:35:38 + cut -d, -f6 [Pipeline] lock 21:35:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] 21:35:38 Resource [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] did not exist. Created. 21:35:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:35:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:35:38 Stashed 1 file(s) [Pipeline] } 21:35:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 21:35:38 $ docker stop --time=1 d6936946a7c54a8f3426f1ea4c4ee5f8b9863098efc91f557fcafa1b0fb3a2e6 21:35:40 $ docker rm -f --volumes d6936946a7c54a8f3426f1ea4c4ee5f8b9863098efc91f557fcafa1b0fb3a2e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:38:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16372 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:38:14 Running in /w/workspace/device-rest-go/117 [Pipeline] { [Pipeline] checkout 21:38:14 The recommended git tool is: git 21:38:21 using credential edgex-jenkins-ssh 21:38:21 Cloning the remote Git repository 21:38:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:38:21 > git init /w/workspace/device-rest-go/117 # timeout=10 21:38:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:38:22 > git --version # timeout=10 21:38:22 > git --version # 'git version 2.25.1' 21:38:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:38:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:26 Avoid second fetch 21:38:26 Checking out Revision 55c123e92a81b52ef904480be8a3eb69bc416b29 (main) 21:38:27 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#323)" 21:38:26 > git config core.sparsecheckout # timeout=10 21:38:26 > git checkout -f 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:38:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:28 Dload Upload Total Spent Left Speed 21:38:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh 21:38:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:38:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:38:29 + sudo tee /etc/docker/daemon.new 21:38:29 { 21:38:29 "registry-mirrors": [ 21:38:29 "https://nexus3.edgexfoundry.org:10001" 21:38:29 ], 21:38:29 "bip": "10.250.0.254/24", 21:38:29 "hosts": [ 21:38:29 "tcp://0.0.0.0:5555", 21:38:29 "unix:///var/run/docker.sock" 21:38:29 ], 21:38:29 "mtu": 1458, 21:38:29 "selinux-enabled": true, 21:38:29 "seccomp-profile": "/etc/docker/seccomp.json" 21:38:29 } [Pipeline] sh 21:38:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:38:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:48 provisioning config files... 21:38:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/117@tmp/config18024832081662269769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:48 ---> docker-login.sh 21:38:48 nexus3.edgexfoundry.org:10001 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 nexus3.edgexfoundry.org:10002 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 nexus3.edgexfoundry.org:10003 21:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:50 Configure a credential helper to remove this warning. See 21:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:50 21:38:50 Login Succeeded 21:38:50 nexus3.edgexfoundry.org:10004 21:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:50 Configure a credential helper to remove this warning. See 21:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:50 21:38:50 Login Succeeded 21:38:50 docker.io 21:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:51 Configure a credential helper to remove this warning. See 21:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:51 21:38:51 Login Succeeded 21:38:51 ---> docker-login.sh ends [Pipeline] } 21:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:51 ========================================================= 21:38:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:38:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:52 + 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 . 21:38:52 Sending build context to Docker daemon 139.3kB 21:38:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:38:52 Step 2/12 : FROM ${BASE} AS builder 21:38:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:38:52 c41833b44d91: Pulling fs layer 21:38:52 ed15518f5707: Pulling fs layer 21:38:52 feae8fd75edb: Pulling fs layer 21:38:52 242c74f7c9fa: Pulling fs layer 21:38:52 3cdef696dda3: Pulling fs layer 21:38:52 2ced38df9373: Pulling fs layer 21:38:52 58f1dce35555: Pulling fs layer 21:38:52 3cdef696dda3: Waiting 21:38:52 2ced38df9373: Waiting 21:38:52 58f1dce35555: Waiting 21:38:52 242c74f7c9fa: Waiting 21:38:52 ed15518f5707: Verifying Checksum 21:38:52 ed15518f5707: Download complete 21:38:52 242c74f7c9fa: Verifying Checksum 21:38:52 242c74f7c9fa: Download complete 21:38:52 3cdef696dda3: Verifying Checksum 21:38:52 3cdef696dda3: Download complete 21:38:52 c41833b44d91: Verifying Checksum 21:38:52 c41833b44d91: Download complete 21:38:54 c41833b44d91: Pull complete 21:38:54 58f1dce35555: Verifying Checksum 21:38:54 58f1dce35555: Download complete 21:38:54 ed15518f5707: Pull complete 21:38:55 feae8fd75edb: Verifying Checksum 21:38:55 feae8fd75edb: Download complete 21:38:55 2ced38df9373: Verifying Checksum 21:38:55 2ced38df9373: Download complete 21:39:08 feae8fd75edb: Pull complete 21:39:08 242c74f7c9fa: Pull complete 21:39:08 3cdef696dda3: Pull complete 21:39:16 2ced38df9373: Pull complete 21:39:18 58f1dce35555: Pull complete 21:39:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:39:18 ---> fadd8f120f05 21:39:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:39:21 ---> Running in f5bc99ff2360 21:39:21 Removing intermediate container f5bc99ff2360 21:39:21 ---> b0cc61ecf51b 21:39:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:21 ---> Running in 4092c2f3fc2c 21:39:22 Removing intermediate container 4092c2f3fc2c 21:39:22 ---> 71a06f2c868a 21:39:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:39:22 ---> Running in 2841dd019bd0 21:39:22 Removing intermediate container 2841dd019bd0 21:39:22 ---> f1cc4375ac27 21:39:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:39:22 ---> Running in b6a5e1eec8d3 21:39:23 Removing intermediate container b6a5e1eec8d3 21:39:23 ---> 71e431179547 21:39:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:23 ---> Running in 907ce7e82022 21:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:39:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:39:26 (2/4) Installing libedit (20221030.3.1-r0) 21:39:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:39:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:39:26 Executing busybox-1.35.0-r29.trigger 21:39:26 OK: 268 MiB in 57 packages 21:39:28 Removing intermediate container 907ce7e82022 21:39:28 ---> f1d24884711a 21:39:28 Step 8/12 : WORKDIR /device-rest-go 21:39:28 ---> Running in 844ad248317e 21:39:28 Removing intermediate container 844ad248317e 21:39:28 ---> 9805cbea6872 21:39:28 Step 9/12 : COPY go.mod vendor* ./ 21:39:29 ---> 15ed8612595e 21:39:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:29 ---> Running in de8fdcd9a87c 21:40:51 Removing intermediate container de8fdcd9a87c 21:40:51 ---> 6b18e393bcdb 21:40:51 Step 11/12 : COPY . . 21:40:51 ---> d01fbd0df0c2 21:40:51 Step 12/12 : RUN $MAKE 21:40:51 ---> Running in 6e5554350f19 21:40:51 noop 21:40:51 Removing intermediate container 6e5554350f19 21:40:51 ---> d08cb015ddd5 21:40:51 Successfully built d08cb015ddd5 21:40:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:51 + docker inspect -f . ci-base-image-arm64 21:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:51 prd-ubuntu20.04-docker-arm64-4c-16g-16372 does not seem to be running inside a container 21:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/117 -v /w/workspace/device-rest-go/117:/w/workspace/device-rest-go/117:rw,z -v /w/workspace/device-rest-go/117@tmp:/w/workspace/device-rest-go/117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:53 $ docker top 216c002bbe8da778ea097fb1705d927581c8b24b68593c4b125acb7f01bf33e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:54 + go version 21:40:54 go version go1.20.2 linux/arm64 [Pipeline] } 21:40:54 $ docker stop --time=1 216c002bbe8da778ea097fb1705d927581c8b24b68593c4b125acb7f01bf33e5 21:40:56 $ docker rm -f --volumes 216c002bbe8da778ea097fb1705d927581c8b24b68593c4b125acb7f01bf33e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:56 + docker inspect -f . ci-base-image-arm64 21:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-16372 does not seem to be running inside a container 21:40:57 $ 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/117 -v /w/workspace/device-rest-go/117:/w/workspace/device-rest-go/117:rw,z -v /w/workspace/device-rest-go/117@tmp:/w/workspace/device-rest-go/117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:58 $ docker top bb045ac778d528b59a7aed7e0991fa09117cc2ab597e7b88c10a8441b0bb8b22 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:59 + git config --global --add safe.directory /w/workspace/device-rest-go/117 [Pipeline] fileExists [Pipeline] sh 21:41:00 + make test 21:41:00 go test ./... -coverprofile=coverage.out ./... 21:41:39 ? github.com/edgexfoundry/device-rest-go [no test files] 21:44:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:44:31 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements 21:44:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:44:31 go vet ./... 21:44:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:44:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:44:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:44:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:44:57 $ docker stop --time=1 bb045ac778d528b59a7aed7e0991fa09117cc2ab597e7b88c10a8441b0bb8b22 21:45:00 $ docker rm -f --volumes bb045ac778d528b59a7aed7e0991fa09117cc2ab597e7b88c10a8441b0bb8b22 [Pipeline] // withDockerContainer [Pipeline] sh 21:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:45:01 Warning: overwriting stash ‘coverage-report’ 21:45:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:45:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:45:02 + ls -al . 21:45:02 total 180 21:45:02 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:41 . 21:45:02 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:38 .. 21:45:02 -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:38 .dockerignore 21:45:02 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:38 .git 21:45:02 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:38 .github 21:45:02 -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:38 .gitignore 21:45:02 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:38 .golangci.yml 21:45:02 -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:38 Attribution.txt 21:45:02 -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:38 CHANGELOG.md 21:45:02 -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:38 Dockerfile 21:45:02 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:38 GOVERNANCE.md 21:45:02 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:38 Jenkinsfile 21:45:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:38 LICENSE 21:45:02 -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:38 Makefile 21:45:02 -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:38 OWNERS.md 21:45:02 -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:38 README.md 21:45:02 -rw-rw-r-- 1 jenkins jenkins 12 May 22 21:33 VERSION 21:45:02 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:38 bin 21:45:02 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:38 cmd 21:45:02 -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:44 coverage.out 21:45:02 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:38 driver 21:45:02 -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:38 go.mod 21:45:02 -rw-rw-r-- 1 jenkins jenkins 31328 May 22 21:38 go.sum 21:45:02 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:38 snap 21:45:02 -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:03 + 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=55c123e92a81b52ef904480be8a3eb69bc416b29 --label arch=arm64 --label version=3.0.0-dev.45 . 21:45:03 Sending build context to Docker daemon 154.6kB 21:45:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:45:03 Step 2/25 : FROM ${BASE} AS builder 21:45:03 ---> d08cb015ddd5 21:45:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:45:03 ---> Running in 8c2c95231019 21:45:04 Removing intermediate container 8c2c95231019 21:45:04 ---> 4e252ebe5587 21:45:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:45:04 ---> Running in a8a4ff7f1c34 21:45:04 Removing intermediate container a8a4ff7f1c34 21:45:04 ---> 8b0de98c88fc 21:45:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:45:04 ---> Running in d90e050aaf26 21:45:04 Removing intermediate container d90e050aaf26 21:45:04 ---> ade3d1eff7d1 21:45:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:45:04 ---> Running in 931771e76ad6 21:45:05 Removing intermediate container 931771e76ad6 21:45:05 ---> d4690be31991 21:45:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:45:05 ---> Running in 6d74f92962d7 21:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:45:08 OK: 268 MiB in 57 packages 21:45:09 Removing intermediate container 6d74f92962d7 21:45:09 ---> a6b991d2828f 21:45:09 Step 8/25 : WORKDIR /device-rest-go 21:45:09 ---> Running in 336dac274595 21:45:10 Removing intermediate container 336dac274595 21:45:10 ---> 2b30b2506352 21:45:10 Step 9/25 : COPY go.mod vendor* ./ 21:45:10 ---> c574ecf97e42 21:45:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:45:10 ---> Running in d3759ca0aab3 21:45:14 Removing intermediate container d3759ca0aab3 21:45:14 ---> fcf9f978dfa0 21:45:14 Step 11/25 : COPY . . 21:45:14 ---> f0e18c89bbac 21:45:14 Step 12/25 : RUN $MAKE 21:45:14 ---> Running in 8007ee202204 21:45:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:47:52 Removing intermediate container 8007ee202204 21:47:52 ---> 3303d41df913 21:47:52 Step 13/25 : FROM alpine:3.17 21:47:52 3.17: Pulling from library/alpine 21:47:52 c41833b44d91: Already exists 21:47:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:47:52 Status: Downloaded newer image for alpine:3.17 21:47:52 ---> 51e60588ff2c 21:47:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:47:52 ---> Running in 9d866e918538 21:47:52 Removing intermediate container 9d866e918538 21:47:52 ---> d78594295112 21:47:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:47:52 ---> Running in bd2a4e35ba56 21:47:52 Removing intermediate container bd2a4e35ba56 21:47:52 ---> c5cf14d38a0c 21:47:52 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:47:52 ---> Running in 88a5d0002f08 21:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:47:52 (1/1) Installing dumb-init (1.2.5-r2) 21:47:52 Executing busybox-1.35.0-r29.trigger 21:47:52 OK: 8 MiB in 16 packages 21:47:52 Removing intermediate container 88a5d0002f08 21:47:52 ---> db5fe3b625d5 21:47:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:47:52 ---> 745f6c08a719 21:47:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:47:52 ---> 487199f6a2d1 21:47:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:47:52 ---> 5ca2c1944365 21:47:52 Step 20/25 : EXPOSE 59986 21:47:52 ---> Running in 5ddc7165e053 21:47:52 Removing intermediate container 5ddc7165e053 21:47:52 ---> df9dd411f4cc 21:47:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:47:52 ---> Running in 04117e77fe75 21:47:53 Removing intermediate container 04117e77fe75 21:47:53 ---> 950b590c2e00 21:47:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:47:53 ---> Running in 42f1757421ac 21:47:53 Removing intermediate container 42f1757421ac 21:47:53 ---> 0d2de00846d8 21:47:53 Step 23/25 : LABEL arch=arm64 21:47:53 ---> Running in eb75bfdbf90b 21:47:53 Removing intermediate container eb75bfdbf90b 21:47:53 ---> e80d781d36c1 21:47:53 Step 24/25 : LABEL git_sha=55c123e92a81b52ef904480be8a3eb69bc416b29 21:47:53 ---> Running in e8c61609f9c1 21:47:54 Removing intermediate container e8c61609f9c1 21:47:54 ---> d99e45a8e6eb 21:47:54 Step 25/25 : LABEL version=3.0.0-dev.45 21:47:54 ---> Running in 7d73e066b9b8 21:47:54 Removing intermediate container 7d73e066b9b8 21:47:54 ---> 4dc05f76d95a 21:47:54 [Warning] One or more build-args [ARCH] were not consumed 21:47:54 Successfully built 4dc05f76d95a 21:47:54 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:54 provisioning config files... 21:47:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/117@tmp/config17153639914799812750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:54 ---> docker-login.sh 21:47:54 nexus3.edgexfoundry.org:10001 21:47:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:55 Configure a credential helper to remove this warning. See 21:47:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:55 21:47:55 Login Succeeded 21:47:55 nexus3.edgexfoundry.org:10002 21:47:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:55 Configure a credential helper to remove this warning. See 21:47:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:55 21:47:55 Login Succeeded 21:47:55 nexus3.edgexfoundry.org:10003 21:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:56 Configure a credential helper to remove this warning. See 21:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:56 21:47:56 Login Succeeded 21:47:56 nexus3.edgexfoundry.org:10004 21:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:56 Configure a credential helper to remove this warning. See 21:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:56 21:47:56 Login Succeeded 21:47:56 docker.io 21:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:57 Configure a credential helper to remove this warning. See 21:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:57 21:47:57 Login Succeeded 21:47:57 ---> docker-login.sh ends [Pipeline] } 21:47:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:47:57 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:47:57 55c123e92a81b52ef904480be8a3eb69bc416b29 21:47:57 latest 21:47:57 3.0.0-dev.45 21:47:57 55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:47:57 main 21:47:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29 21:47:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:47:57 00ef184a6cd3: Preparing 21:47:57 007c46eeb2d4: Preparing 21:47:57 2bfa7de183e7: Preparing 21:47:57 912bfec6f73a: Preparing 21:47:57 26cbea5cba74: Preparing 21:47:57 26cbea5cba74: Layer already exists 21:47:58 00ef184a6cd3: Pushed 21:47:58 912bfec6f73a: Pushed 21:47:58 007c46eeb2d4: Pushed 21:48:03 2bfa7de183e7: Pushed 21:48:03 55c123e92a81b52ef904480be8a3eb69bc416b29: digest: sha256:92e6cabb489af4240334f41fe89dea5536ed31325de2a02c96ab3b943fba4c12 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:48:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:48:04 00ef184a6cd3: Preparing 21:48:04 007c46eeb2d4: Preparing 21:48:04 2bfa7de183e7: Preparing 21:48:04 912bfec6f73a: Preparing 21:48:04 26cbea5cba74: Preparing 21:48:04 912bfec6f73a: Layer already exists 21:48:04 2bfa7de183e7: Layer already exists 21:48:04 007c46eeb2d4: Layer already exists 21:48:04 26cbea5cba74: Layer already exists 21:48:04 00ef184a6cd3: Layer already exists 21:48:04 latest: digest: sha256:92e6cabb489af4240334f41fe89dea5536ed31325de2a02c96ab3b943fba4c12 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.45 21:48:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:48:05 00ef184a6cd3: Preparing 21:48:05 007c46eeb2d4: Preparing 21:48:05 2bfa7de183e7: Preparing 21:48:05 912bfec6f73a: Preparing 21:48:05 26cbea5cba74: Preparing 21:48:05 00ef184a6cd3: Layer already exists 21:48:05 007c46eeb2d4: Layer already exists 21:48:05 2bfa7de183e7: Layer already exists 21:48:05 26cbea5cba74: Layer already exists 21:48:05 912bfec6f73a: Layer already exists 21:48:05 3.0.0-dev.45: digest: sha256:92e6cabb489af4240334f41fe89dea5536ed31325de2a02c96ab3b943fba4c12 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:48:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:48:06 00ef184a6cd3: Preparing 21:48:06 007c46eeb2d4: Preparing 21:48:06 2bfa7de183e7: Preparing 21:48:06 912bfec6f73a: Preparing 21:48:06 26cbea5cba74: Preparing 21:48:06 2bfa7de183e7: Layer already exists 21:48:06 007c46eeb2d4: Layer already exists 21:48:06 912bfec6f73a: Layer already exists 21:48:06 00ef184a6cd3: Layer already exists 21:48:06 26cbea5cba74: Layer already exists 21:48:06 55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45: digest: sha256:92e6cabb489af4240334f41fe89dea5536ed31325de2a02c96ab3b943fba4c12 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:48:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:48:07 00ef184a6cd3: Preparing 21:48:07 007c46eeb2d4: Preparing 21:48:07 2bfa7de183e7: Preparing 21:48:07 912bfec6f73a: Preparing 21:48:07 26cbea5cba74: Preparing 21:48:07 26cbea5cba74: Layer already exists 21:48:07 00ef184a6cd3: Layer already exists 21:48:07 007c46eeb2d4: Layer already exists 21:48:07 912bfec6f73a: Layer already exists 21:48:07 2bfa7de183e7: Layer already exists 21:48:07 main: digest: sha256:92e6cabb489af4240334f41fe89dea5536ed31325de2a02c96ab3b943fba4c12 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:48:07 ===================================================== [Pipeline] echo 21:48:07 taggedImages: 21:48:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29 21:48:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:48:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.45 21:48:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:55c123e92a81b52ef904480be8a3eb69bc416b29-3.0.0-dev.45 21:48:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:08 21:48:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:08 arm64: Pulling from edgex-lftools-log-publisher 21:48:08 8998bd30e6a1: Pulling fs layer 21:48:08 04944245beec: Pulling fs layer 21:48:08 699f458cf7ca: Pulling fs layer 21:48:08 765212b225bb: Pulling fs layer 21:48:08 f23df028b6ca: Pulling fs layer 21:48:08 d65c8cfc05b1: Pulling fs layer 21:48:08 2437ff75d9bd: Pulling fs layer 21:48:08 765212b225bb: Waiting 21:48:08 f23df028b6ca: Waiting 21:48:08 d65c8cfc05b1: Waiting 21:48:08 2437ff75d9bd: Waiting 21:48:08 04944245beec: Verifying Checksum 21:48:08 04944245beec: Download complete 21:48:08 765212b225bb: Verifying Checksum 21:48:08 765212b225bb: Download complete 21:48:08 f23df028b6ca: Verifying Checksum 21:48:08 f23df028b6ca: Download complete 21:48:08 d65c8cfc05b1: Verifying Checksum 21:48:08 d65c8cfc05b1: Download complete 21:48:09 699f458cf7ca: Verifying Checksum 21:48:09 699f458cf7ca: Download complete 21:48:09 8998bd30e6a1: Verifying Checksum 21:48:09 8998bd30e6a1: Download complete 21:48:11 2437ff75d9bd: Verifying Checksum 21:48:11 2437ff75d9bd: Download complete 21:48:13 8998bd30e6a1: Pull complete 21:48:16 04944245beec: Pull complete 21:48:17 699f458cf7ca: Pull complete 21:48:17 765212b225bb: Pull complete 21:48:18 f23df028b6ca: Pull complete 21:48:18 d65c8cfc05b1: Pull complete 21:48:33 2437ff75d9bd: Pull complete 21:48:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:34 prd-ubuntu20.04-docker-arm64-4c-16g-16372 does not seem to be running inside a container 21:48:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/117 -v /w/workspace/device-rest-go/117:/w/workspace/device-rest-go/117:rw,z -v /w/workspace/device-rest-go/117@tmp:/w/workspace/device-rest-go/117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:48:37 $ docker top 9bdaa859b4a4d67c11617d2cc4b6ae2db18c4a0444f312ee5634bb744ab1f179 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:38 ---> job-cost.sh 21:48:38 lf-activate-venv: SKIPPING 21:48:38 INFO: No Stack... 21:48:38 INFO: Retrieving Pricing Info for: v3-standard-4 21:48:39 INFO: Archiving Costs [Pipeline] sh 21:48:40 + cut -d, -f6 21:48:40 + cat /w/workspace/device-rest-go/117/archives/cost.csv [Pipeline] lock 21:48:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] 21:48:40 Resource [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] did not exist. Created. 21:48:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:48:40 /w/workspace/device-rest-go/117@tmp/durable-cca5b041/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:48:41 + echo total: 0.10999999940395355 [Pipeline] stash 21:48:41 Warning: overwriting stash ‘stack-cost’ 21:48:41 Stashed 1 file(s) [Pipeline] } 21:48:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 21:48:41 $ docker stop --time=1 9bdaa859b4a4d67c11617d2cc4b6ae2db18c4a0444f312ee5634bb744ab1f179 21:48:43 $ docker rm -f --volumes 9bdaa859b4a4d67c11617d2cc4b6ae2db18c4a0444f312ee5634bb744ab1f179 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:48:43 provisioning config files... 21:48:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7126364275718835288tmp [Pipeline] { [Pipeline] sh 21:48:44 + set +x 21:48:44 + + curlbash -s -s https://codecov.io/bash -- 21:48:44 21:48:44 21:48:44 _____ _ 21:48:44 / ____| | | 21:48:44 | | ___ __| | ___ ___ _____ __ 21:48:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:48:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:48:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:48:44 Bash-1.0.6 21:48:44 21:48:44 21:48:44 ==> git version 2.25.1 found 21:48:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:48:44 Release-Date: 2020-01-08 21:48:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:48:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:48:44 ==> Jenkins CI detected. 21:48:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:48:44 project root: . 21:48:44 --> token set from env 21:48:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:48:44 ==> Running gcov in . (disable via -X gcov) 21:48:44 ==> Python coveragepy not found 21:48:44 ==> Searching for coverage reports in: 21:48:44 + . 21:48:44 -> Found 1 reports 21:48:44 ==> Detecting git/mercurial file structure 21:48:44 ==> Reading reports 21:48:44 + ./coverage.out bytes=14663 21:48:44 ==> Appending adjustments 21:48:44 https://docs.codecov.io/docs/fixing-reports 21:48:44 + Found adjustments 21:48:44 ==> Gzipping contents 21:48:44 4.0K /tmp/codecov.0YEBkW.gz 21:48:44 ==> Uploading reports 21:48:44 url: https://codecov.io 21:48:44 query: branch=main&commit=55c123e92a81b52ef904480be8a3eb69bc416b29&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:48:44 -> Pinging Codecov 21:48:44 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=55c123e92a81b52ef904480be8a3eb69bc416b29&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:48:44 -> Uploading to 21:48:44 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/4E5D53B4F1F92C436F7061BF334D961C/55c123e92a81b52ef904480be8a3eb69bc416b29/d7992e25-d117-4b1f-b181-68ee35e66286.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=561892003bbab47d6e6480b9f6bbadf1884a0e85d05567676dc41c3f2653da3b 21:48:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:48:44 Dload Upload Total Spent Left Speed 21:48:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12806 --:--:-- --:--:-- --:--:-- 12806 21:48:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] } 21:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:48:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:48:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:48:45 21:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:48:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:48:45 df9b9388f04a: Pulling fs layer 21:48:45 52dc419b0ee2: Pulling fs layer 21:48:45 25bc292e5bac: Pulling fs layer 21:48:45 114826534d7a: Pulling fs layer 21:48:45 4657fd5d0bcf: Pulling fs layer 21:48:45 6ad1cebc031e: Pulling fs layer 21:48:45 8a3aa393b2d8: Pulling fs layer 21:48:45 114826534d7a: Waiting 21:48:45 4657fd5d0bcf: Waiting 21:48:45 6ad1cebc031e: Waiting 21:48:45 8a3aa393b2d8: Waiting 21:48:45 25bc292e5bac: Verifying Checksum 21:48:45 25bc292e5bac: Download complete 21:48:45 52dc419b0ee2: Download complete 21:48:45 4657fd5d0bcf: Verifying Checksum 21:48:45 4657fd5d0bcf: Download complete 21:48:45 df9b9388f04a: Download complete 21:48:45 df9b9388f04a: Pull complete 21:48:45 6ad1cebc031e: Verifying Checksum 21:48:45 6ad1cebc031e: Download complete 21:48:45 52dc419b0ee2: Pull complete 21:48:45 25bc292e5bac: Pull complete 21:48:46 114826534d7a: Verifying Checksum 21:48:46 114826534d7a: Download complete 21:48:46 8a3aa393b2d8: Download complete 21:48:49 114826534d7a: Pull complete 21:48:49 4657fd5d0bcf: Pull complete 21:48:49 6ad1cebc031e: Pull complete 21:48:53 8a3aa393b2d8: Pull complete 21:48:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:48:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:53 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:48:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:48:56 $ docker top 2e01a8bcd038fa0ea7031e2de8ae81e6821f973e57d50a482a56d72faeab1f38 -eo pid,comm [Pipeline] { [Pipeline] echo 21:48:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:48:56 + set -o pipefail 21:48:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:49:00 21:49:00 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:49:00 21:49:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/24909e7f-e2c8-416e-a8f2-0cedd74f889a 21:49:00 21:49:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:49:00 21:49:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:49:00 21:49:00 21:49:00 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:49:00 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:49:00 More details here: https://snyk.co/ue1NS [Pipeline] } 21:49:01 $ docker stop --time=1 2e01a8bcd038fa0ea7031e2de8ae81e6821f973e57d50a482a56d72faeab1f38 21:49:04 $ docker rm -f --volumes 2e01a8bcd038fa0ea7031e2de8ae81e6821f973e57d50a482a56d72faeab1f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:04 + git log --format=format:%s -1 55c123e92a81b52ef904480be8a3eb69bc416b29 [Pipeline] sh 21:49:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:49:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:05 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:49:06 $ docker top 003dae1f42722f27cd62020d8bbe6c9ccfb5b9dc77f7c87a38710a429f30c141 -eo pid,comm 21:49:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:49:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:49:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:06 [ssh-agent] Looking for ssh-agent implementation... 21:49:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:06 $ docker exec 003dae1f42722f27cd62020d8bbe6c9ccfb5b9dc77f7c87a38710a429f30c141 ssh-agent 21:49:06 SSH_AUTH_SOCK=/tmp/ssh-e1vCOHrDhHxn/agent.32 21:49:06 SSH_AGENT_PID=38 21:49:06 Running ssh-add (command line suppressed) 21:49:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5120714946148463357.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5120714946148463357.key) 21:49:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:06 + git semver tag 21:49:06 2023-05-22 21:49:06,900 [run_tag] DEBUG tag force:False 21:49:06 2023-05-22 21:49:06,900 [check_head_tag] DEBUG check head tag 21:49:06 2023-05-22 21:49:06,902 [execute] INFO git cat-file --batch-check 21:49:06 2023-05-22 21:49:06,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:49:06 2023-05-22 21:49:06,905 [execute] INFO git cat-file --batch 21:49:06 2023-05-22 21:49:06,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:49:06 2023-05-22 21:49:06,928 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:06 2023-05-22 21:49:06,929 [execute] INFO git tag -a v3.0.0-dev.45 -m v3.0.0-dev.45 21:49:06 2023-05-22 21:49:06,929 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.45', '-m', 'v3.0.0-dev.45'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:49:06 2023-05-22 21:49:06,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:06 3.0.0-dev.45 [Pipeline] } 21:49:06 $ docker exec --env ******** --env ******** 003dae1f42722f27cd62020d8bbe6c9ccfb5b9dc77f7c87a38710a429f30c141 ssh-agent -k 21:49:07 unset SSH_AUTH_SOCK; 21:49:07 unset SSH_AGENT_PID; 21:49:07 echo Agent pid 38 killed; 21:49:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:07 + git semver [Pipeline] } 21:49:07 $ docker stop --time=1 003dae1f42722f27cd62020d8bbe6c9ccfb5b9dc77f7c87a38710a429f30c141 21:49:08 $ docker rm -f --volumes 003dae1f42722f27cd62020d8bbe6c9ccfb5b9dc77f7c87a38710a429f30c141 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:49:09 21:49:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:49:09 0.23.1-centos7: Pulling from edgex-lftools 21:49:09 ab5ef0e58194: Pulling fs layer 21:49:09 9712f1f96733: Pulling fs layer 21:49:09 63f879dbbcfc: Pulling fs layer 21:49:09 0d9ebad4ef96: Pulling fs layer 21:49:09 e9a5061849ea: Pulling fs layer 21:49:09 d747dcd14b5f: Pulling fs layer 21:49:09 2de7ff778b66: Pulling fs layer 21:49:09 0d9ebad4ef96: Waiting 21:49:09 e9a5061849ea: Waiting 21:49:09 d747dcd14b5f: Waiting 21:49:09 2de7ff778b66: Waiting 21:49:09 9712f1f96733: Verifying Checksum 21:49:09 9712f1f96733: Download complete 21:49:09 63f879dbbcfc: Verifying Checksum 21:49:09 63f879dbbcfc: Download complete 21:49:10 e9a5061849ea: Verifying Checksum 21:49:10 e9a5061849ea: Download complete 21:49:10 d747dcd14b5f: Download complete 21:49:10 0d9ebad4ef96: Download complete 21:49:10 2de7ff778b66: Verifying Checksum 21:49:10 2de7ff778b66: Download complete 21:49:10 ab5ef0e58194: Verifying Checksum 21:49:10 ab5ef0e58194: Download complete 21:49:12 ab5ef0e58194: Pull complete 21:49:12 9712f1f96733: Pull complete 21:49:13 63f879dbbcfc: Pull complete 21:49:16 0d9ebad4ef96: Pull complete 21:49:16 e9a5061849ea: Pull complete 21:49:16 d747dcd14b5f: Pull complete 21:49:17 2de7ff778b66: Pull complete 21:49:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:49:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:49:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:17 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:49:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:49:21 $ docker top 325b246945801dd3f130c1a9fad965e8d4f3a6a2dfbdbe2d44d91e69dd09c0d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:49:22 provisioning config files... 21:49:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13139079429613198850tmp 21:49:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6800816832514007695tmp 21:49:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15725373462974884246tmp [Pipeline] { [Pipeline] echo 21:49:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:49:22 ---> sigul-configuration.sh 21:49:22 gpg: directory `/root/.gnupg' created 21:49:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:49:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:49:22 gpg: keyring `/root/.gnupg/secring.gpg' created 21:49:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:49:22 gpg: CAST5 encrypted data 21:49:22 gpg: encrypted with 1 passphrase 21:49:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:49:22 + mkdir /home/jenkins 21:49:22 + mkdir /home/jenkins/sigul [Pipeline] sh 21:49:22 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:49:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:49:23 ---> sigul-install.sh 21:49:23 Sigul already installed; skipping installation. [Pipeline] sh 21:49:23 + git tag --list 21:49:23 v1.0.0 21:49:23 v1.1.0 21:49:23 v1.1.1 21:49:23 v1.1.2 21:49:23 v1.2.0 21:49:23 v1.2.1 21:49:23 v2.0.0 21:49:23 v2.1.0 21:49:23 v2.1.1 21:49:23 v2.1.1-dev.1 21:49:23 v2.1.1-dev.2 21:49:23 v2.1.1-dev.3 21:49:23 v2.2.0 21:49:23 v2.2.1-dev.1 21:49:23 v2.2.1-dev.2 21:49:23 v2.2.1-dev.3 21:49:23 v2.2.1-dev.4 21:49:23 v2.2.1-dev.5 21:49:23 v2.2.1-dev.6 21:49:23 v2.2.1-dev.7 21:49:23 v2.2.1-dev.8 21:49:23 v2.2.1-dev.9 21:49:23 v2.3.0 21:49:23 v2.3.0-dev.10 21:49:23 v2.3.0-dev.11 21:49:23 v2.3.0-dev.12 21:49:23 v2.3.0-dev.13 21:49:23 v2.3.0-dev.14 21:49:23 v2.3.0-dev.15 21:49:23 v2.3.0-dev.16 21:49:23 v2.3.0-dev.17 21:49:23 v2.3.0-dev.18 21:49:23 v2.3.0-dev.19 21:49:23 v2.3.0-dev.20 21:49:23 v2.3.0-dev.21 21:49:23 v2.3.0-dev.22 21:49:23 v2.3.0-dev.23 21:49:23 v2.3.0-dev.24 21:49:23 v2.3.0-dev.25 21:49:23 v2.3.0-dev.9 21:49:23 v3.0.0-dev.1 21:49:23 v3.0.0-dev.10 21:49:23 v3.0.0-dev.11 21:49:23 v3.0.0-dev.12 21:49:23 v3.0.0-dev.13 21:49:23 v3.0.0-dev.14 21:49:23 v3.0.0-dev.15 21:49:23 v3.0.0-dev.16 21:49:23 v3.0.0-dev.17 21:49:23 v3.0.0-dev.18 21:49:23 v3.0.0-dev.19 21:49:23 v3.0.0-dev.2 21:49:23 v3.0.0-dev.20 21:49:23 v3.0.0-dev.21 21:49:23 v3.0.0-dev.22 21:49:23 v3.0.0-dev.23 21:49:23 v3.0.0-dev.24 21:49:23 v3.0.0-dev.25 21:49:23 v3.0.0-dev.26 21:49:23 v3.0.0-dev.27 21:49:23 v3.0.0-dev.28 21:49:23 v3.0.0-dev.29 21:49:23 v3.0.0-dev.3 21:49:23 v3.0.0-dev.30 21:49:23 v3.0.0-dev.31 21:49:23 v3.0.0-dev.32 21:49:23 v3.0.0-dev.33 21:49:23 v3.0.0-dev.34 21:49:23 v3.0.0-dev.35 21:49:23 v3.0.0-dev.36 21:49:23 v3.0.0-dev.37 21:49:23 v3.0.0-dev.38 21:49:23 v3.0.0-dev.39 21:49:23 v3.0.0-dev.4 21:49:23 v3.0.0-dev.40 21:49:23 v3.0.0-dev.41 21:49:23 v3.0.0-dev.42 21:49:23 v3.0.0-dev.43 21:49:23 v3.0.0-dev.44 21:49:23 v3.0.0-dev.45 21:49:23 v3.0.0-dev.5 21:49:23 v3.0.0-dev.6 21:49:23 v3.0.0-dev.7 21:49:23 v3.0.0-dev.8 21:49:23 v3.0.0-dev.9 [Pipeline] sh 21:49:23 + lftools sign git-tag v3.0.0-dev.45 21:49:24 Signing Git tag with Sigul... 21:49:24 Signing v3.0.0-dev.45 [Pipeline] echo 21:49:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:49:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:49:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:49:24 $ docker stop --time=1 325b246945801dd3f130c1a9fad965e8d4f3a6a2dfbdbe2d44d91e69dd09c0d3 21:49:26 $ docker rm -f --volumes 325b246945801dd3f130c1a9fad965e8d4f3a6a2dfbdbe2d44d91e69dd09c0d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:49:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:49:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:27 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:49:27 $ docker top 32e945b322ac5a3d4a8816f7c8b48a8a7f208386cd52fee829e9afeabbd8b28b -eo pid,comm 21:49:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:49:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:49:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:27 [ssh-agent] Looking for ssh-agent implementation... 21:49:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:27 $ docker exec 32e945b322ac5a3d4a8816f7c8b48a8a7f208386cd52fee829e9afeabbd8b28b ssh-agent 21:49:27 SSH_AUTH_SOCK=/tmp/ssh-qiF9wneSusMR/agent.32 21:49:27 SSH_AGENT_PID=38 21:49:27 Running ssh-add (command line suppressed) 21:49:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5161534760230177561.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5161534760230177561.key) 21:49:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:28 + git semver bump pre 21:49:28 2023-05-22 21:49:28,281 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:28 2023-05-22 21:49:28,281 [bump_version] DEBUG bumping version:3.0.0-dev.45 on axis:pre with prefix:dev 21:49:28 2023-05-22 21:49:28,281 [bump_version] DEBUG bumped version:3.0.0-dev.46 21:49:28 2023-05-22 21:49:28,281 [write_version] DEBUG write version:3.0.0-dev.46 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:49:28 2023-05-22 21:49:28,281 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:28 2023-05-22 21:49:28,281 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:28 2023-05-22 21:49:28,283 [execute] INFO git cat-file --batch-check 21:49:28 2023-05-22 21:49:28,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:49:28 2023-05-22 21:49:28,288 [execute] INFO git cat-file --batch 21:49:28 2023-05-22 21:49:28,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:49:28 2023-05-22 21:49:28,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:28 3.0.0-dev.46 [Pipeline] } 21:49:28 $ docker exec --env ******** --env ******** 32e945b322ac5a3d4a8816f7c8b48a8a7f208386cd52fee829e9afeabbd8b28b ssh-agent -k 21:49:28 unset SSH_AUTH_SOCK; 21:49:28 unset SSH_AGENT_PID; 21:49:28 echo Agent pid 38 killed; 21:49:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:28 + git semver [Pipeline] } 21:49:29 $ docker stop --time=1 32e945b322ac5a3d4a8816f7c8b48a8a7f208386cd52fee829e9afeabbd8b28b 21:49:30 $ docker rm -f --volumes 32e945b322ac5a3d4a8816f7c8b48a8a7f208386cd52fee829e9afeabbd8b28b [Pipeline] // withDockerContainer [Pipeline] sh 21:49:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:49:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:31 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:49:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:49:31 $ docker top 656c408f23c2c70a1aa8607e794a005486cc10a447608bd9d916653b4618b5e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:49:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:31 [ssh-agent] Looking for ssh-agent implementation... 21:49:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:31 $ docker exec 656c408f23c2c70a1aa8607e794a005486cc10a447608bd9d916653b4618b5e4 ssh-agent 21:49:31 SSH_AUTH_SOCK=/tmp/ssh-U0axomEJlexA/agent.33 21:49:31 SSH_AGENT_PID=39 21:49:31 Running ssh-add (command line suppressed) 21:49:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5841471788328917012.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5841471788328917012.key) 21:49:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:32 + git semver push 21:49:32 2023-05-22 21:49:32,307 [run_push] DEBUG push 21:49:32 2023-05-22 21:49:32,308 [execute] INFO git cat-file --batch-check 21:49:32 2023-05-22 21:49:32,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:49:32 2023-05-22 21:49:32,310 [execute] INFO git rev-list 25711ea8db9985e7cfa93dd12dc62828120ca46d -- 21:49:32 2023-05-22 21:49:32,311 [execute] DEBUG Popen(['git', 'rev-list', '25711ea8db9985e7cfa93dd12dc62828120ca46d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:49:32 2023-05-22 21:49:32,318 [execute] INFO git fetch -v origin 21:49:32 2023-05-22 21:49:32,318 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:49:32 2023-05-22 21:49:32,783 [run_push] DEBUG no remote changes detected 21:49:32 2023-05-22 21:49:32,783 [execute] INFO git push origin semver 21:49:32 2023-05-22 21:49:32,784 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:49:33 2023-05-22 21:49:33,578 [run_push] DEBUG push all version tags 21:49:33 2023-05-22 21:49:33,579 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:49:33 2023-05-22 21:49:33,579 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:49:34 2023-05-22 21:49:34,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:34 3.0.0-dev.46 [Pipeline] } 21:49:34 $ docker exec --env ******** --env ******** 656c408f23c2c70a1aa8607e794a005486cc10a447608bd9d916653b4618b5e4 ssh-agent -k 21:49:34 unset SSH_AUTH_SOCK; 21:49:34 unset SSH_AGENT_PID; 21:49:34 echo Agent pid 39 killed; 21:49:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:34 + git semver [Pipeline] } 21:49:35 $ docker stop --time=1 656c408f23c2c70a1aa8607e794a005486cc10a447608bd9d916653b4618b5e4 21:49:36 $ docker rm -f --volumes 656c408f23c2c70a1aa8607e794a005486cc10a447608bd9d916653b4618b5e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:49:36 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:49:36 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:49:36 total 16 21:49:36 drwxr-xr-x 3 root root 4096 May 22 21:35 . 21:49:36 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:49 .. 21:49:36 drwxr-xr-x 2 root root 4096 May 22 21:35 cost 21:49:36 -rw-r--r-- 1 root root 86 May 22 21:35 cost.csv 21:49:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:49:36 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:49:36 total 16 21:49:36 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:35 . 21:49:36 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:49 .. 21:49:36 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:35 cost 21:49:36 -rw-r--r-- 1 jenkins jenkins 86 May 22 21:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:38 ---> package-listing.sh 21:49:38 ++ facter osfamily 21:49:38 ++ tr '[:upper:]' '[:lower:]' 21:49:38 + OS_FAMILY=debian 21:49:38 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:49:38 + START_PACKAGES=/tmp/packages_start.txt 21:49:38 + END_PACKAGES=/tmp/packages_end.txt 21:49:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:38 + PACKAGES=/tmp/packages_start.txt 21:49:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:49:38 + PACKAGES=/tmp/packages_end.txt 21:49:38 + case "${OS_FAMILY}" in 21:49:38 + dpkg -l 21:49:38 + grep '^ii' 21:49:38 + '[' -f /tmp/packages_start.txt ']' 21:49:38 + '[' -f /tmp/packages_end.txt ']' 21:49:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:49:38 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:49:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:49:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:39 prd-ubuntu20.04-docker-8c-8g-16366 does not seem to be running inside a container 21:49:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:39 $ docker top 737b7a76cd9979338c1745d828c9b5180a79b77599634efccb58ec73274469f2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:39 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:40 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:40 + ls /var/log/sa-host 21:49:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:40 provisioning config files... 21:49:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9453079827103780206tmp [Pipeline] { [Pipeline] echo 21:49:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:40 ---> create-netrc.sh [Pipeline] } 21:49:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> python-tools-install.sh [Pipeline] echo 21:49:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> sudo-logs.sh 21:49:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> job-cost.sh 21:49:41 lf-activate-venv: SKIPPING 21:49:41 DEBUG: total: 0.2199999988079071 21:49:41 INFO: Retrieving Stack Cost... 21:49:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:42 INFO: Archiving Costs [Pipeline] echo 21:49:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:42 ---> logs-deploy.sh 21:49:42 lf-activate-venv: SKIPPING 21:49:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/117 21:49:42 INFO: archiving workspace using pattern(s): 21:49:43 Archives upload complete. 21:49:43 INFO: archiving logs to Nexus