Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6634545f8e6cef8aebee68454b169adec7871c71 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-ssh14604769293149166628.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14513169671427015025.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh10620069338664273785.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh18341286369525345375.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-ssh3204036744573544963.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 ‘prd-centos7-blackbox-4c-2g-5160’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5523’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5524 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 6634545f8e6cef8aebee68454b169adec7871c71 (main) Commit message: "Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > git config core.sparsecheckout # timeout=10 > git checkout -f 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 > git rev-list --no-walk 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:45:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:45:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:45:49 ========================================================= 04:45:49 EdgeX Global Pipelines Version Info 04:45:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:45:50 ------------------- 04:45:50 stable info: 04:45:50 ------------------- 04:45:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:45:50 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:45:50 Message: update stable to v1.0.253 04:45:51 ------------------- 04:45:51 experimental info: 04:45:51 ------------------- 04:45:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:45:51 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:45:51 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6634545 [Pipeline] echo 04:45:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:51 provisioning config files... 04:45:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9807108039469907595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:52 ---> docker-login.sh 04:45:52 nexus3.edgexfoundry.org:10001 04:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:53 Configure a credential helper to remove this warning. See 04:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:53 04:45:53 Login Succeeded 04:45:53 nexus3.edgexfoundry.org:10002 04:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:53 Configure a credential helper to remove this warning. See 04:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:53 04:45:53 Login Succeeded 04:45:53 nexus3.edgexfoundry.org:10003 04:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:53 Configure a credential helper to remove this warning. See 04:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:53 04:45:53 Login Succeeded 04:45:53 nexus3.edgexfoundry.org:10004 04:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:53 Configure a credential helper to remove this warning. See 04:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:53 04:45:53 Login Succeeded 04:45:53 docker.io 04:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:53 Configure a credential helper to remove this warning. See 04:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:53 04:45:53 Login Succeeded 04:45:53 ---> docker-login.sh ends [Pipeline] } 04:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:45:54 + git rev-list -1 --merges 6634545f8e6cef8aebee68454b169adec7871c71~1..6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo 04:45:54 -----------> git rev-list -1 --merges 6634545f8e6cef8aebee68454b169adec7871c71~1..6634545f8e6cef8aebee68454b169adec7871c71 6634545f8e6cef8aebee68454b169adec7871c71 04:45:54 6634545f8e6cef8aebee68454b169adec7871c71 [false] [Pipeline] sh 04:45:54 + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo 04:45:54 ========================================================= 04:45:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:45:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:54 + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo 04:45:54 [semverPrep] GIT_COMMIT: 6634545f8e6cef8aebee68454b169adec7871c71, Commit Message: Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo 04:45:54 [semverPrep] This is not a build commit. [Pipeline] sh 04:45:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:55 + grep -v github /etc/ssh/ssh_known_hosts 04:45:55 + [ -e /tmp/ssh_known_hosts ] 04:45:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:45:55 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:45:55 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:45:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:55 04:45:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:56 0.1.4: Pulling from edgex-devops/py-git-semver 04:45:56 b85a868b505f: Pulling fs layer 04:45:56 e2be974225ed: Pulling fs layer 04:45:56 339a4e72a1f5: Pulling fs layer 04:45:56 988bab9f4d93: Pulling fs layer 04:45:56 1469e6f7b9e6: Pulling fs layer 04:45:56 eaf3925da568: Pulling fs layer 04:45:56 bab4dde63d76: Pulling fs layer 04:45:56 bde34c3a00c8: Pulling fs layer 04:45:56 b352a97aabf1: Pulling fs layer 04:45:56 4872d77fe225: Pulling fs layer 04:45:56 5851b861e8e6: Pulling fs layer 04:45:56 bab4dde63d76: Waiting 04:45:56 bde34c3a00c8: Waiting 04:45:56 b352a97aabf1: Waiting 04:45:56 4872d77fe225: Waiting 04:45:56 5851b861e8e6: Waiting 04:45:56 988bab9f4d93: Waiting 04:45:56 1469e6f7b9e6: Waiting 04:45:56 eaf3925da568: Waiting 04:45:56 e2be974225ed: Verifying Checksum 04:45:56 e2be974225ed: Download complete 04:45:56 988bab9f4d93: Verifying Checksum 04:45:56 988bab9f4d93: Download complete 04:45:56 1469e6f7b9e6: Verifying Checksum 04:45:56 1469e6f7b9e6: Download complete 04:45:56 eaf3925da568: Verifying Checksum 04:45:56 eaf3925da568: Download complete 04:45:56 339a4e72a1f5: Verifying Checksum 04:45:56 339a4e72a1f5: Download complete 04:45:56 bde34c3a00c8: Download complete 04:45:56 b352a97aabf1: Download complete 04:45:56 4872d77fe225: Verifying Checksum 04:45:56 4872d77fe225: Download complete 04:45:56 5851b861e8e6: Verifying Checksum 04:45:56 5851b861e8e6: Download complete 04:45:56 b85a868b505f: Verifying Checksum 04:45:56 b85a868b505f: Download complete 04:45:57 bab4dde63d76: Download complete 04:45:57 b85a868b505f: Pull complete 04:45:57 e2be974225ed: Pull complete 04:45:59 339a4e72a1f5: Pull complete 04:45:59 988bab9f4d93: Pull complete 04:46:00 1469e6f7b9e6: Pull complete 04:46:00 eaf3925da568: Pull complete 04:46:03 bab4dde63d76: Pull complete 04:46:03 bde34c3a00c8: Pull complete 04:46:03 b352a97aabf1: Pull complete 04:46:03 4872d77fe225: Pull complete 04:46:04 5851b861e8e6: Pull complete 04:46:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:46:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:04 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:46:04 $ 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 04:46:11 $ docker top 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 -eo pid,comm 04:46:11 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). 04:46:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:11 [ssh-agent] Looking for ssh-agent implementation... 04:46:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:11 $ docker exec 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent 04:46:11 SSH_AUTH_SOCK=/tmp/ssh-05o1ReKwU0T1/agent.14 04:46:11 SSH_AGENT_PID=20 04:46:11 Running ssh-add (command line suppressed) 04:46:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8676123727858542933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8676123727858542933.key) 04:46:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:12 + git tag --points-at HEAD [Pipeline] } 04:46:12 $ docker exec --env ******** --env ******** 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent -k 04:46:12 unset SSH_AUTH_SOCK; 04:46:12 unset SSH_AGENT_PID; 04:46:12 echo Agent pid 20 killed; 04:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:46:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:12 [ssh-agent] Looking for ssh-agent implementation... 04:46:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:12 $ docker exec 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent 04:46:12 SSH_AUTH_SOCK=/tmp/ssh-3jcI2VdLBio5/agent.70 04:46:12 SSH_AGENT_PID=76 04:46:12 Running ssh-add (command line suppressed) 04:46:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2424136690821153795.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2424136690821153795.key) 04:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:13 + git semver init 04:46:13 2023-09-07 04:46:13,258 [run_init] DEBUG init version:0.0.0 force:False 04:46:13 2023-09-07 04:46:13,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 04:46:13 2023-09-07 04:46:13,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:46:13 2023-09-07 04:46:13,259 [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) 04:46:14 2023-09-07 04:46:14,468 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 04:46:14 2023-09-07 04:46:14,469 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 04:46:14 2023-09-07 04:46:14,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:46:14 2023-09-07 04:46:14,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:46:14 3.1.0-dev.9 [Pipeline] } 04:46:14 $ docker exec --env ******** --env ******** 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent -k 04:46:14 unset SSH_AUTH_SOCK; 04:46:14 unset SSH_AGENT_PID; 04:46:14 echo Agent pid 76 killed; 04:46:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:15 + git semver [Pipeline] } 04:46:15 $ docker stop --time=1 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 04:46:16 $ docker rm -f --volumes 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:46:17 Stashed 1 file(s) [Pipeline] echo 04:46:17 [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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 04:46:17 provisioning config files... 04:46:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3222494909807747971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:17 ---> docker-login.sh 04:46:17 nexus3.edgexfoundry.org:10001 04:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:17 Configure a credential helper to remove this warning. See 04:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:17 04:46:17 Login Succeeded 04:46:17 nexus3.edgexfoundry.org:10002 04:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:17 Configure a credential helper to remove this warning. See 04:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:17 04:46:17 Login Succeeded 04:46:17 nexus3.edgexfoundry.org:10003 04:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:18 Configure a credential helper to remove this warning. See 04:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:18 04:46:18 Login Succeeded 04:46:18 nexus3.edgexfoundry.org:10004 04:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:18 Configure a credential helper to remove this warning. See 04:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:18 04:46:18 Login Succeeded 04:46:18 docker.io 04:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:18 Configure a credential helper to remove this warning. See 04:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:18 04:46:18 Login Succeeded 04:46:18 ---> docker-login.sh ends [Pipeline] } 04:46:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:46:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:18 ========================================================= 04:46:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:46:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:19 + 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 . 04:46:19 Sending build context to Docker daemon 10.92MB 04:46:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:46:19 Step 2/12 : FROM ${BASE} AS builder 04:46:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:46:19 4db1b89c0bd1: Pulling fs layer 04:46:19 6911f1a30b25: Pulling fs layer 04:46:19 e194b8c5c2a9: Pulling fs layer 04:46:19 6863d3e3a2b1: Pulling fs layer 04:46:19 ec0bb842ea78: Pulling fs layer 04:46:19 6863d3e3a2b1: Waiting 04:46:19 40a00589a448: Pulling fs layer 04:46:19 6c08303d61cc: Pulling fs layer 04:46:19 798269fcf238: Pulling fs layer 04:46:19 ec0bb842ea78: Waiting 04:46:19 798269fcf238: Waiting 04:46:19 40a00589a448: Waiting 04:46:19 6c08303d61cc: Waiting 04:46:19 6911f1a30b25: Download complete 04:46:19 6863d3e3a2b1: Verifying Checksum 04:46:19 6863d3e3a2b1: Download complete 04:46:19 ec0bb842ea78: Download complete 04:46:19 4db1b89c0bd1: Verifying Checksum 04:46:19 4db1b89c0bd1: Download complete 04:46:19 40a00589a448: Verifying Checksum 04:46:19 40a00589a448: Download complete 04:46:19 4db1b89c0bd1: Pull complete 04:46:19 6911f1a30b25: Pull complete 04:46:19 798269fcf238: Verifying Checksum 04:46:20 e194b8c5c2a9: Verifying Checksum 04:46:20 e194b8c5c2a9: Download complete 04:46:20 6c08303d61cc: Verifying Checksum 04:46:20 6c08303d61cc: Download complete 04:46:23 e194b8c5c2a9: Pull complete 04:46:23 6863d3e3a2b1: Pull complete 04:46:24 ec0bb842ea78: Pull complete 04:46:24 40a00589a448: Pull complete 04:46:26 6c08303d61cc: Pull complete 04:46:27 798269fcf238: Pull complete 04:46:27 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:46:27 ---> ec979cd7f677 04:46:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:46:32 Still waiting to schedule task 04:46:32 ‘prd-centos7-blackbox-4c-2g-5160’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:46:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5525’ is offline 04:46:42 ---> Running in ef7413c3af8a 04:46:42 Removing intermediate container ef7413c3af8a 04:46:42 ---> 4c0d9faa6984 04:46:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:46:42 ---> Running in f7cb37fbc484 04:46:42 Removing intermediate container f7cb37fbc484 04:46:42 ---> 6148c403f79d 04:46:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:46:42 ---> Running in b7ac7a285509 04:46:42 Removing intermediate container b7ac7a285509 04:46:42 ---> 15d2757edddb 04:46:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:46:42 ---> Running in 3fc381051f3f 04:46:42 Removing intermediate container 3fc381051f3f 04:46:42 ---> 8a020b3d1883 04:46:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:46:42 ---> Running in cfb224836c78 04:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:46:43 (1/4) Installing openssh-keygen (9.1_p1-r4) 04:46:43 (2/4) Installing libedit (20221030.3.1-r0) 04:46:43 (3/4) Installing openssh-client-common (9.1_p1-r4) 04:46:43 (4/4) Installing openssh-client-default (9.1_p1-r4) 04:46:43 Executing busybox-1.35.0-r29.trigger 04:46:43 OK: 269 MiB in 57 packages 04:46:44 Removing intermediate container cfb224836c78 04:46:44 ---> 8724a315d35a 04:46:44 Step 8/12 : WORKDIR /device-rest-go 04:46:44 ---> Running in c72d00ae7a0c 04:46:44 Removing intermediate container c72d00ae7a0c 04:46:44 ---> 88f9804ba7ae 04:46:44 Step 9/12 : COPY go.mod vendor* ./ 04:46:44 ---> 5955b90013f6 04:46:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:44 ---> Running in 6f82bcb1a431 04:47:23 Removing intermediate container 6f82bcb1a431 04:47:23 ---> 6cfecf4d7718 04:47:23 Step 11/12 : COPY . . 04:47:23 ---> ae31c97caa09 04:47:23 Step 12/12 : RUN $MAKE 04:47:23 ---> Running in 542f99b2f92d 04:47:23 noop 04:47:23 Removing intermediate container 542f99b2f92d 04:47:23 ---> 07e1058e8459 04:47:23 Successfully built 07e1058e8459 04:47:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:23 + docker inspect -f . ci-base-image-x86_64 04:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:23 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:47:23 $ 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 04:47:24 $ docker top 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:24 + go version 04:47:24 go version go1.20.6 linux/amd64 [Pipeline] } 04:47:24 $ docker stop --time=1 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 04:47:26 $ docker rm -f --volumes 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:26 + docker inspect -f . ci-base-image-x86_64 04:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:26 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:47:26 $ 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 04:47:27 $ docker top 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 04:47:28 + make test 04:47:28 go test ./... -coverprofile=coverage.out ./... 04:47:33 ? github.com/edgexfoundry/device-rest-go [no test files] 04:47:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:47:43 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 33.2% of statements 04:47:49 go vet ./... 04:47:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:47:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:47:55 ./bin/test-attribution-txt.sh [Pipeline] echo 04:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:47:55 $ docker stop --time=1 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd 04:47:58 $ docker rm -f --volumes 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd [Pipeline] // withDockerContainer [Pipeline] sh 04:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:47:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:59 + ls -al . 04:47:59 total 188 04:47:59 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 04:47 . 04:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 .. 04:47:59 -rw-rw-r-- 1 jenkins jenkins 151 Sep 7 04:45 .dockerignore 04:47:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:46 .git 04:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 .github 04:47:59 -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:45 .gitignore 04:47:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:45 .golangci.yml 04:47:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:46 .semver 04:47:59 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 7 04:45 Attribution.txt 04:47:59 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 7 04:45 CHANGELOG.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 7 04:45 Dockerfile 04:47:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:45 GOVERNANCE.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 680 Sep 7 04:45 Jenkinsfile 04:47:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:45 LICENSE 04:47:59 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 7 04:45 Makefile 04:47:59 -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:45 OWNERS.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 7 04:45 README.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:46 VERSION 04:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:45 bin 04:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 cmd 04:47:59 -rw-r--r-- 1 jenkins jenkins 14499 Sep 7 04:47 coverage.out 04:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:45 driver 04:47:59 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 7 04:45 go.mod 04:47:59 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:45 go.sum 04:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 snap 04:47:59 -rw-rw-r-- 1 jenkins jenkins 713 Sep 7 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:00 + 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=6634545f8e6cef8aebee68454b169adec7871c71 --label arch=amd64 --label version=3.1.0-dev.9 . 04:48:00 Sending build context to Docker daemon 10.94MB 04:48:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:48:00 Step 2/25 : FROM ${BASE} AS builder 04:48:00 ---> 07e1058e8459 04:48:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:48:00 ---> Running in b2a94ac96c96 04:48:00 Removing intermediate container b2a94ac96c96 04:48:00 ---> e14af7458b06 04:48:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:48:00 ---> Running in a9a7c1e12478 04:48:00 Removing intermediate container a9a7c1e12478 04:48:00 ---> a6b8c6cf4ba9 04:48:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:48:00 ---> Running in 152ac549b04c 04:48:01 Removing intermediate container 152ac549b04c 04:48:01 ---> 6904f91e53df 04:48:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:48:01 ---> Running in 9aa47458a9ee 04:48:01 Removing intermediate container 9aa47458a9ee 04:48:01 ---> 50f720dd2e3b 04:48:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:01 ---> Running in 0d191995fea4 04:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:01 OK: 269 MiB in 57 packages 04:48:02 Removing intermediate container 0d191995fea4 04:48:02 ---> a6ec7912595e 04:48:02 Step 8/25 : WORKDIR /device-rest-go 04:48:02 ---> Running in 1051120ff07c 04:48:02 Removing intermediate container 1051120ff07c 04:48:02 ---> 596b03a88219 04:48:02 Step 9/25 : COPY go.mod vendor* ./ 04:48:02 ---> 29e335dfa56e 04:48:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:02 ---> Running in 5f8317d806ce 04:48:02 Removing intermediate container 5f8317d806ce 04:48:02 ---> a98e0f7b3809 04:48:02 Step 11/25 : COPY . . 04:48:03 ---> d5dda3ee29f7 04:48:03 Step 12/25 : RUN $MAKE 04:48:03 ---> Running in 06b9019e187b 04:48:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:48:25 Removing intermediate container 06b9019e187b 04:48:25 ---> a905b4230578 04:48:25 Step 13/25 : FROM alpine:3.17 04:48:25 3.17: Pulling from library/alpine 04:48:25 9398808236ff: Pulling fs layer 04:48:25 9398808236ff: Verifying Checksum 04:48:25 9398808236ff: Download complete 04:48:25 9398808236ff: Pull complete 04:48:25 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:48:25 Status: Downloaded newer image for alpine:3.17 04:48:25 ---> 1e0b8b5322fc 04:48:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:48:25 ---> Running in a1e7207b9bf7 04:48:25 Removing intermediate container a1e7207b9bf7 04:48:25 ---> 61cf87106359 04:48:25 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:48:25 ---> Running in 8cdfd30effdb 04:48:25 Removing intermediate container 8cdfd30effdb 04:48:25 ---> 2d22701de309 04:48:25 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:48:25 ---> Running in e68f9bfef797 04:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:26 (1/1) Installing dumb-init (1.2.5-r2) 04:48:26 Executing busybox-1.35.0-r29.trigger 04:48:26 OK: 7 MiB in 16 packages 04:48:26 Removing intermediate container e68f9bfef797 04:48:26 ---> 4aa009e4928a 04:48:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:48:27 ---> 1f68c147ded0 04:48:27 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:48:27 ---> c9f3eeae4081 04:48:27 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:48:28 ---> 0b8d0c13aea6 04:48:28 Step 20/25 : EXPOSE 59986 04:48:28 ---> Running in 6d109f126800 04:48:28 Removing intermediate container 6d109f126800 04:48:28 ---> 620c968a3327 04:48:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:48:28 ---> Running in 8099bb1f6793 04:48:29 Removing intermediate container 8099bb1f6793 04:48:29 ---> 33bb29236872 04:48:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:48:29 ---> Running in 09b12789127e 04:48:29 Removing intermediate container 09b12789127e 04:48:29 ---> 0720c448f869 04:48:29 Step 23/25 : LABEL arch=amd64 04:48:29 ---> Running in 91d79c2b46e4 04:48:30 Removing intermediate container 91d79c2b46e4 04:48:30 ---> a39fe13ebd0b 04:48:30 Step 24/25 : LABEL git_sha=6634545f8e6cef8aebee68454b169adec7871c71 04:48:30 ---> Running in 8be6f87893ce 04:48:30 Removing intermediate container 8be6f87893ce 04:48:30 ---> 7abb9d8d6a13 04:48:30 Step 25/25 : LABEL version=3.1.0-dev.9 04:48:31 ---> Running in 64c04f9a9c09 04:48:31 Removing intermediate container 64c04f9a9c09 04:48:31 ---> 87bb3d613a71 04:48:31 [Warning] One or more build-args [ARCH] were not consumed 04:48:31 Successfully built 87bb3d613a71 04:48:31 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:31 provisioning config files... 04:48:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2119470441270094948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:31 ---> docker-login.sh 04:48:31 nexus3.edgexfoundry.org:10001 04:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:31 Configure a credential helper to remove this warning. See 04:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:31 04:48:31 Login Succeeded 04:48:31 nexus3.edgexfoundry.org:10002 04:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:32 Configure a credential helper to remove this warning. See 04:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:32 04:48:32 Login Succeeded 04:48:32 nexus3.edgexfoundry.org:10003 04:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:32 Configure a credential helper to remove this warning. See 04:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:32 04:48:32 Login Succeeded 04:48:32 nexus3.edgexfoundry.org:10004 04:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:32 Configure a credential helper to remove this warning. See 04:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:32 04:48:32 Login Succeeded 04:48:32 docker.io 04:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:32 Configure a credential helper to remove this warning. See 04:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:32 04:48:32 Login Succeeded 04:48:32 ---> docker-login.sh ends [Pipeline] } 04:48:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:48:32 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 04:48:32 6634545f8e6cef8aebee68454b169adec7871c71 04:48:32 latest 04:48:32 3.1.0-dev.9 04:48:32 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:48:32 main 04:48:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 04:48:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:48:33 0b8738835f5a: Preparing 04:48:33 676b49a1bc82: Preparing 04:48:33 1fa6253f8311: Preparing 04:48:33 26ef135a0073: Preparing 04:48:33 36b50b131297: Preparing 04:48:33 36b50b131297: Layer already exists 04:48:33 676b49a1bc82: Pushed 04:48:33 26ef135a0073: Pushed 04:48:33 0b8738835f5a: Pushed 04:48:35 1fa6253f8311: Pushed 04:48:35 6634545f8e6cef8aebee68454b169adec7871c71: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 04:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:48:36 0b8738835f5a: Preparing 04:48:36 676b49a1bc82: Preparing 04:48:36 1fa6253f8311: Preparing 04:48:36 26ef135a0073: Preparing 04:48:36 36b50b131297: Preparing 04:48:36 36b50b131297: Layer already exists 04:48:36 0b8738835f5a: Layer already exists 04:48:36 676b49a1bc82: Layer already exists 04:48:36 1fa6253f8311: Layer already exists 04:48:36 26ef135a0073: Layer already exists 04:48:36 latest: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 04:48:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:48:37 0b8738835f5a: Preparing 04:48:37 676b49a1bc82: Preparing 04:48:37 1fa6253f8311: Preparing 04:48:37 26ef135a0073: Preparing 04:48:37 36b50b131297: Preparing 04:48:37 36b50b131297: Layer already exists 04:48:37 0b8738835f5a: Layer already exists 04:48:37 26ef135a0073: Layer already exists 04:48:37 676b49a1bc82: Layer already exists 04:48:37 1fa6253f8311: Layer already exists 04:48:37 3.1.0-dev.9: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:48:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:48:38 0b8738835f5a: Preparing 04:48:38 676b49a1bc82: Preparing 04:48:38 1fa6253f8311: Preparing 04:48:38 26ef135a0073: Preparing 04:48:38 36b50b131297: Preparing 04:48:38 676b49a1bc82: Layer already exists 04:48:38 0b8738835f5a: Layer already exists 04:48:38 36b50b131297: Layer already exists 04:48:38 1fa6253f8311: Layer already exists 04:48:38 26ef135a0073: Layer already exists 04:48:38 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 04:48:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:48:38 0b8738835f5a: Preparing 04:48:38 676b49a1bc82: Preparing 04:48:38 1fa6253f8311: Preparing 04:48:38 26ef135a0073: Preparing 04:48:38 36b50b131297: Preparing 04:48:38 1fa6253f8311: Layer already exists 04:48:38 36b50b131297: Layer already exists 04:48:38 676b49a1bc82: Layer already exists 04:48:38 0b8738835f5a: Layer already exists 04:48:38 26ef135a0073: Layer already exists 04:48:38 main: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:48:38 ===================================================== [Pipeline] echo 04:48:38 taggedImages: 04:48:38 - nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 04:48:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 04:48:38 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 04:48:38 - nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:48:38 - 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 04:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:39 04:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:39 latest: Pulling from edgex-lftools-log-publisher 04:48:39 5eb5b503b376: Pulling fs layer 04:48:39 5c69ac0246d0: Pulling fs layer 04:48:39 ec43610c2a17: Pulling fs layer 04:48:39 3a2ae6a8a46f: Pulling fs layer 04:48:39 33b1e0a273af: Pulling fs layer 04:48:39 5d3b04190fa2: Pulling fs layer 04:48:39 2f39f015ded8: Pulling fs layer 04:48:39 33b1e0a273af: Waiting 04:48:39 5d3b04190fa2: Waiting 04:48:39 2f39f015ded8: Waiting 04:48:39 3a2ae6a8a46f: Waiting 04:48:39 5c69ac0246d0: Verifying Checksum 04:48:39 5c69ac0246d0: Download complete 04:48:39 3a2ae6a8a46f: Download complete 04:48:39 33b1e0a273af: Verifying Checksum 04:48:39 33b1e0a273af: Download complete 04:48:39 5d3b04190fa2: Verifying Checksum 04:48:39 5d3b04190fa2: Download complete 04:48:39 ec43610c2a17: Verifying Checksum 04:48:39 ec43610c2a17: Download complete 04:48:39 5eb5b503b376: Verifying Checksum 04:48:39 5eb5b503b376: Download complete 04:48:40 2f39f015ded8: Download complete 04:48:40 5eb5b503b376: Pull complete 04:48:41 5c69ac0246d0: Pull complete 04:48:41 ec43610c2a17: Pull complete 04:48:41 3a2ae6a8a46f: Pull complete 04:48:41 33b1e0a273af: Pull complete 04:48:41 5d3b04190fa2: Pull complete 04:48:45 2f39f015ded8: Pull complete 04:48:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:48:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:45 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:48:45 $ 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 04:48:51 $ docker top 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:52 ---> job-cost.sh 04:48:52 lf-activate-venv: SKIPPING 04:48:52 INFO: No Stack... 04:48:52 INFO: Retrieving Pricing Info for: v3-standard-8 04:48:52 INFO: Archiving Costs [Pipeline] sh 04:48:53 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 04:48:53 + cut -d, -f6 [Pipeline] lock 04:48:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] 04:48:53 Resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] did not exist. Created. 04:48:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:48:53 + echo total: 0.2199999988079071 [Pipeline] stash 04:48:53 Stashed 1 file(s) [Pipeline] } 04:48:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 04:48:53 $ docker stop --time=1 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 04:48:54 $ docker rm -f --volumes 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:49:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5527 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:49:17 Running in /w/workspace/device-rest-go/129 [Pipeline] { [Pipeline] checkout 04:49:17 The recommended git tool is: git 04:49:23 using credential edgex-jenkins-ssh 04:49:23 Cloning the remote Git repository 04:49:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:49:23 > git init /w/workspace/device-rest-go/129 # timeout=10 04:49:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:49:23 > git --version # timeout=10 04:49:23 > git --version # 'git version 2.25.1' 04:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:49:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:49:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:49:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:49:27 Avoid second fetch 04:49:27 Checking out Revision 6634545f8e6cef8aebee68454b169adec7871c71 (main) 04:49:27 > git config core.sparsecheckout # timeout=10 04:49:27 > git checkout -f 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 04:49:27 Commit message: "Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:49:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:49:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:49:28 Dload Upload Total Spent Left Speed 04:49:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 04:49:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:49:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:49:29 + sudo tee /etc/docker/daemon.new 04:49:29 { 04:49:29 "registry-mirrors": [ 04:49:29 "https://nexus3.edgexfoundry.org:10001" 04:49:29 ], 04:49:29 "bip": "10.250.0.254/24", 04:49:29 "hosts": [ 04:49:29 "tcp://0.0.0.0:5555", 04:49:29 "unix:///var/run/docker.sock" 04:49:29 ], 04:49:29 "mtu": 1458, 04:49:29 "selinux-enabled": true, 04:49:29 "seccomp-profile": "/etc/docker/seccomp.json" 04:49:29 } [Pipeline] sh 04:49:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:49:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:48 provisioning config files... 04:49:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/129@tmp/config9620973936848494165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:48 ---> docker-login.sh 04:49:48 nexus3.edgexfoundry.org:10001 04:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:49 Configure a credential helper to remove this warning. See 04:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:49 04:49:49 Login Succeeded 04:49:49 nexus3.edgexfoundry.org:10002 04:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:49 Configure a credential helper to remove this warning. See 04:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:49 04:49:49 Login Succeeded 04:49:49 nexus3.edgexfoundry.org:10003 04:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:50 Configure a credential helper to remove this warning. See 04:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:50 04:49:50 Login Succeeded 04:49:50 nexus3.edgexfoundry.org:10004 04:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:50 Configure a credential helper to remove this warning. See 04:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:50 04:49:50 Login Succeeded 04:49:50 docker.io 04:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:51 Configure a credential helper to remove this warning. See 04:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:51 04:49:51 Login Succeeded 04:49:51 ---> docker-login.sh ends [Pipeline] } 04:49:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:51 ========================================================= 04:49:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:49:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:51 + 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 . 04:49:51 Sending build context to Docker daemon 143.4kB 04:49:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:49:52 Step 2/12 : FROM ${BASE} AS builder 04:49:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:49:52 edb6bdbacee9: Pulling fs layer 04:49:52 5f9638ab2659: Pulling fs layer 04:49:52 8d51d6327a98: Pulling fs layer 04:49:52 8b374f2dd631: Pulling fs layer 04:49:52 ec14aa9079de: Pulling fs layer 04:49:52 2f466654f4bb: Pulling fs layer 04:49:52 554e91adad29: Pulling fs layer 04:49:52 ec14aa9079de: Waiting 04:49:52 2f466654f4bb: Waiting 04:49:52 8b374f2dd631: Waiting 04:49:52 554e91adad29: Waiting 04:49:52 5f9638ab2659: Verifying Checksum 04:49:52 5f9638ab2659: Download complete 04:49:52 8b374f2dd631: Download complete 04:49:52 ec14aa9079de: Verifying Checksum 04:49:52 ec14aa9079de: Download complete 04:49:52 edb6bdbacee9: Verifying Checksum 04:49:52 edb6bdbacee9: Download complete 04:49:53 edb6bdbacee9: Pull complete 04:49:53 554e91adad29: Verifying Checksum 04:49:53 554e91adad29: Download complete 04:49:54 5f9638ab2659: Pull complete 04:49:55 8d51d6327a98: Verifying Checksum 04:49:55 8d51d6327a98: Download complete 04:49:55 2f466654f4bb: Verifying Checksum 04:49:55 2f466654f4bb: Download complete 04:50:07 8d51d6327a98: Pull complete 04:50:07 8b374f2dd631: Pull complete 04:50:07 ec14aa9079de: Pull complete 04:50:14 2f466654f4bb: Pull complete 04:50:16 554e91adad29: Pull complete 04:50:16 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:50:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:50:16 ---> 1e15ea492957 04:50:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:50:18 ---> Running in 632f72ce7c2f 04:50:19 Removing intermediate container 632f72ce7c2f 04:50:19 ---> d5565797d868 04:50:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:50:19 ---> Running in 74d7d34a4381 04:50:19 Removing intermediate container 74d7d34a4381 04:50:19 ---> 148254fa51c3 04:50:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:50:19 ---> Running in bb8bea4917ea 04:50:19 Removing intermediate container bb8bea4917ea 04:50:19 ---> f72e70160b58 04:50:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:50:20 ---> Running in 1be18d466d9b 04:50:20 Removing intermediate container 1be18d466d9b 04:50:20 ---> 91907a8752f2 04:50:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:50:20 ---> Running in cfc28fdcb33b 04:50:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:50:23 (1/4) Installing openssh-keygen (9.1_p1-r4) 04:50:23 (2/4) Installing libedit (20221030.3.1-r0) 04:50:23 (3/4) Installing openssh-client-common (9.1_p1-r4) 04:50:23 (4/4) Installing openssh-client-default (9.1_p1-r4) 04:50:23 Executing busybox-1.35.0-r29.trigger 04:50:23 OK: 268 MiB in 57 packages 04:50:24 Removing intermediate container cfc28fdcb33b 04:50:24 ---> 87f7ef3ddf15 04:50:24 Step 8/12 : WORKDIR /device-rest-go 04:50:24 ---> Running in 74b0f4d5d3c3 04:50:25 Removing intermediate container 74b0f4d5d3c3 04:50:25 ---> 276eca344490 04:50:25 Step 9/12 : COPY go.mod vendor* ./ 04:50:25 ---> 049ac001d6b5 04:50:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:26 ---> Running in 031e277dc7f7 04:51:33 Removing intermediate container 031e277dc7f7 04:51:33 ---> 81a2d93a0ac2 04:51:33 Step 11/12 : COPY . . 04:51:33 ---> ffbdcfb05881 04:51:33 Step 12/12 : RUN $MAKE 04:51:33 ---> Running in 73ef3281b453 04:51:33 noop 04:51:34 Removing intermediate container 73ef3281b453 04:51:34 ---> 9b76fd84177e 04:51:34 Successfully built 9b76fd84177e 04:51:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:35 + docker inspect -f . ci-base-image-arm64 04:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:35 prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container 04:51:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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 04:51:38 $ docker top 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:39 + go version 04:51:39 go version go1.20.6 linux/arm64 [Pipeline] } 04:51:39 $ docker stop --time=1 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c 04:51:41 $ docker rm -f --volumes 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:41 + docker inspect -f . ci-base-image-arm64 04:51:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:41 prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container 04:51:41 $ 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/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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 04:51:43 $ docker top c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:44 + git config --global --add safe.directory /w/workspace/device-rest-go/129 [Pipeline] fileExists [Pipeline] sh 04:51:44 + make test 04:51:44 go test ./... -coverprofile=coverage.out ./... 04:52:23 ? github.com/edgexfoundry/device-rest-go [no test files] 04:54:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:54:45 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements 04:54:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:54:46 go vet ./... 04:55:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:18 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:18 $ docker stop --time=1 c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 04:55:20 $ docker rm -f --volumes c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:21 Warning: overwriting stash ‘coverage-report’ 04:55:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:22 + ls -al . 04:55:22 total 184 04:55:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:51 . 04:55:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:49 .. 04:55:22 -rw-rw-r-- 1 jenkins jenkins 151 Sep 7 04:49 .dockerignore 04:55:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:49 .git 04:55:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:49 .github 04:55:22 -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:49 .gitignore 04:55:22 -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:49 .golangci.yml 04:55:22 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 7 04:49 Attribution.txt 04:55:22 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 7 04:49 CHANGELOG.md 04:55:22 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 7 04:49 Dockerfile 04:55:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:49 GOVERNANCE.md 04:55:22 -rw-rw-r-- 1 jenkins jenkins 680 Sep 7 04:49 Jenkinsfile 04:55:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:49 LICENSE 04:55:22 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 7 04:49 Makefile 04:55:22 -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:49 OWNERS.md 04:55:22 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 7 04:49 README.md 04:55:22 -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:46 VERSION 04:55:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:49 bin 04:55:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:49 cmd 04:55:22 -rw-r--r-- 1 jenkins jenkins 14499 Sep 7 04:54 coverage.out 04:55:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:49 driver 04:55:22 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 7 04:49 go.mod 04:55:22 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:49 go.sum 04:55:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:49 snap 04:55:22 -rw-rw-r-- 1 jenkins jenkins 713 Sep 7 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:23 + 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=6634545f8e6cef8aebee68454b169adec7871c71 --label arch=arm64 --label version=3.1.0-dev.9 . 04:55:23 Sending build context to Docker daemon 158.7kB 04:55:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:55:23 Step 2/25 : FROM ${BASE} AS builder 04:55:23 ---> 9b76fd84177e 04:55:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:55:23 ---> Running in ec6e1f8ecb56 04:55:23 Removing intermediate container ec6e1f8ecb56 04:55:23 ---> 42074327e4b9 04:55:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:23 ---> Running in d2f26a07b626 04:55:24 Removing intermediate container d2f26a07b626 04:55:24 ---> 8d634be97956 04:55:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:55:24 ---> Running in 4f312b3906ea 04:55:24 Removing intermediate container 4f312b3906ea 04:55:24 ---> 7a53e0583295 04:55:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:55:24 ---> Running in f931b0e4e544 04:55:24 Removing intermediate container f931b0e4e544 04:55:24 ---> a17bf4756d35 04:55:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:25 ---> Running in b9ed2a546eb7 04:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:55:27 OK: 268 MiB in 57 packages 04:55:28 Removing intermediate container b9ed2a546eb7 04:55:28 ---> f13c334bbedc 04:55:28 Step 8/25 : WORKDIR /device-rest-go 04:55:28 ---> Running in 1c42a1a3bbee 04:55:28 Removing intermediate container 1c42a1a3bbee 04:55:28 ---> b9e873e9259a 04:55:28 Step 9/25 : COPY go.mod vendor* ./ 04:55:29 ---> 2f1ef46aed83 04:55:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:31 ---> Running in 4a1014e6d370 04:55:34 Removing intermediate container 4a1014e6d370 04:55:34 ---> 04a5413bf4ea 04:55:34 Step 11/25 : COPY . . 04:55:34 ---> d16d48ce4f0f 04:55:34 Step 12/25 : RUN $MAKE 04:55:34 ---> Running in 441eca5df8e7 04:55:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:58:12 Removing intermediate container 441eca5df8e7 04:58:12 ---> 0e2d9c0df7f5 04:58:12 Step 13/25 : FROM alpine:3.17 04:58:12 3.17: Pulling from library/alpine 04:58:12 4060ece20d7a: Pulling fs layer 04:58:12 4060ece20d7a: Verifying Checksum 04:58:12 4060ece20d7a: Download complete 04:58:12 4060ece20d7a: Pull complete 04:58:12 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:58:12 Status: Downloaded newer image for alpine:3.17 04:58:12 ---> 8650cd65339b 04:58:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:12 ---> Running in 2dcdef188003 04:58:12 Removing intermediate container 2dcdef188003 04:58:12 ---> 43d805dce153 04:58:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:58:12 ---> Running in 3393d144f4dd 04:58:12 Removing intermediate container 3393d144f4dd 04:58:12 ---> 393bb14205cf 04:58:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:58:12 ---> Running in 3a0d7c24a31d 04:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:58:12 (1/1) Installing dumb-init (1.2.5-r2) 04:58:12 Executing busybox-1.35.0-r29.trigger 04:58:12 OK: 8 MiB in 16 packages 04:58:12 Removing intermediate container 3a0d7c24a31d 04:58:12 ---> 9df1513bb979 04:58:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:58:12 ---> f0e0b45102bc 04:58:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:58:12 ---> a209a25401d0 04:58:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:58:12 ---> 1444a16138b0 04:58:12 Step 20/25 : EXPOSE 59986 04:58:12 ---> Running in 4acd9544afdb 04:58:12 Removing intermediate container 4acd9544afdb 04:58:12 ---> d48c97161722 04:58:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:58:12 ---> Running in 609bbf2e2d1f 04:58:12 Removing intermediate container 609bbf2e2d1f 04:58:12 ---> 6713d20097ca 04:58:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:58:12 ---> Running in 0e5703621f61 04:58:12 Removing intermediate container 0e5703621f61 04:58:12 ---> c3fe2ff1d42d 04:58:12 Step 23/25 : LABEL arch=arm64 04:58:12 ---> Running in 66a6b03ec38c 04:58:12 Removing intermediate container 66a6b03ec38c 04:58:12 ---> 9d96300e00ff 04:58:12 Step 24/25 : LABEL git_sha=6634545f8e6cef8aebee68454b169adec7871c71 04:58:12 ---> Running in 81ca833a2a8f 04:58:12 Removing intermediate container 81ca833a2a8f 04:58:12 ---> 6f33a39d2893 04:58:12 Step 25/25 : LABEL version=3.1.0-dev.9 04:58:12 ---> Running in 60cd2cb0f8ca 04:58:12 Removing intermediate container 60cd2cb0f8ca 04:58:12 ---> d27bdf4d333d 04:58:12 [Warning] One or more build-args [ARCH] were not consumed 04:58:12 Successfully built d27bdf4d333d 04:58:12 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 04:58:13 provisioning config files... 04:58:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/129@tmp/config12423133762117716371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:13 ---> docker-login.sh 04:58:13 nexus3.edgexfoundry.org:10001 04:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:13 Configure a credential helper to remove this warning. See 04:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:13 04:58:13 Login Succeeded 04:58:13 nexus3.edgexfoundry.org:10002 04:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:13 Configure a credential helper to remove this warning. See 04:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:13 04:58:13 Login Succeeded 04:58:13 nexus3.edgexfoundry.org:10003 04:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:14 Configure a credential helper to remove this warning. See 04:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:14 04:58:14 Login Succeeded 04:58:14 nexus3.edgexfoundry.org:10004 04:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:14 Configure a credential helper to remove this warning. See 04:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:14 04:58:14 Login Succeeded 04:58:14 docker.io 04:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:15 Configure a credential helper to remove this warning. See 04:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:15 04:58:15 Login Succeeded 04:58:15 ---> docker-login.sh ends [Pipeline] } 04:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:58:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:58:15 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:58:15 6634545f8e6cef8aebee68454b169adec7871c71 04:58:15 latest 04:58:15 3.1.0-dev.9 04:58:15 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:58:15 main 04:58:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 04:58:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:58:16 ae8ec2405816: Preparing 04:58:16 2b9981901592: Preparing 04:58:16 3156f55cd9c4: Preparing 04:58:16 a5b6c2f4dbe6: Preparing 04:58:16 d2d9d24a8c2a: Preparing 04:58:16 d2d9d24a8c2a: Layer already exists 04:58:16 2b9981901592: Pushed 04:58:16 a5b6c2f4dbe6: Pushed 04:58:16 ae8ec2405816: Pushed 04:58:22 3156f55cd9c4: Pushed 04:58:22 6634545f8e6cef8aebee68454b169adec7871c71: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:58:23 ae8ec2405816: Preparing 04:58:23 2b9981901592: Preparing 04:58:23 3156f55cd9c4: Preparing 04:58:23 a5b6c2f4dbe6: Preparing 04:58:23 d2d9d24a8c2a: Preparing 04:58:23 3156f55cd9c4: Layer already exists 04:58:23 2b9981901592: Layer already exists 04:58:23 a5b6c2f4dbe6: Layer already exists 04:58:23 d2d9d24a8c2a: Layer already exists 04:58:23 ae8ec2405816: Layer already exists 04:58:23 latest: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 04:58:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:58:24 ae8ec2405816: Preparing 04:58:24 2b9981901592: Preparing 04:58:24 3156f55cd9c4: Preparing 04:58:24 a5b6c2f4dbe6: Preparing 04:58:24 d2d9d24a8c2a: Preparing 04:58:24 3156f55cd9c4: Layer already exists 04:58:24 2b9981901592: Layer already exists 04:58:24 d2d9d24a8c2a: Layer already exists 04:58:24 a5b6c2f4dbe6: Layer already exists 04:58:24 ae8ec2405816: Layer already exists 04:58:24 3.1.0-dev.9: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:58:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:58:24 ae8ec2405816: Preparing 04:58:24 2b9981901592: Preparing 04:58:24 3156f55cd9c4: Preparing 04:58:24 a5b6c2f4dbe6: Preparing 04:58:24 d2d9d24a8c2a: Preparing 04:58:24 3156f55cd9c4: Layer already exists 04:58:24 d2d9d24a8c2a: Layer already exists 04:58:24 ae8ec2405816: Layer already exists 04:58:24 2b9981901592: Layer already exists 04:58:24 a5b6c2f4dbe6: Layer already exists 04:58:24 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:58:25 ae8ec2405816: Preparing 04:58:25 2b9981901592: Preparing 04:58:25 3156f55cd9c4: Preparing 04:58:25 a5b6c2f4dbe6: Preparing 04:58:25 d2d9d24a8c2a: Preparing 04:58:25 2b9981901592: Layer already exists 04:58:25 3156f55cd9c4: Layer already exists 04:58:25 a5b6c2f4dbe6: Layer already exists 04:58:25 d2d9d24a8c2a: Layer already exists 04:58:25 ae8ec2405816: Layer already exists 04:58:25 main: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:58:25 ===================================================== [Pipeline] echo 04:58:25 taggedImages: 04:58:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 04:58:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:58:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 04:58:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 04:58:25 - 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 04:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:26 04:58:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:26 arm64: Pulling from edgex-lftools-log-publisher 04:58:26 8998bd30e6a1: Pulling fs layer 04:58:26 04944245beec: Pulling fs layer 04:58:26 699f458cf7ca: Pulling fs layer 04:58:26 765212b225bb: Pulling fs layer 04:58:26 f23df028b6ca: Pulling fs layer 04:58:26 d65c8cfc05b1: Pulling fs layer 04:58:26 2437ff75d9bd: Pulling fs layer 04:58:26 765212b225bb: Waiting 04:58:26 f23df028b6ca: Waiting 04:58:26 d65c8cfc05b1: Waiting 04:58:26 2437ff75d9bd: Waiting 04:58:26 04944245beec: Verifying Checksum 04:58:26 04944245beec: Download complete 04:58:26 765212b225bb: Verifying Checksum 04:58:26 765212b225bb: Download complete 04:58:26 f23df028b6ca: Verifying Checksum 04:58:26 f23df028b6ca: Download complete 04:58:26 d65c8cfc05b1: Verifying Checksum 04:58:26 d65c8cfc05b1: Download complete 04:58:26 699f458cf7ca: Verifying Checksum 04:58:26 699f458cf7ca: Download complete 04:58:27 8998bd30e6a1: Verifying Checksum 04:58:27 8998bd30e6a1: Download complete 04:58:29 2437ff75d9bd: Verifying Checksum 04:58:29 2437ff75d9bd: Download complete 04:58:31 8998bd30e6a1: Pull complete 04:58:31 04944245beec: Pull complete 04:58:33 699f458cf7ca: Pull complete 04:58:33 765212b225bb: Pull complete 04:58:33 f23df028b6ca: Pull complete 04:58:33 d65c8cfc05b1: Pull complete 04:58:48 2437ff75d9bd: Pull complete 04:58:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:58:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:49 prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container 04:58:49 $ 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/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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 04:58:51 $ docker top 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:52 ---> job-cost.sh 04:58:52 lf-activate-venv: SKIPPING 04:58:52 INFO: No Stack... 04:58:52 INFO: Retrieving Pricing Info for: v3-standard-4 04:58:53 INFO: Archiving Costs [Pipeline] sh 04:58:53 + cat /w/workspace/device-rest-go/129/archives/cost.csv 04:58:53 + cut -d, -f6 [Pipeline] lock 04:58:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] 04:58:53 Resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] did not exist. Created. 04:58:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:54 /w/workspace/device-rest-go/129@tmp/durable-01508690/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:58:54 + echo total: 0.10999999940395355 [Pipeline] stash 04:58:54 Warning: overwriting stash ‘stack-cost’ 04:58:54 Stashed 1 file(s) [Pipeline] } 04:58:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 04:58:54 $ docker stop --time=1 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef 04:58:56 $ docker rm -f --volumes 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef [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 04:58:56 provisioning config files... 04:58:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11504835931179352103tmp [Pipeline] { [Pipeline] sh 04:58:56 + set +x 04:58:56 + + bash -s -- 04:58:56 curl -s https://codecov.io/bash 04:58:56 04:58:56 _____ _ 04:58:56 / ____| | | 04:58:56 | | ___ __| | ___ ___ _____ __ 04:58:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:58:56 | |___| (_) | (_| | __/ (_| (_) \ V / 04:58:56 \_____\___/ \__,_|\___|\___\___/ \_/ 04:58:56 Bash-1.0.6 04:58:56 04:58:56 04:58:56 ==> git version 2.25.1 found 04:58:56 ==> 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 04:58:56 Release-Date: 2020-01-08 04:58:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:58:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:58:56 ==> Jenkins CI detected. 04:58:56 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:58:56 project root: . 04:58:56 --> token set from env 04:58:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:58:56 ==> Running gcov in . (disable via -X gcov) 04:58:56 ==> Python coveragepy not found 04:58:56 ==> Searching for coverage reports in: 04:58:56 + . 04:58:56 -> Found 1 reports 04:58:56 ==> Detecting git/mercurial file structure 04:58:56 ==> Reading reports 04:58:56 + ./coverage.out bytes=14499 04:58:56 ==> Appending adjustments 04:58:56 https://docs.codecov.io/docs/fixing-reports 04:58:57 + Found adjustments 04:58:57 ==> Gzipping contents 04:58:57 4.0K /tmp/codecov.EQep1C.gz 04:58:57 ==> Uploading reports 04:58:57 url: https://codecov.io 04:58:57 query: branch=main&commit=6634545f8e6cef8aebee68454b169adec7871c71&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:58:57 -> Pinging Codecov 04:58:57 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=6634545f8e6cef8aebee68454b169adec7871c71&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:58:57 -> Uploading to 04:58:57 https://storage.googleapis.com/codecov/v4/raw/2023-09-07/4E5D53B4F1F92C436F7061BF334D961C/6634545f8e6cef8aebee68454b169adec7871c71/a639c59e-1a4d-4228-a757-bf9f9bab959a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T045856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28a6b17329959f3667b29e33415fc3ca81c0f21577a9da97a299fb8d5fee2a97 04:58:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:57 Dload Upload Total Spent Left Speed 04:58:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 14005 --:--:-- --:--:-- --:--:-- 13927 100 2493 0 0 100 2493 0 13927 --:--:-- --:--:-- --:--:-- 13850 04:58:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } 04:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:58:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:58:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:58:57 04:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:58:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:58:58 df9b9388f04a: Pulling fs layer 04:58:58 52dc419b0ee2: Pulling fs layer 04:58:58 25bc292e5bac: Pulling fs layer 04:58:58 114826534d7a: Pulling fs layer 04:58:58 4657fd5d0bcf: Pulling fs layer 04:58:58 6ad1cebc031e: Pulling fs layer 04:58:58 8a3aa393b2d8: Pulling fs layer 04:58:58 114826534d7a: Waiting 04:58:58 4657fd5d0bcf: Waiting 04:58:58 8a3aa393b2d8: Waiting 04:58:58 25bc292e5bac: Verifying Checksum 04:58:58 25bc292e5bac: Download complete 04:58:58 52dc419b0ee2: Verifying Checksum 04:58:58 52dc419b0ee2: Download complete 04:58:58 4657fd5d0bcf: Verifying Checksum 04:58:58 4657fd5d0bcf: Download complete 04:58:58 df9b9388f04a: Verifying Checksum 04:58:58 df9b9388f04a: Download complete 04:58:58 df9b9388f04a: Pull complete 04:58:58 6ad1cebc031e: Verifying Checksum 04:58:58 6ad1cebc031e: Download complete 04:58:58 52dc419b0ee2: Pull complete 04:58:58 25bc292e5bac: Pull complete 04:58:59 114826534d7a: Verifying Checksum 04:58:59 114826534d7a: Download complete 04:58:59 8a3aa393b2d8: Verifying Checksum 04:58:59 8a3aa393b2d8: Download complete 04:59:03 114826534d7a: Pull complete 04:59:03 4657fd5d0bcf: Pull complete 04:59:03 6ad1cebc031e: Pull complete 04:59:06 8a3aa393b2d8: Pull complete 04:59:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:59:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:06 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:06 $ 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 04:59:10 $ docker top 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 -eo pid,comm [Pipeline] { [Pipeline] echo 04:59:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 04:59:10 + set -o pipefail 04:59:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 04:59:15 04:59:15 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:59:15 04:59:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fd884cf3-06e9-4c52-ba5b-84d614ab28a8 04:59:15 04:59:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:59:15 04:59:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:59:15 04:59:15 04:59:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:59:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:59:15 More details here: https://snyk.co/ue1NS 04:59:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:59:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:59:15 $ docker stop --time=1 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 04:59:18 $ docker rm -f --volumes 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 [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 04:59:19 + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] sh 04:59:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:59:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:20 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:59:20 $ docker top a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d -eo pid,comm 04:59:20 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). 04:59:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:20 [ssh-agent] Looking for ssh-agent implementation... 04:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:20 $ docker exec a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d ssh-agent 04:59:20 SSH_AUTH_SOCK=/tmp/ssh-lFHxd2GGUnJT/agent.33 04:59:20 SSH_AGENT_PID=39 04:59:20 Running ssh-add (command line suppressed) 04:59:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1887272499589678607.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1887272499589678607.key) 04:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:21 + git semver tag 04:59:21 2023-09-07 04:59:21,565 [run_tag] DEBUG tag force:False 04:59:21 2023-09-07 04:59:21,565 [check_head_tag] DEBUG check head tag 04:59:21 2023-09-07 04:59:21,565 [execute] INFO git cat-file --batch-check 04:59:21 2023-09-07 04:59:21,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:59:21 2023-09-07 04:59:21,569 [execute] INFO git cat-file --batch 04:59:21 2023-09-07 04:59:21,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:59:21 2023-09-07 04:59:21,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:21 2023-09-07 04:59:21,583 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 04:59:21 2023-09-07 04:59:21,583 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:59:21 2023-09-07 04:59:21,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:21 3.1.0-dev.9 [Pipeline] } 04:59:21 $ docker exec --env ******** --env ******** a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d ssh-agent -k 04:59:21 unset SSH_AUTH_SOCK; 04:59:21 unset SSH_AGENT_PID; 04:59:21 echo Agent pid 39 killed; 04:59:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:22 + git semver [Pipeline] } 04:59:22 $ docker stop --time=1 a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d 04:59:23 $ docker rm -f --volumes a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:23 04:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:24 0.23.1-centos7: Pulling from edgex-lftools 04:59:24 ab5ef0e58194: Pulling fs layer 04:59:24 9712f1f96733: Pulling fs layer 04:59:24 63f879dbbcfc: Pulling fs layer 04:59:24 0d9ebad4ef96: Pulling fs layer 04:59:24 e9a5061849ea: Pulling fs layer 04:59:24 d747dcd14b5f: Pulling fs layer 04:59:24 2de7ff778b66: Pulling fs layer 04:59:24 2de7ff778b66: Waiting 04:59:24 d747dcd14b5f: Waiting 04:59:24 e9a5061849ea: Waiting 04:59:24 9712f1f96733: Verifying Checksum 04:59:24 9712f1f96733: Download complete 04:59:24 63f879dbbcfc: Verifying Checksum 04:59:24 63f879dbbcfc: Download complete 04:59:24 e9a5061849ea: Verifying Checksum 04:59:24 e9a5061849ea: Download complete 04:59:24 0d9ebad4ef96: Verifying Checksum 04:59:24 0d9ebad4ef96: Download complete 04:59:24 d747dcd14b5f: Download complete 04:59:25 ab5ef0e58194: Download complete 04:59:25 2de7ff778b66: Verifying Checksum 04:59:25 2de7ff778b66: Download complete 04:59:27 ab5ef0e58194: Pull complete 04:59:27 9712f1f96733: Pull complete 04:59:27 63f879dbbcfc: Pull complete 04:59:31 0d9ebad4ef96: Pull complete 04:59:31 e9a5061849ea: Pull complete 04:59:31 d747dcd14b5f: Pull complete 04:59:32 2de7ff778b66: Pull complete 04:59:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:32 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:32 $ 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 04:59:37 $ docker top 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:59:38 provisioning config files... 04:59:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14669944589087806237tmp 04:59:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6469057227174664393tmp 04:59:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10895771589670164925tmp [Pipeline] { [Pipeline] echo 04:59:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:59:38 ---> sigul-configuration.sh 04:59:38 gpg: directory `/root/.gnupg' created 04:59:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:59:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:59:38 gpg: keyring `/root/.gnupg/secring.gpg' created 04:59:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:59:38 gpg: CAST5 encrypted data 04:59:38 gpg: encrypted with 1 passphrase 04:59:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:59:38 + mkdir /home/jenkins 04:59:38 + mkdir /home/jenkins/sigul [Pipeline] sh 04:59:38 + 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 04:59:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:59:39 ---> sigul-install.sh 04:59:39 Sigul already installed; skipping installation. [Pipeline] sh 04:59:39 + git tag --list 04:59:39 v1.0.0 04:59:39 v1.1.0 04:59:39 v1.1.1 04:59:39 v1.1.2 04:59:39 v1.2.0 04:59:39 v1.2.1 04:59:39 v2.0.0 04:59:39 v2.1.0 04:59:39 v2.1.1 04:59:39 v2.2.0 04:59:39 v2.3.0 04:59:39 v3.0 04:59:39 v3.0.0 04:59:39 v3.1.0-dev.1 04:59:39 v3.1.0-dev.2 04:59:39 v3.1.0-dev.3 04:59:39 v3.1.0-dev.4 04:59:39 v3.1.0-dev.5 04:59:39 v3.1.0-dev.6 04:59:39 v3.1.0-dev.7 04:59:39 v3.1.0-dev.8 04:59:39 v3.1.0-dev.9 [Pipeline] sh 04:59:39 + lftools sign git-tag v3.1.0-dev.9 04:59:40 Signing Git tag with Sigul... 04:59:40 Signing v3.1.0-dev.9 [Pipeline] echo 04:59:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:59:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:59:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:59:41 $ docker stop --time=1 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d 04:59:42 $ docker rm -f --volumes 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:59:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:59:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:43 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:43 $ 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 04:59:43 $ docker top 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a -eo pid,comm 04:59:43 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). 04:59:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:43 [ssh-agent] Looking for ssh-agent implementation... 04:59:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:43 $ docker exec 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a ssh-agent 04:59:44 SSH_AUTH_SOCK=/tmp/ssh-POsLGMMLHsXL/agent.32 04:59:44 SSH_AGENT_PID=38 04:59:44 Running ssh-add (command line suppressed) 04:59:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637816944851182525.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637816944851182525.key) 04:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:44 + git semver bump pre 04:59:44 2023-09-07 04:59:44,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:44 2023-09-07 04:59:44,578 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev 04:59:44 2023-09-07 04:59:44,578 [bump_version] DEBUG bumped version:3.1.0-dev.10 04:59:44 2023-09-07 04:59:44,579 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:59:44 2023-09-07 04:59:44,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:44 2023-09-07 04:59:44,579 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:44 2023-09-07 04:59:44,580 [execute] INFO git cat-file --batch-check 04:59:44 2023-09-07 04:59:44,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:59:44 2023-09-07 04:59:44,585 [execute] INFO git cat-file --batch 04:59:44 2023-09-07 04:59:44,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:59:44 2023-09-07 04:59:44,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:44 3.1.0-dev.10 [Pipeline] } 04:59:44 $ docker exec --env ******** --env ******** 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a ssh-agent -k 04:59:44 unset SSH_AUTH_SOCK; 04:59:44 unset SSH_AGENT_PID; 04:59:44 echo Agent pid 38 killed; 04:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:45 + git semver [Pipeline] } 04:59:45 $ docker stop --time=1 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a 04:59:46 $ docker rm -f --volumes 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a [Pipeline] // withDockerContainer [Pipeline] sh 04:59:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:59:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:47 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:47 $ 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 04:59:47 $ docker top 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e -eo pid,comm 04:59:47 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). 04:59:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:47 [ssh-agent] Looking for ssh-agent implementation... 04:59:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:48 $ docker exec 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e ssh-agent 04:59:48 SSH_AUTH_SOCK=/tmp/ssh-SuioGKOD86c4/agent.31 04:59:48 SSH_AGENT_PID=37 04:59:48 Running ssh-add (command line suppressed) 04:59:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3683429364597118713.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3683429364597118713.key) 04:59:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:48 + git semver push 04:59:48 2023-09-07 04:59:48,773 [run_push] DEBUG push 04:59:48 2023-09-07 04:59:48,773 [execute] INFO git cat-file --batch-check 04:59:48 2023-09-07 04:59:48,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:59:48 2023-09-07 04:59:48,777 [execute] INFO git rev-list 6ed1398138c7b2c2d21e7f39cf0da8ed6e0e15e5 -- 04:59:48 2023-09-07 04:59:48,777 [execute] DEBUG Popen(['git', 'rev-list', '6ed1398138c7b2c2d21e7f39cf0da8ed6e0e15e5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:59:48 2023-09-07 04:59:48,783 [execute] INFO git fetch -v origin 04:59:48 2023-09-07 04:59:48,783 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:59:49 2023-09-07 04:59:49,249 [run_push] DEBUG no remote changes detected 04:59:49 2023-09-07 04:59:49,249 [execute] INFO git push origin semver 04:59:49 2023-09-07 04:59:49,250 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:59:50 2023-09-07 04:59:49,965 [run_push] DEBUG push all version tags 04:59:50 2023-09-07 04:59:49,966 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:59:50 2023-09-07 04:59:49,966 [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) 04:59:50 2023-09-07 04:59:50,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:59:50 3.1.0-dev.10 [Pipeline] } 04:59:50 $ docker exec --env ******** --env ******** 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e ssh-agent -k 04:59:51 unset SSH_AUTH_SOCK; 04:59:51 unset SSH_AGENT_PID; 04:59:51 echo Agent pid 37 killed; 04:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:51 + git semver [Pipeline] } 04:59:51 $ docker stop --time=1 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e 04:59:52 $ docker rm -f --volumes 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e [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 04:59:53 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:59:53 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:59:53 total 16 04:59:53 drwxr-xr-x 3 root root 4096 Sep 7 04:48 . 04:59:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:59 .. 04:59:53 drwxr-xr-x 2 root root 4096 Sep 7 04:48 cost 04:59:53 -rw-r--r-- 1 root root 86 Sep 7 04:48 cost.csv 04:59:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:59:53 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:59:53 total 16 04:59:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:48 . 04:59:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:59 .. 04:59:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:48 cost 04:59:53 -rw-r--r-- 1 jenkins jenkins 86 Sep 7 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:59:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:59:54 ---> package-listing.sh 04:59:54 ++ facter osfamily 04:59:54 ++ tr '[:upper:]' '[:lower:]' 04:59:54 + OS_FAMILY=debian 04:59:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:59:54 + START_PACKAGES=/tmp/packages_start.txt 04:59:54 + END_PACKAGES=/tmp/packages_end.txt 04:59:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:59:54 + PACKAGES=/tmp/packages_start.txt 04:59:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:59:54 + PACKAGES=/tmp/packages_end.txt 04:59:54 + case "${OS_FAMILY}" in 04:59:54 + dpkg -l 04:59:54 + grep '^ii' 04:59:54 + '[' -f /tmp/packages_start.txt ']' 04:59:54 + '[' -f /tmp/packages_end.txt ']' 04:59:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:59:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:59:54 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:59:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:59:54 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 04:59:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:55 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 04:59:55 $ 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 04:59:56 $ docker top a53de1dceeb5be7328a16261c23d59e075788a561b05a2888a2461ab916717b1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:56 + touch /tmp/pre-build-complete [Pipeline] sh 04:59:56 + mkdir -p /var/log/sysstat [Pipeline] sh 04:59:56 + ls /var/log/sa-host 04:59:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:57 provisioning config files... 04:59:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11937403225186120914tmp [Pipeline] { [Pipeline] echo 04:59:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:59:57 ---> create-netrc.sh [Pipeline] } 04:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:59:57 ---> python-tools-install.sh [Pipeline] echo 04:59:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:59:57 ---> sudo-logs.sh 04:59:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:59:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:59:58 ---> job-cost.sh 04:59:58 lf-activate-venv: SKIPPING 04:59:58 DEBUG: total: 0.2199999988079071 04:59:58 INFO: Retrieving Stack Cost... 04:59:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:59:59 INFO: Archiving Costs [Pipeline] echo 04:59:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:59:59 ---> logs-deploy.sh 04:59:59 lf-activate-venv: SKIPPING 04:59:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/129 04:59:59 INFO: archiving workspace using pattern(s): 05:00:00 Archives upload complete. 05:00:00 INFO: archiving logs to Nexus