Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30cba82ac8543dee28be9b53c2ba4ad5f05591fa 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-ssh18442881448806313921.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-ssh4429051534326483905.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-ssh12777666215227122155.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-ssh12739123689162347804.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-ssh9483804104205153806.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13320 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 Avoid second fetch Checking out Revision 30cba82ac8543dee28be9b53c2ba4ad5f05591fa (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#307)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 > git rev-list --no-walk c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:19 ========================================================= 21:36:19 EdgeX Global Pipelines Version Info 21:36:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:20 ------------------- 21:36:20 stable info: 21:36:20 ------------------- 21:36:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:20 Message: update stable to v1.0.249 21:36:20 ------------------- 21:36:20 experimental info: 21:36:20 ------------------- 21:36:20 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30cba82 [Pipeline] echo 21:36:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:21 provisioning config files... 21:36:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15556429380329259201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:21 ---> docker-login.sh 21:36:21 nexus3.edgexfoundry.org:10001 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 nexus3.edgexfoundry.org:10002 21:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:22 Configure a credential helper to remove this warning. See 21:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:22 21:36:22 Login Succeeded 21:36:22 nexus3.edgexfoundry.org:10003 21:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:22 Configure a credential helper to remove this warning. See 21:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:22 21:36:22 Login Succeeded 21:36:22 nexus3.edgexfoundry.org:10004 21:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:22 Configure a credential helper to remove this warning. See 21:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:22 21:36:22 Login Succeeded 21:36:22 docker.io 21:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:22 Configure a credential helper to remove this warning. See 21:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:22 21:36:22 Login Succeeded 21:36:22 ---> docker-login.sh ends [Pipeline] } 21:36:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:22 + git rev-list -1 --merges 30cba82ac8543dee28be9b53c2ba4ad5f05591fa~1..30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] echo 21:36:23 -----------> git rev-list -1 --merges 30cba82ac8543dee28be9b53c2ba4ad5f05591fa~1..30cba82ac8543dee28be9b53c2ba4ad5f05591fa 30cba82ac8543dee28be9b53c2ba4ad5f05591fa [false] [Pipeline] sh 21:36:23 + git log --format=format:%s -1 30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] echo 21:36:23 ========================================================= 21:36:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:23 + git log --format=format:%s -1 30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] echo 21:36:23 [semverPrep] GIT_COMMIT: 30cba82ac8543dee28be9b53c2ba4ad5f05591fa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#307) [Pipeline] echo 21:36:23 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:24 + grep -v github /etc/ssh/ssh_known_hosts 21:36:24 + [ -e /tmp/ssh_known_hosts ] 21:36:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:24 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:24 21:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:24 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:24 b85a868b505f: Pulling fs layer 21:36:24 e2be974225ed: Pulling fs layer 21:36:24 339a4e72a1f5: Pulling fs layer 21:36:24 988bab9f4d93: Pulling fs layer 21:36:24 1469e6f7b9e6: Pulling fs layer 21:36:24 eaf3925da568: Pulling fs layer 21:36:24 bab4dde63d76: Pulling fs layer 21:36:24 bde34c3a00c8: Pulling fs layer 21:36:24 b352a97aabf1: Pulling fs layer 21:36:24 4872d77fe225: Pulling fs layer 21:36:24 5851b861e8e6: Pulling fs layer 21:36:24 bab4dde63d76: Waiting 21:36:24 b352a97aabf1: Waiting 21:36:24 5851b861e8e6: Waiting 21:36:24 4872d77fe225: Waiting 21:36:24 eaf3925da568: Waiting 21:36:24 988bab9f4d93: Waiting 21:36:24 1469e6f7b9e6: Waiting 21:36:24 bde34c3a00c8: Waiting 21:36:24 e2be974225ed: Verifying Checksum 21:36:24 e2be974225ed: Download complete 21:36:24 988bab9f4d93: Download complete 21:36:24 1469e6f7b9e6: Verifying Checksum 21:36:24 1469e6f7b9e6: Download complete 21:36:25 eaf3925da568: Download complete 21:36:25 339a4e72a1f5: Verifying Checksum 21:36:25 339a4e72a1f5: Download complete 21:36:25 bde34c3a00c8: Download complete 21:36:25 b352a97aabf1: Verifying Checksum 21:36:25 b352a97aabf1: Download complete 21:36:25 4872d77fe225: Verifying Checksum 21:36:25 4872d77fe225: Download complete 21:36:25 5851b861e8e6: Verifying Checksum 21:36:25 5851b861e8e6: Download complete 21:36:25 b85a868b505f: Download complete 21:36:25 bab4dde63d76: Verifying Checksum 21:36:25 bab4dde63d76: Download complete 21:36:26 b85a868b505f: Pull complete 21:36:26 e2be974225ed: Pull complete 21:36:26 339a4e72a1f5: Pull complete 21:36:27 988bab9f4d93: Pull complete 21:36:27 1469e6f7b9e6: Pull complete 21:36:27 eaf3925da568: Pull complete 21:36:29 bab4dde63d76: Pull complete 21:36:29 bde34c3a00c8: Pull complete 21:36:29 b352a97aabf1: Pull complete 21:36:29 4872d77fe225: Pull complete 21:36:29 5851b861e8e6: Pull complete 21:36:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:29 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:36:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:30 $ docker top 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 -eo pid,comm 21:36:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:36:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:30 [ssh-agent] Looking for ssh-agent implementation... 21:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:31 $ docker exec 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 ssh-agent 21:36:31 SSH_AUTH_SOCK=/tmp/ssh-NSc0FbA6JM2d/agent.31 21:36:31 SSH_AGENT_PID=37 21:36:31 Running ssh-add (command line suppressed) 21:36:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7056077353404216207.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7056077353404216207.key) 21:36:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:31 + git tag --points-at HEAD [Pipeline] } 21:36:31 $ docker exec --env ******** --env ******** 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 ssh-agent -k 21:36:31 unset SSH_AUTH_SOCK; 21:36:31 unset SSH_AGENT_PID; 21:36:31 echo Agent pid 37 killed; 21:36:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:31 [ssh-agent] Looking for ssh-agent implementation... 21:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:31 $ docker exec 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 ssh-agent 21:36:32 SSH_AUTH_SOCK=/tmp/ssh-SQ4txvQ24gPg/agent.69 21:36:32 SSH_AGENT_PID=75 21:36:32 Running ssh-add (command line suppressed) 21:36:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17503640108054697967.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17503640108054697967.key) 21:36:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:32 + git semver init 21:36:32 2023-05-04 21:36:32,567 [run_init] DEBUG init version:0.0.0 force:False 21:36:32 2023-05-04 21:36:32,568 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:36:32 2023-05-04 21:36:32,568 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:36:32 2023-05-04 21:36:32,568 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:36:33 2023-05-04 21:36:33,473 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:36:33 2023-05-04 21:36:33,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:36:33 2023-05-04 21:36:33,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:36:33 2023-05-04 21:36:33,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:36:33 3.0.0-dev.35 [Pipeline] } 21:36:33 $ docker exec --env ******** --env ******** 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 ssh-agent -k 21:36:33 unset SSH_AUTH_SOCK; 21:36:33 unset SSH_AGENT_PID; 21:36:33 echo Agent pid 75 killed; 21:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:34 + git semver [Pipeline] } 21:36:34 $ docker stop --time=1 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 21:36:35 $ docker rm -f --volumes 6a116a57f7ed4b946a3a30782257fc814f6982c4022f34364211bf5e785b70c8 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:36 Stashed 1 file(s) [Pipeline] echo 21:36:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:36 provisioning config files... 21:36:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3089405571578870935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:36 ---> docker-login.sh 21:36:36 nexus3.edgexfoundry.org:10001 21:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 nexus3.edgexfoundry.org:10002 21:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 nexus3.edgexfoundry.org:10003 21:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 nexus3.edgexfoundry.org:10004 21:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 docker.io 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 ---> docker-login.sh ends [Pipeline] } 21:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:37 ========================================================= 21:36:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:36:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:36:37 Sending build context to Docker daemon 10.9MB 21:36:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:36:37 Step 2/12 : FROM ${BASE} AS builder 21:36:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:36:37 f56be85fc22e: Pulling fs layer 21:36:37 85791d961cd3: Pulling fs layer 21:36:37 d694b5ae8c79: Pulling fs layer 21:36:37 9f32a84ed3da: Pulling fs layer 21:36:37 4d19c01a9841: Pulling fs layer 21:36:37 9325e15d5711: Pulling fs layer 21:36:37 556b6ee489ea: Pulling fs layer 21:36:37 c5a4b2cf53e6: Pulling fs layer 21:36:37 9325e15d5711: Waiting 21:36:37 556b6ee489ea: Waiting 21:36:37 9f32a84ed3da: Waiting 21:36:37 4d19c01a9841: Waiting 21:36:37 85791d961cd3: Verifying Checksum 21:36:37 85791d961cd3: Download complete 21:36:37 9f32a84ed3da: Verifying Checksum 21:36:37 9f32a84ed3da: Download complete 21:36:37 4d19c01a9841: Verifying Checksum 21:36:37 4d19c01a9841: Download complete 21:36:37 f56be85fc22e: Verifying Checksum 21:36:37 f56be85fc22e: Download complete 21:36:37 9325e15d5711: Verifying Checksum 21:36:37 9325e15d5711: Download complete 21:36:37 f56be85fc22e: Pull complete 21:36:38 85791d961cd3: Pull complete 21:36:38 c5a4b2cf53e6: Verifying Checksum 21:36:38 c5a4b2cf53e6: Download complete 21:36:38 d694b5ae8c79: Download complete 21:36:38 556b6ee489ea: Verifying Checksum 21:36:38 556b6ee489ea: Download complete 21:36:41 d694b5ae8c79: Pull complete 21:36:41 9f32a84ed3da: Pull complete 21:36:41 4d19c01a9841: Pull complete 21:36:41 9325e15d5711: Pull complete 21:36:44 556b6ee489ea: Pull complete 21:36:45 c5a4b2cf53e6: Pull complete 21:36:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:36:45 ---> c4be618373d6 21:36:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:36:46 ---> Running in f87f90aa9434 21:36:46 Removing intermediate container f87f90aa9434 21:36:46 ---> 9ed4f11cc4d7 21:36:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:46 ---> Running in f5d5bc8aa51c 21:36:46 Removing intermediate container f5d5bc8aa51c 21:36:46 ---> 2ea7ce25b945 21:36:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:36:46 ---> Running in 1057ea75df40 21:36:46 Removing intermediate container 1057ea75df40 21:36:46 ---> 3803d99a7860 21:36:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:36:46 ---> Running in e18c694c8937 21:36:47 Removing intermediate container e18c694c8937 21:36:47 ---> 53e3b172bb1d 21:36:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:47 ---> Running in 83d5875026f0 21:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:36:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:36:47 (2/4) Installing libedit (20221030.3.1-r0) 21:36:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:36:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:36:47 Executing busybox-1.35.0-r29.trigger 21:36:47 OK: 269 MiB in 57 packages 21:36:48 Removing intermediate container 83d5875026f0 21:36:48 ---> 96af34e24ba6 21:36:48 Step 8/12 : WORKDIR /device-rest-go 21:36:48 ---> Running in e2adab63cf88 21:36:48 Removing intermediate container e2adab63cf88 21:36:48 ---> 9f54a5a2467d 21:36:48 Step 9/12 : COPY go.mod vendor* ./ 21:36:48 ---> cb1392b672c4 21:36:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:48 ---> Running in 7daa18f1585a 21:36:51 Still waiting to schedule task 21:36:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:37:27 Removing intermediate container 7daa18f1585a 21:37:27 ---> 7dfb71a1f728 21:37:27 Step 11/12 : COPY . . 21:37:27 ---> 3c5c1b537f61 21:37:27 Step 12/12 : RUN $MAKE 21:37:27 ---> Running in 007b1bcdff1e 21:37:27 noop 21:37:27 Removing intermediate container 007b1bcdff1e 21:37:27 ---> 0a698e5bd693 21:37:27 Successfully built 0a698e5bd693 21:37:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:27 + docker inspect -f . ci-base-image-x86_64 21:37:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:27 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:28 $ docker top f38a510d51c40f9ad1a0245b999060f6c6145e23373c3e0dd93094af21f0846e -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:28 + go version 21:37:28 go version go1.20.2 linux/amd64 [Pipeline] } 21:37:28 $ docker stop --time=1 f38a510d51c40f9ad1a0245b999060f6c6145e23373c3e0dd93094af21f0846e 21:37:29 $ docker rm -f --volumes f38a510d51c40f9ad1a0245b999060f6c6145e23373c3e0dd93094af21f0846e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:30 + docker inspect -f . ci-base-image-x86_64 21:37:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:30 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:37:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:30 $ docker top 74f3f647486a8715f1b4a32ed1d87b1b7771057e406ffae54c1558848a968da0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:37:31 + make test 21:37:31 go test ./... -coverprofile=coverage.out ./... 21:37:35 ? github.com/edgexfoundry/device-rest-go [no test files] 21:37:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:37:45 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:37:50 go vet ./... 21:37:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:53 $ docker stop --time=1 74f3f647486a8715f1b4a32ed1d87b1b7771057e406ffae54c1558848a968da0 21:37:56 $ docker rm -f --volumes 74f3f647486a8715f1b4a32ed1d87b1b7771057e406ffae54c1558848a968da0 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:37:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:57 + ls -al . 21:37:57 total 184 21:37:57 drwxrwxr-x 9 jenkins jenkins 4096 May 4 21:37 . 21:37:57 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:36 .. 21:37:57 -rw-rw-r-- 1 jenkins jenkins 151 May 4 21:36 .dockerignore 21:37:57 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:36 .git 21:37:57 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:36 .github 21:37:57 -rw-rw-r-- 1 jenkins jenkins 329 May 4 21:36 .gitignore 21:37:57 -rw-rw-r-- 1 jenkins jenkins 41 May 4 21:36 .golangci.yml 21:37:57 drwxr-xr-x 3 jenkins jenkins 4096 May 4 21:36 .semver 21:37:57 -rw-rw-r-- 1 jenkins jenkins 9331 May 4 21:36 Attribution.txt 21:37:57 -rw-rw-r-- 1 jenkins jenkins 13085 May 4 21:36 CHANGELOG.md 21:37:57 -rw-rw-r-- 1 jenkins jenkins 1578 May 4 21:36 Dockerfile 21:37:57 -rw-rw-r-- 1 jenkins jenkins 677 May 4 21:36 GOVERNANCE.md 21:37:57 -rw-rw-r-- 1 jenkins jenkins 680 May 4 21:36 Jenkinsfile 21:37:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 21:36 LICENSE 21:37:57 -rw-rw-r-- 1 jenkins jenkins 1779 May 4 21:36 Makefile 21:37:57 -rw-rw-r-- 1 jenkins jenkins 620 May 4 21:36 OWNERS.md 21:37:57 -rw-rw-r-- 1 jenkins jenkins 15321 May 4 21:36 README.md 21:37:57 -rw-rw-r-- 1 jenkins jenkins 12 May 4 21:36 VERSION 21:37:57 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:36 bin 21:37:57 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:36 cmd 21:37:57 -rw-r--r-- 1 jenkins jenkins 14663 May 4 21:37 coverage.out 21:37:57 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:36 driver 21:37:57 -rw-rw-r-- 1 jenkins jenkins 3402 May 4 21:36 go.mod 21:37:57 -rw-rw-r-- 1 jenkins jenkins 31328 May 4 21:36 go.sum 21:37:57 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:36 snap 21:37:57 -rw-rw-r-- 1 jenkins jenkins 713 May 4 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:57 + 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=30cba82ac8543dee28be9b53c2ba4ad5f05591fa --label arch=amd64 --label version=3.0.0-dev.35 . 21:37:57 Sending build context to Docker daemon 10.92MB 21:37:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:37:57 Step 2/25 : FROM ${BASE} AS builder 21:37:57 ---> 0a698e5bd693 21:37:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:37:58 ---> Running in 1cc28b0bff4c 21:37:58 Removing intermediate container 1cc28b0bff4c 21:37:58 ---> 66619a70c673 21:37:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:58 ---> Running in aab6d8941124 21:37:58 Removing intermediate container aab6d8941124 21:37:58 ---> d5e371de7789 21:37:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:58 ---> Running in 3ec2656b2a00 21:37:58 Removing intermediate container 3ec2656b2a00 21:37:58 ---> f06692a44344 21:37:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:37:58 ---> Running in 99281fbd9d3d 21:37:58 Removing intermediate container 99281fbd9d3d 21:37:58 ---> d640f550a095 21:37:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:58 ---> Running in 0874f06a1aaa 21:37:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:37:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:37:58 OK: 269 MiB in 57 packages 21:37:59 Removing intermediate container 0874f06a1aaa 21:37:59 ---> 0995b772129f 21:37:59 Step 8/25 : WORKDIR /device-rest-go 21:37:59 ---> Running in 2feb898b7801 21:37:59 Removing intermediate container 2feb898b7801 21:37:59 ---> 223ebdaca195 21:37:59 Step 9/25 : COPY go.mod vendor* ./ 21:37:59 ---> 00b269bba723 21:37:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:59 ---> Running in 4bd395061de8 21:38:00 Removing intermediate container 4bd395061de8 21:38:00 ---> 08272340c5cd 21:38:00 Step 11/25 : COPY . . 21:38:00 ---> 9837112de15d 21:38:00 Step 12/25 : RUN $MAKE 21:38:00 ---> Running in 355a7d282bdd 21:38:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:38:19 Removing intermediate container 355a7d282bdd 21:38:19 ---> 06d06545f7b3 21:38:19 Step 13/25 : FROM alpine:3.17 21:38:19 3.17: Pulling from library/alpine 21:38:19 f56be85fc22e: Already exists 21:38:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:38:19 Status: Downloaded newer image for alpine:3.17 21:38:19 ---> 9ed4aefc74f6 21:38:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:38:19 ---> Running in fb20c82db95f 21:38:19 Removing intermediate container fb20c82db95f 21:38:19 ---> c09886d1bc37 21:38:19 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:38:19 ---> Running in 88303a0a5ba5 21:38:19 Removing intermediate container 88303a0a5ba5 21:38:19 ---> 78227c2ffa1a 21:38:19 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:38:19 ---> Running in 693988a1b3fb 21:38:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:38:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:38:19 (1/1) Installing dumb-init (1.2.5-r2) 21:38:19 Executing busybox-1.35.0-r29.trigger 21:38:19 OK: 7 MiB in 16 packages 21:38:19 Removing intermediate container 693988a1b3fb 21:38:19 ---> e874c6c61064 21:38:19 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:38:19 ---> d1057e6bdfe7 21:38:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:38:19 ---> 3789200eeaed 21:38:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:38:20 ---> a958e831b64c 21:38:20 Step 20/25 : EXPOSE 59986 21:38:20 ---> Running in d97bc66d0df2 21:38:20 Removing intermediate container d97bc66d0df2 21:38:20 ---> 5897b8314b7a 21:38:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:38:20 ---> Running in 90d134dc863a 21:38:20 Removing intermediate container 90d134dc863a 21:38:20 ---> cdd4b9e67a3d 21:38:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:38:20 ---> Running in b0fc359c4865 21:38:20 Removing intermediate container b0fc359c4865 21:38:20 ---> 49ef74edebe8 21:38:20 Step 23/25 : LABEL arch=amd64 21:38:20 ---> Running in 9e0b02bf045c 21:38:20 Removing intermediate container 9e0b02bf045c 21:38:20 ---> 17c545d04dd1 21:38:20 Step 24/25 : LABEL git_sha=30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:38:20 ---> Running in 633c6b0a4e0f 21:38:20 Removing intermediate container 633c6b0a4e0f 21:38:20 ---> 3093124da898 21:38:20 Step 25/25 : LABEL version=3.0.0-dev.35 21:38:20 ---> Running in fc4526156168 21:38:20 Removing intermediate container fc4526156168 21:38:20 ---> 12a184061f94 21:38:20 [Warning] One or more build-args [ARCH] were not consumed 21:38:20 Successfully built 12a184061f94 21:38:20 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:20 provisioning config files... 21:38:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15898873779929563959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:21 ---> docker-login.sh 21:38:21 nexus3.edgexfoundry.org:10001 21:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:21 Configure a credential helper to remove this warning. See 21:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:21 21:38:21 Login Succeeded 21:38:21 nexus3.edgexfoundry.org:10002 21:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:21 Configure a credential helper to remove this warning. See 21:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:21 21:38:21 Login Succeeded 21:38:21 nexus3.edgexfoundry.org:10003 21:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:21 Configure a credential helper to remove this warning. See 21:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:21 21:38:21 Login Succeeded 21:38:21 nexus3.edgexfoundry.org:10004 21:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:21 Configure a credential helper to remove this warning. See 21:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:21 21:38:21 Login Succeeded 21:38:21 docker.io 21:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:21 Configure a credential helper to remove this warning. See 21:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:21 21:38:21 Login Succeeded 21:38:21 ---> docker-login.sh ends [Pipeline] } 21:38:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:38:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:21 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:38:21 30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:38:21 latest 21:38:21 3.0.0-dev.35 21:38:21 30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:38:21 main 21:38:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:38:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:38:22 72749ba35455: Preparing 21:38:22 846d725cb0e0: Preparing 21:38:22 f137b0d0e6ba: Preparing 21:38:22 fb67bdb199dd: Preparing 21:38:22 f1417ff83b31: Preparing 21:38:22 f1417ff83b31: Layer already exists 21:38:22 846d725cb0e0: Pushed 21:38:22 72749ba35455: Pushed 21:38:22 fb67bdb199dd: Pushed 21:38:24 f137b0d0e6ba: Pushed 21:38:24 30cba82ac8543dee28be9b53c2ba4ad5f05591fa: digest: sha256:4e1acff203bc76312666bb4e45a85cf0f3df7f3261418c0eddea978a609eef91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:38:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:38:25 72749ba35455: Preparing 21:38:25 846d725cb0e0: Preparing 21:38:25 f137b0d0e6ba: Preparing 21:38:25 fb67bdb199dd: Preparing 21:38:25 f1417ff83b31: Preparing 21:38:25 f1417ff83b31: Layer already exists 21:38:25 846d725cb0e0: Layer already exists 21:38:25 72749ba35455: Layer already exists 21:38:25 f137b0d0e6ba: Layer already exists 21:38:25 fb67bdb199dd: Layer already exists 21:38:25 latest: digest: sha256:4e1acff203bc76312666bb4e45a85cf0f3df7f3261418c0eddea978a609eef91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.35 21:38:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:38:26 72749ba35455: Preparing 21:38:26 846d725cb0e0: Preparing 21:38:26 f137b0d0e6ba: Preparing 21:38:26 fb67bdb199dd: Preparing 21:38:26 f1417ff83b31: Preparing 21:38:26 72749ba35455: Layer already exists 21:38:26 846d725cb0e0: Layer already exists 21:38:26 f1417ff83b31: Layer already exists 21:38:26 fb67bdb199dd: Layer already exists 21:38:26 f137b0d0e6ba: Layer already exists 21:38:26 3.0.0-dev.35: digest: sha256:4e1acff203bc76312666bb4e45a85cf0f3df7f3261418c0eddea978a609eef91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:38:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:38:26 72749ba35455: Preparing 21:38:26 846d725cb0e0: Preparing 21:38:26 f137b0d0e6ba: Preparing 21:38:26 fb67bdb199dd: Preparing 21:38:26 f1417ff83b31: Preparing 21:38:26 846d725cb0e0: Layer already exists 21:38:26 f1417ff83b31: Layer already exists 21:38:26 72749ba35455: Layer already exists 21:38:26 f137b0d0e6ba: Layer already exists 21:38:26 fb67bdb199dd: Layer already exists 21:38:26 30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35: digest: sha256:4e1acff203bc76312666bb4e45a85cf0f3df7f3261418c0eddea978a609eef91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:38:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:38:27 72749ba35455: Preparing 21:38:27 846d725cb0e0: Preparing 21:38:27 f137b0d0e6ba: Preparing 21:38:27 fb67bdb199dd: Preparing 21:38:27 f1417ff83b31: Preparing 21:38:27 846d725cb0e0: Layer already exists 21:38:27 fb67bdb199dd: Layer already exists 21:38:27 f137b0d0e6ba: Layer already exists 21:38:27 72749ba35455: Layer already exists 21:38:27 f1417ff83b31: Layer already exists 21:38:27 main: digest: sha256:4e1acff203bc76312666bb4e45a85cf0f3df7f3261418c0eddea978a609eef91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:38:27 ===================================================== [Pipeline] echo 21:38:27 taggedImages: 21:38:27 - nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:38:27 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:38:27 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.35 21:38:27 - nexus3.edgexfoundry.org:10004/device-rest:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:38:27 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:27 21:38:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:28 latest: Pulling from edgex-lftools-log-publisher 21:38:28 5eb5b503b376: Pulling fs layer 21:38:28 5c69ac0246d0: Pulling fs layer 21:38:28 ec43610c2a17: Pulling fs layer 21:38:28 3a2ae6a8a46f: Pulling fs layer 21:38:28 33b1e0a273af: Pulling fs layer 21:38:28 5d3b04190fa2: Pulling fs layer 21:38:28 2f39f015ded8: Pulling fs layer 21:38:28 3a2ae6a8a46f: Waiting 21:38:28 33b1e0a273af: Waiting 21:38:28 5d3b04190fa2: Waiting 21:38:28 2f39f015ded8: Waiting 21:38:28 5c69ac0246d0: Verifying Checksum 21:38:28 5c69ac0246d0: Download complete 21:38:28 3a2ae6a8a46f: Verifying Checksum 21:38:28 3a2ae6a8a46f: Download complete 21:38:28 33b1e0a273af: Verifying Checksum 21:38:28 33b1e0a273af: Download complete 21:38:28 5d3b04190fa2: Verifying Checksum 21:38:28 5d3b04190fa2: Download complete 21:38:28 ec43610c2a17: Verifying Checksum 21:38:28 ec43610c2a17: Download complete 21:38:28 5eb5b503b376: Verifying Checksum 21:38:28 5eb5b503b376: Download complete 21:38:28 2f39f015ded8: Download complete 21:38:29 5eb5b503b376: Pull complete 21:38:29 5c69ac0246d0: Pull complete 21:38:30 ec43610c2a17: Pull complete 21:38:30 3a2ae6a8a46f: Pull complete 21:38:30 33b1e0a273af: Pull complete 21:38:30 5d3b04190fa2: Pull complete 21:38:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13321 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:38:31 Running in /w/workspace/device-rest-go/107 [Pipeline] { [Pipeline] checkout 21:38:31 The recommended git tool is: git 21:38:34 2f39f015ded8: Pull complete 21:38:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:38:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:34 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:38:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:38:36 using credential edgex-jenkins-ssh 21:38:36 Cloning the remote Git repository 21:38:36 $ docker top 3a6fdbe97d10e21947f311b22036bbc55000606f8720ba7ee768610fe4421f97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:36 ---> job-cost.sh 21:38:36 lf-activate-venv: SKIPPING 21:38:36 INFO: No Stack... 21:38:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:37 INFO: Archiving Costs [Pipeline] sh 21:38:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:38:36 > git init /w/workspace/device-rest-go/107 # timeout=10 21:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:38:36 > git --version # timeout=10 21:38:36 > git --version # 'git version 2.25.1' 21:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:37 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:38:37 + cut -d, -f6 [Pipeline] lock 21:38:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] 21:38:37 Resource [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] did not exist. Created. 21:38:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:37 + echo total: 0.2199999988079071 [Pipeline] stash 21:38:37 Stashed 1 file(s) [Pipeline] } 21:38:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:37 $ docker stop --time=1 3a6fdbe97d10e21947f311b22036bbc55000606f8720ba7ee768610fe4421f97 21:38:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:38:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:39 $ docker rm -f --volumes 3a6fdbe97d10e21947f311b22036bbc55000606f8720ba7ee768610fe4421f97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:38:39 Avoid second fetch 21:38:39 Checking out Revision 30cba82ac8543dee28be9b53c2ba4ad5f05591fa (main) 21:38:39 > git config core.sparsecheckout # timeout=10 21:38:39 > git checkout -f 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 21:38:40 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#307)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:38:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:41 Dload Upload Total Spent Left Speed 21:38:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 21:38:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:38:41 + sudo tee /etc/docker/daemon.new 21:38:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:38:41 { 21:38:41 "registry-mirrors": [ 21:38:41 "https://nexus3.edgexfoundry.org:10001" 21:38:41 ], 21:38:41 "bip": "10.250.0.254/24", 21:38:41 "hosts": [ 21:38:41 "tcp://0.0.0.0:5555", 21:38:41 "unix:///var/run/docker.sock" 21:38:41 ], 21:38:41 "mtu": 1458, 21:38:41 "selinux-enabled": true, 21:38:41 "seccomp-profile": "/etc/docker/seccomp.json" 21:38:41 } [Pipeline] sh 21:38:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:38:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:00 provisioning config files... 21:39:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/107@tmp/config13331197206578783357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:01 ---> docker-login.sh 21:39:01 nexus3.edgexfoundry.org:10001 21:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:01 Configure a credential helper to remove this warning. See 21:39:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:01 21:39:01 Login Succeeded 21:39:01 nexus3.edgexfoundry.org:10002 21:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:02 Configure a credential helper to remove this warning. See 21:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:02 21:39:02 Login Succeeded 21:39:02 nexus3.edgexfoundry.org:10003 21:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:02 Configure a credential helper to remove this warning. See 21:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:02 21:39:02 Login Succeeded 21:39:02 nexus3.edgexfoundry.org:10004 21:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:02 Configure a credential helper to remove this warning. See 21:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:02 21:39:02 Login Succeeded 21:39:02 docker.io 21:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:03 Configure a credential helper to remove this warning. See 21:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:03 21:39:03 Login Succeeded 21:39:03 ---> docker-login.sh ends [Pipeline] } 21:39:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:39:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:03 ========================================================= 21:39:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:39:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:39:04 Sending build context to Docker daemon 138.8kB 21:39:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:39:04 Step 2/12 : FROM ${BASE} AS builder 21:39:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:39:04 c41833b44d91: Pulling fs layer 21:39:04 ed15518f5707: Pulling fs layer 21:39:04 feae8fd75edb: Pulling fs layer 21:39:04 242c74f7c9fa: Pulling fs layer 21:39:04 3cdef696dda3: Pulling fs layer 21:39:04 2ced38df9373: Pulling fs layer 21:39:04 58f1dce35555: Pulling fs layer 21:39:04 242c74f7c9fa: Waiting 21:39:04 3cdef696dda3: Waiting 21:39:04 2ced38df9373: Waiting 21:39:04 58f1dce35555: Waiting 21:39:04 ed15518f5707: Verifying Checksum 21:39:04 ed15518f5707: Download complete 21:39:04 242c74f7c9fa: Download complete 21:39:04 3cdef696dda3: Verifying Checksum 21:39:04 3cdef696dda3: Download complete 21:39:04 c41833b44d91: Verifying Checksum 21:39:04 c41833b44d91: Download complete 21:39:05 c41833b44d91: Pull complete 21:39:05 58f1dce35555: Verifying Checksum 21:39:05 58f1dce35555: Download complete 21:39:06 ed15518f5707: Pull complete 21:39:07 feae8fd75edb: Verifying Checksum 21:39:07 feae8fd75edb: Download complete 21:39:07 2ced38df9373: Verifying Checksum 21:39:07 2ced38df9373: Download complete 21:39:19 feae8fd75edb: Pull complete 21:39:19 242c74f7c9fa: Pull complete 21:39:19 3cdef696dda3: Pull complete 21:39:27 2ced38df9373: Pull complete 21:39:28 58f1dce35555: Pull complete 21:39:28 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:39:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:39:29 ---> fadd8f120f05 21:39:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:39:30 ---> Running in 2baa4c4fbeb7 21:39:31 Removing intermediate container 2baa4c4fbeb7 21:39:31 ---> 6bb46be187ef 21:39:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:31 ---> Running in 3a92a83a3096 21:39:31 Removing intermediate container 3a92a83a3096 21:39:31 ---> 456933cf7663 21:39:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:39:31 ---> Running in e60341cbd94a 21:39:31 Removing intermediate container e60341cbd94a 21:39:31 ---> 0c02c7a430b6 21:39:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:39:31 ---> Running in f74680f7d13f 21:39:32 Removing intermediate container f74680f7d13f 21:39:32 ---> 9993ff9b3398 21:39:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:32 ---> Running in d3868c49d746 21:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:39:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:39:35 (2/4) Installing libedit (20221030.3.1-r0) 21:39:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:39:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:39:35 Executing busybox-1.35.0-r29.trigger 21:39:35 OK: 268 MiB in 57 packages 21:39:36 Removing intermediate container d3868c49d746 21:39:36 ---> 083691ca6ad8 21:39:36 Step 8/12 : WORKDIR /device-rest-go 21:39:36 ---> Running in 847a34b7b80e 21:39:36 Removing intermediate container 847a34b7b80e 21:39:36 ---> 35bf9245534e 21:39:36 Step 9/12 : COPY go.mod vendor* ./ 21:39:41 ---> 593067c11351 21:39:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:41 ---> Running in fe9fa1470fe9 21:40:49 Removing intermediate container fe9fa1470fe9 21:40:49 ---> 027b606b5782 21:40:49 Step 11/12 : COPY . . 21:40:49 ---> 6726bdb623db 21:40:49 Step 12/12 : RUN $MAKE 21:40:49 ---> Running in 00ef7f7f33b1 21:40:49 noop 21:40:49 Removing intermediate container 00ef7f7f33b1 21:40:49 ---> 6b33c44812eb 21:40:49 Successfully built 6b33c44812eb 21:40:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:49 + docker inspect -f . ci-base-image-arm64 21:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:49 prd-ubuntu20.04-docker-arm64-4c-16g-13321 does not seem to be running inside a container 21:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/107 -v /w/workspace/device-rest-go/107:/w/workspace/device-rest-go/107:rw,z -v /w/workspace/device-rest-go/107@tmp:/w/workspace/device-rest-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:50 $ docker top 1c582045d5e11642663acd859cd157bb785cbc4bbe54471b48e446489eed400a -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:51 + go version 21:40:51 go version go1.20.2 linux/arm64 [Pipeline] } 21:40:51 $ docker stop --time=1 1c582045d5e11642663acd859cd157bb785cbc4bbe54471b48e446489eed400a 21:40:53 $ docker rm -f --volumes 1c582045d5e11642663acd859cd157bb785cbc4bbe54471b48e446489eed400a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:54 + docker inspect -f . ci-base-image-arm64 21:40:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:54 prd-ubuntu20.04-docker-arm64-4c-16g-13321 does not seem to be running inside a container 21:40:54 $ 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/107 -v /w/workspace/device-rest-go/107:/w/workspace/device-rest-go/107:rw,z -v /w/workspace/device-rest-go/107@tmp:/w/workspace/device-rest-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:55 $ docker top 6217975e3759e38cdfb0de7ab778a0ab3303e4019843d93dbf3ea1931db9b32e -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:56 + git config --global --add safe.directory /w/workspace/device-rest-go/107 [Pipeline] fileExists [Pipeline] sh 21:40:56 + make test 21:40:56 go test ./... -coverprofile=coverage.out ./... 21:41:29 ? github.com/edgexfoundry/device-rest-go [no test files] 21:43:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:43:22 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 32.2% of statements 21:43:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:43:23 go vet ./... 21:43:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:43:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:43:56 ./bin/test-attribution-txt.sh [Pipeline] echo 21:43:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:43:56 $ docker stop --time=1 6217975e3759e38cdfb0de7ab778a0ab3303e4019843d93dbf3ea1931db9b32e 21:43:57 $ docker rm -f --volumes 6217975e3759e38cdfb0de7ab778a0ab3303e4019843d93dbf3ea1931db9b32e [Pipeline] // withDockerContainer [Pipeline] sh 21:43:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:43:58 Warning: overwriting stash ‘coverage-report’ 21:43:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:43:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:44:00 + ls -al . 21:44:00 total 180 21:44:00 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:40 . 21:44:00 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:38 .. 21:44:00 -rw-rw-r-- 1 jenkins jenkins 151 May 4 21:38 .dockerignore 21:44:00 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:38 .git 21:44:00 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:38 .github 21:44:00 -rw-rw-r-- 1 jenkins jenkins 329 May 4 21:38 .gitignore 21:44:00 -rw-rw-r-- 1 jenkins jenkins 41 May 4 21:38 .golangci.yml 21:44:00 -rw-rw-r-- 1 jenkins jenkins 9331 May 4 21:38 Attribution.txt 21:44:00 -rw-rw-r-- 1 jenkins jenkins 13085 May 4 21:38 CHANGELOG.md 21:44:00 -rw-rw-r-- 1 jenkins jenkins 1578 May 4 21:38 Dockerfile 21:44:00 -rw-rw-r-- 1 jenkins jenkins 677 May 4 21:38 GOVERNANCE.md 21:44:00 -rw-rw-r-- 1 jenkins jenkins 680 May 4 21:38 Jenkinsfile 21:44:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 21:38 LICENSE 21:44:00 -rw-rw-r-- 1 jenkins jenkins 1779 May 4 21:38 Makefile 21:44:00 -rw-rw-r-- 1 jenkins jenkins 620 May 4 21:38 OWNERS.md 21:44:00 -rw-rw-r-- 1 jenkins jenkins 15321 May 4 21:38 README.md 21:44:00 -rw-rw-r-- 1 jenkins jenkins 12 May 4 21:36 VERSION 21:44:00 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:38 bin 21:44:00 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:38 cmd 21:44:00 -rw-r--r-- 1 jenkins jenkins 14663 May 4 21:43 coverage.out 21:44:00 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:38 driver 21:44:00 -rw-rw-r-- 1 jenkins jenkins 3402 May 4 21:38 go.mod 21:44:00 -rw-rw-r-- 1 jenkins jenkins 31328 May 4 21:38 go.sum 21:44:00 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:38 snap 21:44:00 -rw-rw-r-- 1 jenkins jenkins 713 May 4 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:00 + 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=30cba82ac8543dee28be9b53c2ba4ad5f05591fa --label arch=arm64 --label version=3.0.0-dev.35 . 21:44:00 Sending build context to Docker daemon 154.1kB 21:44:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:44:00 Step 2/25 : FROM ${BASE} AS builder 21:44:00 ---> 6b33c44812eb 21:44:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:44:00 ---> Running in 99d5c91fc31b 21:44:00 Removing intermediate container 99d5c91fc31b 21:44:00 ---> a1e6b695b1d3 21:44:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:44:01 ---> Running in 59e3f07d212c 21:44:01 Removing intermediate container 59e3f07d212c 21:44:01 ---> 02b10708cc21 21:44:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:44:01 ---> Running in c4a11fba4306 21:44:01 Removing intermediate container c4a11fba4306 21:44:01 ---> 90c7108f5b3a 21:44:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:44:01 ---> Running in 5e009958c95b 21:44:02 Removing intermediate container 5e009958c95b 21:44:02 ---> 38f05d218324 21:44:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:44:02 ---> Running in 59fa0ad6ccc8 21:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:44:04 OK: 268 MiB in 57 packages 21:44:05 Removing intermediate container 59fa0ad6ccc8 21:44:05 ---> 60ff3799ade2 21:44:05 Step 8/25 : WORKDIR /device-rest-go 21:44:05 ---> Running in 9951d3616624 21:44:05 Removing intermediate container 9951d3616624 21:44:05 ---> ee89ab9e37b6 21:44:05 Step 9/25 : COPY go.mod vendor* ./ 21:44:06 ---> 3519dd769d38 21:44:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:44:06 ---> Running in 80226d144efe 21:44:10 Removing intermediate container 80226d144efe 21:44:10 ---> 3b22b2520c5d 21:44:10 Step 11/25 : COPY . . 21:44:10 ---> dcf698950938 21:44:10 Step 12/25 : RUN $MAKE 21:44:11 ---> Running in c2f00faaa57c 21:44:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:46:18 Removing intermediate container c2f00faaa57c 21:46:18 ---> 0b611fda11ec 21:46:18 Step 13/25 : FROM alpine:3.17 21:46:18 3.17: Pulling from library/alpine 21:46:18 c41833b44d91: Already exists 21:46:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:46:18 Status: Downloaded newer image for alpine:3.17 21:46:18 ---> 51e60588ff2c 21:46:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:46:18 ---> Running in 1040c54b7270 21:46:18 Removing intermediate container 1040c54b7270 21:46:18 ---> 361098d1fad6 21:46:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:46:18 ---> Running in 63c02b063a7e 21:46:18 Removing intermediate container 63c02b063a7e 21:46:18 ---> de9f6071e8eb 21:46:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:46:18 ---> Running in e9808e53324a 21:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:46:18 (1/1) Installing dumb-init (1.2.5-r2) 21:46:18 Executing busybox-1.35.0-r29.trigger 21:46:18 OK: 8 MiB in 16 packages 21:46:19 Removing intermediate container e9808e53324a 21:46:19 ---> c574e2b18816 21:46:19 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:46:20 ---> 1fcb7b8ad8ff 21:46:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:46:21 ---> 58d297d33b00 21:46:21 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:46:21 ---> 75a9f897c225 21:46:21 Step 20/25 : EXPOSE 59986 21:46:21 ---> Running in d8e4c0518beb 21:46:21 Removing intermediate container d8e4c0518beb 21:46:21 ---> b9f9b8eebe27 21:46:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:46:21 ---> Running in 662a06445bf1 21:46:22 Removing intermediate container 662a06445bf1 21:46:22 ---> 6b574b334e80 21:46:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:46:22 ---> Running in 48f33eb9f9ca 21:46:22 Removing intermediate container 48f33eb9f9ca 21:46:22 ---> f54d7248e4b3 21:46:22 Step 23/25 : LABEL arch=arm64 21:46:22 ---> Running in 3b22eb44c206 21:46:22 Removing intermediate container 3b22eb44c206 21:46:22 ---> d375927efca4 21:46:22 Step 24/25 : LABEL git_sha=30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:46:22 ---> Running in aa153a9909b6 21:46:23 Removing intermediate container aa153a9909b6 21:46:23 ---> b98b2b670ec5 21:46:23 Step 25/25 : LABEL version=3.0.0-dev.35 21:46:23 ---> Running in 21b182f4666f 21:46:23 Removing intermediate container 21b182f4666f 21:46:23 ---> 8fc045c20f4c 21:46:23 [Warning] One or more build-args [ARCH] were not consumed 21:46:23 Successfully built 8fc045c20f4c 21:46:23 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:23 provisioning config files... 21:46:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/107@tmp/config12903837311742404848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:24 ---> docker-login.sh 21:46:24 nexus3.edgexfoundry.org:10001 21:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:24 Configure a credential helper to remove this warning. See 21:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:24 21:46:24 Login Succeeded 21:46:24 nexus3.edgexfoundry.org:10002 21:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:24 Configure a credential helper to remove this warning. See 21:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:24 21:46:24 Login Succeeded 21:46:24 nexus3.edgexfoundry.org:10003 21:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:25 Configure a credential helper to remove this warning. See 21:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:25 21:46:25 Login Succeeded 21:46:25 nexus3.edgexfoundry.org:10004 21:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:25 Configure a credential helper to remove this warning. See 21:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:25 21:46:25 Login Succeeded 21:46:25 docker.io 21:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:26 Configure a credential helper to remove this warning. See 21:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:26 21:46:26 Login Succeeded 21:46:26 ---> docker-login.sh ends [Pipeline] } 21:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:46:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:46:26 30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:46:26 latest 21:46:26 3.0.0-dev.35 21:46:26 30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:46:26 main 21:46:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:46:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:46:26 4feea8d0e701: Preparing 21:46:26 aea218ac52d8: Preparing 21:46:26 8e925d789631: Preparing 21:46:26 7d9a9f5b283d: Preparing 21:46:26 26cbea5cba74: Preparing 21:46:26 26cbea5cba74: Layer already exists 21:46:27 7d9a9f5b283d: Pushed 21:46:27 aea218ac52d8: Pushed 21:46:27 4feea8d0e701: Pushed 21:46:32 8e925d789631: Pushed 21:46:32 30cba82ac8543dee28be9b53c2ba4ad5f05591fa: digest: sha256:8b7c2331ffd52138d7dc9683ddadf3968a27bfb635e8b10db8a6fd1c675def68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:46:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:46:33 4feea8d0e701: Preparing 21:46:33 aea218ac52d8: Preparing 21:46:33 8e925d789631: Preparing 21:46:33 7d9a9f5b283d: Preparing 21:46:33 26cbea5cba74: Preparing 21:46:33 4feea8d0e701: Layer already exists 21:46:33 8e925d789631: Layer already exists 21:46:33 7d9a9f5b283d: Layer already exists 21:46:33 aea218ac52d8: Layer already exists 21:46:33 26cbea5cba74: Layer already exists 21:46:33 latest: digest: sha256:8b7c2331ffd52138d7dc9683ddadf3968a27bfb635e8b10db8a6fd1c675def68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.35 21:46:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:46:34 4feea8d0e701: Preparing 21:46:34 aea218ac52d8: Preparing 21:46:34 8e925d789631: Preparing 21:46:34 7d9a9f5b283d: Preparing 21:46:34 26cbea5cba74: Preparing 21:46:34 aea218ac52d8: Layer already exists 21:46:34 4feea8d0e701: Layer already exists 21:46:34 26cbea5cba74: Layer already exists 21:46:34 7d9a9f5b283d: Layer already exists 21:46:34 8e925d789631: Layer already exists 21:46:34 3.0.0-dev.35: digest: sha256:8b7c2331ffd52138d7dc9683ddadf3968a27bfb635e8b10db8a6fd1c675def68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:46:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:46:34 4feea8d0e701: Preparing 21:46:34 aea218ac52d8: Preparing 21:46:34 8e925d789631: Preparing 21:46:34 7d9a9f5b283d: Preparing 21:46:34 26cbea5cba74: Preparing 21:46:34 26cbea5cba74: Layer already exists 21:46:34 4feea8d0e701: Layer already exists 21:46:34 aea218ac52d8: Layer already exists 21:46:34 7d9a9f5b283d: Layer already exists 21:46:34 8e925d789631: Layer already exists 21:46:34 30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35: digest: sha256:8b7c2331ffd52138d7dc9683ddadf3968a27bfb635e8b10db8a6fd1c675def68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:46:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:46:35 4feea8d0e701: Preparing 21:46:35 aea218ac52d8: Preparing 21:46:35 8e925d789631: Preparing 21:46:35 7d9a9f5b283d: Preparing 21:46:35 26cbea5cba74: Preparing 21:46:35 26cbea5cba74: Layer already exists 21:46:35 aea218ac52d8: Layer already exists 21:46:35 8e925d789631: Layer already exists 21:46:35 7d9a9f5b283d: Layer already exists 21:46:35 4feea8d0e701: Layer already exists 21:46:35 main: digest: sha256:8b7c2331ffd52138d7dc9683ddadf3968a27bfb635e8b10db8a6fd1c675def68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:46:35 ===================================================== [Pipeline] echo 21:46:35 taggedImages: 21:46:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa 21:46:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:46:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.35 21:46:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30cba82ac8543dee28be9b53c2ba4ad5f05591fa-3.0.0-dev.35 21:46:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:36 21:46:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:36 arm64: Pulling from edgex-lftools-log-publisher 21:46:36 8998bd30e6a1: Pulling fs layer 21:46:36 04944245beec: Pulling fs layer 21:46:36 699f458cf7ca: Pulling fs layer 21:46:36 765212b225bb: Pulling fs layer 21:46:36 f23df028b6ca: Pulling fs layer 21:46:36 d65c8cfc05b1: Pulling fs layer 21:46:36 2437ff75d9bd: Pulling fs layer 21:46:36 f23df028b6ca: Waiting 21:46:36 765212b225bb: Waiting 21:46:36 2437ff75d9bd: Waiting 21:46:36 d65c8cfc05b1: Waiting 21:46:36 04944245beec: Verifying Checksum 21:46:36 04944245beec: Download complete 21:46:36 765212b225bb: Verifying Checksum 21:46:36 765212b225bb: Download complete 21:46:36 f23df028b6ca: Verifying Checksum 21:46:36 f23df028b6ca: Download complete 21:46:36 d65c8cfc05b1: Verifying Checksum 21:46:36 d65c8cfc05b1: Download complete 21:46:36 699f458cf7ca: Verifying Checksum 21:46:36 699f458cf7ca: Download complete 21:46:37 8998bd30e6a1: Verifying Checksum 21:46:37 8998bd30e6a1: Download complete 21:46:39 2437ff75d9bd: Download complete 21:46:41 8998bd30e6a1: Pull complete 21:46:41 04944245beec: Pull complete 21:46:43 699f458cf7ca: Pull complete 21:46:43 765212b225bb: Pull complete 21:46:43 f23df028b6ca: Pull complete 21:46:44 d65c8cfc05b1: Pull complete 21:46:59 2437ff75d9bd: Pull complete 21:46:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:59 prd-ubuntu20.04-docker-arm64-4c-16g-13321 does not seem to be running inside a container 21:46:59 $ 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/107 -v /w/workspace/device-rest-go/107:/w/workspace/device-rest-go/107:rw,z -v /w/workspace/device-rest-go/107@tmp:/w/workspace/device-rest-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:47:02 $ docker top f2d4ef147973593a7f7f58651d13b1d68a1eaf2033f22c78fabdfaab3f7e2024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:02 ---> job-cost.sh 21:47:02 lf-activate-venv: SKIPPING 21:47:02 INFO: No Stack... 21:47:03 INFO: Retrieving Pricing Info for: v3-standard-4 21:47:04 INFO: Archiving Costs [Pipeline] sh 21:47:04 + cat /w/workspace/device-rest-go/107/archives/cost.csv 21:47:04 + cut -d, -f6 [Pipeline] lock 21:47:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] 21:47:04 Resource [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] did not exist. Created. 21:47:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:47:05 /w/workspace/device-rest-go/107@tmp/durable-b2c017e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:47:06 + echo total: 0.10999999940395355 [Pipeline] stash 21:47:06 Warning: overwriting stash ‘stack-cost’ 21:47:06 Stashed 1 file(s) [Pipeline] } 21:47:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 21:47:06 $ docker stop --time=1 f2d4ef147973593a7f7f58651d13b1d68a1eaf2033f22c78fabdfaab3f7e2024 21:47:07 $ docker rm -f --volumes f2d4ef147973593a7f7f58651d13b1d68a1eaf2033f22c78fabdfaab3f7e2024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:47:08 provisioning config files... 21:47:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2292119844449974887tmp [Pipeline] { [Pipeline] sh 21:47:08 + set +x 21:47:08 + curl -s https://codecov.io/bash 21:47:08 + bash -s -- 21:47:08 21:47:08 _____ _ 21:47:08 / ____| | | 21:47:08 | | ___ __| | ___ ___ _____ __ 21:47:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:47:08 | |___| (_) | (_| | __/ (_| (_) \ V / 21:47:08 \_____\___/ \__,_|\___|\___\___/ \_/ 21:47:08 Bash-1.0.6 21:47:08 21:47:08 21:47:08 ==> git version 2.25.1 found 21:47:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:47:08 Release-Date: 2020-01-08 21:47:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:47:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:47:08 ==> Jenkins CI detected. 21:47:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:47:08 project root: . 21:47:08 --> token set from env 21:47:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:47:08 ==> Running gcov in . (disable via -X gcov) 21:47:08 ==> Python coveragepy not found 21:47:08 ==> Searching for coverage reports in: 21:47:08 + . 21:47:08 -> Found 1 reports 21:47:08 ==> Detecting git/mercurial file structure 21:47:08 ==> Reading reports 21:47:08 + ./coverage.out bytes=14663 21:47:08 ==> Appending adjustments 21:47:08 https://docs.codecov.io/docs/fixing-reports 21:47:08 + Found adjustments 21:47:08 ==> Gzipping contents 21:47:08 4.0K /tmp/codecov.JVBc50.gz 21:47:08 ==> Uploading reports 21:47:08 url: https://codecov.io 21:47:08 query: branch=main&commit=30cba82ac8543dee28be9b53c2ba4ad5f05591fa&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:47:08 -> Pinging Codecov 21:47:08 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=30cba82ac8543dee28be9b53c2ba4ad5f05591fa&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:47:09 -> Uploading to 21:47:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/4E5D53B4F1F92C436F7061BF334D961C/30cba82ac8543dee28be9b53c2ba4ad5f05591fa/cd7ac55d-0909-44ff-92cb-42cff81528e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T214708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d5af66e05f135ec7275fab8441de0c07f13b4afab390335876c37843c5af7f0 21:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:47:09 Dload Upload Total Spent Left Speed 21:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11306 --:--:-- --:--:-- --:--:-- 11306 100 2510 0 0 100 2510 0 10726 --:--:-- --:--:-- --:--:-- 10680 21:47:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] } 21:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:47:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:47:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:47:09 21:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:47:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:47:10 df9b9388f04a: Pulling fs layer 21:47:10 52dc419b0ee2: Pulling fs layer 21:47:10 25bc292e5bac: Pulling fs layer 21:47:10 114826534d7a: Pulling fs layer 21:47:10 4657fd5d0bcf: Pulling fs layer 21:47:10 6ad1cebc031e: Pulling fs layer 21:47:10 114826534d7a: Waiting 21:47:10 4657fd5d0bcf: Waiting 21:47:10 8a3aa393b2d8: Pulling fs layer 21:47:10 6ad1cebc031e: Waiting 21:47:10 8a3aa393b2d8: Waiting 21:47:10 25bc292e5bac: Verifying Checksum 21:47:10 25bc292e5bac: Download complete 21:47:10 52dc419b0ee2: Verifying Checksum 21:47:10 52dc419b0ee2: Download complete 21:47:10 4657fd5d0bcf: Verifying Checksum 21:47:10 4657fd5d0bcf: Download complete 21:47:10 df9b9388f04a: Download complete 21:47:10 df9b9388f04a: Pull complete 21:47:10 6ad1cebc031e: Verifying Checksum 21:47:10 6ad1cebc031e: Download complete 21:47:10 52dc419b0ee2: Pull complete 21:47:10 25bc292e5bac: Pull complete 21:47:11 114826534d7a: Verifying Checksum 21:47:11 114826534d7a: Download complete 21:47:11 8a3aa393b2d8: Verifying Checksum 21:47:11 8a3aa393b2d8: Download complete 21:47:14 114826534d7a: Pull complete 21:47:14 4657fd5d0bcf: Pull complete 21:47:14 6ad1cebc031e: Pull complete 21:47:17 8a3aa393b2d8: Pull complete 21:47:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:47:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:47:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:17 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:47:21 $ docker top c6a7ed4513ac9c72b8741deb474ab4eab10997a52b2854dd0e23df88d57ac7a8 -eo pid,comm [Pipeline] { [Pipeline] echo 21:47:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:47:21 + set -o pipefail 21:47:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:47:27 21:47:27 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:47:27 21:47:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/38bb0c2f-63f7-448e-a9b5-02ef2e0a457a 21:47:27 21:47:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:47:27 21:47:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:47:27 21:47:27 21:47:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:47:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:47:27 More details here: https://snyk.co/ue1NS 21:47:27 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:47:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:47:27 $ docker stop --time=1 c6a7ed4513ac9c72b8741deb474ab4eab10997a52b2854dd0e23df88d57ac7a8 21:47:29 $ docker rm -f --volumes c6a7ed4513ac9c72b8741deb474ab4eab10997a52b2854dd0e23df88d57ac7a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:47:30 + git log --format=format:%s -1 30cba82ac8543dee28be9b53c2ba4ad5f05591fa [Pipeline] sh 21:47:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:31 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:31 $ docker top 6b22cb03c5e68ee9c62deffca9f522f119fab92bce1293eb66de93844cb8d9e8 -eo pid,comm 21:47:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:47:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:31 [ssh-agent] Looking for ssh-agent implementation... 21:47:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:31 $ docker exec 6b22cb03c5e68ee9c62deffca9f522f119fab92bce1293eb66de93844cb8d9e8 ssh-agent 21:47:32 SSH_AUTH_SOCK=/tmp/ssh-U1eUwveyl7wJ/agent.32 21:47:32 SSH_AGENT_PID=38 21:47:32 Running ssh-add (command line suppressed) 21:47:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5048886097161221296.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5048886097161221296.key) 21:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:32 + git semver tag 21:47:32 2023-05-04 21:47:32,655 [run_tag] DEBUG tag force:False 21:47:32 2023-05-04 21:47:32,655 [check_head_tag] DEBUG check head tag 21:47:32 2023-05-04 21:47:32,657 [execute] INFO git cat-file --batch-check 21:47:32 2023-05-04 21:47:32,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:47:32 2023-05-04 21:47:32,661 [execute] INFO git cat-file --batch 21:47:32 2023-05-04 21:47:32,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:47:32 2023-05-04 21:47:32,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:32 2023-05-04 21:47:32,684 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 21:47:32 2023-05-04 21:47:32,684 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:47:32 2023-05-04 21:47:32,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:32 3.0.0-dev.35 [Pipeline] } 21:47:32 $ docker exec --env ******** --env ******** 6b22cb03c5e68ee9c62deffca9f522f119fab92bce1293eb66de93844cb8d9e8 ssh-agent -k 21:47:32 unset SSH_AUTH_SOCK; 21:47:32 unset SSH_AGENT_PID; 21:47:32 echo Agent pid 38 killed; 21:47:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:33 + git semver [Pipeline] } 21:47:33 $ docker stop --time=1 6b22cb03c5e68ee9c62deffca9f522f119fab92bce1293eb66de93844cb8d9e8 21:47:34 $ docker rm -f --volumes 6b22cb03c5e68ee9c62deffca9f522f119fab92bce1293eb66de93844cb8d9e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:47:35 21:47:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:47:35 0.23.1-centos7: Pulling from edgex-lftools 21:47:35 ab5ef0e58194: Pulling fs layer 21:47:35 9712f1f96733: Pulling fs layer 21:47:35 63f879dbbcfc: Pulling fs layer 21:47:35 0d9ebad4ef96: Pulling fs layer 21:47:35 e9a5061849ea: Pulling fs layer 21:47:35 d747dcd14b5f: Pulling fs layer 21:47:35 2de7ff778b66: Pulling fs layer 21:47:35 0d9ebad4ef96: Waiting 21:47:35 e9a5061849ea: Waiting 21:47:35 d747dcd14b5f: Waiting 21:47:35 2de7ff778b66: Waiting 21:47:35 9712f1f96733: Download complete 21:47:35 63f879dbbcfc: Verifying Checksum 21:47:35 63f879dbbcfc: Download complete 21:47:35 e9a5061849ea: Verifying Checksum 21:47:35 e9a5061849ea: Download complete 21:47:35 d747dcd14b5f: Download complete 21:47:35 0d9ebad4ef96: Verifying Checksum 21:47:35 0d9ebad4ef96: Download complete 21:47:35 ab5ef0e58194: Verifying Checksum 21:47:35 ab5ef0e58194: Download complete 21:47:35 2de7ff778b66: Download complete 21:47:39 ab5ef0e58194: Pull complete 21:47:39 9712f1f96733: Pull complete 21:47:40 63f879dbbcfc: Pull complete 21:47:45 0d9ebad4ef96: Pull complete 21:47:45 e9a5061849ea: Pull complete 21:47:45 d747dcd14b5f: Pull complete 21:47:46 2de7ff778b66: Pull complete 21:47:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:47:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:46 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:47:52 $ docker top 7520929661c430934493cd1c86dc1f4a2cb66a4d86e792a6482d3060ffc9bc3f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:47:52 provisioning config files... 21:47:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15456664041825471213tmp 21:47:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9518760424920736784tmp 21:47:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6805536990959298397tmp [Pipeline] { [Pipeline] echo 21:47:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:47:53 ---> sigul-configuration.sh 21:47:53 gpg: directory `/root/.gnupg' created 21:47:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:47:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:47:53 gpg: keyring `/root/.gnupg/secring.gpg' created 21:47:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:47:53 gpg: CAST5 encrypted data 21:47:53 gpg: encrypted with 1 passphrase 21:47:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:47:53 + mkdir /home/jenkins 21:47:53 + mkdir /home/jenkins/sigul [Pipeline] sh 21:47:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:47:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:47:53 ---> sigul-install.sh 21:47:53 Sigul already installed; skipping installation. [Pipeline] sh 21:47:54 + git tag --list 21:47:54 v1.0.0 21:47:54 v1.1.0 21:47:54 v1.1.1 21:47:54 v1.1.2 21:47:54 v1.2.0 21:47:54 v1.2.1 21:47:54 v2.0.0 21:47:54 v2.1.0 21:47:54 v2.1.1 21:47:54 v2.1.1-dev.1 21:47:54 v2.1.1-dev.2 21:47:54 v2.1.1-dev.3 21:47:54 v2.2.0 21:47:54 v2.2.1-dev.1 21:47:54 v2.2.1-dev.2 21:47:54 v2.2.1-dev.3 21:47:54 v2.2.1-dev.4 21:47:54 v2.2.1-dev.5 21:47:54 v2.2.1-dev.6 21:47:54 v2.2.1-dev.7 21:47:54 v2.2.1-dev.8 21:47:54 v2.2.1-dev.9 21:47:54 v2.3.0 21:47:54 v2.3.0-dev.10 21:47:54 v2.3.0-dev.11 21:47:54 v2.3.0-dev.12 21:47:54 v2.3.0-dev.13 21:47:54 v2.3.0-dev.14 21:47:54 v2.3.0-dev.15 21:47:54 v2.3.0-dev.16 21:47:54 v2.3.0-dev.17 21:47:54 v2.3.0-dev.18 21:47:54 v2.3.0-dev.19 21:47:54 v2.3.0-dev.20 21:47:54 v2.3.0-dev.21 21:47:54 v2.3.0-dev.22 21:47:54 v2.3.0-dev.23 21:47:54 v2.3.0-dev.24 21:47:54 v2.3.0-dev.25 21:47:54 v2.3.0-dev.9 21:47:54 v3.0.0-dev.1 21:47:54 v3.0.0-dev.10 21:47:54 v3.0.0-dev.11 21:47:54 v3.0.0-dev.12 21:47:54 v3.0.0-dev.13 21:47:54 v3.0.0-dev.14 21:47:54 v3.0.0-dev.15 21:47:54 v3.0.0-dev.16 21:47:54 v3.0.0-dev.17 21:47:54 v3.0.0-dev.18 21:47:54 v3.0.0-dev.19 21:47:54 v3.0.0-dev.2 21:47:54 v3.0.0-dev.20 21:47:54 v3.0.0-dev.21 21:47:54 v3.0.0-dev.22 21:47:54 v3.0.0-dev.23 21:47:54 v3.0.0-dev.24 21:47:54 v3.0.0-dev.25 21:47:54 v3.0.0-dev.26 21:47:54 v3.0.0-dev.27 21:47:54 v3.0.0-dev.28 21:47:54 v3.0.0-dev.29 21:47:54 v3.0.0-dev.3 21:47:54 v3.0.0-dev.30 21:47:54 v3.0.0-dev.31 21:47:54 v3.0.0-dev.32 21:47:54 v3.0.0-dev.33 21:47:54 v3.0.0-dev.34 21:47:54 v3.0.0-dev.35 21:47:54 v3.0.0-dev.4 21:47:54 v3.0.0-dev.5 21:47:54 v3.0.0-dev.6 21:47:54 v3.0.0-dev.7 21:47:54 v3.0.0-dev.8 21:47:54 v3.0.0-dev.9 [Pipeline] sh 21:47:54 + lftools sign git-tag v3.0.0-dev.35 21:47:55 Signing Git tag with Sigul... 21:47:55 Signing v3.0.0-dev.35 [Pipeline] echo 21:47:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:47:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:47:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:47:55 $ docker stop --time=1 7520929661c430934493cd1c86dc1f4a2cb66a4d86e792a6482d3060ffc9bc3f 21:47:57 $ docker rm -f --volumes 7520929661c430934493cd1c86dc1f4a2cb66a4d86e792a6482d3060ffc9bc3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:47:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:57 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:58 $ docker top 1374141f8990c8ff485df59a36a549b4c54a5109197384c883a7bbe4c95139d6 -eo pid,comm 21:47:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:47:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:58 [ssh-agent] Looking for ssh-agent implementation... 21:47:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:58 $ docker exec 1374141f8990c8ff485df59a36a549b4c54a5109197384c883a7bbe4c95139d6 ssh-agent 21:47:58 SSH_AUTH_SOCK=/tmp/ssh-mGYNPR3ETurx/agent.32 21:47:58 SSH_AGENT_PID=39 21:47:58 Running ssh-add (command line suppressed) 21:47:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3591517609354271483.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3591517609354271483.key) 21:47:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:58 + git semver bump pre 21:47:59 2023-05-04 21:47:59,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:59 2023-05-04 21:47:59,164 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev 21:47:59 2023-05-04 21:47:59,164 [bump_version] DEBUG bumped version:3.0.0-dev.36 21:47:59 2023-05-04 21:47:59,164 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:47:59 2023-05-04 21:47:59,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:59 2023-05-04 21:47:59,164 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:59 2023-05-04 21:47:59,166 [execute] INFO git cat-file --batch-check 21:47:59 2023-05-04 21:47:59,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:47:59 2023-05-04 21:47:59,171 [execute] INFO git cat-file --batch 21:47:59 2023-05-04 21:47:59,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:47:59 2023-05-04 21:47:59,177 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:47:59 3.0.0-dev.36 [Pipeline] } 21:47:59 $ docker exec --env ******** --env ******** 1374141f8990c8ff485df59a36a549b4c54a5109197384c883a7bbe4c95139d6 ssh-agent -k 21:47:59 unset SSH_AUTH_SOCK; 21:47:59 unset SSH_AGENT_PID; 21:47:59 echo Agent pid 39 killed; 21:47:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:59 + git semver [Pipeline] } 21:47:59 $ docker stop --time=1 1374141f8990c8ff485df59a36a549b4c54a5109197384c883a7bbe4c95139d6 21:48:01 $ docker rm -f --volumes 1374141f8990c8ff485df59a36a549b4c54a5109197384c883a7bbe4c95139d6 [Pipeline] // withDockerContainer [Pipeline] sh 21:48:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:48:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:02 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:48:02 $ docker top b6db8e16a7ee8db852d37557bea9c6298ebdd3fa58062935d75f29ea82ccb835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:02 [ssh-agent] Looking for ssh-agent implementation... 21:48:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:02 $ docker exec b6db8e16a7ee8db852d37557bea9c6298ebdd3fa58062935d75f29ea82ccb835 ssh-agent 21:48:02 SSH_AUTH_SOCK=/tmp/ssh-1ZRD0ZrHNAS1/agent.32 21:48:02 SSH_AGENT_PID=38 21:48:02 Running ssh-add (command line suppressed) 21:48:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5812369997778959960.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5812369997778959960.key) 21:48:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:03 + git semver push 21:48:03 2023-05-04 21:48:03,224 [run_push] DEBUG push 21:48:03 2023-05-04 21:48:03,225 [execute] INFO git cat-file --batch-check 21:48:03 2023-05-04 21:48:03,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:48:03 2023-05-04 21:48:03,228 [execute] INFO git rev-list 13cb110778b5fa2edafbdf20b949d6d163ec9d76 -- 21:48:03 2023-05-04 21:48:03,229 [execute] DEBUG Popen(['git', 'rev-list', '13cb110778b5fa2edafbdf20b949d6d163ec9d76', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:48:03 2023-05-04 21:48:03,236 [execute] INFO git fetch -v origin 21:48:03 2023-05-04 21:48:03,237 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:48:03 2023-05-04 21:48:03,709 [run_push] DEBUG no remote changes detected 21:48:03 2023-05-04 21:48:03,709 [execute] INFO git push origin semver 21:48:03 2023-05-04 21:48:03,710 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:48:04 2023-05-04 21:48:04,478 [run_push] DEBUG push all version tags 21:48:04 2023-05-04 21:48:04,479 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:48:04 2023-05-04 21:48:04,479 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:48:05 2023-05-04 21:48:05,368 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:48:05 3.0.0-dev.36 [Pipeline] } 21:48:05 $ docker exec --env ******** --env ******** b6db8e16a7ee8db852d37557bea9c6298ebdd3fa58062935d75f29ea82ccb835 ssh-agent -k 21:48:05 unset SSH_AUTH_SOCK; 21:48:05 unset SSH_AGENT_PID; 21:48:05 echo Agent pid 38 killed; 21:48:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:48:05 + git semver [Pipeline] } 21:48:06 $ docker stop --time=1 b6db8e16a7ee8db852d37557bea9c6298ebdd3fa58062935d75f29ea82ccb835 21:48:07 $ docker rm -f --volumes b6db8e16a7ee8db852d37557bea9c6298ebdd3fa58062935d75f29ea82ccb835 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:48:07 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:48:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:48:07 total 16 21:48:07 drwxr-xr-x 3 root root 4096 May 4 21:38 . 21:48:07 drwxrwxr-x 10 jenkins jenkins 4096 May 4 21:47 .. 21:48:07 drwxr-xr-x 2 root root 4096 May 4 21:38 cost 21:48:07 -rw-r--r-- 1 root root 86 May 4 21:38 cost.csv 21:48:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:48:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:48:07 total 16 21:48:07 drwxr-xr-x 3 jenkins jenkins 4096 May 4 21:38 . 21:48:07 drwxrwxr-x 10 jenkins jenkins 4096 May 4 21:47 .. 21:48:07 drwxr-xr-x 2 jenkins jenkins 4096 May 4 21:38 cost 21:48:07 -rw-r--r-- 1 jenkins jenkins 86 May 4 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:48:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:48:09 ---> package-listing.sh 21:48:09 ++ facter osfamily 21:48:09 ++ tr '[:upper:]' '[:lower:]' 21:48:09 + OS_FAMILY=debian 21:48:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:48:09 + START_PACKAGES=/tmp/packages_start.txt 21:48:09 + END_PACKAGES=/tmp/packages_end.txt 21:48:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:48:09 + PACKAGES=/tmp/packages_start.txt 21:48:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:48:09 + PACKAGES=/tmp/packages_end.txt 21:48:09 + case "${OS_FAMILY}" in 21:48:09 + dpkg -l 21:48:09 + grep '^ii' 21:48:09 + '[' -f /tmp/packages_start.txt ']' 21:48:09 + '[' -f /tmp/packages_end.txt ']' 21:48:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:48:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:48:09 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:48:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:48:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:48:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:10 prd-ubuntu20.04-docker-8c-8g-13320 does not seem to be running inside a container 21:48:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:48:10 $ docker top c91559107232e91eee5c1cd7e17e9c2d6bcb20d7825348a49c5d29ed23c5b0a5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:48:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:48:11 + ls /var/log/sa-host 21:48:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:11 provisioning config files... 21:48:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14312375137777050135tmp [Pipeline] { [Pipeline] echo 21:48:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:48:12 ---> create-netrc.sh [Pipeline] } 21:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:48:12 ---> python-tools-install.sh [Pipeline] echo 21:48:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:48:12 ---> sudo-logs.sh 21:48:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:48:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:48:12 ---> job-cost.sh 21:48:12 lf-activate-venv: SKIPPING 21:48:12 DEBUG: total: 0.2199999988079071 21:48:12 INFO: Retrieving Stack Cost... 21:48:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:48:13 INFO: Archiving Costs [Pipeline] echo 21:48:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:48:14 ---> logs-deploy.sh 21:48:14 lf-activate-venv: SKIPPING 21:48:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/107 21:48:14 INFO: archiving workspace using pattern(s): 21:48:15 Archives upload complete. 21:48:15 INFO: archiving logs to Nexus