Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e3f17100cbecc49b07fca8c81a93e30a5261c95 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15171641629524718786.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-ssh9483459152485855736.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-ssh14147803477857474231.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-ssh4473785073713515793.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-ssh2881127415311713283.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17308’ Running on prd-ubuntu20.04-docker-8c-8g-17312 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) Commit message: "docs: Update changelog for v3.0 (#326)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 > git rev-list --no-walk 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:52:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:52:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:52:28 ========================================================= 15:52:28 EdgeX Global Pipelines Version Info 15:52:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:52:29 ------------------- 15:52:29 stable info: 15:52:29 ------------------- 15:52:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:52:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:52:29 Message: update stable to v1.0.249 15:52:30 ------------------- 15:52:30 experimental info: 15:52:30 ------------------- 15:52:30 Commited By: **** collab-it+edgex@linuxfoundation.org 15:52:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:52:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e3f171 [Pipeline] echo 15:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:30 provisioning config files... 15:52:30 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10841039168562287534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:31 ---> docker-login.sh 15:52:31 nexus3.edgexfoundry.org:10001 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 nexus3.edgexfoundry.org:10002 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 nexus3.edgexfoundry.org:10003 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 nexus3.edgexfoundry.org:10004 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 docker.io 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 ---> docker-login.sh ends [Pipeline] } 15:52:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:52:32 + git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 15:52:32 -----------> git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [false] [Pipeline] sh 15:52:32 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 15:52:32 ========================================================= 15:52:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:52:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:33 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo 15:52:33 [semverPrep] GIT_COMMIT: 1e3f17100cbecc49b07fca8c81a93e30a5261c95, Commit Message: docs: Update changelog for v3.0 (#326) [Pipeline] echo 15:52:33 [semverPrep] This is not a build commit. [Pipeline] sh 15:52:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:52:33 + grep -v github /etc/ssh/ssh_known_hosts 15:52:33 + [ -e /tmp/ssh_known_hosts ] 15:52:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:52:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:52:33 + sudo tee -a /etc/ssh/ssh_known_hosts 15:52:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:33 15:52:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:34 0.1.4: Pulling from edgex-devops/py-git-semver 15:52:34 b85a868b505f: Pulling fs layer 15:52:34 e2be974225ed: Pulling fs layer 15:52:34 339a4e72a1f5: Pulling fs layer 15:52:34 988bab9f4d93: Pulling fs layer 15:52:34 1469e6f7b9e6: Pulling fs layer 15:52:34 eaf3925da568: Pulling fs layer 15:52:34 bab4dde63d76: Pulling fs layer 15:52:34 bde34c3a00c8: Pulling fs layer 15:52:34 988bab9f4d93: Waiting 15:52:34 b352a97aabf1: Pulling fs layer 15:52:34 1469e6f7b9e6: Waiting 15:52:34 4872d77fe225: Pulling fs layer 15:52:34 5851b861e8e6: Pulling fs layer 15:52:34 eaf3925da568: Waiting 15:52:34 bab4dde63d76: Waiting 15:52:34 bde34c3a00c8: Waiting 15:52:34 b352a97aabf1: Waiting 15:52:34 4872d77fe225: Waiting 15:52:34 5851b861e8e6: Waiting 15:52:34 e2be974225ed: Verifying Checksum 15:52:34 e2be974225ed: Download complete 15:52:34 988bab9f4d93: Verifying Checksum 15:52:34 988bab9f4d93: Download complete 15:52:34 1469e6f7b9e6: Verifying Checksum 15:52:34 1469e6f7b9e6: Download complete 15:52:34 eaf3925da568: Verifying Checksum 15:52:34 eaf3925da568: Download complete 15:52:34 339a4e72a1f5: Verifying Checksum 15:52:34 339a4e72a1f5: Download complete 15:52:34 bde34c3a00c8: Verifying Checksum 15:52:34 bde34c3a00c8: Download complete 15:52:34 b352a97aabf1: Download complete 15:52:34 4872d77fe225: Verifying Checksum 15:52:34 4872d77fe225: Download complete 15:52:34 5851b861e8e6: Verifying Checksum 15:52:34 5851b861e8e6: Download complete 15:52:34 b85a868b505f: Download complete 15:52:34 bab4dde63d76: Verifying Checksum 15:52:34 bab4dde63d76: Download complete 15:52:35 b85a868b505f: Pull complete 15:52:35 e2be974225ed: Pull complete 15:52:36 339a4e72a1f5: Pull complete 15:52:36 988bab9f4d93: Pull complete 15:52:36 1469e6f7b9e6: Pull complete 15:52:36 eaf3925da568: Pull complete 15:52:38 bab4dde63d76: Pull complete 15:52:38 bde34c3a00c8: Pull complete 15:52:38 b352a97aabf1: Pull complete 15:52:38 4872d77fe225: Pull complete 15:52:38 5851b861e8e6: Pull complete 15:52:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:38 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 15:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:52:40 $ docker top c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 -eo pid,comm 15:52:40 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). 15:52:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:40 [ssh-agent] Looking for ssh-agent implementation... 15:52:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:40 $ docker exec c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 ssh-agent 15:52:41 SSH_AUTH_SOCK=/tmp/ssh-f862w0kTcLLB/agent.33 15:52:41 SSH_AGENT_PID=39 15:52:41 Running ssh-add (command line suppressed) 15:52:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15528561064830127154.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15528561064830127154.key) 15:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:41 + git tag --points-at HEAD [Pipeline] } 15:52:41 $ docker exec --env ******** --env ******** c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 ssh-agent -k 15:52:41 unset SSH_AUTH_SOCK; 15:52:41 unset SSH_AGENT_PID; 15:52:41 echo Agent pid 39 killed; 15:52:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:41 [ssh-agent] Looking for ssh-agent implementation... 15:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:41 $ docker exec c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 ssh-agent 15:52:41 SSH_AUTH_SOCK=/tmp/ssh-NRH3jHqNZXZq/agent.72 15:52:41 SSH_AGENT_PID=78 15:52:41 Running ssh-add (command line suppressed) 15:52:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_395412344710326936.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_395412344710326936.key) 15:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:42 + git semver init 15:52:42 2023-05-30 15:52:42,410 [run_init] DEBUG init version:0.0.0 force:False 15:52:42 2023-05-30 15:52:42,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:52:42 2023-05-30 15:52:42,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:52:42 2023-05-30 15:52:42,412 [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) 15:52:43 2023-05-30 15:52:43,390 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:52:43 2023-05-30 15:52:43,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:52:43 2023-05-30 15:52:43,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:52:43 2023-05-30 15:52:43,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:52:43 3.0.0-dev.47 [Pipeline] } 15:52:43 $ docker exec --env ******** --env ******** c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 ssh-agent -k 15:52:43 unset SSH_AUTH_SOCK; 15:52:43 unset SSH_AGENT_PID; 15:52:43 echo Agent pid 78 killed; 15:52:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:52:43 + git semver [Pipeline] } 15:52:44 $ docker stop --time=1 c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 15:52:45 $ docker rm -f --volumes c400e8a9c8a69b2fdd3899bfdad85cc2bf56af84b85bca1fd03a1e0696260712 [Pipeline] // withDockerContainer [Pipeline] sh 15:52:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:52:45 Stashed 1 file(s) [Pipeline] echo 15:52:45 [edgeXSemver]: initialized semver on version 3.0.0-dev.47 [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 15:52:46 provisioning config files... 15:52:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3685880134385036931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:46 ---> docker-login.sh 15:52:46 nexus3.edgexfoundry.org:10001 15:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:46 Configure a credential helper to remove this warning. See 15:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:46 15:52:46 Login Succeeded 15:52:46 nexus3.edgexfoundry.org:10002 15:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:46 Configure a credential helper to remove this warning. See 15:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:46 15:52:46 Login Succeeded 15:52:46 nexus3.edgexfoundry.org:10003 15:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:46 Configure a credential helper to remove this warning. See 15:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:46 15:52:46 Login Succeeded 15:52:46 nexus3.edgexfoundry.org:10004 15:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:46 Configure a credential helper to remove this warning. See 15:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:46 15:52:46 Login Succeeded 15:52:46 docker.io 15:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:46 Configure a credential helper to remove this warning. See 15:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:46 15:52:46 Login Succeeded 15:52:46 ---> docker-login.sh ends [Pipeline] } 15:52:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:47 ========================================================= 15:52:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:52:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:47 + 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 . 15:52:47 Sending build context to Docker daemon 10.94MB 15:52:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:52:47 Step 2/12 : FROM ${BASE} AS builder 15:52:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:52:47 f56be85fc22e: Pulling fs layer 15:52:47 85791d961cd3: Pulling fs layer 15:52:47 d694b5ae8c79: Pulling fs layer 15:52:47 9f32a84ed3da: Pulling fs layer 15:52:47 4d19c01a9841: Pulling fs layer 15:52:47 9325e15d5711: Pulling fs layer 15:52:47 556b6ee489ea: Pulling fs layer 15:52:47 c5a4b2cf53e6: Pulling fs layer 15:52:47 9f32a84ed3da: Waiting 15:52:47 4d19c01a9841: Waiting 15:52:47 556b6ee489ea: Waiting 15:52:47 9325e15d5711: Waiting 15:52:47 c5a4b2cf53e6: Waiting 15:52:47 85791d961cd3: Verifying Checksum 15:52:47 85791d961cd3: Download complete 15:52:47 9f32a84ed3da: Download complete 15:52:47 4d19c01a9841: Verifying Checksum 15:52:47 4d19c01a9841: Download complete 15:52:47 f56be85fc22e: Verifying Checksum 15:52:47 f56be85fc22e: Download complete 15:52:47 9325e15d5711: Verifying Checksum 15:52:47 9325e15d5711: Download complete 15:52:47 f56be85fc22e: Pull complete 15:52:47 85791d961cd3: Pull complete 15:52:48 d694b5ae8c79: Verifying Checksum 15:52:48 d694b5ae8c79: Download complete 15:52:48 c5a4b2cf53e6: Download complete 15:52:48 556b6ee489ea: Verifying Checksum 15:52:48 556b6ee489ea: Download complete 15:52:51 d694b5ae8c79: Pull complete 15:52:51 9f32a84ed3da: Pull complete 15:52:51 4d19c01a9841: Pull complete 15:52:51 9325e15d5711: Pull complete 15:52:54 556b6ee489ea: Pull complete 15:52:54 c5a4b2cf53e6: Pull complete 15:52:54 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:52:54 ---> c4be618373d6 15:52:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:52:58 ---> Running in 8c5829dfd7e2 15:52:58 Removing intermediate container 8c5829dfd7e2 15:52:58 ---> 28f5fc38543e 15:52:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:58 ---> Running in 2540b6ad65c9 15:52:58 Removing intermediate container 2540b6ad65c9 15:52:58 ---> d026caf5f06c 15:52:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:52:58 ---> Running in d23c770eb35f 15:52:58 Removing intermediate container d23c770eb35f 15:52:58 ---> 13c995094c37 15:52:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:52:58 ---> Running in 6c81e7ae115c 15:52:58 Removing intermediate container 6c81e7ae115c 15:52:58 ---> 6521ed5ca971 15:52:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:58 ---> Running in 21ca64f3b462 15:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:52:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:52:58 (2/4) Installing libedit (20221030.3.1-r0) 15:52:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:52:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:52:58 Executing busybox-1.35.0-r29.trigger 15:52:58 OK: 269 MiB in 57 packages 15:52:59 Removing intermediate container 21ca64f3b462 15:52:59 ---> 275087d494d8 15:52:59 Step 8/12 : WORKDIR /device-rest-go 15:52:59 ---> Running in 99551328c6b1 15:52:59 Removing intermediate container 99551328c6b1 15:52:59 ---> 6e78c23f4d9c 15:52:59 Step 9/12 : COPY go.mod vendor* ./ 15:52:59 ---> 49ed2b590d83 15:52:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:59 ---> Running in e4e8c360690c 15:53:01 Still waiting to schedule task 15:53:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17309’ 15:53:25 Removing intermediate container e4e8c360690c 15:53:25 ---> 230bc7f82097 15:53:25 Step 11/12 : COPY . . 15:53:25 ---> c44549ff005b 15:53:25 Step 12/12 : RUN $MAKE 15:53:25 ---> Running in bfecc10ecac4 15:53:25 noop 15:53:25 Removing intermediate container bfecc10ecac4 15:53:25 ---> 643259e4f5e4 15:53:25 Successfully built 643259e4f5e4 15:53:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:26 + docker inspect -f . ci-base-image-x86_64 15:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:26 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 15:53:26 $ 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 ******** ci-base-image-x86_64 cat 15:53:26 $ docker top 3008ed1ca38c1a3eff44e3e5a06ed4c2be079e185e85fbe274427f57691113d3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:26 + go version 15:53:26 go version go1.20.2 linux/amd64 [Pipeline] } 15:53:26 $ docker stop --time=1 3008ed1ca38c1a3eff44e3e5a06ed4c2be079e185e85fbe274427f57691113d3 15:53:28 $ docker rm -f --volumes 3008ed1ca38c1a3eff44e3e5a06ed4c2be079e185e85fbe274427f57691113d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:28 + docker inspect -f . ci-base-image-x86_64 15:53:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:28 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 15:53:28 $ 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 ******** ci-base-image-x86_64 cat 15:53:29 $ docker top ba1559d25146990d3daea8d5a3207d34ab0de2bfb53df5535fcd1841ea437981 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:53:29 + make test 15:53:29 go test ./... -coverprofile=coverage.out ./... 15:53:33 ? github.com/edgexfoundry/device-rest-go [no test files] 15:53:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:53:43 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 15:53:48 go vet ./... 15:53:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:53:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:53:51 ./bin/test-attribution-txt.sh [Pipeline] echo 15:53:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:53:51 $ docker stop --time=1 ba1559d25146990d3daea8d5a3207d34ab0de2bfb53df5535fcd1841ea437981 15:53:54 $ docker rm -f --volumes ba1559d25146990d3daea8d5a3207d34ab0de2bfb53df5535fcd1841ea437981 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:55 + ls -al . 15:53:55 total 184 15:53:55 drwxrwxr-x 9 jenkins jenkins 4096 May 30 15:53 . 15:53:55 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:52 .. 15:53:55 -rw-rw-r-- 1 jenkins jenkins 151 May 30 15:52 .dockerignore 15:53:55 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:52 .git 15:53:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:52 .github 15:53:55 -rw-rw-r-- 1 jenkins jenkins 329 May 30 15:52 .gitignore 15:53:55 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:52 .golangci.yml 15:53:55 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:52 .semver 15:53:55 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 15:52 Attribution.txt 15:53:55 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 15:52 CHANGELOG.md 15:53:55 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 15:52 Dockerfile 15:53:55 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:52 GOVERNANCE.md 15:53:55 -rw-rw-r-- 1 jenkins jenkins 680 May 30 15:52 Jenkinsfile 15:53:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:52 LICENSE 15:53:55 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 15:52 Makefile 15:53:55 -rw-rw-r-- 1 jenkins jenkins 620 May 30 15:52 OWNERS.md 15:53:55 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 15:52 README.md 15:53:55 -rw-rw-r-- 1 jenkins jenkins 12 May 30 15:52 VERSION 15:53:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:52 bin 15:53:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:52 cmd 15:53:55 -rw-r--r-- 1 jenkins jenkins 14663 May 30 15:53 coverage.out 15:53:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:52 driver 15:53:55 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 15:52 go.mod 15:53:55 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 15:52 go.sum 15:53:55 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:52 snap 15:53:55 -rw-rw-r-- 1 jenkins jenkins 713 May 30 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:56 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=amd64 --label version=3.0.0-dev.47 . 15:53:56 Sending build context to Docker daemon 10.95MB 15:53:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:53:56 Step 2/25 : FROM ${BASE} AS builder 15:53:56 ---> 643259e4f5e4 15:53:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:53:56 ---> Running in 23bf8fe1a4bf 15:53:56 Removing intermediate container 23bf8fe1a4bf 15:53:56 ---> 3ae73621113a 15:53:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:56 ---> Running in 0f6d9f927314 15:53:56 Removing intermediate container 0f6d9f927314 15:53:56 ---> 81b00aa4ffdb 15:53:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:53:56 ---> Running in 378cb7312129 15:53:56 Removing intermediate container 378cb7312129 15:53:56 ---> 5443dd5b4cf3 15:53:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:53:56 ---> Running in 4ae3b2f88401 15:53:56 Removing intermediate container 4ae3b2f88401 15:53:56 ---> a0c848398a8f 15:53:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:56 ---> Running in 4fd6c8bb1bd8 15:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:53:57 OK: 269 MiB in 57 packages 15:53:57 Removing intermediate container 4fd6c8bb1bd8 15:53:57 ---> 7c0124e8f1e3 15:53:57 Step 8/25 : WORKDIR /device-rest-go 15:53:57 ---> Running in dd08edc75765 15:53:57 Removing intermediate container dd08edc75765 15:53:57 ---> 26bcbbde95ca 15:53:57 Step 9/25 : COPY go.mod vendor* ./ 15:53:57 ---> 4c14d0382c63 15:53:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:57 ---> Running in cbbaf02f5aad 15:53:58 Removing intermediate container cbbaf02f5aad 15:53:58 ---> 314f4dd5736d 15:53:58 Step 11/25 : COPY . . 15:53:58 ---> 48cf6f096917 15:53:58 Step 12/25 : RUN $MAKE 15:53:58 ---> Running in 2afb1d8bd29b 15:53:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.47" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:54:17 Removing intermediate container 2afb1d8bd29b 15:54:17 ---> b6d3e9789be8 15:54:17 Step 13/25 : FROM alpine:3.17 15:54:17 3.17: Pulling from library/alpine 15:54:17 f56be85fc22e: Already exists 15:54:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:54:17 Status: Downloaded newer image for alpine:3.17 15:54:17 ---> 9ed4aefc74f6 15:54:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:54:17 ---> Running in dfe333235c36 15:54:17 Removing intermediate container dfe333235c36 15:54:17 ---> 9728090347a8 15:54:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:54:17 ---> Running in 9bd7becee194 15:54:17 Removing intermediate container 9bd7becee194 15:54:17 ---> 3cec1f300027 15:54:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:54:17 ---> Running in d206f69909f3 15:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:17 (1/1) Installing dumb-init (1.2.5-r2) 15:54:17 Executing busybox-1.35.0-r29.trigger 15:54:17 OK: 7 MiB in 16 packages 15:54:18 Removing intermediate container d206f69909f3 15:54:18 ---> 4042be266a74 15:54:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:54:19 ---> 3daf57ee2b46 15:54:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:54:19 ---> aeba0ffec3dd 15:54:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:54:19 ---> b2dfbace5698 15:54:19 Step 20/25 : EXPOSE 59986 15:54:19 ---> Running in d0ca607775f3 15:54:19 Removing intermediate container d0ca607775f3 15:54:19 ---> 1c2f81b0a9f8 15:54:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:54:19 ---> Running in 475aa8256b85 15:54:19 Removing intermediate container 475aa8256b85 15:54:19 ---> 5953b617e369 15:54:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:54:19 ---> Running in 4b696e4756ac 15:54:19 Removing intermediate container 4b696e4756ac 15:54:19 ---> 2180dd48bb95 15:54:19 Step 23/25 : LABEL arch=amd64 15:54:19 ---> Running in 40d34a36c9a6 15:54:19 Removing intermediate container 40d34a36c9a6 15:54:19 ---> 6c2b0f7c7458 15:54:19 Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 15:54:19 ---> Running in 06d56962ab36 15:54:19 Removing intermediate container 06d56962ab36 15:54:19 ---> df7a85d658d9 15:54:19 Step 25/25 : LABEL version=3.0.0-dev.47 15:54:19 ---> Running in e5d86e748d68 15:54:19 Removing intermediate container e5d86e748d68 15:54:19 ---> d6ab6056c653 15:54:19 [Warning] One or more build-args [ARCH] were not consumed 15:54:19 Successfully built d6ab6056c653 15:54: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 15:54:19 provisioning config files... 15:54:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3886215467139311482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:20 ---> docker-login.sh 15:54:20 nexus3.edgexfoundry.org:10001 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10002 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10003 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10004 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 docker.io 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 ---> docker-login.sh ends [Pipeline] } 15:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:54:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:20 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:54:20 1e3f17100cbecc49b07fca8c81a93e30a5261c95 15:54:20 latest 15:54:20 3.0.0-dev.47 15:54:20 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 15:54:20 main 15:54:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 15:54:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:54:21 7404031c8b53: Preparing 15:54:21 928dd65fed2f: Preparing 15:54:21 06b48273953c: Preparing 15:54:21 16483c3d070e: Preparing 15:54:21 f1417ff83b31: Preparing 15:54:21 f1417ff83b31: Layer already exists 15:54:21 16483c3d070e: Pushed 15:54:21 928dd65fed2f: Pushed 15:54:21 7404031c8b53: Pushed 15:54:23 06b48273953c: Pushed 15:54:23 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:b23ca4b31b585b47a3e06ca66512693165025c9d1e9dfbd2fa43057b8a182a97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:54:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:54:24 7404031c8b53: Preparing 15:54:24 928dd65fed2f: Preparing 15:54:24 06b48273953c: Preparing 15:54:24 16483c3d070e: Preparing 15:54:24 f1417ff83b31: Preparing 15:54:24 7404031c8b53: Layer already exists 15:54:24 928dd65fed2f: Layer already exists 15:54:24 06b48273953c: Layer already exists 15:54:24 f1417ff83b31: Layer already exists 15:54:24 16483c3d070e: Layer already exists 15:54:24 latest: digest: sha256:b23ca4b31b585b47a3e06ca66512693165025c9d1e9dfbd2fa43057b8a182a97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.47 15:54:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:54:25 7404031c8b53: Preparing 15:54:25 928dd65fed2f: Preparing 15:54:25 06b48273953c: Preparing 15:54:25 16483c3d070e: Preparing 15:54:25 f1417ff83b31: Preparing 15:54:25 16483c3d070e: Layer already exists 15:54:25 06b48273953c: Layer already exists 15:54:25 928dd65fed2f: Layer already exists 15:54:25 7404031c8b53: Layer already exists 15:54:25 f1417ff83b31: Layer already exists 15:54:25 3.0.0-dev.47: digest: sha256:b23ca4b31b585b47a3e06ca66512693165025c9d1e9dfbd2fa43057b8a182a97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 15:54:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:54:25 7404031c8b53: Preparing 15:54:25 928dd65fed2f: Preparing 15:54:25 06b48273953c: Preparing 15:54:25 16483c3d070e: Preparing 15:54:25 f1417ff83b31: Preparing 15:54:25 06b48273953c: Layer already exists 15:54:25 16483c3d070e: Layer already exists 15:54:25 f1417ff83b31: Layer already exists 15:54:25 7404031c8b53: Layer already exists 15:54:25 928dd65fed2f: Layer already exists 15:54:25 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47: digest: sha256:b23ca4b31b585b47a3e06ca66512693165025c9d1e9dfbd2fa43057b8a182a97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:54:26 7404031c8b53: Preparing 15:54:26 928dd65fed2f: Preparing 15:54:26 06b48273953c: Preparing 15:54:26 16483c3d070e: Preparing 15:54:26 f1417ff83b31: Preparing 15:54:26 928dd65fed2f: Layer already exists 15:54:26 7404031c8b53: Layer already exists 15:54:26 16483c3d070e: Layer already exists 15:54:26 06b48273953c: Layer already exists 15:54:26 f1417ff83b31: Layer already exists 15:54:26 main: digest: sha256:b23ca4b31b585b47a3e06ca66512693165025c9d1e9dfbd2fa43057b8a182a97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:54:26 ===================================================== [Pipeline] echo 15:54:26 taggedImages: 15:54:26 - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 15:54:26 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:54:26 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.47 15:54:26 - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 15:54: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 15:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:26 15:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:27 latest: Pulling from edgex-lftools-log-publisher 15:54:27 5eb5b503b376: Pulling fs layer 15:54:27 5c69ac0246d0: Pulling fs layer 15:54:27 ec43610c2a17: Pulling fs layer 15:54:27 3a2ae6a8a46f: Pulling fs layer 15:54:27 33b1e0a273af: Pulling fs layer 15:54:27 5d3b04190fa2: Pulling fs layer 15:54:27 2f39f015ded8: Pulling fs layer 15:54:27 33b1e0a273af: Waiting 15:54:27 5d3b04190fa2: Waiting 15:54:27 2f39f015ded8: Waiting 15:54:27 3a2ae6a8a46f: Waiting 15:54:27 5c69ac0246d0: Download complete 15:54:27 3a2ae6a8a46f: Verifying Checksum 15:54:27 3a2ae6a8a46f: Download complete 15:54:27 33b1e0a273af: Verifying Checksum 15:54:27 33b1e0a273af: Download complete 15:54:27 5d3b04190fa2: Verifying Checksum 15:54:27 5d3b04190fa2: Download complete 15:54:27 ec43610c2a17: Verifying Checksum 15:54:27 ec43610c2a17: Download complete 15:54:27 5eb5b503b376: Verifying Checksum 15:54:27 5eb5b503b376: Download complete 15:54:27 2f39f015ded8: Verifying Checksum 15:54:27 2f39f015ded8: Download complete 15:54:28 5eb5b503b376: Pull complete 15:54:28 5c69ac0246d0: Pull complete 15:54:29 ec43610c2a17: Pull complete 15:54:29 3a2ae6a8a46f: Pull complete 15:54:29 33b1e0a273af: Pull complete 15:54:29 5d3b04190fa2: Pull complete 15:54:33 2f39f015ded8: Pull complete 15:54:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:33 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 15:54:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:37 $ docker top d122c88a5f7cb36ce2041a38b0e8ce4886f334f2ddf65af0324feadfa5d92058 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:37 ---> job-cost.sh 15:54:37 lf-activate-venv: SKIPPING 15:54:37 INFO: No Stack... 15:54:37 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:38 INFO: Archiving Costs [Pipeline] sh 15:54:38 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 15:54:38 cut -d, -f6 [Pipeline] lock 15:54:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] 15:54:38 Resource [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] did not exist. Created. 15:54:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:39 + echo total: 0.2199999988079071 [Pipeline] stash 15:54:39 Stashed 1 file(s) [Pipeline] } 15:54:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:39 $ docker stop --time=1 d122c88a5f7cb36ce2041a38b0e8ce4886f334f2ddf65af0324feadfa5d92058 15:54:40 $ docker rm -f --volumes d122c88a5f7cb36ce2041a38b0e8ce4886f334f2ddf65af0324feadfa5d92058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17316 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:55:52 Running in /w/workspace/device-rest-go/119 [Pipeline] { [Pipeline] checkout 15:55:52 The recommended git tool is: git 15:55:59 using credential edgex-jenkins-ssh 15:55:59 Cloning the remote Git repository 15:55:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:55:59 > git init /w/workspace/device-rest-go/119 # timeout=10 15:55:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:55:59 > git --version # timeout=10 15:55:59 > git --version # 'git version 2.25.1' 15:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:56:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:02 Avoid second fetch 15:56:02 Checking out Revision 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) 15:56:03 Commit message: "docs: Update changelog for v3.0 (#326)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:02 > git config core.sparsecheckout # timeout=10 15:56:02 > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 15:56:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:56:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:04 Dload Upload Total Spent Left Speed 15:56:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 15:56:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:56:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:56:05 + sudo tee /etc/docker/daemon.new 15:56:05 { 15:56:05 "registry-mirrors": [ 15:56:05 "https://nexus3.edgexfoundry.org:10001" 15:56:05 ], 15:56:05 "bip": "10.250.0.254/24", 15:56:05 "hosts": [ 15:56:05 "tcp://0.0.0.0:5555", 15:56:05 "unix:///var/run/docker.sock" 15:56:05 ], 15:56:05 "mtu": 1458, 15:56:05 "selinux-enabled": true, 15:56:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:56:05 } [Pipeline] sh 15:56:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:56:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:24 provisioning config files... 15:56:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/119@tmp/config10598168163240735127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:24 ---> docker-login.sh 15:56:24 nexus3.edgexfoundry.org:10001 15:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:25 Configure a credential helper to remove this warning. See 15:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:25 15:56:25 Login Succeeded 15:56:25 nexus3.edgexfoundry.org:10002 15:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:25 Configure a credential helper to remove this warning. See 15:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:25 15:56:25 Login Succeeded 15:56:25 nexus3.edgexfoundry.org:10003 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 nexus3.edgexfoundry.org:10004 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 docker.io 15:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:27 Configure a credential helper to remove this warning. See 15:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:27 15:56:27 Login Succeeded 15:56:27 ---> docker-login.sh ends [Pipeline] } 15:56:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:27 ========================================================= 15:56:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:56:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:28 + 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 . 15:56:28 Sending build context to Docker daemon 141.8kB 15:56:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:56:28 Step 2/12 : FROM ${BASE} AS builder 15:56:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:56:28 c41833b44d91: Pulling fs layer 15:56:28 ed15518f5707: Pulling fs layer 15:56:28 feae8fd75edb: Pulling fs layer 15:56:28 242c74f7c9fa: Pulling fs layer 15:56:28 3cdef696dda3: Pulling fs layer 15:56:28 2ced38df9373: Pulling fs layer 15:56:28 58f1dce35555: Pulling fs layer 15:56:28 3cdef696dda3: Waiting 15:56:28 242c74f7c9fa: Waiting 15:56:28 2ced38df9373: Waiting 15:56:28 58f1dce35555: Waiting 15:56:28 ed15518f5707: Verifying Checksum 15:56:28 ed15518f5707: Download complete 15:56:28 242c74f7c9fa: Verifying Checksum 15:56:28 242c74f7c9fa: Download complete 15:56:28 3cdef696dda3: Verifying Checksum 15:56:28 3cdef696dda3: Download complete 15:56:28 c41833b44d91: Verifying Checksum 15:56:28 c41833b44d91: Download complete 15:56:29 c41833b44d91: Pull complete 15:56:30 58f1dce35555: Verifying Checksum 15:56:30 58f1dce35555: Download complete 15:56:30 ed15518f5707: Pull complete 15:56:31 feae8fd75edb: Verifying Checksum 15:56:31 feae8fd75edb: Download complete 15:56:31 2ced38df9373: Verifying Checksum 15:56:31 2ced38df9373: Download complete 15:56:44 feae8fd75edb: Pull complete 15:56:44 242c74f7c9fa: Pull complete 15:56:44 3cdef696dda3: Pull complete 15:56:50 2ced38df9373: Pull complete 15:56:52 58f1dce35555: Pull complete 15:56:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:56:52 ---> fadd8f120f05 15:56:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:56:54 ---> Running in 2122d7a0cbc4 15:56:55 Removing intermediate container 2122d7a0cbc4 15:56:55 ---> 3f335681f020 15:56:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:56:55 ---> Running in 13fc5504a163 15:56:55 Removing intermediate container 13fc5504a163 15:56:55 ---> e4f7ef9c861d 15:56:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:56 ---> Running in cb06c72c59fa 15:56:56 Removing intermediate container cb06c72c59fa 15:56:56 ---> f38e2bf001e4 15:56:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:56:56 ---> Running in bda895c7c187 15:56:56 Removing intermediate container bda895c7c187 15:56:56 ---> 18cdf3301b1d 15:56:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:56 ---> Running in 1ca6de8d6d56 15:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:56:59 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:56:59 (2/4) Installing libedit (20221030.3.1-r0) 15:56:59 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:56:59 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:56:59 Executing busybox-1.35.0-r29.trigger 15:56:59 OK: 268 MiB in 57 packages 15:57:01 Removing intermediate container 1ca6de8d6d56 15:57:01 ---> 5d38152d9b20 15:57:01 Step 8/12 : WORKDIR /device-rest-go 15:57:01 ---> Running in 1e1d821cfff7 15:57:01 Removing intermediate container 1e1d821cfff7 15:57:01 ---> d5b418310538 15:57:01 Step 9/12 : COPY go.mod vendor* ./ 15:57:01 ---> 829deb93e722 15:57:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:01 ---> Running in ca0b467d6113 15:58:09 Removing intermediate container ca0b467d6113 15:58:09 ---> f5980e36da98 15:58:09 Step 11/12 : COPY . . 15:58:09 ---> 2a18b64b9543 15:58:09 Step 12/12 : RUN $MAKE 15:58:09 ---> Running in 99f307c068d3 15:58:09 noop 15:58:10 Removing intermediate container 99f307c068d3 15:58:10 ---> 5b0feeb2c31f 15:58:10 Successfully built 5b0feeb2c31f 15:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:10 + docker inspect -f . ci-base-image-arm64 15:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:11 prd-ubuntu20.04-docker-arm64-4c-16g-17316 does not seem to be running inside a container 15:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/119 -v /w/workspace/device-rest-go/119:/w/workspace/device-rest-go/119:rw,z -v /w/workspace/device-rest-go/119@tmp:/w/workspace/device-rest-go/119@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 15:58:12 $ docker top fc286328eba02cb4bc4779079bff5a6b91d067493187b79692a12a5d8cf5143e -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:13 + go version 15:58:13 go version go1.20.2 linux/arm64 [Pipeline] } 15:58:13 $ docker stop --time=1 fc286328eba02cb4bc4779079bff5a6b91d067493187b79692a12a5d8cf5143e 15:58:15 $ docker rm -f --volumes fc286328eba02cb4bc4779079bff5a6b91d067493187b79692a12a5d8cf5143e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:15 + docker inspect -f . ci-base-image-arm64 15:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:15 prd-ubuntu20.04-docker-arm64-4c-16g-17316 does not seem to be running inside a container 15:58:16 $ 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/119 -v /w/workspace/device-rest-go/119:/w/workspace/device-rest-go/119:rw,z -v /w/workspace/device-rest-go/119@tmp:/w/workspace/device-rest-go/119@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 15:58:17 $ docker top e8ad694ee46c8c2eb46fb530d17a7daa9355f8d77d1e4c13ea2fa02495370a52 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:18 + git config --global --add safe.directory /w/workspace/device-rest-go/119 [Pipeline] fileExists [Pipeline] sh 15:58:19 + make test 15:58:19 go test ./... -coverprofile=coverage.out ./... 15:58:57 ? github.com/edgexfoundry/device-rest-go [no test files] 16:01:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:01:21 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 32.2% of statements 16:01:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:01:22 go vet ./... 16:01:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:01:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:01:54 ./bin/test-attribution-txt.sh [Pipeline] echo 16:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:01:54 $ docker stop --time=1 e8ad694ee46c8c2eb46fb530d17a7daa9355f8d77d1e4c13ea2fa02495370a52 16:01:56 $ docker rm -f --volumes e8ad694ee46c8c2eb46fb530d17a7daa9355f8d77d1e4c13ea2fa02495370a52 [Pipeline] // withDockerContainer [Pipeline] sh 16:01:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:01:57 Warning: overwriting stash ‘coverage-report’ 16:01:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:01:59 + ls -al . 16:01:59 total 180 16:01:59 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:58 . 16:01:59 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:55 .. 16:01:59 -rw-rw-r-- 1 jenkins jenkins 151 May 30 15:56 .dockerignore 16:01:59 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:56 .git 16:01:59 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:56 .github 16:01:59 -rw-rw-r-- 1 jenkins jenkins 329 May 30 15:56 .gitignore 16:01:59 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:56 .golangci.yml 16:01:59 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 15:56 Attribution.txt 16:01:59 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 15:56 CHANGELOG.md 16:01:59 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 15:56 Dockerfile 16:01:59 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:56 GOVERNANCE.md 16:01:59 -rw-rw-r-- 1 jenkins jenkins 680 May 30 15:56 Jenkinsfile 16:01:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:56 LICENSE 16:01:59 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 15:56 Makefile 16:01:59 -rw-rw-r-- 1 jenkins jenkins 620 May 30 15:56 OWNERS.md 16:01:59 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 15:56 README.md 16:01:59 -rw-rw-r-- 1 jenkins jenkins 12 May 30 15:52 VERSION 16:01:59 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:56 bin 16:01:59 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:56 cmd 16:01:59 -rw-r--r-- 1 jenkins jenkins 14663 May 30 16:01 coverage.out 16:01:59 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:56 driver 16:01:59 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 15:56 go.mod 16:01:59 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 15:56 go.sum 16:01:59 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:56 snap 16:01:59 -rw-rw-r-- 1 jenkins jenkins 713 May 30 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:59 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=arm64 --label version=3.0.0-dev.47 . 16:01:59 Sending build context to Docker daemon 157.2kB 16:01:59 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:01:59 Step 2/25 : FROM ${BASE} AS builder 16:01:59 ---> 5b0feeb2c31f 16:01:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:01:59 ---> Running in b90e413ab89c 16:02:00 Removing intermediate container b90e413ab89c 16:02:00 ---> 95242584c344 16:02:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:00 ---> Running in a202e6d7c213 16:02:00 Removing intermediate container a202e6d7c213 16:02:00 ---> 43dd33d98f4d 16:02:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:02:00 ---> Running in 828bbb1d400f 16:02:01 Removing intermediate container 828bbb1d400f 16:02:01 ---> dce33794f7cc 16:02:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:02:01 ---> Running in 5fd06f84eebe 16:02:01 Removing intermediate container 5fd06f84eebe 16:02:01 ---> 0fbe88c92593 16:02:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:01 ---> Running in f083d0c202fb 16:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:02:04 OK: 268 MiB in 57 packages 16:02:07 Removing intermediate container f083d0c202fb 16:02:07 ---> 8e0e1703b73f 16:02:07 Step 8/25 : WORKDIR /device-rest-go 16:02:07 ---> Running in 4b3785b5f8a3 16:02:07 Removing intermediate container 4b3785b5f8a3 16:02:07 ---> 5dd2f350336f 16:02:07 Step 9/25 : COPY go.mod vendor* ./ 16:02:07 ---> cc09d505f96a 16:02:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:07 ---> Running in b5ded47685b0 16:02:10 Removing intermediate container b5ded47685b0 16:02:10 ---> 0830c1100196 16:02:10 Step 11/25 : COPY . . 16:02:11 ---> 223f90842087 16:02:11 Step 12/25 : RUN $MAKE 16:02:11 ---> Running in 319517ff5d75 16:02:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.47" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:04:48 Removing intermediate container 319517ff5d75 16:04:48 ---> 03f47ea9ec43 16:04:48 Step 13/25 : FROM alpine:3.17 16:04:48 3.17: Pulling from library/alpine 16:04:48 c41833b44d91: Already exists 16:04:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:04:48 Status: Downloaded newer image for alpine:3.17 16:04:48 ---> 51e60588ff2c 16:04:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:04:48 ---> Running in b139171be708 16:04:48 Removing intermediate container b139171be708 16:04:48 ---> dc5aed1cb6a6 16:04:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:04:48 ---> Running in 1417cbf5ff71 16:04:48 Removing intermediate container 1417cbf5ff71 16:04:48 ---> f5961a382e1a 16:04:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:04:48 ---> Running in f97c375c5884 16:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:48 (1/1) Installing dumb-init (1.2.5-r2) 16:04:48 Executing busybox-1.35.0-r29.trigger 16:04:48 OK: 8 MiB in 16 packages 16:04:48 Removing intermediate container f97c375c5884 16:04:48 ---> 50e02220a974 16:04:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:04:48 ---> 87afde76f638 16:04:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:04:48 ---> e12fd6925dea 16:04:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:04:48 ---> cad7587ffbb5 16:04:48 Step 20/25 : EXPOSE 59986 16:04:48 ---> Running in 3130276985c9 16:04:48 Removing intermediate container 3130276985c9 16:04:48 ---> 58fd715be4e3 16:04:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:04:48 ---> Running in 5530ee6506bc 16:04:48 Removing intermediate container 5530ee6506bc 16:04:48 ---> 0728663bc60d 16:04:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:04:48 ---> Running in 470bfffc1f47 16:04:48 Removing intermediate container 470bfffc1f47 16:04:48 ---> 56aecf4887fe 16:04:48 Step 23/25 : LABEL arch=arm64 16:04:48 ---> Running in f34f2ce92357 16:04:48 Removing intermediate container f34f2ce92357 16:04:48 ---> c041b0a6ffe1 16:04:48 Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 16:04:48 ---> Running in b2deab476ec0 16:04:48 Removing intermediate container b2deab476ec0 16:04:48 ---> 787ae1748004 16:04:48 Step 25/25 : LABEL version=3.0.0-dev.47 16:04:48 ---> Running in b82ed1034230 16:04:48 Removing intermediate container b82ed1034230 16:04:48 ---> 14746f49e160 16:04:48 [Warning] One or more build-args [ARCH] were not consumed 16:04:48 Successfully built 14746f49e160 16:04:48 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 16:04:49 provisioning config files... 16:04:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/119@tmp/config17860726683375379391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:49 ---> docker-login.sh 16:04:49 nexus3.edgexfoundry.org:10001 16:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:49 Configure a credential helper to remove this warning. See 16:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:49 16:04:49 Login Succeeded 16:04:49 nexus3.edgexfoundry.org:10002 16:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:50 Configure a credential helper to remove this warning. See 16:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:50 16:04:50 Login Succeeded 16:04:50 nexus3.edgexfoundry.org:10003 16:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:50 Configure a credential helper to remove this warning. See 16:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:50 16:04:50 Login Succeeded 16:04:50 nexus3.edgexfoundry.org:10004 16:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:50 Configure a credential helper to remove this warning. See 16:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:50 16:04:50 Login Succeeded 16:04:50 docker.io 16:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:51 Configure a credential helper to remove this warning. See 16:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:51 16:04:51 Login Succeeded 16:04:51 ---> docker-login.sh ends [Pipeline] } 16:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:04:51 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:04:51 1e3f17100cbecc49b07fca8c81a93e30a5261c95 16:04:51 latest 16:04:51 3.0.0-dev.47 16:04:51 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 16:04:51 main 16:04:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 16:04:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:04:52 e72951b4fc30: Preparing 16:04:52 7a92939b5504: Preparing 16:04:52 9815defb14b7: Preparing 16:04:52 d8b84c34a52d: Preparing 16:04:52 26cbea5cba74: Preparing 16:04:52 26cbea5cba74: Layer already exists 16:04:52 7a92939b5504: Pushed 16:04:52 d8b84c34a52d: Pushed 16:04:52 e72951b4fc30: Pushed 16:04:57 9815defb14b7: Pushed 16:04:58 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:7e1d8dd02b2bedbb127999aa22915935a05a48b33b6c5e30902183d851e560de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:04:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:04:58 e72951b4fc30: Preparing 16:04:58 7a92939b5504: Preparing 16:04:58 9815defb14b7: Preparing 16:04:58 d8b84c34a52d: Preparing 16:04:58 26cbea5cba74: Preparing 16:04:58 9815defb14b7: Layer already exists 16:04:58 d8b84c34a52d: Layer already exists 16:04:58 26cbea5cba74: Layer already exists 16:04:58 7a92939b5504: Layer already exists 16:04:58 e72951b4fc30: Layer already exists 16:04:58 latest: digest: sha256:7e1d8dd02b2bedbb127999aa22915935a05a48b33b6c5e30902183d851e560de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.47 16:04:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:04:59 e72951b4fc30: Preparing 16:04:59 7a92939b5504: Preparing 16:04:59 9815defb14b7: Preparing 16:04:59 d8b84c34a52d: Preparing 16:04:59 26cbea5cba74: Preparing 16:04:59 d8b84c34a52d: Layer already exists 16:04:59 7a92939b5504: Layer already exists 16:04:59 9815defb14b7: Layer already exists 16:04:59 e72951b4fc30: Layer already exists 16:04:59 26cbea5cba74: Layer already exists 16:04:59 3.0.0-dev.47: digest: sha256:7e1d8dd02b2bedbb127999aa22915935a05a48b33b6c5e30902183d851e560de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 16:05:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:00 e72951b4fc30: Preparing 16:05:00 7a92939b5504: Preparing 16:05:00 9815defb14b7: Preparing 16:05:00 d8b84c34a52d: Preparing 16:05:00 26cbea5cba74: Preparing 16:05:00 26cbea5cba74: Layer already exists 16:05:00 e72951b4fc30: Layer already exists 16:05:00 7a92939b5504: Layer already exists 16:05:00 d8b84c34a52d: Layer already exists 16:05:00 9815defb14b7: Layer already exists 16:05:00 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47: digest: sha256:7e1d8dd02b2bedbb127999aa22915935a05a48b33b6c5e30902183d851e560de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:01 e72951b4fc30: Preparing 16:05:01 7a92939b5504: Preparing 16:05:01 9815defb14b7: Preparing 16:05:01 d8b84c34a52d: Preparing 16:05:01 26cbea5cba74: Preparing 16:05:01 7a92939b5504: Layer already exists 16:05:01 d8b84c34a52d: Layer already exists 16:05:01 26cbea5cba74: Layer already exists 16:05:01 9815defb14b7: Layer already exists 16:05:01 e72951b4fc30: Layer already exists 16:05:01 main: digest: sha256:7e1d8dd02b2bedbb127999aa22915935a05a48b33b6c5e30902183d851e560de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:01 ===================================================== [Pipeline] echo 16:05:01 taggedImages: 16:05:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 16:05:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:05:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.47 16:05:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0-dev.47 16:05:01 - 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 16:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:02 16:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:02 arm64: Pulling from edgex-lftools-log-publisher 16:05:02 8998bd30e6a1: Pulling fs layer 16:05:02 04944245beec: Pulling fs layer 16:05:02 699f458cf7ca: Pulling fs layer 16:05:02 765212b225bb: Pulling fs layer 16:05:02 f23df028b6ca: Pulling fs layer 16:05:02 d65c8cfc05b1: Pulling fs layer 16:05:02 2437ff75d9bd: Pulling fs layer 16:05:02 f23df028b6ca: Waiting 16:05:02 d65c8cfc05b1: Waiting 16:05:02 2437ff75d9bd: Waiting 16:05:02 765212b225bb: Waiting 16:05:02 04944245beec: Verifying Checksum 16:05:02 04944245beec: Download complete 16:05:02 765212b225bb: Verifying Checksum 16:05:02 765212b225bb: Download complete 16:05:02 f23df028b6ca: Download complete 16:05:02 d65c8cfc05b1: Verifying Checksum 16:05:02 d65c8cfc05b1: Download complete 16:05:03 699f458cf7ca: Verifying Checksum 16:05:03 699f458cf7ca: Download complete 16:05:03 8998bd30e6a1: Verifying Checksum 16:05:03 8998bd30e6a1: Download complete 16:05:05 2437ff75d9bd: Verifying Checksum 16:05:05 2437ff75d9bd: Download complete 16:05:07 8998bd30e6a1: Pull complete 16:05:08 04944245beec: Pull complete 16:05:09 699f458cf7ca: Pull complete 16:05:09 765212b225bb: Pull complete 16:05:10 f23df028b6ca: Pull complete 16:05:10 d65c8cfc05b1: Pull complete 16:05:25 2437ff75d9bd: Pull complete 16:05:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:25 prd-ubuntu20.04-docker-arm64-4c-16g-17316 does not seem to be running inside a container 16:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/119 -v /w/workspace/device-rest-go/119:/w/workspace/device-rest-go/119:rw,z -v /w/workspace/device-rest-go/119@tmp:/w/workspace/device-rest-go/119@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 16:05:28 $ docker top d75c3a7b5802db1722eb1d66984c9550582062cea1b3c1c0b7e0a290e332b170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:29 ---> job-cost.sh 16:05:29 lf-activate-venv: SKIPPING 16:05:29 INFO: No Stack... 16:05:30 INFO: Retrieving Pricing Info for: v3-standard-4 16:05:30 INFO: Archiving Costs [Pipeline] sh 16:05:31 + cat /w/workspace/device-rest-go/119/archives/cost.csv 16:05:31 + cut -d, -f6 [Pipeline] lock 16:05:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] 16:05:31 Resource [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] did not exist. Created. 16:05:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:05:31 /w/workspace/device-rest-go/119@tmp/durable-3a4fd5a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:05:32 + echo total: 0.10999999940395355 [Pipeline] stash 16:05:32 Warning: overwriting stash ‘stack-cost’ 16:05:32 Stashed 1 file(s) [Pipeline] } 16:05:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 16:05:32 $ docker stop --time=1 d75c3a7b5802db1722eb1d66984c9550582062cea1b3c1c0b7e0a290e332b170 16:05:33 $ docker rm -f --volumes d75c3a7b5802db1722eb1d66984c9550582062cea1b3c1c0b7e0a290e332b170 [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 16:05:34 provisioning config files... 16:05:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14089874376024380289tmp [Pipeline] { [Pipeline] sh 16:05:34 + set +x 16:05:34 + curl -s https://codecov.io/bash 16:05:34 + bash -s -- 16:05:34 16:05:34 _____ _ 16:05:34 / ____| | | 16:05:34 | | ___ __| | ___ ___ _____ __ 16:05:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:05:34 | |___| (_) | (_| | __/ (_| (_) \ V / 16:05:34 \_____\___/ \__,_|\___|\___\___/ \_/ 16:05:34 Bash-1.0.6 16:05:34 16:05:34 16:05:34 ==> git version 2.25.1 found 16:05:34 ==> 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 16:05:34 Release-Date: 2020-01-08 16:05:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:05:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:05:34 ==> Jenkins CI detected. 16:05:34 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:05:34 project root: . 16:05:34 --> token set from env 16:05:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:05:34 ==> Running gcov in . (disable via -X gcov) 16:05:34 ==> Python coveragepy not found 16:05:34 ==> Searching for coverage reports in: 16:05:34 + . 16:05:34 -> Found 1 reports 16:05:34 ==> Detecting git/mercurial file structure 16:05:34 ==> Reading reports 16:05:34 + ./coverage.out bytes=14663 16:05:34 ==> Appending adjustments 16:05:34 https://docs.codecov.io/docs/fixing-reports 16:05:34 + Found adjustments 16:05:34 ==> Gzipping contents 16:05:34 4.0K /tmp/codecov.HY1eT7.gz 16:05:34 ==> Uploading reports 16:05:34 url: https://codecov.io 16:05:34 query: branch=main&commit=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:05:34 -> Pinging Codecov 16:05:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:05:34 -> Uploading to 16:05:34 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/4E5D53B4F1F92C436F7061BF334D961C/1e3f17100cbecc49b07fca8c81a93e30a5261c95/57a354f5-99f1-4d26-915b-647fc07fc4bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T160534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e186cee4221e282940b0a0c288c0175270d43d45fb1f92e3f5b5c2eb2097af3 16:05:34 % Total % Received % Xferd Average Speed Time Time Time Current 16:05:34 Dload Upload Total Spent Left Speed 16:05:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11728 --:--:-- --:--:-- --:--:-- 11728 16:05:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } 16:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:05:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:05:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:05:35 16:05:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:05:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:05:35 df9b9388f04a: Pulling fs layer 16:05:35 52dc419b0ee2: Pulling fs layer 16:05:35 25bc292e5bac: Pulling fs layer 16:05:35 114826534d7a: Pulling fs layer 16:05:35 4657fd5d0bcf: Pulling fs layer 16:05:35 6ad1cebc031e: Pulling fs layer 16:05:35 8a3aa393b2d8: Pulling fs layer 16:05:35 114826534d7a: Waiting 16:05:35 4657fd5d0bcf: Waiting 16:05:35 6ad1cebc031e: Waiting 16:05:35 8a3aa393b2d8: Waiting 16:05:35 25bc292e5bac: Verifying Checksum 16:05:35 25bc292e5bac: Download complete 16:05:35 52dc419b0ee2: Verifying Checksum 16:05:35 52dc419b0ee2: Download complete 16:05:35 4657fd5d0bcf: Verifying Checksum 16:05:35 4657fd5d0bcf: Download complete 16:05:35 df9b9388f04a: Verifying Checksum 16:05:35 df9b9388f04a: Download complete 16:05:36 df9b9388f04a: Pull complete 16:05:36 6ad1cebc031e: Verifying Checksum 16:05:36 6ad1cebc031e: Download complete 16:05:36 52dc419b0ee2: Pull complete 16:05:36 25bc292e5bac: Pull complete 16:05:36 114826534d7a: Verifying Checksum 16:05:36 114826534d7a: Download complete 16:05:36 8a3aa393b2d8: Verifying Checksum 16:05:36 8a3aa393b2d8: Download complete 16:05:39 114826534d7a: Pull complete 16:05:39 4657fd5d0bcf: Pull complete 16:05:39 6ad1cebc031e: Pull complete 16:05:42 8a3aa393b2d8: Pull complete 16:05:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:05:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:42 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:05:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:05:45 $ docker top c8166427b4a8fa3abbb7f614587098ca412ff337671c072224e6b6ea631baa91 -eo pid,comm [Pipeline] { [Pipeline] echo 16:05:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:05:46 + set -o pipefail 16:05:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:05:50 16:05:50 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:05:50 16:05:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/a582ba1d-f630-476b-b18a-1b076e700fb8 16:05:50 16:05:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:05:50 16:05:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:05:50 16:05:50 16:05:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:05:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:05:50 More details here: https://snyk.co/ue1NS [Pipeline] } 16:05:50 $ docker stop --time=1 c8166427b4a8fa3abbb7f614587098ca412ff337671c072224e6b6ea631baa91 16:05:53 $ docker rm -f --volumes c8166427b4a8fa3abbb7f614587098ca412ff337671c072224e6b6ea631baa91 [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 16:05:54 + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] sh 16:05:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:05:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:55 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:05:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:05:55 $ docker top 081fc3f56b6cb55f08d395fa5ec19188942009ece38338df73f76799dc09f4c3 -eo pid,comm 16:05:55 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). 16:05:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:05:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:55 [ssh-agent] Looking for ssh-agent implementation... 16:05:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:55 $ docker exec 081fc3f56b6cb55f08d395fa5ec19188942009ece38338df73f76799dc09f4c3 ssh-agent 16:05:55 SSH_AUTH_SOCK=/tmp/ssh-Wqu8zywnoQz1/agent.33 16:05:55 SSH_AGENT_PID=39 16:05:55 Running ssh-add (command line suppressed) 16:05:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15709149555592585761.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15709149555592585761.key) 16:05:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:56 + git semver tag 16:05:56 2023-05-30 16:05:56,315 [run_tag] DEBUG tag force:False 16:05:56 2023-05-30 16:05:56,315 [check_head_tag] DEBUG check head tag 16:05:56 2023-05-30 16:05:56,316 [execute] INFO git cat-file --batch-check 16:05:56 2023-05-30 16:05:56,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:05:56 2023-05-30 16:05:56,319 [execute] INFO git cat-file --batch 16:05:56 2023-05-30 16:05:56,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:05:56 2023-05-30 16:05:56,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:05:56 2023-05-30 16:05:56,350 [execute] INFO git tag -a v3.0.0-dev.47 -m v3.0.0-dev.47 16:05:56 2023-05-30 16:05:56,350 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.47', '-m', 'v3.0.0-dev.47'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:05:56 2023-05-30 16:05:56,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:05:56 3.0.0-dev.47 [Pipeline] } 16:05:56 $ docker exec --env ******** --env ******** 081fc3f56b6cb55f08d395fa5ec19188942009ece38338df73f76799dc09f4c3 ssh-agent -k 16:05:56 unset SSH_AUTH_SOCK; 16:05:56 unset SSH_AGENT_PID; 16:05:56 echo Agent pid 39 killed; 16:05:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:05:56 + git semver [Pipeline] } 16:05:57 $ docker stop --time=1 081fc3f56b6cb55f08d395fa5ec19188942009ece38338df73f76799dc09f4c3 16:05:58 $ docker rm -f --volumes 081fc3f56b6cb55f08d395fa5ec19188942009ece38338df73f76799dc09f4c3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:05:58 16:05:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:05:59 0.23.1-centos7: Pulling from edgex-lftools 16:05:59 ab5ef0e58194: Pulling fs layer 16:05:59 9712f1f96733: Pulling fs layer 16:05:59 63f879dbbcfc: Pulling fs layer 16:05:59 0d9ebad4ef96: Pulling fs layer 16:05:59 e9a5061849ea: Pulling fs layer 16:05:59 d747dcd14b5f: Pulling fs layer 16:05:59 2de7ff778b66: Pulling fs layer 16:05:59 e9a5061849ea: Waiting 16:05:59 0d9ebad4ef96: Waiting 16:05:59 d747dcd14b5f: Waiting 16:05:59 2de7ff778b66: Waiting 16:05:59 9712f1f96733: Verifying Checksum 16:05:59 9712f1f96733: Download complete 16:05:59 63f879dbbcfc: Verifying Checksum 16:05:59 63f879dbbcfc: Download complete 16:05:59 e9a5061849ea: Verifying Checksum 16:05:59 e9a5061849ea: Download complete 16:05:59 0d9ebad4ef96: Verifying Checksum 16:05:59 0d9ebad4ef96: Download complete 16:05:59 d747dcd14b5f: Verifying Checksum 16:05:59 d747dcd14b5f: Download complete 16:05:59 ab5ef0e58194: Verifying Checksum 16:05:59 ab5ef0e58194: Download complete 16:05:59 2de7ff778b66: Verifying Checksum 16:05:59 2de7ff778b66: Download complete 16:06:02 ab5ef0e58194: Pull complete 16:06:02 9712f1f96733: Pull complete 16:06:02 63f879dbbcfc: Pull complete 16:06:06 0d9ebad4ef96: Pull complete 16:06:06 e9a5061849ea: Pull complete 16:06:06 d747dcd14b5f: Pull complete 16:06:07 2de7ff778b66: Pull complete 16:06:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:07 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:06:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:06:11 $ docker top e2013636efd1d9c32b8683e10b9efbd510abed795760c506c1043840220c05e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:06:11 provisioning config files... 16:06:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18354080923691233374tmp 16:06:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10391778541337370353tmp 16:06:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6295167578677413468tmp [Pipeline] { [Pipeline] echo 16:06:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:06:11 ---> sigul-configuration.sh 16:06:11 gpg: directory `/root/.gnupg' created 16:06:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:06:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:06:11 gpg: keyring `/root/.gnupg/secring.gpg' created 16:06:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:06:11 gpg: CAST5 encrypted data 16:06:11 gpg: encrypted with 1 passphrase 16:06:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:06:12 + mkdir /home/jenkins 16:06:12 + mkdir /home/jenkins/sigul [Pipeline] sh 16:06:12 + 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 16:06:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:06:12 ---> sigul-install.sh 16:06:12 Sigul already installed; skipping installation. [Pipeline] sh 16:06:13 + git tag --list 16:06:13 v1.0.0 16:06:13 v1.1.0 16:06:13 v1.1.1 16:06:13 v1.1.2 16:06:13 v1.2.0 16:06:13 v1.2.1 16:06:13 v2.0.0 16:06:13 v2.1.0 16:06:13 v2.1.1 16:06:13 v2.1.1-dev.1 16:06:13 v2.1.1-dev.2 16:06:13 v2.1.1-dev.3 16:06:13 v2.2.0 16:06:13 v2.2.1-dev.1 16:06:13 v2.2.1-dev.2 16:06:13 v2.2.1-dev.3 16:06:13 v2.2.1-dev.4 16:06:13 v2.2.1-dev.5 16:06:13 v2.2.1-dev.6 16:06:13 v2.2.1-dev.7 16:06:13 v2.2.1-dev.8 16:06:13 v2.2.1-dev.9 16:06:13 v2.3.0 16:06:13 v2.3.0-dev.10 16:06:13 v2.3.0-dev.11 16:06:13 v2.3.0-dev.12 16:06:13 v2.3.0-dev.13 16:06:13 v2.3.0-dev.14 16:06:13 v2.3.0-dev.15 16:06:13 v2.3.0-dev.16 16:06:13 v2.3.0-dev.17 16:06:13 v2.3.0-dev.18 16:06:13 v2.3.0-dev.19 16:06:13 v2.3.0-dev.20 16:06:13 v2.3.0-dev.21 16:06:13 v2.3.0-dev.22 16:06:13 v2.3.0-dev.23 16:06:13 v2.3.0-dev.24 16:06:13 v2.3.0-dev.25 16:06:13 v2.3.0-dev.9 16:06:13 v3.0.0-dev.1 16:06:13 v3.0.0-dev.10 16:06:13 v3.0.0-dev.11 16:06:13 v3.0.0-dev.12 16:06:13 v3.0.0-dev.13 16:06:13 v3.0.0-dev.14 16:06:13 v3.0.0-dev.15 16:06:13 v3.0.0-dev.16 16:06:13 v3.0.0-dev.17 16:06:13 v3.0.0-dev.18 16:06:13 v3.0.0-dev.19 16:06:13 v3.0.0-dev.2 16:06:13 v3.0.0-dev.20 16:06:13 v3.0.0-dev.21 16:06:13 v3.0.0-dev.22 16:06:13 v3.0.0-dev.23 16:06:13 v3.0.0-dev.24 16:06:13 v3.0.0-dev.25 16:06:13 v3.0.0-dev.26 16:06:13 v3.0.0-dev.27 16:06:13 v3.0.0-dev.28 16:06:13 v3.0.0-dev.29 16:06:13 v3.0.0-dev.3 16:06:13 v3.0.0-dev.30 16:06:13 v3.0.0-dev.31 16:06:13 v3.0.0-dev.32 16:06:13 v3.0.0-dev.33 16:06:13 v3.0.0-dev.34 16:06:13 v3.0.0-dev.35 16:06:13 v3.0.0-dev.36 16:06:13 v3.0.0-dev.37 16:06:13 v3.0.0-dev.38 16:06:13 v3.0.0-dev.39 16:06:13 v3.0.0-dev.4 16:06:13 v3.0.0-dev.40 16:06:13 v3.0.0-dev.41 16:06:13 v3.0.0-dev.42 16:06:13 v3.0.0-dev.43 16:06:13 v3.0.0-dev.44 16:06:13 v3.0.0-dev.45 16:06:13 v3.0.0-dev.46 16:06:13 v3.0.0-dev.47 16:06:13 v3.0.0-dev.5 16:06:13 v3.0.0-dev.6 16:06:13 v3.0.0-dev.7 16:06:13 v3.0.0-dev.8 16:06:13 v3.0.0-dev.9 [Pipeline] sh 16:06:13 + lftools sign git-tag v3.0.0-dev.47 16:06:13 Signing Git tag with Sigul... 16:06:13 Signing v3.0.0-dev.47 [Pipeline] echo 16:06:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:06:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:06:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:06:14 $ docker stop --time=1 e2013636efd1d9c32b8683e10b9efbd510abed795760c506c1043840220c05e2 16:06:15 $ docker rm -f --volumes e2013636efd1d9c32b8683e10b9efbd510abed795760c506c1043840220c05e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:06:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:16 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:06:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:06:16 $ docker top 5285d0050ede06d17595c946db5732e583c2b286d6f205d2df9999d862f07138 -eo pid,comm 16:06:16 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). 16:06:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:17 [ssh-agent] Looking for ssh-agent implementation... 16:06:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:17 $ docker exec 5285d0050ede06d17595c946db5732e583c2b286d6f205d2df9999d862f07138 ssh-agent 16:06:17 SSH_AUTH_SOCK=/tmp/ssh-m2cZBpbFHDkE/agent.32 16:06:17 SSH_AGENT_PID=38 16:06:17 Running ssh-add (command line suppressed) 16:06:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4486219784311133303.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4486219784311133303.key) 16:06:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:17 + git semver bump pre 16:06:17 2023-05-30 16:06:17,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:17 2023-05-30 16:06:17,831 [bump_version] DEBUG bumping version:3.0.0-dev.47 on axis:pre with prefix:dev 16:06:17 2023-05-30 16:06:17,831 [bump_version] DEBUG bumped version:3.0.0-dev.48 16:06:17 2023-05-30 16:06:17,831 [write_version] DEBUG write version:3.0.0-dev.48 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:06:17 2023-05-30 16:06:17,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:17 2023-05-30 16:06:17,831 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:17 2023-05-30 16:06:17,833 [execute] INFO git cat-file --batch-check 16:06:17 2023-05-30 16:06:17,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:17 2023-05-30 16:06:17,838 [execute] INFO git cat-file --batch 16:06:17 2023-05-30 16:06:17,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:17 2023-05-30 16:06:17,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:17 3.0.0-dev.48 [Pipeline] } 16:06:17 $ docker exec --env ******** --env ******** 5285d0050ede06d17595c946db5732e583c2b286d6f205d2df9999d862f07138 ssh-agent -k 16:06:18 unset SSH_AUTH_SOCK; 16:06:18 unset SSH_AGENT_PID; 16:06:18 echo Agent pid 38 killed; 16:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:18 + git semver [Pipeline] } 16:06:18 $ docker stop --time=1 5285d0050ede06d17595c946db5732e583c2b286d6f205d2df9999d862f07138 16:06:19 $ docker rm -f --volumes 5285d0050ede06d17595c946db5732e583c2b286d6f205d2df9999d862f07138 [Pipeline] // withDockerContainer [Pipeline] sh 16:06:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:20 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:06:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:06:20 $ docker top de391357e924099ea9bcd3db64def5aeb8bb4a17fbd8d9fe5f965e2286b33744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:21 [ssh-agent] Looking for ssh-agent implementation... 16:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:21 $ docker exec de391357e924099ea9bcd3db64def5aeb8bb4a17fbd8d9fe5f965e2286b33744 ssh-agent 16:06:21 SSH_AUTH_SOCK=/tmp/ssh-3RIJ3AtRDU5q/agent.31 16:06:21 SSH_AGENT_PID=38 16:06:21 Running ssh-add (command line suppressed) 16:06:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9018757498814629551.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9018757498814629551.key) 16:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:21 + git semver push 16:06:21 2023-05-30 16:06:21,846 [run_push] DEBUG push 16:06:21 2023-05-30 16:06:21,847 [execute] INFO git cat-file --batch-check 16:06:21 2023-05-30 16:06:21,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:21 2023-05-30 16:06:21,850 [execute] INFO git rev-list f7efb7d3bb4e0254c9b0a6cbbce1419df588c5d9 -- 16:06:21 2023-05-30 16:06:21,851 [execute] DEBUG Popen(['git', 'rev-list', 'f7efb7d3bb4e0254c9b0a6cbbce1419df588c5d9', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:06:21 2023-05-30 16:06:21,859 [execute] INFO git fetch -v origin 16:06:21 2023-05-30 16:06:21,860 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:06:22 2023-05-30 16:06:22,347 [run_push] DEBUG no remote changes detected 16:06:22 2023-05-30 16:06:22,347 [execute] INFO git push origin semver 16:06:22 2023-05-30 16:06:22,348 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:06:23 2023-05-30 16:06:23,131 [run_push] DEBUG push all version tags 16:06:23 2023-05-30 16:06:23,132 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:06:23 2023-05-30 16:06:23,132 [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) 16:06:23 2023-05-30 16:06:23,912 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:23 3.0.0-dev.48 [Pipeline] } 16:06:23 $ docker exec --env ******** --env ******** de391357e924099ea9bcd3db64def5aeb8bb4a17fbd8d9fe5f965e2286b33744 ssh-agent -k 16:06:24 unset SSH_AUTH_SOCK; 16:06:24 unset SSH_AGENT_PID; 16:06:24 echo Agent pid 38 killed; 16:06:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:24 + git semver [Pipeline] } 16:06:24 $ docker stop --time=1 de391357e924099ea9bcd3db64def5aeb8bb4a17fbd8d9fe5f965e2286b33744 16:06:25 $ docker rm -f --volumes de391357e924099ea9bcd3db64def5aeb8bb4a17fbd8d9fe5f965e2286b33744 [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 16:06:26 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:06:26 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:06:26 total 16 16:06:26 drwxr-xr-x 3 root root 4096 May 30 15:54 . 16:06:26 drwxrwxr-x 10 jenkins jenkins 4096 May 30 16:06 .. 16:06:26 drwxr-xr-x 2 root root 4096 May 30 15:54 cost 16:06:26 -rw-r--r-- 1 root root 86 May 30 15:54 cost.csv 16:06:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:06:26 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:06:26 total 16 16:06:26 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:54 . 16:06:26 drwxrwxr-x 10 jenkins jenkins 4096 May 30 16:06 .. 16:06:26 drwxr-xr-x 2 jenkins jenkins 4096 May 30 15:54 cost 16:06:26 -rw-r--r-- 1 jenkins jenkins 86 May 30 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:06:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:06:27 ---> package-listing.sh 16:06:27 ++ tr '[:upper:]' '[:lower:]' 16:06:27 ++ facter osfamily 16:06:27 + OS_FAMILY=debian 16:06:27 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:06:27 + START_PACKAGES=/tmp/packages_start.txt 16:06:27 + END_PACKAGES=/tmp/packages_end.txt 16:06:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:06:27 + PACKAGES=/tmp/packages_start.txt 16:06:27 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:06:27 + PACKAGES=/tmp/packages_end.txt 16:06:27 + case "${OS_FAMILY}" in 16:06:27 + dpkg -l 16:06:27 + grep '^ii' 16:06:27 + '[' -f /tmp/packages_start.txt ']' 16:06:27 + '[' -f /tmp/packages_end.txt ']' 16:06:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:06:27 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:06:27 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:06:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:06:27 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 16:06:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:28 prd-ubuntu20.04-docker-8c-8g-17312 does not seem to be running inside a container 16:06:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:06:28 $ docker top 6197675b75682c2a18bb4b1e532550f6780063d36b4c9f25225637300e7aa8d0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:29 + touch /tmp/pre-build-complete [Pipeline] sh 16:06:29 + mkdir -p /var/log/sysstat [Pipeline] sh 16:06:29 + ls /var/log/sa-host 16:06:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:06:29 provisioning config files... 16:06:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5201769136453463651tmp [Pipeline] { [Pipeline] echo 16:06:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:06:30 ---> create-netrc.sh [Pipeline] } 16:06:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:06:30 ---> python-tools-install.sh [Pipeline] echo 16:06:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:06:30 ---> sudo-logs.sh 16:06:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:06:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:06:31 ---> job-cost.sh 16:06:31 lf-activate-venv: SKIPPING 16:06:31 DEBUG: total: 0.2199999988079071 16:06:31 INFO: Retrieving Stack Cost... 16:06:31 INFO: Retrieving Pricing Info for: v3-standard-8 16:06:32 INFO: Archiving Costs [Pipeline] echo 16:06:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:06:32 ---> logs-deploy.sh 16:06:32 lf-activate-venv: SKIPPING 16:06:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/119 16:06:32 INFO: archiving workspace using pattern(s): 16:06:33 Archives upload complete. 16:06:33 INFO: archiving logs to Nexus