Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb022d5e5ee314ea0b2e9403ec65a17609e45266 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-ssh8784945209435478304.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-ssh3609937078607733344.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-ssh8485783430166059121.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-ssh5011245949656331302.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-ssh16691962499041180068.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14769 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bb022d5e5ee314ea0b2e9403ec65a17609e45266 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#312)" > git config core.sparsecheckout # timeout=10 > git checkout -f bb022d5e5ee314ea0b2e9403ec65a17609e45266 # timeout=10 > git rev-list --no-walk f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:19:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:19:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:19:48 ========================================================= 21:19:48 EdgeX Global Pipelines Version Info 21:19:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:19:49 ------------------- 21:19:49 stable info: 21:19:49 ------------------- 21:19:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:19:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:19:49 Message: update stable to v1.0.249 21:19:50 ------------------- 21:19:50 experimental info: 21:19:50 ------------------- 21:19:50 Commited By: **** collab-it+edgex@linuxfoundation.org 21:19:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:19:50 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb022d5 [Pipeline] echo 21:19:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:50 provisioning config files... 21:19:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15506679171298106707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:50 ---> docker-login.sh 21:19:50 nexus3.edgexfoundry.org:10001 21:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:51 Configure a credential helper to remove this warning. See 21:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:51 21:19:51 Login Succeeded 21:19:51 nexus3.edgexfoundry.org:10002 21:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:51 Configure a credential helper to remove this warning. See 21:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:51 21:19:51 Login Succeeded 21:19:51 nexus3.edgexfoundry.org:10003 21:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:51 Configure a credential helper to remove this warning. See 21:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:51 21:19:51 Login Succeeded 21:19:51 nexus3.edgexfoundry.org:10004 21:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:51 Configure a credential helper to remove this warning. See 21:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:51 21:19:51 Login Succeeded 21:19:51 docker.io 21:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:52 Configure a credential helper to remove this warning. See 21:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:52 21:19:52 Login Succeeded 21:19:52 ---> docker-login.sh ends [Pipeline] } 21:19:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:19:52 + git rev-list -1 --merges bb022d5e5ee314ea0b2e9403ec65a17609e45266~1..bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] echo 21:19:52 -----------> git rev-list -1 --merges bb022d5e5ee314ea0b2e9403ec65a17609e45266~1..bb022d5e5ee314ea0b2e9403ec65a17609e45266 bb022d5e5ee314ea0b2e9403ec65a17609e45266 [false] [Pipeline] sh 21:19:52 + git log --format=format:%s -1 bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] echo 21:19:52 ========================================================= 21:19:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:19:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:19:53 + git log --format=format:%s -1 bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] echo 21:19:53 [semverPrep] GIT_COMMIT: bb022d5e5ee314ea0b2e9403ec65a17609e45266, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#312) [Pipeline] echo 21:19:53 [semverPrep] This is not a build commit. [Pipeline] sh 21:19:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:19:53 + grep -v github /etc/ssh/ssh_known_hosts 21:19:53 + [ -e /tmp/ssh_known_hosts ] 21:19:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:19:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:19:53 + sudo tee -a /etc/ssh/ssh_known_hosts 21:19:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:19:53 21:19:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:19:54 0.1.4: Pulling from edgex-devops/py-git-semver 21:19:54 b85a868b505f: Pulling fs layer 21:19:54 e2be974225ed: Pulling fs layer 21:19:54 339a4e72a1f5: Pulling fs layer 21:19:54 988bab9f4d93: Pulling fs layer 21:19:54 1469e6f7b9e6: Pulling fs layer 21:19:54 eaf3925da568: Pulling fs layer 21:19:54 bab4dde63d76: Pulling fs layer 21:19:54 bde34c3a00c8: Pulling fs layer 21:19:54 b352a97aabf1: Pulling fs layer 21:19:54 4872d77fe225: Pulling fs layer 21:19:54 5851b861e8e6: Pulling fs layer 21:19:54 988bab9f4d93: Waiting 21:19:54 4872d77fe225: Waiting 21:19:54 bde34c3a00c8: Waiting 21:19:54 5851b861e8e6: Waiting 21:19:54 bab4dde63d76: Waiting 21:19:54 eaf3925da568: Waiting 21:19:54 b352a97aabf1: Waiting 21:19:54 1469e6f7b9e6: Waiting 21:19:54 e2be974225ed: Verifying Checksum 21:19:54 e2be974225ed: Download complete 21:19:54 988bab9f4d93: Download complete 21:19:54 1469e6f7b9e6: Verifying Checksum 21:19:54 1469e6f7b9e6: Download complete 21:19:54 eaf3925da568: Verifying Checksum 21:19:54 eaf3925da568: Download complete 21:19:54 339a4e72a1f5: Verifying Checksum 21:19:54 339a4e72a1f5: Download complete 21:19:54 b85a868b505f: Verifying Checksum 21:19:54 b85a868b505f: Download complete 21:19:54 bde34c3a00c8: Verifying Checksum 21:19:54 bde34c3a00c8: Download complete 21:19:54 4872d77fe225: Verifying Checksum 21:19:54 4872d77fe225: Download complete 21:19:54 b352a97aabf1: Download complete 21:19:54 5851b861e8e6: Verifying Checksum 21:19:54 5851b861e8e6: Download complete 21:19:54 bab4dde63d76: Verifying Checksum 21:19:54 bab4dde63d76: Download complete 21:19:55 b85a868b505f: Pull complete 21:19:55 e2be974225ed: Pull complete 21:19:56 339a4e72a1f5: Pull complete 21:19:56 988bab9f4d93: Pull complete 21:19:56 1469e6f7b9e6: Pull complete 21:19:56 eaf3925da568: Pull complete 21:19:58 bab4dde63d76: Pull complete 21:19:58 bde34c3a00c8: Pull complete 21:19:58 b352a97aabf1: Pull complete 21:19:58 4872d77fe225: Pull complete 21:19:58 5851b861e8e6: Pull complete 21:19:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:19:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:19:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:58 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:19:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:20:01 $ docker top 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e -eo pid,comm 21:20:01 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:20:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:20:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:20:01 [ssh-agent] Looking for ssh-agent implementation... 21:20:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:20:01 $ docker exec 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e ssh-agent 21:20:01 SSH_AUTH_SOCK=/tmp/ssh-ZpBmaSN9c8dS/agent.32 21:20:01 SSH_AGENT_PID=38 21:20:01 Running ssh-add (command line suppressed) 21:20:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1790991845156374069.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1790991845156374069.key) 21:20:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:20:02 + git tag --points-at HEAD [Pipeline] } 21:20:02 $ docker exec --env ******** --env ******** 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e ssh-agent -k 21:20:02 unset SSH_AUTH_SOCK; 21:20:02 unset SSH_AGENT_PID; 21:20:02 echo Agent pid 38 killed; 21:20:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:20:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:20:02 [ssh-agent] Looking for ssh-agent implementation... 21:20:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:20:02 $ docker exec 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e ssh-agent 21:20:02 SSH_AUTH_SOCK=/tmp/ssh-JrBCp1GI3CkN/agent.70 21:20:02 SSH_AGENT_PID=76 21:20:02 Running ssh-add (command line suppressed) 21:20:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4417819468477460706.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4417819468477460706.key) 21:20:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:20:03 + git semver init 21:20:03 2023-05-09 21:20:03,239 [run_init] DEBUG init version:0.0.0 force:False 21:20:03 2023-05-09 21:20:03,240 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:20:03 2023-05-09 21:20:03,241 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:20:03 2023-05-09 21:20:03,241 [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:20:04 2023-05-09 21:20:04,327 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:20:04 2023-05-09 21:20:04,327 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:20:04 2023-05-09 21:20:04,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:20:04 2023-05-09 21:20:04,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:20:04 3.0.0-dev.38 [Pipeline] } 21:20:04 $ docker exec --env ******** --env ******** 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e ssh-agent -k 21:20:04 unset SSH_AUTH_SOCK; 21:20:04 unset SSH_AGENT_PID; 21:20:04 echo Agent pid 76 killed; 21:20:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:20:05 + git semver [Pipeline] } 21:20:05 $ docker stop --time=1 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e 21:20:06 $ docker rm -f --volumes 4924bd572a9b71019cd74888e2f4aa9eb8b82111441aefa3f0cb6f386ba3f87e [Pipeline] // withDockerContainer [Pipeline] sh 21:20:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:20:07 Stashed 1 file(s) [Pipeline] echo 21:20:07 [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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:20:07 provisioning config files... 21:20:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9714940702810149839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:07 ---> docker-login.sh 21:20:07 nexus3.edgexfoundry.org:10001 21:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:07 Configure a credential helper to remove this warning. See 21:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:07 21:20:07 Login Succeeded 21:20:07 nexus3.edgexfoundry.org:10002 21:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:07 Configure a credential helper to remove this warning. See 21:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:07 21:20:07 Login Succeeded 21:20:07 nexus3.edgexfoundry.org:10003 21:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:07 Configure a credential helper to remove this warning. See 21:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:07 21:20:07 Login Succeeded 21:20:07 nexus3.edgexfoundry.org:10004 21:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:07 Configure a credential helper to remove this warning. See 21:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:07 21:20:07 Login Succeeded 21:20:07 docker.io 21:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:08 Configure a credential helper to remove this warning. See 21:20:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:08 21:20:08 Login Succeeded 21:20:08 ---> docker-login.sh ends [Pipeline] } 21:20:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:08 ========================================================= 21:20:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:20:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:08 + 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:20:08 Sending build context to Docker daemon 10.91MB 21:20:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:20:08 Step 2/12 : FROM ${BASE} AS builder 21:20:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:20:08 f56be85fc22e: Pulling fs layer 21:20:08 85791d961cd3: Pulling fs layer 21:20:08 d694b5ae8c79: Pulling fs layer 21:20:08 9f32a84ed3da: Pulling fs layer 21:20:08 4d19c01a9841: Pulling fs layer 21:20:08 9325e15d5711: Pulling fs layer 21:20:08 556b6ee489ea: Pulling fs layer 21:20:08 c5a4b2cf53e6: Pulling fs layer 21:20:08 9325e15d5711: Waiting 21:20:08 4d19c01a9841: Waiting 21:20:08 556b6ee489ea: Waiting 21:20:08 c5a4b2cf53e6: Waiting 21:20:08 85791d961cd3: Verifying Checksum 21:20:08 85791d961cd3: Download complete 21:20:08 9f32a84ed3da: Verifying Checksum 21:20:08 9f32a84ed3da: Download complete 21:20:08 4d19c01a9841: Verifying Checksum 21:20:08 4d19c01a9841: Download complete 21:20:08 f56be85fc22e: Download complete 21:20:08 9325e15d5711: Verifying Checksum 21:20:08 9325e15d5711: Download complete 21:20:09 f56be85fc22e: Pull complete 21:20:09 85791d961cd3: Pull complete 21:20:09 d694b5ae8c79: Verifying Checksum 21:20:09 d694b5ae8c79: Download complete 21:20:09 c5a4b2cf53e6: Verifying Checksum 21:20:09 c5a4b2cf53e6: Download complete 21:20:10 556b6ee489ea: Verifying Checksum 21:20:10 556b6ee489ea: Download complete 21:20:13 d694b5ae8c79: Pull complete 21:20:13 9f32a84ed3da: Pull complete 21:20:13 4d19c01a9841: Pull complete 21:20:13 9325e15d5711: Pull complete 21:20:15 556b6ee489ea: Pull complete 21:20:16 c5a4b2cf53e6: Pull complete 21:20:16 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:20:16 ---> c4be618373d6 21:20:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:20:20 ---> Running in 05a3b15dd9ca 21:20:20 Removing intermediate container 05a3b15dd9ca 21:20:20 ---> a733b5a367dd 21:20:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:20 ---> Running in 4297add5e507 21:20:20 Removing intermediate container 4297add5e507 21:20:20 ---> 75e48130ef24 21:20:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:20:20 ---> Running in 62c3dca53912 21:20:20 Removing intermediate container 62c3dca53912 21:20:20 ---> 9f04b84e763c 21:20:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:20:20 ---> Running in fe86daa6c12d 21:20:20 Removing intermediate container fe86daa6c12d 21:20:20 ---> 70f16340b4fe 21:20:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:20 ---> Running in 0c4d036fda27 21:20:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:20:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:20:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:20:21 (2/4) Installing libedit (20221030.3.1-r0) 21:20:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:20:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:20:21 Executing busybox-1.35.0-r29.trigger 21:20:21 OK: 269 MiB in 57 packages 21:20:22 Removing intermediate container 0c4d036fda27 21:20:22 ---> 739f613fac99 21:20:22 Step 8/12 : WORKDIR /device-rest-go 21:20:22 ---> Running in c4203f20cb48 21:20:22 Removing intermediate container c4203f20cb48 21:20:22 ---> 74ee6f74feff 21:20:22 Step 9/12 : COPY go.mod vendor* ./ 21:20:22 ---> b0e6e9acf033 21:20:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:22 ---> Running in 5e63573cd9d5 21:20:22 Still waiting to schedule task 21:20:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:20:48 Removing intermediate container 5e63573cd9d5 21:20:48 ---> 95489d91642b 21:20:48 Step 11/12 : COPY . . 21:20:48 ---> 1df1d81c6cc0 21:20:48 Step 12/12 : RUN $MAKE 21:20:48 ---> Running in 7b421db7c12f 21:20:48 noop 21:20:48 Removing intermediate container 7b421db7c12f 21:20:48 ---> c1fd3f1a98f7 21:20:48 Successfully built c1fd3f1a98f7 21:20:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:49 + docker inspect -f . ci-base-image-x86_64 21:20:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:49 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:20:49 $ 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:20:49 $ docker top d82b9a4db9c8550cd39ea0a852971a3c1eecd5a3cf76a4a944fce99ebda1d192 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:49 + go version 21:20:49 go version go1.20.2 linux/amd64 [Pipeline] } 21:20:49 $ docker stop --time=1 d82b9a4db9c8550cd39ea0a852971a3c1eecd5a3cf76a4a944fce99ebda1d192 21:20:51 $ docker rm -f --volumes d82b9a4db9c8550cd39ea0a852971a3c1eecd5a3cf76a4a944fce99ebda1d192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:51 + docker inspect -f . ci-base-image-x86_64 21:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:51 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:20:51 $ 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:20:52 $ docker top 2d2e7c9458fbd6807b648cf245450fffcb65a01bc4c98c3a116ebed35f98b246 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:20:52 + make test 21:20:52 go test ./... -coverprofile=coverage.out ./... 21:20:57 ? github.com/edgexfoundry/device-rest-go [no test files] 21:21:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:21:07 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 21:21:14 go vet ./... 21:21:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:21:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:21:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:21:18 $ docker stop --time=1 2d2e7c9458fbd6807b648cf245450fffcb65a01bc4c98c3a116ebed35f98b246 21:21:21 $ docker rm -f --volumes 2d2e7c9458fbd6807b648cf245450fffcb65a01bc4c98c3a116ebed35f98b246 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:21:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:21:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:23 + ls -al . 21:21:23 total 184 21:21:23 drwxrwxr-x 9 jenkins jenkins 4096 May 9 21:20 . 21:21:23 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:19 .. 21:21:23 -rw-rw-r-- 1 jenkins jenkins 151 May 9 21:19 .dockerignore 21:21:23 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:20 .git 21:21:23 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:19 .github 21:21:23 -rw-rw-r-- 1 jenkins jenkins 329 May 9 21:19 .gitignore 21:21:23 -rw-rw-r-- 1 jenkins jenkins 41 May 9 21:19 .golangci.yml 21:21:23 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:20 .semver 21:21:23 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 21:19 Attribution.txt 21:21:23 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 21:19 CHANGELOG.md 21:21:23 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 21:19 Dockerfile 21:21:23 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:19 GOVERNANCE.md 21:21:23 -rw-rw-r-- 1 jenkins jenkins 680 May 9 21:19 Jenkinsfile 21:21:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 21:19 LICENSE 21:21:23 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 21:19 Makefile 21:21:23 -rw-rw-r-- 1 jenkins jenkins 620 May 9 21:19 OWNERS.md 21:21:23 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 21:19 README.md 21:21:23 -rw-rw-r-- 1 jenkins jenkins 12 May 9 21:20 VERSION 21:21:23 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:19 bin 21:21:23 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:19 cmd 21:21:23 -rw-r--r-- 1 jenkins jenkins 14663 May 9 21:21 coverage.out 21:21:23 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:19 driver 21:21:23 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 21:19 go.mod 21:21:23 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 21:19 go.sum 21:21:23 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:19 snap 21:21:23 -rw-rw-r-- 1 jenkins jenkins 713 May 9 21:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:23 + 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=bb022d5e5ee314ea0b2e9403ec65a17609e45266 --label arch=amd64 --label version=3.0.0-dev.38 . 21:21:23 Sending build context to Docker daemon 10.93MB 21:21:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:21:23 Step 2/25 : FROM ${BASE} AS builder 21:21:23 ---> c1fd3f1a98f7 21:21:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:21:23 ---> Running in 95ebb261b170 21:21:23 Removing intermediate container 95ebb261b170 21:21:23 ---> 9709e07ef5f3 21:21:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:23 ---> Running in 714e9656fda6 21:21:23 Removing intermediate container 714e9656fda6 21:21:23 ---> 4a574e2dc052 21:21:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:21:23 ---> Running in ad654d20c101 21:21:23 Removing intermediate container ad654d20c101 21:21:23 ---> 81cbf0785317 21:21:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:21:23 ---> Running in aed7b314656c 21:21:23 Removing intermediate container aed7b314656c 21:21:23 ---> 2b4bc9a66f26 21:21:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:23 ---> Running in 4d1058e10963 21:21:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:21:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:21:24 OK: 269 MiB in 57 packages 21:21:24 Removing intermediate container 4d1058e10963 21:21:24 ---> 1ce204701acf 21:21:24 Step 8/25 : WORKDIR /device-rest-go 21:21:24 ---> Running in cd8425473f77 21:21:24 Removing intermediate container cd8425473f77 21:21:24 ---> 7ba20705296d 21:21:24 Step 9/25 : COPY go.mod vendor* ./ 21:21:24 ---> 41d757f8780a 21:21:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:24 ---> Running in 6de8664c53a4 21:21:25 Removing intermediate container 6de8664c53a4 21:21:25 ---> 704f3816a12b 21:21:25 Step 11/25 : COPY . . 21:21:26 ---> 74dc0c1b90d4 21:21:26 Step 12/25 : RUN $MAKE 21:21:26 ---> Running in 7ab0a450eef5 21:21:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:21:44 Removing intermediate container 7ab0a450eef5 21:21:44 ---> db38ee383c98 21:21:44 Step 13/25 : FROM alpine:3.17 21:21:44 3.17: Pulling from library/alpine 21:21:44 f56be85fc22e: Already exists 21:21:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:21:44 Status: Downloaded newer image for alpine:3.17 21:21:44 ---> 9ed4aefc74f6 21:21:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:21:44 ---> Running in ebebf554e682 21:21:44 Removing intermediate container ebebf554e682 21:21:44 ---> e473440da6b6 21:21:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:21:44 ---> Running in 3d7c1a77646f 21:21:44 Removing intermediate container 3d7c1a77646f 21:21:44 ---> 79a95c7094ee 21:21:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:21:44 ---> Running in 43b646b619d1 21:21:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:21:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:21:45 (1/1) Installing dumb-init (1.2.5-r2) 21:21:45 Executing busybox-1.35.0-r29.trigger 21:21:45 OK: 7 MiB in 16 packages 21:21:45 Removing intermediate container 43b646b619d1 21:21:45 ---> 47b86d09cc5e 21:21:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:21:46 ---> 4d21e088298a 21:21:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:21:46 ---> 1dc64fffab10 21:21:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:21:46 ---> 00f8ca463b44 21:21:46 Step 20/25 : EXPOSE 59986 21:21:46 ---> Running in 13d9ef42b627 21:21:46 Removing intermediate container 13d9ef42b627 21:21:46 ---> cfff98583368 21:21:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:21:46 ---> Running in 6855c550dd78 21:21:46 Removing intermediate container 6855c550dd78 21:21:46 ---> dc050e1e5526 21:21:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:21:46 ---> Running in 8d3e00936051 21:21:46 Removing intermediate container 8d3e00936051 21:21:46 ---> cd1ac92dc690 21:21:46 Step 23/25 : LABEL arch=amd64 21:21:46 ---> Running in 736f1b01dfde 21:21:46 Removing intermediate container 736f1b01dfde 21:21:46 ---> 1da5df247a4d 21:21:46 Step 24/25 : LABEL git_sha=bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:21:47 ---> Running in ba09cdb0ea5b 21:21:47 Removing intermediate container ba09cdb0ea5b 21:21:47 ---> 44fc10117278 21:21:47 Step 25/25 : LABEL version=3.0.0-dev.38 21:21:47 ---> Running in 4798b918e7d7 21:21:47 Removing intermediate container 4798b918e7d7 21:21:47 ---> 3695936a7b36 21:21:47 [Warning] One or more build-args [ARCH] were not consumed 21:21:47 Successfully built 3695936a7b36 21:21:47 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:21:47 provisioning config files... 21:21:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14049487252580359214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:47 ---> docker-login.sh 21:21:47 nexus3.edgexfoundry.org:10001 21:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:47 Configure a credential helper to remove this warning. See 21:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:47 21:21:47 Login Succeeded 21:21:47 nexus3.edgexfoundry.org:10002 21:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:47 Configure a credential helper to remove this warning. See 21:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:47 21:21:47 Login Succeeded 21:21:47 nexus3.edgexfoundry.org:10003 21:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:47 Configure a credential helper to remove this warning. See 21:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:47 21:21:47 Login Succeeded 21:21:47 nexus3.edgexfoundry.org:10004 21:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:47 Configure a credential helper to remove this warning. See 21:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:47 21:21:47 Login Succeeded 21:21:47 docker.io 21:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:47 Configure a credential helper to remove this warning. See 21:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:47 21:21:47 Login Succeeded 21:21:47 ---> docker-login.sh ends [Pipeline] } 21:21:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:21:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:48 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:21:48 bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:21:48 latest 21:21:48 3.0.0-dev.38 21:21:48 bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:21:48 main 21:21:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:21:48 84fbfcf49720: Preparing 21:21:48 ee3e60b3d165: Preparing 21:21:48 ce82708de6ea: Preparing 21:21:48 53585ed5bfd6: Preparing 21:21:48 f1417ff83b31: Preparing 21:21:48 f1417ff83b31: Layer already exists 21:21:48 ee3e60b3d165: Pushed 21:21:48 84fbfcf49720: Pushed 21:21:48 53585ed5bfd6: Pushed 21:21:52 ce82708de6ea: Pushed 21:21:52 bb022d5e5ee314ea0b2e9403ec65a17609e45266: digest: sha256:f14e04bab29ce3a66d55c5e814de31c24501bdf916b176b48071f519054495f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:21:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:21:52 84fbfcf49720: Preparing 21:21:52 ee3e60b3d165: Preparing 21:21:52 ce82708de6ea: Preparing 21:21:52 53585ed5bfd6: Preparing 21:21:52 f1417ff83b31: Preparing 21:21:52 53585ed5bfd6: Layer already exists 21:21:52 84fbfcf49720: Layer already exists 21:21:52 ee3e60b3d165: Layer already exists 21:21:52 ce82708de6ea: Layer already exists 21:21:52 f1417ff83b31: Layer already exists 21:21:52 latest: digest: sha256:f14e04bab29ce3a66d55c5e814de31c24501bdf916b176b48071f519054495f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.38 21:21:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:21:53 84fbfcf49720: Preparing 21:21:53 ee3e60b3d165: Preparing 21:21:53 ce82708de6ea: Preparing 21:21:53 53585ed5bfd6: Preparing 21:21:53 f1417ff83b31: Preparing 21:21:53 53585ed5bfd6: Layer already exists 21:21:53 ee3e60b3d165: Layer already exists 21:21:53 f1417ff83b31: Layer already exists 21:21:53 84fbfcf49720: Layer already exists 21:21:53 ce82708de6ea: Layer already exists 21:21:53 3.0.0-dev.38: digest: sha256:f14e04bab29ce3a66d55c5e814de31c24501bdf916b176b48071f519054495f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:21:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:21:53 84fbfcf49720: Preparing 21:21:53 ee3e60b3d165: Preparing 21:21:53 ce82708de6ea: Preparing 21:21:53 53585ed5bfd6: Preparing 21:21:53 f1417ff83b31: Preparing 21:21:53 f1417ff83b31: Layer already exists 21:21:53 ce82708de6ea: Layer already exists 21:21:53 84fbfcf49720: Layer already exists 21:21:53 53585ed5bfd6: Layer already exists 21:21:53 ee3e60b3d165: Layer already exists 21:21:53 bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38: digest: sha256:f14e04bab29ce3a66d55c5e814de31c24501bdf916b176b48071f519054495f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:21:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:21:54 84fbfcf49720: Preparing 21:21:54 ee3e60b3d165: Preparing 21:21:54 ce82708de6ea: Preparing 21:21:54 53585ed5bfd6: Preparing 21:21:54 f1417ff83b31: Preparing 21:21:54 53585ed5bfd6: Layer already exists 21:21:54 ce82708de6ea: Layer already exists 21:21:54 84fbfcf49720: Layer already exists 21:21:54 ee3e60b3d165: Layer already exists 21:21:54 f1417ff83b31: Layer already exists 21:21:54 main: digest: sha256:f14e04bab29ce3a66d55c5e814de31c24501bdf916b176b48071f519054495f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:21:54 ===================================================== [Pipeline] echo 21:21:54 taggedImages: 21:21:54 - nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:21:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:21:54 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.38 21:21:54 - nexus3.edgexfoundry.org:10004/device-rest:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:21:54 - 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:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:54 21:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:55 latest: Pulling from edgex-lftools-log-publisher 21:21:55 5eb5b503b376: Pulling fs layer 21:21:55 5c69ac0246d0: Pulling fs layer 21:21:55 ec43610c2a17: Pulling fs layer 21:21:55 3a2ae6a8a46f: Pulling fs layer 21:21:55 33b1e0a273af: Pulling fs layer 21:21:55 5d3b04190fa2: Pulling fs layer 21:21:55 2f39f015ded8: Pulling fs layer 21:21:55 33b1e0a273af: Waiting 21:21:55 5d3b04190fa2: Waiting 21:21:55 2f39f015ded8: Waiting 21:21:55 3a2ae6a8a46f: Waiting 21:21:55 5c69ac0246d0: Verifying Checksum 21:21:55 5c69ac0246d0: Download complete 21:21:55 3a2ae6a8a46f: Verifying Checksum 21:21:55 3a2ae6a8a46f: Download complete 21:21:55 33b1e0a273af: Verifying Checksum 21:21:55 33b1e0a273af: Download complete 21:21:55 5d3b04190fa2: Download complete 21:21:55 ec43610c2a17: Verifying Checksum 21:21:55 ec43610c2a17: Download complete 21:21:55 5eb5b503b376: Download complete 21:21:56 2f39f015ded8: Download complete 21:21:56 5eb5b503b376: Pull complete 21:21:56 5c69ac0246d0: Pull complete 21:21:57 ec43610c2a17: Pull complete 21:21:57 3a2ae6a8a46f: Pull complete 21:21:57 33b1e0a273af: Pull complete 21:21:57 5d3b04190fa2: Pull complete 21:22:01 2f39f015ded8: Pull complete 21:22:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:01 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:22:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:22:05 $ docker top 7581d5bc011cc010e50ce279e44bde1cfd989f46137a4125521be67991837ffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:05 ---> job-cost.sh 21:22:05 lf-activate-venv: SKIPPING 21:22:05 INFO: No Stack... 21:22:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:22:06 INFO: Archiving Costs [Pipeline] sh 21:22:06 + + catcut /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv -d, 21:22:06 -f6 [Pipeline] lock 21:22:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] 21:22:06 Resource [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] did not exist. Created. 21:22:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:22:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:22:06 Stashed 1 file(s) [Pipeline] } 21:22:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 21:22:06 $ docker stop --time=1 7581d5bc011cc010e50ce279e44bde1cfd989f46137a4125521be67991837ffd 21:22:08 $ docker rm -f --volumes 7581d5bc011cc010e50ce279e44bde1cfd989f46137a4125521be67991837ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14770 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:23:15 Running in /w/workspace/device-rest-go/110 [Pipeline] { [Pipeline] checkout 21:23:15 The recommended git tool is: git 21:23:21 using credential edgex-jenkins-ssh 21:23:21 Cloning the remote Git repository 21:23:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:23:21 > git init /w/workspace/device-rest-go/110 # timeout=10 21:23:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:23:21 > git --version # timeout=10 21:23:21 > git --version # 'git version 2.25.1' 21:23:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:23:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:24 Avoid second fetch 21:23:24 Checking out Revision bb022d5e5ee314ea0b2e9403ec65a17609e45266 (main) 21:23:24 > git config core.sparsecheckout # timeout=10 21:23:24 > git checkout -f bb022d5e5ee314ea0b2e9403ec65a17609e45266 # timeout=10 21:23:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#312)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:23:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:26 Dload Upload Total Spent Left Speed 21:23:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 21:23:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:23:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:23:27 + sudo tee /etc/docker/daemon.new 21:23:27 { 21:23:27 "registry-mirrors": [ 21:23:27 "https://nexus3.edgexfoundry.org:10001" 21:23:27 ], 21:23:27 "bip": "10.250.0.254/24", 21:23:27 "hosts": [ 21:23:27 "tcp://0.0.0.0:5555", 21:23:27 "unix:///var/run/docker.sock" 21:23:27 ], 21:23:27 "mtu": 1458, 21:23:27 "selinux-enabled": true, 21:23:27 "seccomp-profile": "/etc/docker/seccomp.json" 21:23:27 } [Pipeline] sh 21:23:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:23:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:46 provisioning config files... 21:23:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/110@tmp/config12632152984461865339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:46 ---> docker-login.sh 21:23:46 nexus3.edgexfoundry.org:10001 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 nexus3.edgexfoundry.org:10002 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 nexus3.edgexfoundry.org:10003 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:48 Configure a credential helper to remove this warning. See 21:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:48 21:23:48 Login Succeeded 21:23:48 nexus3.edgexfoundry.org:10004 21:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:48 Configure a credential helper to remove this warning. See 21:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:48 21:23:48 Login Succeeded 21:23:48 docker.io 21:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:49 Configure a credential helper to remove this warning. See 21:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:49 21:23:49 Login Succeeded 21:23:49 ---> docker-login.sh ends [Pipeline] } 21:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:49 ========================================================= 21:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:49 + 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:23:49 Sending build context to Docker daemon 139.3kB 21:23:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:23:49 Step 2/12 : FROM ${BASE} AS builder 21:23:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:23:49 c41833b44d91: Pulling fs layer 21:23:49 ed15518f5707: Pulling fs layer 21:23:49 feae8fd75edb: Pulling fs layer 21:23:49 242c74f7c9fa: Pulling fs layer 21:23:49 3cdef696dda3: Pulling fs layer 21:23:49 2ced38df9373: Pulling fs layer 21:23:49 58f1dce35555: Pulling fs layer 21:23:49 242c74f7c9fa: Waiting 21:23:49 2ced38df9373: Waiting 21:23:49 58f1dce35555: Waiting 21:23:49 3cdef696dda3: Waiting 21:23:50 ed15518f5707: Verifying Checksum 21:23:50 ed15518f5707: Download complete 21:23:50 242c74f7c9fa: Download complete 21:23:50 3cdef696dda3: Verifying Checksum 21:23:50 3cdef696dda3: Download complete 21:23:50 c41833b44d91: Download complete 21:23:51 c41833b44d91: Pull complete 21:23:51 58f1dce35555: Verifying Checksum 21:23:51 58f1dce35555: Download complete 21:23:51 ed15518f5707: Pull complete 21:23:52 2ced38df9373: Verifying Checksum 21:23:52 2ced38df9373: Download complete 21:23:52 feae8fd75edb: Verifying Checksum 21:23:52 feae8fd75edb: Download complete 21:24:05 feae8fd75edb: Pull complete 21:24:05 242c74f7c9fa: Pull complete 21:24:05 3cdef696dda3: Pull complete 21:24:10 2ced38df9373: Pull complete 21:24:13 58f1dce35555: Pull complete 21:24:13 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:24:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:24:13 ---> fadd8f120f05 21:24:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:24:15 ---> Running in a25bc6d0694a 21:24:15 Removing intermediate container a25bc6d0694a 21:24:15 ---> f30ec7584317 21:24:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:15 ---> Running in 0d2e96bcffcb 21:24:16 Removing intermediate container 0d2e96bcffcb 21:24:16 ---> 05b29fd903e1 21:24:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:24:16 ---> Running in 6a7799b45846 21:24:16 Removing intermediate container 6a7799b45846 21:24:16 ---> 6243b90beaee 21:24:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:24:16 ---> Running in 3d1c90a10f82 21:24:16 Removing intermediate container 3d1c90a10f82 21:24:16 ---> cdc5661487ba 21:24:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:16 ---> Running in 45befc3904e7 21:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:24:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:24:19 (2/4) Installing libedit (20221030.3.1-r0) 21:24:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:24:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:24:19 Executing busybox-1.35.0-r29.trigger 21:24:20 OK: 268 MiB in 57 packages 21:24:21 Removing intermediate container 45befc3904e7 21:24:21 ---> 2c6610d02887 21:24:21 Step 8/12 : WORKDIR /device-rest-go 21:24:21 ---> Running in 889becbd8134 21:24:21 Removing intermediate container 889becbd8134 21:24:21 ---> f46005f07f56 21:24:21 Step 9/12 : COPY go.mod vendor* ./ 21:24:22 ---> 2e8d5e9648cd 21:24:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:22 ---> Running in b773810d851f 21:25:30 Removing intermediate container b773810d851f 21:25:30 ---> 1649c9d9c8f9 21:25:30 Step 11/12 : COPY . . 21:25:30 ---> d48770a6e9ab 21:25:30 Step 12/12 : RUN $MAKE 21:25:30 ---> Running in 574887154f8b 21:25:30 noop 21:25:30 Removing intermediate container 574887154f8b 21:25:30 ---> 928841cc90c8 21:25:30 Successfully built 928841cc90c8 21:25:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:30 + docker inspect -f . ci-base-image-arm64 21:25:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:30 prd-ubuntu20.04-docker-arm64-4c-16g-14770 does not seem to be running inside a container 21:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/110 -v /w/workspace/device-rest-go/110:/w/workspace/device-rest-go/110:rw,z -v /w/workspace/device-rest-go/110@tmp:/w/workspace/device-rest-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:25:32 $ docker top a33caa1a875ece80fda5e050b1c37be115ed2196d3bb930ca226ec08ae1f1ffb -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:33 + go version 21:25:33 go version go1.20.2 linux/arm64 [Pipeline] } 21:25:33 $ docker stop --time=1 a33caa1a875ece80fda5e050b1c37be115ed2196d3bb930ca226ec08ae1f1ffb 21:25:37 $ docker rm -f --volumes a33caa1a875ece80fda5e050b1c37be115ed2196d3bb930ca226ec08ae1f1ffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:37 + docker inspect -f . ci-base-image-arm64 21:25:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-14770 does not seem to be running inside a container 21:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/110 -v /w/workspace/device-rest-go/110:/w/workspace/device-rest-go/110:rw,z -v /w/workspace/device-rest-go/110@tmp:/w/workspace/device-rest-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:25:39 $ docker top b96fc20dcf70809fa7b86be3799542a54f0a2c0b1a5ce080235a2dcca037e21f -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:39 + git config --global --add safe.directory /w/workspace/device-rest-go/110 [Pipeline] fileExists [Pipeline] sh 21:25:40 + make test 21:25:40 go test ./... -coverprofile=coverage.out ./... 21:26:13 ? github.com/edgexfoundry/device-rest-go [no test files] 21:28:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:28:04 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 32.2% of statements 21:28:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:28:04 go vet ./... 21:28:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:31 $ docker stop --time=1 b96fc20dcf70809fa7b86be3799542a54f0a2c0b1a5ce080235a2dcca037e21f 21:28:33 $ docker rm -f --volumes b96fc20dcf70809fa7b86be3799542a54f0a2c0b1a5ce080235a2dcca037e21f [Pipeline] // withDockerContainer [Pipeline] sh 21:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:34 Warning: overwriting stash ‘coverage-report’ 21:28:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:36 + ls -al . 21:28:36 total 180 21:28:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:25 . 21:28:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:23 .. 21:28:36 -rw-rw-r-- 1 jenkins jenkins 151 May 9 21:23 .dockerignore 21:28:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:23 .git 21:28:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:23 .github 21:28:36 -rw-rw-r-- 1 jenkins jenkins 329 May 9 21:23 .gitignore 21:28:36 -rw-rw-r-- 1 jenkins jenkins 41 May 9 21:23 .golangci.yml 21:28:36 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 21:23 Attribution.txt 21:28:36 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 21:23 CHANGELOG.md 21:28:36 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 21:23 Dockerfile 21:28:36 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:23 GOVERNANCE.md 21:28:36 -rw-rw-r-- 1 jenkins jenkins 680 May 9 21:23 Jenkinsfile 21:28:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 21:23 LICENSE 21:28:36 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 21:23 Makefile 21:28:36 -rw-rw-r-- 1 jenkins jenkins 620 May 9 21:23 OWNERS.md 21:28:36 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 21:23 README.md 21:28:36 -rw-rw-r-- 1 jenkins jenkins 12 May 9 21:20 VERSION 21:28:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:23 bin 21:28:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:23 cmd 21:28:36 -rw-r--r-- 1 jenkins jenkins 14663 May 9 21:28 coverage.out 21:28:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:23 driver 21:28:36 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 21:23 go.mod 21:28:36 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 21:23 go.sum 21:28:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:23 snap 21:28:36 -rw-rw-r-- 1 jenkins jenkins 713 May 9 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:36 + 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=bb022d5e5ee314ea0b2e9403ec65a17609e45266 --label arch=arm64 --label version=3.0.0-dev.38 . 21:28:36 Sending build context to Docker daemon 154.6kB 21:28:36 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:28:36 Step 2/25 : FROM ${BASE} AS builder 21:28:36 ---> 928841cc90c8 21:28:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:28:36 ---> Running in 2369eb2feeb3 21:28:37 Removing intermediate container 2369eb2feeb3 21:28:37 ---> f5d703aaf44d 21:28:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:37 ---> Running in 6ba6b288964f 21:28:37 Removing intermediate container 6ba6b288964f 21:28:37 ---> 8f0f2a9ba54c 21:28:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:28:37 ---> Running in a5d0c330c705 21:28:37 Removing intermediate container a5d0c330c705 21:28:37 ---> 47694a5b3db5 21:28:37 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:28:37 ---> Running in dd48b69c6621 21:28:38 Removing intermediate container dd48b69c6621 21:28:38 ---> 98af6ce9622d 21:28:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:38 ---> Running in 8fd31932a619 21:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:28:41 OK: 268 MiB in 57 packages 21:28:42 Removing intermediate container 8fd31932a619 21:28:42 ---> e407904f6d6e 21:28:42 Step 8/25 : WORKDIR /device-rest-go 21:28:42 ---> Running in a74fb80fda8a 21:28:42 Removing intermediate container a74fb80fda8a 21:28:42 ---> 6397c3dc4bf1 21:28:42 Step 9/25 : COPY go.mod vendor* ./ 21:28:43 ---> 7f41df77853d 21:28:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:43 ---> Running in ea909314b6d9 21:28:45 Removing intermediate container ea909314b6d9 21:28:45 ---> 2886fb05b81e 21:28:45 Step 11/25 : COPY . . 21:28:46 ---> d8d502f52a4a 21:28:46 Step 12/25 : RUN $MAKE 21:28:46 ---> Running in c883f357dbba 21:28:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:31:09 Removing intermediate container c883f357dbba 21:31:09 ---> d96bc2f5fafc 21:31:09 Step 13/25 : FROM alpine:3.17 21:31:09 3.17: Pulling from library/alpine 21:31:09 c41833b44d91: Already exists 21:31:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:31:09 Status: Downloaded newer image for alpine:3.17 21:31:09 ---> 51e60588ff2c 21:31:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:31:09 ---> Running in 3f54c47f4662 21:31:09 Removing intermediate container 3f54c47f4662 21:31:09 ---> 147e1159e9d3 21:31:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:31:09 ---> Running in 2f2f96618a06 21:31:09 Removing intermediate container 2f2f96618a06 21:31:09 ---> 10ef07987e67 21:31:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:31:09 ---> Running in 8ce6db69df13 21:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:31:11 (1/1) Installing dumb-init (1.2.5-r2) 21:31:11 Executing busybox-1.35.0-r29.trigger 21:31:11 OK: 8 MiB in 16 packages 21:31:12 Removing intermediate container 8ce6db69df13 21:31:12 ---> 1bfcca790820 21:31:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:31:14 ---> 3efc4cc68fae 21:31:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:31:14 ---> 0e679c83507b 21:31:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:31:15 ---> 288a49a7334c 21:31:15 Step 20/25 : EXPOSE 59986 21:31:15 ---> Running in 0fdf76de8e64 21:31:15 Removing intermediate container 0fdf76de8e64 21:31:15 ---> 8418528e9d1a 21:31:15 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:31:15 ---> Running in bf5515afc6f5 21:31:15 Removing intermediate container bf5515afc6f5 21:31:15 ---> 8a42883b3686 21:31:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:31:15 ---> Running in 6cec408b2fb1 21:31:16 Removing intermediate container 6cec408b2fb1 21:31:16 ---> 5cc0e86949dd 21:31:16 Step 23/25 : LABEL arch=arm64 21:31:16 ---> Running in cbff03a4038a 21:31:16 Removing intermediate container cbff03a4038a 21:31:16 ---> b11e596ca68f 21:31:16 Step 24/25 : LABEL git_sha=bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:31:16 ---> Running in ebe4cc3001f2 21:31:16 Removing intermediate container ebe4cc3001f2 21:31:16 ---> 666983df31c9 21:31:16 Step 25/25 : LABEL version=3.0.0-dev.38 21:31:16 ---> Running in 7df9d7eef460 21:31:17 Removing intermediate container 7df9d7eef460 21:31:17 ---> 458384d25b32 21:31:17 [Warning] One or more build-args [ARCH] were not consumed 21:31:17 Successfully built 458384d25b32 21:31:17 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:31:17 provisioning config files... 21:31:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/110@tmp/config2696422669841616092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:17 ---> docker-login.sh 21:31:17 nexus3.edgexfoundry.org:10001 21:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:17 Configure a credential helper to remove this warning. See 21:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:17 21:31:17 Login Succeeded 21:31:17 nexus3.edgexfoundry.org:10002 21:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:18 Configure a credential helper to remove this warning. See 21:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:18 21:31:18 Login Succeeded 21:31:18 nexus3.edgexfoundry.org:10003 21:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:18 Configure a credential helper to remove this warning. See 21:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:18 21:31:18 Login Succeeded 21:31:18 nexus3.edgexfoundry.org:10004 21:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:18 Configure a credential helper to remove this warning. See 21:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:18 21:31:18 Login Succeeded 21:31:18 docker.io 21:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:19 Configure a credential helper to remove this warning. See 21:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:19 21:31:19 Login Succeeded 21:31:19 ---> docker-login.sh ends [Pipeline] } 21:31:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:19 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:31:19 bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:31:19 latest 21:31:19 3.0.0-dev.38 21:31:19 bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:31:19 main 21:31:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:31:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:20 7b9b955b608d: Preparing 21:31:20 553bc89b1eab: Preparing 21:31:20 147e1dc5bd59: Preparing 21:31:20 49414fb9657e: Preparing 21:31:20 26cbea5cba74: Preparing 21:31:20 26cbea5cba74: Layer already exists 21:31:20 7b9b955b608d: Pushed 21:31:20 49414fb9657e: Pushed 21:31:20 553bc89b1eab: Pushed 21:31:25 147e1dc5bd59: Pushed 21:31:25 bb022d5e5ee314ea0b2e9403ec65a17609e45266: digest: sha256:a323f95b5cd1868a633babd41b5241d229372df4968d999cd4b9520cf0cbc26b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:31:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:26 7b9b955b608d: Preparing 21:31:26 553bc89b1eab: Preparing 21:31:26 147e1dc5bd59: Preparing 21:31:26 49414fb9657e: Preparing 21:31:26 26cbea5cba74: Preparing 21:31:26 7b9b955b608d: Layer already exists 21:31:26 49414fb9657e: Layer already exists 21:31:26 26cbea5cba74: Layer already exists 21:31:26 147e1dc5bd59: Layer already exists 21:31:26 553bc89b1eab: Layer already exists 21:31:26 latest: digest: sha256:a323f95b5cd1868a633babd41b5241d229372df4968d999cd4b9520cf0cbc26b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.38 21:31:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:27 7b9b955b608d: Preparing 21:31:27 553bc89b1eab: Preparing 21:31:27 147e1dc5bd59: Preparing 21:31:27 49414fb9657e: Preparing 21:31:27 26cbea5cba74: Preparing 21:31:27 553bc89b1eab: Layer already exists 21:31:27 7b9b955b608d: Layer already exists 21:31:27 147e1dc5bd59: Layer already exists 21:31:27 26cbea5cba74: Layer already exists 21:31:27 49414fb9657e: Layer already exists 21:31:27 3.0.0-dev.38: digest: sha256:a323f95b5cd1868a633babd41b5241d229372df4968d999cd4b9520cf0cbc26b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:31:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:28 7b9b955b608d: Preparing 21:31:28 553bc89b1eab: Preparing 21:31:28 147e1dc5bd59: Preparing 21:31:28 49414fb9657e: Preparing 21:31:28 26cbea5cba74: Preparing 21:31:28 553bc89b1eab: Layer already exists 21:31:28 147e1dc5bd59: Layer already exists 21:31:28 26cbea5cba74: Layer already exists 21:31:28 7b9b955b608d: Layer already exists 21:31:28 49414fb9657e: Layer already exists 21:31:28 bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38: digest: sha256:a323f95b5cd1868a633babd41b5241d229372df4968d999cd4b9520cf0cbc26b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:31:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:29 7b9b955b608d: Preparing 21:31:29 553bc89b1eab: Preparing 21:31:29 147e1dc5bd59: Preparing 21:31:29 49414fb9657e: Preparing 21:31:29 26cbea5cba74: Preparing 21:31:29 26cbea5cba74: Layer already exists 21:31:29 553bc89b1eab: Layer already exists 21:31:29 7b9b955b608d: Layer already exists 21:31:29 49414fb9657e: Layer already exists 21:31:29 147e1dc5bd59: Layer already exists 21:31:29 main: digest: sha256:a323f95b5cd1868a633babd41b5241d229372df4968d999cd4b9520cf0cbc26b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:29 ===================================================== [Pipeline] echo 21:31:29 taggedImages: 21:31:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266 21:31:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:31:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.38 21:31:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bb022d5e5ee314ea0b2e9403ec65a17609e45266-3.0.0-dev.38 21:31:29 - 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:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:30 21:31:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:30 arm64: Pulling from edgex-lftools-log-publisher 21:31:30 8998bd30e6a1: Pulling fs layer 21:31:30 04944245beec: Pulling fs layer 21:31:30 699f458cf7ca: Pulling fs layer 21:31:30 765212b225bb: Pulling fs layer 21:31:30 f23df028b6ca: Pulling fs layer 21:31:30 d65c8cfc05b1: Pulling fs layer 21:31:30 2437ff75d9bd: Pulling fs layer 21:31:30 f23df028b6ca: Waiting 21:31:30 765212b225bb: Waiting 21:31:30 2437ff75d9bd: Waiting 21:31:30 d65c8cfc05b1: Waiting 21:31:30 04944245beec: Download complete 21:31:30 765212b225bb: Verifying Checksum 21:31:30 765212b225bb: Download complete 21:31:30 f23df028b6ca: Verifying Checksum 21:31:30 f23df028b6ca: Download complete 21:31:30 d65c8cfc05b1: Verifying Checksum 21:31:30 d65c8cfc05b1: Download complete 21:31:30 699f458cf7ca: Verifying Checksum 21:31:30 699f458cf7ca: Download complete 21:31:31 8998bd30e6a1: Verifying Checksum 21:31:31 8998bd30e6a1: Download complete 21:31:33 2437ff75d9bd: Verifying Checksum 21:31:33 2437ff75d9bd: Download complete 21:31:35 8998bd30e6a1: Pull complete 21:31:35 04944245beec: Pull complete 21:31:37 699f458cf7ca: Pull complete 21:31:38 765212b225bb: Pull complete 21:31:39 f23df028b6ca: Pull complete 21:31:39 d65c8cfc05b1: Pull complete 21:31:54 2437ff75d9bd: Pull complete 21:31:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:54 prd-ubuntu20.04-docker-arm64-4c-16g-14770 does not seem to be running inside a container 21:31:54 $ 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/110 -v /w/workspace/device-rest-go/110:/w/workspace/device-rest-go/110:rw,z -v /w/workspace/device-rest-go/110@tmp:/w/workspace/device-rest-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:31:57 $ docker top 618f9d70cca14b93753596aabae56d43347fb352293cbe2c3db42ef04db1b2e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:58 ---> job-cost.sh 21:31:58 lf-activate-venv: SKIPPING 21:31:58 INFO: No Stack... 21:31:58 INFO: Retrieving Pricing Info for: v3-standard-4 21:31:59 INFO: Archiving Costs [Pipeline] sh 21:32:00 + cat /w/workspace/device-rest-go/110/archives/cost.csv 21:32:00 + cut -d, -f6 [Pipeline] lock 21:32:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] 21:32:00 Resource [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] did not exist. Created. 21:32:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:00 /w/workspace/device-rest-go/110@tmp/durable-a7281c02/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:32:01 + echo total: 0.10999999940395355 [Pipeline] stash 21:32:01 Warning: overwriting stash ‘stack-cost’ 21:32:01 Stashed 1 file(s) [Pipeline] } 21:32:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 21:32:01 $ docker stop --time=1 618f9d70cca14b93753596aabae56d43347fb352293cbe2c3db42ef04db1b2e6 21:32:03 $ docker rm -f --volumes 618f9d70cca14b93753596aabae56d43347fb352293cbe2c3db42ef04db1b2e6 [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:32:03 provisioning config files... 21:32:03 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14849749269380640220tmp [Pipeline] { [Pipeline] sh 21:32:04 + set +x 21:32:04 + curl -s https://codecov.io/bash 21:32:04 + bash -s -- 21:32:04 21:32:04 _____ _ 21:32:04 / ____| | | 21:32:04 | | ___ __| | ___ ___ _____ __ 21:32:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:32:04 | |___| (_) | (_| | __/ (_| (_) \ V / 21:32:04 \_____\___/ \__,_|\___|\___\___/ \_/ 21:32:04 Bash-1.0.6 21:32:04 21:32:04 21:32:04 ==> git version 2.25.1 found 21:32:04 ==> 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:32:04 Release-Date: 2020-01-08 21:32:04 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:32:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:32:04 ==> Jenkins CI detected. 21:32:04 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:32:04 project root: . 21:32:04 --> token set from env 21:32:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:32:04 ==> Running gcov in . (disable via -X gcov) 21:32:04 ==> Python coveragepy not found 21:32:04 ==> Searching for coverage reports in: 21:32:04 + . 21:32:04 -> Found 1 reports 21:32:04 ==> Detecting git/mercurial file structure 21:32:04 ==> Reading reports 21:32:04 + ./coverage.out bytes=14663 21:32:04 ==> Appending adjustments 21:32:04 https://docs.codecov.io/docs/fixing-reports 21:32:04 + Found adjustments 21:32:04 ==> Gzipping contents 21:32:04 4.0K /tmp/codecov.pNdQjK.gz 21:32:04 ==> Uploading reports 21:32:04 url: https://codecov.io 21:32:04 query: branch=main&commit=bb022d5e5ee314ea0b2e9403ec65a17609e45266&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:32:04 -> Pinging Codecov 21:32:04 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=bb022d5e5ee314ea0b2e9403ec65a17609e45266&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:32:04 -> Uploading to 21:32:04 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/4E5D53B4F1F92C436F7061BF334D961C/bb022d5e5ee314ea0b2e9403ec65a17609e45266/8a166f55-168b-4569-9e7d-c7555e2fd16c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T213204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=868eeda1755ee7b419c4a1289b793fd20d94df883bf5480d22732dac4a2c6af2 21:32:04 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:04 Dload Upload Total Spent Left Speed 21:32:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11566 --:--:-- --:--:-- --:--:-- 11566 21:32:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] } 21:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:32:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:32:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:05 21:32:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:32:05 df9b9388f04a: Pulling fs layer 21:32:05 52dc419b0ee2: Pulling fs layer 21:32:05 25bc292e5bac: Pulling fs layer 21:32:05 114826534d7a: Pulling fs layer 21:32:05 4657fd5d0bcf: Pulling fs layer 21:32:05 6ad1cebc031e: Pulling fs layer 21:32:05 8a3aa393b2d8: Pulling fs layer 21:32:05 6ad1cebc031e: Waiting 21:32:05 8a3aa393b2d8: Waiting 21:32:05 114826534d7a: Waiting 21:32:05 4657fd5d0bcf: Waiting 21:32:05 25bc292e5bac: Verifying Checksum 21:32:05 25bc292e5bac: Download complete 21:32:05 52dc419b0ee2: Download complete 21:32:05 4657fd5d0bcf: Download complete 21:32:05 df9b9388f04a: Verifying Checksum 21:32:05 df9b9388f04a: Download complete 21:32:06 df9b9388f04a: Pull complete 21:32:06 6ad1cebc031e: Verifying Checksum 21:32:06 6ad1cebc031e: Download complete 21:32:06 52dc419b0ee2: Pull complete 21:32:06 25bc292e5bac: Pull complete 21:32:06 114826534d7a: Verifying Checksum 21:32:06 114826534d7a: Download complete 21:32:06 8a3aa393b2d8: Verifying Checksum 21:32:06 8a3aa393b2d8: Download complete 21:32:11 114826534d7a: Pull complete 21:32:11 4657fd5d0bcf: Pull complete 21:32:11 6ad1cebc031e: Pull complete 21:32:14 8a3aa393b2d8: Pull complete 21:32:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:14 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:32:14 $ 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:32:17 $ docker top b84555241be8cb84f9a97de4876d02776d0188bb220f61372ae68eab35128ca0 -eo pid,comm [Pipeline] { [Pipeline] echo 21:32:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:32:18 + set -o pipefail 21:32:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:32:22 21:32:22 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:32:22 21:32:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/534e7143-3822-4c20-bf7d-ac8e8c385598 21:32:22 21:32:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:32:22 21:32:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:32:22 21:32:22 21:32:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:32:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:32:22 More details here: https://snyk.co/ue1NS 21:32:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:32:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:32:22 $ docker stop --time=1 b84555241be8cb84f9a97de4876d02776d0188bb220f61372ae68eab35128ca0 21:32:25 $ docker rm -f --volumes b84555241be8cb84f9a97de4876d02776d0188bb220f61372ae68eab35128ca0 [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:32:25 + git log --format=format:%s -1 bb022d5e5ee314ea0b2e9403ec65a17609e45266 [Pipeline] sh 21:32:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:26 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:32:26 $ 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:32:26 $ docker top b20211ddefca857437a5103f676dfa1667d0ce51e492d37acc9e98aa06693a12 -eo pid,comm 21:32:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:32:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:27 [ssh-agent] Looking for ssh-agent implementation... 21:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:27 $ docker exec b20211ddefca857437a5103f676dfa1667d0ce51e492d37acc9e98aa06693a12 ssh-agent 21:32:27 SSH_AUTH_SOCK=/tmp/ssh-4OWkfuvXu4te/agent.31 21:32:27 SSH_AGENT_PID=37 21:32:27 Running ssh-add (command line suppressed) 21:32:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10499176072904987104.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10499176072904987104.key) 21:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:27 + git semver tag 21:32:27 2023-05-09 21:32:27,922 [run_tag] DEBUG tag force:False 21:32:27 2023-05-09 21:32:27,923 [check_head_tag] DEBUG check head tag 21:32:27 2023-05-09 21:32:27,924 [execute] INFO git cat-file --batch-check 21:32:27 2023-05-09 21:32:27,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:32:27 2023-05-09 21:32:27,929 [execute] INFO git cat-file --batch 21:32:27 2023-05-09 21:32:27,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:32:27 2023-05-09 21:32:27,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:27 2023-05-09 21:32:27,952 [execute] INFO git tag -a v3.0.0-dev.38 -m v3.0.0-dev.38 21:32:27 2023-05-09 21:32:27,952 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.38', '-m', 'v3.0.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:32:27 2023-05-09 21:32:27,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:27 3.0.0-dev.38 [Pipeline] } 21:32:28 $ docker exec --env ******** --env ******** b20211ddefca857437a5103f676dfa1667d0ce51e492d37acc9e98aa06693a12 ssh-agent -k 21:32:28 unset SSH_AUTH_SOCK; 21:32:28 unset SSH_AGENT_PID; 21:32:28 echo Agent pid 37 killed; 21:32:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:28 + git semver [Pipeline] } 21:32:28 $ docker stop --time=1 b20211ddefca857437a5103f676dfa1667d0ce51e492d37acc9e98aa06693a12 21:32:30 $ docker rm -f --volumes b20211ddefca857437a5103f676dfa1667d0ce51e492d37acc9e98aa06693a12 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:30 21:32:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:30 0.23.1-centos7: Pulling from edgex-lftools 21:32:30 ab5ef0e58194: Pulling fs layer 21:32:30 9712f1f96733: Pulling fs layer 21:32:30 63f879dbbcfc: Pulling fs layer 21:32:30 0d9ebad4ef96: Pulling fs layer 21:32:30 e9a5061849ea: Pulling fs layer 21:32:30 d747dcd14b5f: Pulling fs layer 21:32:30 2de7ff778b66: Pulling fs layer 21:32:30 d747dcd14b5f: Waiting 21:32:30 2de7ff778b66: Waiting 21:32:30 e9a5061849ea: Waiting 21:32:30 0d9ebad4ef96: Waiting 21:32:30 9712f1f96733: Verifying Checksum 21:32:30 9712f1f96733: Download complete 21:32:31 63f879dbbcfc: Verifying Checksum 21:32:31 63f879dbbcfc: Download complete 21:32:31 e9a5061849ea: Verifying Checksum 21:32:31 e9a5061849ea: Download complete 21:32:31 d747dcd14b5f: Download complete 21:32:31 ab5ef0e58194: Verifying Checksum 21:32:31 ab5ef0e58194: Download complete 21:32:31 0d9ebad4ef96: Verifying Checksum 21:32:31 0d9ebad4ef96: Download complete 21:32:31 2de7ff778b66: Verifying Checksum 21:32:31 2de7ff778b66: Download complete 21:32:35 ab5ef0e58194: Pull complete 21:32:35 9712f1f96733: Pull complete 21:32:35 63f879dbbcfc: Pull complete 21:32:39 0d9ebad4ef96: Pull complete 21:32:39 e9a5061849ea: Pull complete 21:32:39 d747dcd14b5f: Pull complete 21:32:40 2de7ff778b66: Pull complete 21:32:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:32:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:41 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:32:41 $ 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:32:44 $ docker top 8959f8e81088afcde0141deadf4a4341b3845a13aa1c2e7bc2253e105e4bb6ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:32:44 provisioning config files... 21:32:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1788239322811915740tmp 21:32:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9964134267373599761tmp 21:32:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13475135927351463582tmp [Pipeline] { [Pipeline] echo 21:32:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> sigul-configuration.sh 21:32:44 gpg: directory `/root/.gnupg' created 21:32:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:32:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:32:44 gpg: keyring `/root/.gnupg/secring.gpg' created 21:32:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:32:44 gpg: CAST5 encrypted data 21:32:44 gpg: encrypted with 1 passphrase 21:32:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:32:45 + mkdir /home/jenkins 21:32:45 + mkdir /home/jenkins/sigul [Pipeline] sh 21:32:45 + 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:32:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:32:45 ---> sigul-install.sh 21:32:45 Sigul already installed; skipping installation. [Pipeline] sh 21:32:45 + git tag --list 21:32:45 v1.0.0 21:32:45 v1.1.0 21:32:45 v1.1.1 21:32:45 v1.1.2 21:32:45 v1.2.0 21:32:45 v1.2.1 21:32:45 v2.0.0 21:32:45 v2.1.0 21:32:45 v2.1.1 21:32:45 v2.1.1-dev.1 21:32:45 v2.1.1-dev.2 21:32:45 v2.1.1-dev.3 21:32:45 v2.2.0 21:32:45 v2.2.1-dev.1 21:32:45 v2.2.1-dev.2 21:32:45 v2.2.1-dev.3 21:32:45 v2.2.1-dev.4 21:32:45 v2.2.1-dev.5 21:32:45 v2.2.1-dev.6 21:32:45 v2.2.1-dev.7 21:32:45 v2.2.1-dev.8 21:32:45 v2.2.1-dev.9 21:32:45 v2.3.0 21:32:45 v2.3.0-dev.10 21:32:45 v2.3.0-dev.11 21:32:45 v2.3.0-dev.12 21:32:45 v2.3.0-dev.13 21:32:45 v2.3.0-dev.14 21:32:45 v2.3.0-dev.15 21:32:45 v2.3.0-dev.16 21:32:45 v2.3.0-dev.17 21:32:45 v2.3.0-dev.18 21:32:45 v2.3.0-dev.19 21:32:45 v2.3.0-dev.20 21:32:45 v2.3.0-dev.21 21:32:45 v2.3.0-dev.22 21:32:45 v2.3.0-dev.23 21:32:45 v2.3.0-dev.24 21:32:45 v2.3.0-dev.25 21:32:45 v2.3.0-dev.9 21:32:45 v3.0.0-dev.1 21:32:45 v3.0.0-dev.10 21:32:45 v3.0.0-dev.11 21:32:45 v3.0.0-dev.12 21:32:45 v3.0.0-dev.13 21:32:45 v3.0.0-dev.14 21:32:45 v3.0.0-dev.15 21:32:45 v3.0.0-dev.16 21:32:45 v3.0.0-dev.17 21:32:45 v3.0.0-dev.18 21:32:45 v3.0.0-dev.19 21:32:45 v3.0.0-dev.2 21:32:45 v3.0.0-dev.20 21:32:45 v3.0.0-dev.21 21:32:45 v3.0.0-dev.22 21:32:45 v3.0.0-dev.23 21:32:45 v3.0.0-dev.24 21:32:45 v3.0.0-dev.25 21:32:45 v3.0.0-dev.26 21:32:45 v3.0.0-dev.27 21:32:45 v3.0.0-dev.28 21:32:45 v3.0.0-dev.29 21:32:45 v3.0.0-dev.3 21:32:45 v3.0.0-dev.30 21:32:45 v3.0.0-dev.31 21:32:45 v3.0.0-dev.32 21:32:45 v3.0.0-dev.33 21:32:45 v3.0.0-dev.34 21:32:45 v3.0.0-dev.35 21:32:45 v3.0.0-dev.36 21:32:45 v3.0.0-dev.37 21:32:45 v3.0.0-dev.38 21:32:45 v3.0.0-dev.4 21:32:45 v3.0.0-dev.5 21:32:45 v3.0.0-dev.6 21:32:45 v3.0.0-dev.7 21:32:45 v3.0.0-dev.8 21:32:45 v3.0.0-dev.9 [Pipeline] sh 21:32:46 + lftools sign git-tag v3.0.0-dev.38 21:32:46 Signing Git tag with Sigul... 21:32:46 Signing v3.0.0-dev.38 [Pipeline] echo 21:32:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:32:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:32:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:32:47 $ docker stop --time=1 8959f8e81088afcde0141deadf4a4341b3845a13aa1c2e7bc2253e105e4bb6ad 21:32:49 $ docker rm -f --volumes 8959f8e81088afcde0141deadf4a4341b3845a13aa1c2e7bc2253e105e4bb6ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:32:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:49 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:32:49 $ 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:32:50 $ docker top c8c9ffb5653a710d9a0160e806270d49dfb1f396df0e6f94da0c984db0f1a0a7 -eo pid,comm 21:32:50 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:32:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:50 [ssh-agent] Looking for ssh-agent implementation... 21:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:50 $ docker exec c8c9ffb5653a710d9a0160e806270d49dfb1f396df0e6f94da0c984db0f1a0a7 ssh-agent 21:32:50 SSH_AUTH_SOCK=/tmp/ssh-egKUW1dsusJA/agent.31 21:32:50 SSH_AGENT_PID=37 21:32:50 Running ssh-add (command line suppressed) 21:32:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9022446069236059984.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9022446069236059984.key) 21:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:50 + git semver bump pre 21:32:51 2023-05-09 21:32:51,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:51 2023-05-09 21:32:51,096 [bump_version] DEBUG bumping version:3.0.0-dev.38 on axis:pre with prefix:dev 21:32:51 2023-05-09 21:32:51,096 [bump_version] DEBUG bumped version:3.0.0-dev.39 21:32:51 2023-05-09 21:32:51,096 [write_version] DEBUG write version:3.0.0-dev.39 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:32:51 2023-05-09 21:32:51,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:51 2023-05-09 21:32:51,096 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:51 2023-05-09 21:32:51,098 [execute] INFO git cat-file --batch-check 21:32:51 2023-05-09 21:32:51,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:51 2023-05-09 21:32:51,104 [execute] INFO git cat-file --batch 21:32:51 2023-05-09 21:32:51,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:51 2023-05-09 21:32:51,110 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:51 3.0.0-dev.39 [Pipeline] } 21:32:51 $ docker exec --env ******** --env ******** c8c9ffb5653a710d9a0160e806270d49dfb1f396df0e6f94da0c984db0f1a0a7 ssh-agent -k 21:32:51 unset SSH_AUTH_SOCK; 21:32:51 unset SSH_AGENT_PID; 21:32:51 echo Agent pid 37 killed; 21:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:51 + git semver [Pipeline] } 21:32:51 $ docker stop --time=1 c8c9ffb5653a710d9a0160e806270d49dfb1f396df0e6f94da0c984db0f1a0a7 21:32:53 $ docker rm -f --volumes c8c9ffb5653a710d9a0160e806270d49dfb1f396df0e6f94da0c984db0f1a0a7 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:53 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:32:53 $ 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:32:54 $ docker top 3ae5fe976db9bb00cc90734ac91eff3d6e75c2b2e351ca87e9309c65c85fecbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:54 [ssh-agent] Looking for ssh-agent implementation... 21:32:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:54 $ docker exec 3ae5fe976db9bb00cc90734ac91eff3d6e75c2b2e351ca87e9309c65c85fecbd ssh-agent 21:32:54 SSH_AUTH_SOCK=/tmp/ssh-28AQRfmiQN0R/agent.31 21:32:54 SSH_AGENT_PID=37 21:32:54 Running ssh-add (command line suppressed) 21:32:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2821938156771504874.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2821938156771504874.key) 21:32:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:55 + git semver push 21:32:55 2023-05-09 21:32:55,304 [run_push] DEBUG push 21:32:55 2023-05-09 21:32:55,305 [execute] INFO git cat-file --batch-check 21:32:55 2023-05-09 21:32:55,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:55 2023-05-09 21:32:55,308 [execute] INFO git rev-list 2a4aa23f75366f3f27d24aae6af035a406fbbc50 -- 21:32:55 2023-05-09 21:32:55,308 [execute] DEBUG Popen(['git', 'rev-list', '2a4aa23f75366f3f27d24aae6af035a406fbbc50', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:55 2023-05-09 21:32:55,316 [execute] INFO git fetch -v origin 21:32:55 2023-05-09 21:32:55,317 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:32:55 2023-05-09 21:32:55,810 [run_push] DEBUG no remote changes detected 21:32:55 2023-05-09 21:32:55,810 [execute] INFO git push origin semver 21:32:55 2023-05-09 21:32:55,810 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:56 2023-05-09 21:32:56,704 [run_push] DEBUG push all version tags 21:32:56 2023-05-09 21:32:56,705 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:32:56 2023-05-09 21:32:56,705 [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:32:57 2023-05-09 21:32:57,502 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:57 3.0.0-dev.39 [Pipeline] } 21:32:57 $ docker exec --env ******** --env ******** 3ae5fe976db9bb00cc90734ac91eff3d6e75c2b2e351ca87e9309c65c85fecbd ssh-agent -k 21:32:57 unset SSH_AUTH_SOCK; 21:32:57 unset SSH_AGENT_PID; 21:32:57 echo Agent pid 37 killed; 21:32:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:58 + git semver [Pipeline] } 21:32:58 $ docker stop --time=1 3ae5fe976db9bb00cc90734ac91eff3d6e75c2b2e351ca87e9309c65c85fecbd 21:32:59 $ docker rm -f --volumes 3ae5fe976db9bb00cc90734ac91eff3d6e75c2b2e351ca87e9309c65c85fecbd [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:33:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:33:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:00 total 16 21:33:00 drwxr-xr-x 3 root root 4096 May 9 21:22 . 21:33:00 drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:32 .. 21:33:00 drwxr-xr-x 2 root root 4096 May 9 21:22 cost 21:33:00 -rw-r--r-- 1 root root 86 May 9 21:22 cost.csv 21:33:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:00 total 16 21:33:00 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:22 . 21:33:00 drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:32 .. 21:33:00 drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:22 cost 21:33:00 -rw-r--r-- 1 jenkins jenkins 86 May 9 21:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:33:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:33:01 ---> package-listing.sh 21:33:01 ++ facter osfamily 21:33:01 ++ tr '[:upper:]' '[:lower:]' 21:33:01 + OS_FAMILY=debian 21:33:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:33:01 + START_PACKAGES=/tmp/packages_start.txt 21:33:01 + END_PACKAGES=/tmp/packages_end.txt 21:33:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:33:01 + PACKAGES=/tmp/packages_start.txt 21:33:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:33:01 + PACKAGES=/tmp/packages_end.txt 21:33:01 + case "${OS_FAMILY}" in 21:33:01 + dpkg -l 21:33:01 + grep '^ii' 21:33:01 + '[' -f /tmp/packages_start.txt ']' 21:33:01 + '[' -f /tmp/packages_end.txt ']' 21:33:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:33:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:33:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:33:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:33:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:33:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:02 prd-ubuntu20.04-docker-8c-8g-14769 does not seem to be running inside a container 21:33:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:33:02 $ docker top 26fd9ff68cc89b5d9d1b9ceca98d0902fe9f520106a1269061e3b015db5288cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:33:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:33:03 + ls /var/log/sa-host 21:33:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:03 provisioning config files... 21:33:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1721376961602691561tmp [Pipeline] { [Pipeline] echo 21:33:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:33:04 ---> create-netrc.sh [Pipeline] } 21:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:33:04 ---> python-tools-install.sh [Pipeline] echo 21:33:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:33:04 ---> sudo-logs.sh 21:33:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:33:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:33:05 ---> job-cost.sh 21:33:05 lf-activate-venv: SKIPPING 21:33:05 DEBUG: total: 0.2199999988079071 21:33:05 INFO: Retrieving Stack Cost... 21:33:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:06 INFO: Archiving Costs [Pipeline] echo 21:33:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:33:06 ---> logs-deploy.sh 21:33:06 lf-activate-venv: SKIPPING 21:33:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/110 21:33:06 INFO: archiving workspace using pattern(s): 21:33:07 Archives upload complete. 21:33:07 INFO: archiving logs to Nexus 21:33:08 ---> uname -a: 21:33:08 Linux prd-ubuntu20-04-docker-8c-8g-14769 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:33:08 21:33:08 21:33:08 ---> lscpu: 21:33:08 Architecture: x86_64 21:33:08 CPU op-mode(s): 32-bit, 64-bit 21:33:08 Byte Order: Little Endian 21:33:08 Address sizes: 40 bits physical, 48 bits virtual 21:33:08 CPU(s): 8 21:33:08 On-line CPU(s) list: 0-7 21:33:08 Thread(s) per core: 1 21:33:08 Core(s) per socket: 1 21:33:08 Socket(s): 8 21:33:08 NUMA node(s): 1 21:33:08 Vendor ID: AuthenticAMD 21:33:08 CPU family: 23 21:33:08 Model: 49 21:33:08 Model name: AMD EPYC-Rome Processor 21:33:08 Stepping: 0 21:33:08 CPU MHz: 2799.998 21:33:08 BogoMIPS: 5599.99 21:33:08 Virtualization: AMD-V 21:33:08 Hypervisor vendor: KVM 21:33:08 Virtualization type: full 21:33:08 L1d cache: 256 KiB 21:33:08 L1i cache: 256 KiB 21:33:08 L2 cache: 4 MiB 21:33:08 L3 cache: 128 MiB 21:33:08 NUMA node0 CPU(s): 0-7 21:33:08 Vulnerability Itlb multihit: Not affected 21:33:08 Vulnerability L1tf: Not affected 21:33:08 Vulnerability Mds: Not affected 21:33:08 Vulnerability Meltdown: Not affected 21:33:08 Vulnerability Mmio stale data: Not affected 21:33:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:33:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:33:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:33:08 Vulnerability Srbds: Not affected 21:33:08 Vulnerability Tsx async abort: Not affected 21:33:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:33:08 21:33:08 21:33:08 ---> nproc: 21:33:08 8 21:33:08 21:33:08 21:33:08 ---> df -h: 21:33:08 Filesystem Size Used Avail Use% Mounted on 21:33:08 overlay 155G 13G 143G 9% / 21:33:08 tmpfs 64M 0 64M 0% /dev 21:33:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:33:08 shm 64M 0 64M 0% /dev/shm 21:33:08 /dev/vda1 155G 13G 143G 9% /facter-os 21:33:08 21:33:08