Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47b604616574ded3ba804dffb2a679ce0d70252d 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-ssh12290074908796035134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2637330415788632582.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16829916084641215076.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14347278795056137163.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-ssh12503022426049223794.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-ubuntu20.04-docker-8c-8g-15784’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15785 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 47b604616574ded3ba804dffb2a679ce0d70252d (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#320)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 > git rev-list --no-walk 6a379586ffcd355aa503b0695be8055d1eb693b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:35 ========================================================= 22:19:35 EdgeX Global Pipelines Version Info 22:19:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:36 ------------------- 22:19:36 stable info: 22:19:36 ------------------- 22:19:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:19:36 Message: update stable to v1.0.249 22:19:37 ------------------- 22:19:37 experimental info: 22:19:37 ------------------- 22:19:37 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:19:37 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47b6046 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:37 provisioning config files... 22:19:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config248576757293586074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:38 ---> docker-login.sh 22:19:38 nexus3.edgexfoundry.org:10001 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10002 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10003 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10004 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 docker.io 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:39 Configure a credential helper to remove this warning. See 22:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:39 22:19:39 Login Succeeded 22:19:39 ---> docker-login.sh ends [Pipeline] } 22:19:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:39 + git rev-list -1 --merges 47b604616574ded3ba804dffb2a679ce0d70252d~1..47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] echo 22:19:39 -----------> git rev-list -1 --merges 47b604616574ded3ba804dffb2a679ce0d70252d~1..47b604616574ded3ba804dffb2a679ce0d70252d 47b604616574ded3ba804dffb2a679ce0d70252d [false] [Pipeline] sh 22:19:39 + git log --format=format:%s -1 47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] echo 22:19:40 ========================================================= 22:19:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:40 + git log --format=format:%s -1 47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] echo 22:19:40 [semverPrep] GIT_COMMIT: 47b604616574ded3ba804dffb2a679ce0d70252d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#320) [Pipeline] echo 22:19:40 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:40 + grep -v github /etc/ssh/ssh_known_hosts 22:19:40 + [ -e /tmp/ssh_known_hosts ] 22:19:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:40 + sudo tee -a /etc/ssh/ssh_known_hosts 22:19:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:41 22:19:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:41 0.1.4: Pulling from edgex-devops/py-git-semver 22:19:41 b85a868b505f: Pulling fs layer 22:19:41 e2be974225ed: Pulling fs layer 22:19:41 339a4e72a1f5: Pulling fs layer 22:19:41 988bab9f4d93: Pulling fs layer 22:19:41 1469e6f7b9e6: Pulling fs layer 22:19:41 eaf3925da568: Pulling fs layer 22:19:41 bab4dde63d76: Pulling fs layer 22:19:41 bde34c3a00c8: Pulling fs layer 22:19:41 b352a97aabf1: Pulling fs layer 22:19:41 988bab9f4d93: Waiting 22:19:41 eaf3925da568: Waiting 22:19:41 bab4dde63d76: Waiting 22:19:41 1469e6f7b9e6: Waiting 22:19:41 bde34c3a00c8: Waiting 22:19:41 4872d77fe225: Pulling fs layer 22:19:41 5851b861e8e6: Pulling fs layer 22:19:41 5851b861e8e6: Waiting 22:19:41 b352a97aabf1: Waiting 22:19:41 4872d77fe225: Waiting 22:19:41 e2be974225ed: Download complete 22:19:41 988bab9f4d93: Verifying Checksum 22:19:41 988bab9f4d93: Download complete 22:19:41 1469e6f7b9e6: Verifying Checksum 22:19:41 1469e6f7b9e6: Download complete 22:19:41 339a4e72a1f5: Verifying Checksum 22:19:41 339a4e72a1f5: Download complete 22:19:41 eaf3925da568: Verifying Checksum 22:19:41 eaf3925da568: Download complete 22:19:41 bde34c3a00c8: Verifying Checksum 22:19:41 bde34c3a00c8: Download complete 22:19:41 b352a97aabf1: Verifying Checksum 22:19:41 b352a97aabf1: Download complete 22:19:41 4872d77fe225: Verifying Checksum 22:19:41 4872d77fe225: Download complete 22:19:41 5851b861e8e6: Download complete 22:19:41 b85a868b505f: Verifying Checksum 22:19:41 b85a868b505f: Download complete 22:19:41 bab4dde63d76: Verifying Checksum 22:19:41 bab4dde63d76: Download complete 22:19:43 b85a868b505f: Pull complete 22:19:43 e2be974225ed: Pull complete 22:19:43 339a4e72a1f5: Pull complete 22:19:43 988bab9f4d93: Pull complete 22:19:44 1469e6f7b9e6: Pull complete 22:19:44 eaf3925da568: Pull complete 22:19:46 bab4dde63d76: Pull complete 22:19:46 bde34c3a00c8: Pull complete 22:19:46 b352a97aabf1: Pull complete 22:19:46 4872d77fe225: Pull complete 22:19:46 5851b861e8e6: Pull complete 22:19:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:46 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:50 $ docker top 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 -eo pid,comm 22:19:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:19:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:50 [ssh-agent] Looking for ssh-agent implementation... 22:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:51 $ docker exec 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 ssh-agent 22:19:51 SSH_AUTH_SOCK=/tmp/ssh-e3KxbQ6QtiIq/agent.32 22:19:51 SSH_AGENT_PID=38 22:19:51 Running ssh-add (command line suppressed) 22:19:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12943908731862862958.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12943908731862862958.key) 22:19:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:51 + git tag --points-at HEAD [Pipeline] } 22:19:51 $ docker exec --env ******** --env ******** 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 ssh-agent -k 22:19:51 unset SSH_AUTH_SOCK; 22:19:51 unset SSH_AGENT_PID; 22:19:51 echo Agent pid 38 killed; 22:19:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:51 [ssh-agent] Looking for ssh-agent implementation... 22:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:51 $ docker exec 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 ssh-agent 22:19:51 SSH_AUTH_SOCK=/tmp/ssh-iMWauihBUJQG/agent.71 22:19:51 SSH_AGENT_PID=77 22:19:51 Running ssh-add (command line suppressed) 22:19:52 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2892064161620396973.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2892064161620396973.key) 22:19:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:52 + git semver init 22:19:52 2023-05-16 22:19:52,592 [run_init] DEBUG init version:0.0.0 force:False 22:19:52 2023-05-16 22:19:52,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:19:52 2023-05-16 22:19:52,593 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:19:52 2023-05-16 22:19:52,593 [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) 22:19:54 2023-05-16 22:19:53,864 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:19:54 2023-05-16 22:19:53,865 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:19:54 2023-05-16 22:19:53,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:19:54 2023-05-16 22:19:53,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:19:54 3.0.0-dev.43 [Pipeline] } 22:19:54 $ docker exec --env ******** --env ******** 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 ssh-agent -k 22:19:54 unset SSH_AUTH_SOCK; 22:19:54 unset SSH_AGENT_PID; 22:19:54 echo Agent pid 77 killed; 22:19:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:54 + git semver [Pipeline] } 22:19:54 $ docker stop --time=1 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 22:19:56 $ docker rm -f --volumes 313d1cc67dac74ee49951e9c07300eaf09d75f81f451e484e5ddffcb7da34154 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:19:56 Stashed 1 file(s) [Pipeline] echo 22:19:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.43 [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 22:19:57 provisioning config files... 22:19:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10218416320360839458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:57 ---> docker-login.sh 22:19:57 nexus3.edgexfoundry.org:10001 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 nexus3.edgexfoundry.org:10002 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 nexus3.edgexfoundry.org:10003 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 nexus3.edgexfoundry.org:10004 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 docker.io 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 ---> docker-login.sh ends [Pipeline] } 22:19:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:58 ========================================================= 22:19:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:19:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:58 + 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 . 22:19:58 Sending build context to Docker daemon 10.92MB 22:19:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:19:58 Step 2/12 : FROM ${BASE} AS builder 22:19:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:58 f56be85fc22e: Pulling fs layer 22:19:58 85791d961cd3: Pulling fs layer 22:19:58 d694b5ae8c79: Pulling fs layer 22:19:58 9f32a84ed3da: Pulling fs layer 22:19:58 4d19c01a9841: Pulling fs layer 22:19:58 9325e15d5711: Pulling fs layer 22:19:58 556b6ee489ea: Pulling fs layer 22:19:58 c5a4b2cf53e6: Pulling fs layer 22:19:58 4d19c01a9841: Waiting 22:19:58 9f32a84ed3da: Waiting 22:19:58 9325e15d5711: Waiting 22:19:58 556b6ee489ea: Waiting 22:19:58 c5a4b2cf53e6: Waiting 22:19:58 85791d961cd3: Download complete 22:19:58 9f32a84ed3da: Verifying Checksum 22:19:58 9f32a84ed3da: Download complete 22:19:58 4d19c01a9841: Verifying Checksum 22:19:58 4d19c01a9841: Download complete 22:19:58 f56be85fc22e: Verifying Checksum 22:19:58 f56be85fc22e: Download complete 22:19:58 9325e15d5711: Verifying Checksum 22:19:58 9325e15d5711: Download complete 22:19:58 f56be85fc22e: Pull complete 22:19:58 85791d961cd3: Pull complete 22:19:59 c5a4b2cf53e6: Verifying Checksum 22:19:59 c5a4b2cf53e6: Download complete 22:19:59 d694b5ae8c79: Verifying Checksum 22:19:59 d694b5ae8c79: Download complete 22:19:59 556b6ee489ea: Verifying Checksum 22:19:59 556b6ee489ea: Download complete 22:20:02 d694b5ae8c79: Pull complete 22:20:02 9f32a84ed3da: Pull complete 22:20:02 4d19c01a9841: Pull complete 22:20:02 9325e15d5711: Pull complete 22:20:05 556b6ee489ea: Pull complete 22:20:06 c5a4b2cf53e6: Pull complete 22:20:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:20:06 ---> c4be618373d6 22:20:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:20:12 Still waiting to schedule task 22:20:12 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15786’ is offline 22:20:14 ---> Running in 0845986fa845 22:20:14 Removing intermediate container 0845986fa845 22:20:14 ---> 47f61d605ad8 22:20:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:20:14 ---> Running in dc9c8b667a6a 22:20:14 Removing intermediate container dc9c8b667a6a 22:20:14 ---> 6e8ee6afc41c 22:20:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:20:14 ---> Running in 13914e5fc9cc 22:20:14 Removing intermediate container 13914e5fc9cc 22:20:14 ---> ec5d9e7a7aef 22:20:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:20:14 ---> Running in cab31c95254a 22:20:14 Removing intermediate container cab31c95254a 22:20:14 ---> 9e713ead159f 22:20:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:14 ---> Running in 84a140746157 22:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:20:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 22:20:15 (2/4) Installing libedit (20221030.3.1-r0) 22:20:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 22:20:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 22:20:15 Executing busybox-1.35.0-r29.trigger 22:20:15 OK: 269 MiB in 57 packages 22:20:16 Removing intermediate container 84a140746157 22:20:16 ---> f7ad2c762685 22:20:16 Step 8/12 : WORKDIR /device-rest-go 22:20:16 ---> Running in 74c84d025178 22:20:16 Removing intermediate container 74c84d025178 22:20:16 ---> 82e83f5df20d 22:20:16 Step 9/12 : COPY go.mod vendor* ./ 22:20:16 ---> 803c693aa2a5 22:20:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:16 ---> Running in e4a463c4b426 22:20:48 Removing intermediate container e4a463c4b426 22:20:48 ---> 0e58d88c1093 22:20:48 Step 11/12 : COPY . . 22:20:48 ---> 08185031b0cf 22:20:48 Step 12/12 : RUN $MAKE 22:20:48 ---> Running in 36b2ddea3991 22:20:48 noop 22:20:48 Removing intermediate container 36b2ddea3991 22:20:48 ---> 5def000c60dc 22:20:48 Successfully built 5def000c60dc 22:20:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + docker inspect -f . ci-base-image-x86_64 22:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:48 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:49 $ docker top 71a332b281e71cbc4ff8fe9d3c9d0af2e48e5a138195f7666e75b76ddf1e750f -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:49 + go version 22:20:49 go version go1.20.2 linux/amd64 [Pipeline] } 22:20:49 $ docker stop --time=1 71a332b281e71cbc4ff8fe9d3c9d0af2e48e5a138195f7666e75b76ddf1e750f 22:20:50 $ docker rm -f --volumes 71a332b281e71cbc4ff8fe9d3c9d0af2e48e5a138195f7666e75b76ddf1e750f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:51 + docker inspect -f . ci-base-image-x86_64 22:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:51 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:51 $ docker top 72881436af4a0ee938b39cfcf7ee36921dba4f4ec0c8007606f011c8f8840211 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:20:52 + make test 22:20:52 go test ./... -coverprofile=coverage.out ./... 22:20:57 ? github.com/edgexfoundry/device-rest-go [no test files] 22:21:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:21:07 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 22:21:13 go vet ./... 22:21:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:16 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:16 $ docker stop --time=1 72881436af4a0ee938b39cfcf7ee36921dba4f4ec0c8007606f011c8f8840211 22:21:20 $ docker rm -f --volumes 72881436af4a0ee938b39cfcf7ee36921dba4f4ec0c8007606f011c8f8840211 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:21:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:21 + ls -al . 22:21:21 total 184 22:21:21 drwxrwxr-x 9 jenkins jenkins 4096 May 16 22:20 . 22:21:21 drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:19 .. 22:21:21 -rw-rw-r-- 1 jenkins jenkins 151 May 16 22:19 .dockerignore 22:21:21 drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:19 .git 22:21:21 drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:19 .github 22:21:21 -rw-rw-r-- 1 jenkins jenkins 329 May 16 22:19 .gitignore 22:21:21 -rw-rw-r-- 1 jenkins jenkins 41 May 16 22:19 .golangci.yml 22:21:21 drwxr-xr-x 3 jenkins jenkins 4096 May 16 22:19 .semver 22:21:21 -rw-rw-r-- 1 jenkins jenkins 9331 May 16 22:19 Attribution.txt 22:21:21 -rw-rw-r-- 1 jenkins jenkins 13085 May 16 22:19 CHANGELOG.md 22:21:21 -rw-rw-r-- 1 jenkins jenkins 1578 May 16 22:19 Dockerfile 22:21:21 -rw-rw-r-- 1 jenkins jenkins 677 May 16 22:19 GOVERNANCE.md 22:21:21 -rw-rw-r-- 1 jenkins jenkins 680 May 16 22:19 Jenkinsfile 22:21:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 22:19 LICENSE 22:21:21 -rw-rw-r-- 1 jenkins jenkins 1779 May 16 22:19 Makefile 22:21:21 -rw-rw-r-- 1 jenkins jenkins 620 May 16 22:19 OWNERS.md 22:21:21 -rw-rw-r-- 1 jenkins jenkins 15827 May 16 22:19 README.md 22:21:21 -rw-rw-r-- 1 jenkins jenkins 12 May 16 22:19 VERSION 22:21:21 drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:19 bin 22:21:21 drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:19 cmd 22:21:21 -rw-r--r-- 1 jenkins jenkins 14663 May 16 22:21 coverage.out 22:21:21 drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:19 driver 22:21:21 -rw-rw-r-- 1 jenkins jenkins 3402 May 16 22:19 go.mod 22:21:21 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 22:19 go.sum 22:21:21 drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:19 snap 22:21:21 -rw-rw-r-- 1 jenkins jenkins 713 May 16 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:22 + 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=47b604616574ded3ba804dffb2a679ce0d70252d --label arch=amd64 --label version=3.0.0-dev.43 . 22:21:22 Sending build context to Docker daemon 10.94MB 22:21:22 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:21:22 Step 2/25 : FROM ${BASE} AS builder 22:21:22 ---> 5def000c60dc 22:21:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:21:22 ---> Running in ed495801ca0d 22:21:22 Removing intermediate container ed495801ca0d 22:21:22 ---> 091417d6b2f6 22:21:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:22 ---> Running in e2c0b0bdb5ad 22:21:22 Removing intermediate container e2c0b0bdb5ad 22:21:22 ---> 95e3a0c7edba 22:21:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:21:22 ---> Running in 69c52ee79dc2 22:21:22 Removing intermediate container 69c52ee79dc2 22:21:22 ---> db0e7ad54c22 22:21:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:21:22 ---> Running in 2ef9f93804b9 22:21:22 Removing intermediate container 2ef9f93804b9 22:21:22 ---> 4e507f68f980 22:21:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:22 ---> Running in 0ec4e746fe5c 22:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:21:23 OK: 269 MiB in 57 packages 22:21:23 Removing intermediate container 0ec4e746fe5c 22:21:23 ---> 9c021e155eb9 22:21:23 Step 8/25 : WORKDIR /device-rest-go 22:21:23 ---> Running in 9546439346f9 22:21:23 Removing intermediate container 9546439346f9 22:21:23 ---> 5bfc1274b81b 22:21:23 Step 9/25 : COPY go.mod vendor* ./ 22:21:23 ---> 7df5aa62e1c4 22:21:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:23 ---> Running in 80389a24546d 22:21:24 Removing intermediate container 80389a24546d 22:21:24 ---> a808173f6e0c 22:21:24 Step 11/25 : COPY . . 22:21:25 ---> 129e0ba09049 22:21:25 Step 12/25 : RUN $MAKE 22:21:25 ---> Running in a7eb9f97046a 22:21:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:21:43 Removing intermediate container a7eb9f97046a 22:21:43 ---> 083e7b01c20d 22:21:43 Step 13/25 : FROM alpine:3.17 22:21:44 3.17: Pulling from library/alpine 22:21:44 f56be85fc22e: Already exists 22:21:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:21:44 Status: Downloaded newer image for alpine:3.17 22:21:44 ---> 9ed4aefc74f6 22:21:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:21:44 ---> Running in 46cca07c3dfb 22:21:44 Removing intermediate container 46cca07c3dfb 22:21:44 ---> 94b5a2c03506 22:21:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:21:44 ---> Running in 2e97328177d9 22:21:44 Removing intermediate container 2e97328177d9 22:21:44 ---> 89958ccbe826 22:21:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:21:44 ---> Running in 6d5e645f7a31 22:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:21:45 (1/1) Installing dumb-init (1.2.5-r2) 22:21:45 Executing busybox-1.35.0-r29.trigger 22:21:45 OK: 7 MiB in 16 packages 22:21:45 Removing intermediate container 6d5e645f7a31 22:21:45 ---> 7d906d63a5f7 22:21:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:21:46 ---> 97593bac50c7 22:21:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:21:46 ---> 47cd2c195c3c 22:21:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:21:46 ---> fe7b7a958139 22:21:46 Step 20/25 : EXPOSE 59986 22:21:46 ---> Running in 588726d13c83 22:21:46 Removing intermediate container 588726d13c83 22:21:46 ---> 43b2b374141c 22:21:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:21:46 ---> Running in 6ccc6ad16222 22:21:46 Removing intermediate container 6ccc6ad16222 22:21:46 ---> 03c9e93903ae 22:21:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:21:46 ---> Running in 9b5639e1bc9e 22:21:46 Removing intermediate container 9b5639e1bc9e 22:21:46 ---> f8e7e527077b 22:21:46 Step 23/25 : LABEL arch=amd64 22:21:46 ---> Running in 0dc06899638d 22:21:46 Removing intermediate container 0dc06899638d 22:21:46 ---> dc7cc8e5f321 22:21:46 Step 24/25 : LABEL git_sha=47b604616574ded3ba804dffb2a679ce0d70252d 22:21:46 ---> Running in 5be9cb0f33b1 22:21:46 Removing intermediate container 5be9cb0f33b1 22:21:46 ---> 1ff2986ceccf 22:21:46 Step 25/25 : LABEL version=3.0.0-dev.43 22:21:46 ---> Running in 3313f15b992c 22:21:47 Removing intermediate container 3313f15b992c 22:21:47 ---> 8df0cc9ebbef 22:21:47 [Warning] One or more build-args [ARCH] were not consumed 22:21:47 Successfully built 8df0cc9ebbef 22:21:47 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:47 provisioning config files... 22:21:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5388635282934551091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:47 ---> docker-login.sh 22:21:47 nexus3.edgexfoundry.org:10001 22:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:47 Configure a credential helper to remove this warning. See 22:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:47 22:21:47 Login Succeeded 22:21:47 nexus3.edgexfoundry.org:10002 22:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:47 Configure a credential helper to remove this warning. See 22:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:47 22:21:47 Login Succeeded 22:21:47 nexus3.edgexfoundry.org:10003 22:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:47 Configure a credential helper to remove this warning. See 22:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:47 22:21:47 Login Succeeded 22:21:47 nexus3.edgexfoundry.org:10004 22:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:47 Configure a credential helper to remove this warning. See 22:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:47 22:21:47 Login Succeeded 22:21:47 docker.io 22:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:48 Configure a credential helper to remove this warning. See 22:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:48 22:21:48 Login Succeeded 22:21:48 ---> docker-login.sh ends [Pipeline] } 22:21:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:21:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:48 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:21:48 47b604616574ded3ba804dffb2a679ce0d70252d 22:21:48 latest 22:21:48 3.0.0-dev.43 22:21:48 47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:21:48 main 22:21:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d 22:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:48 89b82c012cfa: Preparing 22:21:48 aa60e71095ed: Preparing 22:21:48 0de6bf703b72: Preparing 22:21:48 b117fec56410: Preparing 22:21:48 f1417ff83b31: Preparing 22:21:48 f1417ff83b31: Layer already exists 22:21:48 b117fec56410: Pushed 22:21:48 aa60e71095ed: Pushed 22:21:48 89b82c012cfa: Pushed 22:21:51 0de6bf703b72: Pushed 22:21:51 47b604616574ded3ba804dffb2a679ce0d70252d: digest: sha256:8b18deaa0e7b1690b67768a7848bfa9239fce4966157cf17cfda3247489db3d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:21:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:51 89b82c012cfa: Preparing 22:21:51 aa60e71095ed: Preparing 22:21:51 0de6bf703b72: Preparing 22:21:51 b117fec56410: Preparing 22:21:51 f1417ff83b31: Preparing 22:21:51 aa60e71095ed: Layer already exists 22:21:51 89b82c012cfa: Layer already exists 22:21:51 0de6bf703b72: Layer already exists 22:21:51 b117fec56410: Layer already exists 22:21:51 f1417ff83b31: Layer already exists 22:21:51 latest: digest: sha256:8b18deaa0e7b1690b67768a7848bfa9239fce4966157cf17cfda3247489db3d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.43 22:21:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:52 89b82c012cfa: Preparing 22:21:52 aa60e71095ed: Preparing 22:21:52 0de6bf703b72: Preparing 22:21:52 b117fec56410: Preparing 22:21:52 f1417ff83b31: Preparing 22:21:52 f1417ff83b31: Layer already exists 22:21:52 0de6bf703b72: Layer already exists 22:21:52 aa60e71095ed: Layer already exists 22:21:52 b117fec56410: Layer already exists 22:21:52 89b82c012cfa: Layer already exists 22:21:52 3.0.0-dev.43: digest: sha256:8b18deaa0e7b1690b67768a7848bfa9239fce4966157cf17cfda3247489db3d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:21:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:53 89b82c012cfa: Preparing 22:21:53 aa60e71095ed: Preparing 22:21:53 0de6bf703b72: Preparing 22:21:53 b117fec56410: Preparing 22:21:53 f1417ff83b31: Preparing 22:21:53 89b82c012cfa: Layer already exists 22:21:53 f1417ff83b31: Layer already exists 22:21:53 b117fec56410: Layer already exists 22:21:53 aa60e71095ed: Layer already exists 22:21:53 0de6bf703b72: Layer already exists 22:21:53 47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43: digest: sha256:8b18deaa0e7b1690b67768a7848bfa9239fce4966157cf17cfda3247489db3d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:21:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:53 89b82c012cfa: Preparing 22:21:53 aa60e71095ed: Preparing 22:21:53 0de6bf703b72: Preparing 22:21:53 b117fec56410: Preparing 22:21:53 f1417ff83b31: Preparing 22:21:53 89b82c012cfa: Layer already exists 22:21:53 b117fec56410: Layer already exists 22:21:53 aa60e71095ed: Layer already exists 22:21:53 0de6bf703b72: Layer already exists 22:21:53 f1417ff83b31: Layer already exists 22:21:53 main: digest: sha256:8b18deaa0e7b1690b67768a7848bfa9239fce4966157cf17cfda3247489db3d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:21:53 ===================================================== [Pipeline] echo 22:21:53 taggedImages: 22:21:53 - nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d 22:21:53 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:21:53 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.43 22:21:53 - nexus3.edgexfoundry.org:10004/device-rest:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:21:53 - 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 22:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:54 22:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:54 latest: Pulling from edgex-lftools-log-publisher 22:21:54 5eb5b503b376: Pulling fs layer 22:21:54 5c69ac0246d0: Pulling fs layer 22:21:54 ec43610c2a17: Pulling fs layer 22:21:54 3a2ae6a8a46f: Pulling fs layer 22:21:54 33b1e0a273af: Pulling fs layer 22:21:54 5d3b04190fa2: Pulling fs layer 22:21:54 2f39f015ded8: Pulling fs layer 22:21:54 5d3b04190fa2: Waiting 22:21:54 2f39f015ded8: Waiting 22:21:54 33b1e0a273af: Waiting 22:21:54 3a2ae6a8a46f: Waiting 22:21:54 5c69ac0246d0: Verifying Checksum 22:21:54 5c69ac0246d0: Download complete 22:21:54 3a2ae6a8a46f: Verifying Checksum 22:21:54 3a2ae6a8a46f: Download complete 22:21:54 33b1e0a273af: Verifying Checksum 22:21:54 33b1e0a273af: Download complete 22:21:54 5d3b04190fa2: Verifying Checksum 22:21:54 5d3b04190fa2: Download complete 22:21:54 ec43610c2a17: Verifying Checksum 22:21:54 ec43610c2a17: Download complete 22:21:54 5eb5b503b376: Download complete 22:21:55 2f39f015ded8: Download complete 22:21:55 5eb5b503b376: Pull complete 22:21:55 5c69ac0246d0: Pull complete 22:21:56 ec43610c2a17: Pull complete 22:21:56 3a2ae6a8a46f: Pull complete 22:21:56 33b1e0a273af: Pull complete 22:21:56 5d3b04190fa2: Pull complete 22:22:01 2f39f015ded8: Pull complete 22:22:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:01 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:22:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:22:06 $ docker top 5d3350b7f744ab5fe1fffe6cda1fd5eb1d187aed2655a51885bbc7331658f47c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:06 ---> job-cost.sh 22:22:06 lf-activate-venv: SKIPPING 22:22:06 INFO: No Stack... 22:22:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:07 INFO: Archiving Costs [Pipeline] sh 22:22:07 + cut -d, -f6 22:22:07 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 22:22:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] 22:22:07 Resource [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] did not exist. Created. 22:22:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:08 + echo total: 0.2199999988079071 [Pipeline] stash 22:22:08 Stashed 1 file(s) [Pipeline] } 22:22:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:08 $ docker stop --time=1 5d3350b7f744ab5fe1fffe6cda1fd5eb1d187aed2655a51885bbc7331658f47c 22:22:09 $ docker rm -f --volumes 5d3350b7f744ab5fe1fffe6cda1fd5eb1d187aed2655a51885bbc7331658f47c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:22:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15790 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:22:43 Running in /w/workspace/device-rest-go/115 [Pipeline] { [Pipeline] checkout 22:22:43 The recommended git tool is: git 22:22:49 using credential edgex-jenkins-ssh 22:22:49 Cloning the remote Git repository 22:22:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:22:49 > git init /w/workspace/device-rest-go/115 # timeout=10 22:22:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:22:49 > git --version # timeout=10 22:22:49 > git --version # 'git version 2.25.1' 22:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:22:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:52 Avoid second fetch 22:22:52 Checking out Revision 47b604616574ded3ba804dffb2a679ce0d70252d (main) 22:22:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#320)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:52 > git config core.sparsecheckout # timeout=10 22:22:52 > git checkout -f 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 22:22:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:22:54 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:54 Dload Upload Total Spent Left Speed 22:22:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 22:22:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:22:55 + sudo tee /etc/docker/daemon.new 22:22:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:22:55 { 22:22:55 "registry-mirrors": [ 22:22:55 "https://nexus3.edgexfoundry.org:10001" 22:22:55 ], 22:22:55 "bip": "10.250.0.254/24", 22:22:55 "hosts": [ 22:22:55 "tcp://0.0.0.0:5555", 22:22:55 "unix:///var/run/docker.sock" 22:22:55 ], 22:22:55 "mtu": 1458, 22:22:55 "selinux-enabled": true, 22:22:55 "seccomp-profile": "/etc/docker/seccomp.json" 22:22:55 } [Pipeline] sh 22:22:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:22:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:14 provisioning config files... 22:23:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/115@tmp/config6050815453287017908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:14 ---> docker-login.sh 22:23:14 nexus3.edgexfoundry.org:10001 22:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:15 Configure a credential helper to remove this warning. See 22:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:15 22:23:15 Login Succeeded 22:23:15 nexus3.edgexfoundry.org:10002 22:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:15 Configure a credential helper to remove this warning. See 22:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:15 22:23:15 Login Succeeded 22:23:15 nexus3.edgexfoundry.org:10003 22:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:16 Configure a credential helper to remove this warning. See 22:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:16 22:23:16 Login Succeeded 22:23:16 nexus3.edgexfoundry.org:10004 22:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:16 Configure a credential helper to remove this warning. See 22:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:16 22:23:16 Login Succeeded 22:23:16 docker.io 22:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:17 Configure a credential helper to remove this warning. See 22:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:17 22:23:17 Login Succeeded 22:23:17 ---> docker-login.sh ends [Pipeline] } 22:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:17 ========================================================= 22:23:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:23:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:17 + 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 . 22:23:17 Sending build context to Docker daemon 139.3kB 22:23:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:23:18 Step 2/12 : FROM ${BASE} AS builder 22:23:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:23:18 c41833b44d91: Pulling fs layer 22:23:18 ed15518f5707: Pulling fs layer 22:23:18 feae8fd75edb: Pulling fs layer 22:23:18 242c74f7c9fa: Pulling fs layer 22:23:18 3cdef696dda3: Pulling fs layer 22:23:18 2ced38df9373: Pulling fs layer 22:23:18 58f1dce35555: Pulling fs layer 22:23:18 3cdef696dda3: Waiting 22:23:18 2ced38df9373: Waiting 22:23:18 58f1dce35555: Waiting 22:23:18 242c74f7c9fa: Waiting 22:23:18 ed15518f5707: Verifying Checksum 22:23:18 ed15518f5707: Download complete 22:23:18 242c74f7c9fa: Verifying Checksum 22:23:18 242c74f7c9fa: Download complete 22:23:18 3cdef696dda3: Verifying Checksum 22:23:18 3cdef696dda3: Download complete 22:23:18 c41833b44d91: Verifying Checksum 22:23:18 c41833b44d91: Download complete 22:23:19 c41833b44d91: Pull complete 22:23:20 58f1dce35555: Verifying Checksum 22:23:20 58f1dce35555: Download complete 22:23:20 ed15518f5707: Pull complete 22:23:21 feae8fd75edb: Verifying Checksum 22:23:21 feae8fd75edb: Download complete 22:23:21 2ced38df9373: Verifying Checksum 22:23:21 2ced38df9373: Download complete 22:23:33 feae8fd75edb: Pull complete 22:23:33 242c74f7c9fa: Pull complete 22:23:33 3cdef696dda3: Pull complete 22:23:40 2ced38df9373: Pull complete 22:23:43 58f1dce35555: Pull complete 22:23:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:23:43 ---> fadd8f120f05 22:23:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:23:45 ---> Running in 3461c0be1b2f 22:23:45 Removing intermediate container 3461c0be1b2f 22:23:45 ---> 174436500275 22:23:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:45 ---> Running in 6c316632e2a6 22:23:45 Removing intermediate container 6c316632e2a6 22:23:45 ---> 01e291608923 22:23:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:23:46 ---> Running in b038cae78617 22:23:46 Removing intermediate container b038cae78617 22:23:46 ---> 24266d014c32 22:23:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:23:46 ---> Running in c9d68a454128 22:23:46 Removing intermediate container c9d68a454128 22:23:46 ---> 75b2d7ddb579 22:23:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:23:46 ---> Running in 6762a3050c2f 22:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:23:49 (1/4) Installing openssh-keygen (9.1_p1-r3) 22:23:49 (2/4) Installing libedit (20221030.3.1-r0) 22:23:49 (3/4) Installing openssh-client-common (9.1_p1-r3) 22:23:50 (4/4) Installing openssh-client-default (9.1_p1-r3) 22:23:50 Executing busybox-1.35.0-r29.trigger 22:23:50 OK: 268 MiB in 57 packages 22:23:51 Removing intermediate container 6762a3050c2f 22:23:51 ---> 627b53ba5ee9 22:23:51 Step 8/12 : WORKDIR /device-rest-go 22:23:51 ---> Running in 2e0692d6d706 22:23:51 Removing intermediate container 2e0692d6d706 22:23:51 ---> 8780e3dcd376 22:23:51 Step 9/12 : COPY go.mod vendor* ./ 22:23:52 ---> f37081a717cf 22:23:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:52 ---> Running in cf8af0b63c75 22:25:00 Removing intermediate container cf8af0b63c75 22:25:00 ---> 90aff960f929 22:25:00 Step 11/12 : COPY . . 22:25:00 ---> bef79e372405 22:25:00 Step 12/12 : RUN $MAKE 22:25:00 ---> Running in 42734a4cf953 22:25:00 noop 22:25:00 Removing intermediate container 42734a4cf953 22:25:00 ---> 608a52bf78fe 22:25:00 Successfully built 608a52bf78fe 22:25:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:00 + docker inspect -f . ci-base-image-arm64 22:25:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:00 prd-ubuntu20.04-docker-arm64-4c-16g-15790 does not seem to be running inside a container 22:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/115 -v /w/workspace/device-rest-go/115:/w/workspace/device-rest-go/115:rw,z -v /w/workspace/device-rest-go/115@tmp:/w/workspace/device-rest-go/115@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 22:25:02 $ docker top a0b86ffec775fc9b378c786cd68c7451b4c8dd1ccdaaf38107fed1f61d198829 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:03 + go version 22:25:03 go version go1.20.2 linux/arm64 [Pipeline] } 22:25:03 $ docker stop --time=1 a0b86ffec775fc9b378c786cd68c7451b4c8dd1ccdaaf38107fed1f61d198829 22:25:04 $ docker rm -f --volumes a0b86ffec775fc9b378c786cd68c7451b4c8dd1ccdaaf38107fed1f61d198829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:05 + docker inspect -f . ci-base-image-arm64 22:25:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:05 prd-ubuntu20.04-docker-arm64-4c-16g-15790 does not seem to be running inside a container 22:25:05 $ 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/115 -v /w/workspace/device-rest-go/115:/w/workspace/device-rest-go/115:rw,z -v /w/workspace/device-rest-go/115@tmp:/w/workspace/device-rest-go/115@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 22:25:07 $ docker top 23d3b3250643f3bb81ad05d30df3ccfeb2f1d204692154f956731b805228c7d4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:07 + git config --global --add safe.directory /w/workspace/device-rest-go/115 [Pipeline] fileExists [Pipeline] sh 22:25:08 + make test 22:25:08 go test ./... -coverprofile=coverage.out ./... 22:25:47 ? github.com/edgexfoundry/device-rest-go [no test files] 22:27:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:27:54 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 32.2% of statements 22:27:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:27:54 go vet ./... 22:28:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:28:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:28:21 ./bin/test-attribution-txt.sh [Pipeline] echo 22:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:28:21 $ docker stop --time=1 23d3b3250643f3bb81ad05d30df3ccfeb2f1d204692154f956731b805228c7d4 22:28:23 $ docker rm -f --volumes 23d3b3250643f3bb81ad05d30df3ccfeb2f1d204692154f956731b805228c7d4 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:28:24 Warning: overwriting stash ‘coverage-report’ 22:28:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:28:25 + ls -al . 22:28:25 total 180 22:28:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:25 . 22:28:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:22 .. 22:28:25 -rw-rw-r-- 1 jenkins jenkins 151 May 16 22:22 .dockerignore 22:28:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:22 .git 22:28:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:22 .github 22:28:25 -rw-rw-r-- 1 jenkins jenkins 329 May 16 22:22 .gitignore 22:28:25 -rw-rw-r-- 1 jenkins jenkins 41 May 16 22:22 .golangci.yml 22:28:25 -rw-rw-r-- 1 jenkins jenkins 9331 May 16 22:22 Attribution.txt 22:28:25 -rw-rw-r-- 1 jenkins jenkins 13085 May 16 22:22 CHANGELOG.md 22:28:25 -rw-rw-r-- 1 jenkins jenkins 1578 May 16 22:22 Dockerfile 22:28:25 -rw-rw-r-- 1 jenkins jenkins 677 May 16 22:22 GOVERNANCE.md 22:28:25 -rw-rw-r-- 1 jenkins jenkins 680 May 16 22:22 Jenkinsfile 22:28:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 22:22 LICENSE 22:28:25 -rw-rw-r-- 1 jenkins jenkins 1779 May 16 22:22 Makefile 22:28:25 -rw-rw-r-- 1 jenkins jenkins 620 May 16 22:22 OWNERS.md 22:28:25 -rw-rw-r-- 1 jenkins jenkins 15827 May 16 22:22 README.md 22:28:25 -rw-rw-r-- 1 jenkins jenkins 12 May 16 22:19 VERSION 22:28:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:22 bin 22:28:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:22 cmd 22:28:25 -rw-r--r-- 1 jenkins jenkins 14663 May 16 22:27 coverage.out 22:28:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:22 driver 22:28:25 -rw-rw-r-- 1 jenkins jenkins 3402 May 16 22:22 go.mod 22:28:25 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 22:22 go.sum 22:28:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:22 snap 22:28:25 -rw-rw-r-- 1 jenkins jenkins 713 May 16 22:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:26 + 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=47b604616574ded3ba804dffb2a679ce0d70252d --label arch=arm64 --label version=3.0.0-dev.43 . 22:28:26 Sending build context to Docker daemon 154.6kB 22:28:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:28:26 Step 2/25 : FROM ${BASE} AS builder 22:28:26 ---> 608a52bf78fe 22:28:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:28:26 ---> Running in 02b7ca7fc819 22:28:26 Removing intermediate container 02b7ca7fc819 22:28:26 ---> 6755570635eb 22:28:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:28:26 ---> Running in 151911c36090 22:28:27 Removing intermediate container 151911c36090 22:28:27 ---> d3a1ff98697c 22:28:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:28:27 ---> Running in 1a2d7e752b9b 22:28:27 Removing intermediate container 1a2d7e752b9b 22:28:27 ---> e9057d4beda3 22:28:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:28:27 ---> Running in ec9f28521fca 22:28:28 Removing intermediate container ec9f28521fca 22:28:28 ---> 724486f5b0b3 22:28:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:28 ---> Running in 39efdbf0c693 22:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:28:31 OK: 268 MiB in 57 packages 22:28:32 Removing intermediate container 39efdbf0c693 22:28:32 ---> ce0d3b523e53 22:28:32 Step 8/25 : WORKDIR /device-rest-go 22:28:32 ---> Running in 4b3760c1ed2d 22:28:32 Removing intermediate container 4b3760c1ed2d 22:28:32 ---> 55fe472e30a2 22:28:32 Step 9/25 : COPY go.mod vendor* ./ 22:28:33 ---> a4bbbf7ab33d 22:28:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:33 ---> Running in 65f8551d6829 22:28:35 Removing intermediate container 65f8551d6829 22:28:35 ---> 6cdef577f282 22:28:35 Step 11/25 : COPY . . 22:28:36 ---> a680946bd41f 22:28:36 Step 12/25 : RUN $MAKE 22:28:36 ---> Running in 4490bcd6f40b 22:28:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:31:13 Removing intermediate container 4490bcd6f40b 22:31:13 ---> 1274b3cf0605 22:31:13 Step 13/25 : FROM alpine:3.17 22:31:13 3.17: Pulling from library/alpine 22:31:13 c41833b44d91: Already exists 22:31:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:31:13 Status: Downloaded newer image for alpine:3.17 22:31:13 ---> 51e60588ff2c 22:31:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:31:13 ---> Running in ca85b22bf83f 22:31:13 Removing intermediate container ca85b22bf83f 22:31:13 ---> 0d1211bb1659 22:31:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:31:13 ---> Running in 7492e039ab01 22:31:13 Removing intermediate container 7492e039ab01 22:31:13 ---> b5af9b00e5b3 22:31:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:31:13 ---> Running in 4ec15ea49c37 22:31:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:31:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:31:13 (1/1) Installing dumb-init (1.2.5-r2) 22:31:13 Executing busybox-1.35.0-r29.trigger 22:31:13 OK: 8 MiB in 16 packages 22:31:13 Removing intermediate container 4ec15ea49c37 22:31:13 ---> b38c9d074243 22:31:13 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:31:13 ---> a5583b67ce48 22:31:13 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:31:13 ---> 5802e9380ab2 22:31:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:31:13 ---> 88358b7a0a52 22:31:13 Step 20/25 : EXPOSE 59986 22:31:13 ---> Running in b0de8aea7a98 22:31:13 Removing intermediate container b0de8aea7a98 22:31:13 ---> 41872179b830 22:31:13 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:31:13 ---> Running in 9efa6c508aa9 22:31:13 Removing intermediate container 9efa6c508aa9 22:31:13 ---> deb6ee81a03a 22:31:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:31:13 ---> Running in d06c2db8c108 22:31:13 Removing intermediate container d06c2db8c108 22:31:13 ---> d8171cf808b1 22:31:13 Step 23/25 : LABEL arch=arm64 22:31:13 ---> Running in 2e9e3c857b22 22:31:13 Removing intermediate container 2e9e3c857b22 22:31:13 ---> c5b5f6b7e43b 22:31:13 Step 24/25 : LABEL git_sha=47b604616574ded3ba804dffb2a679ce0d70252d 22:31:13 ---> Running in a77aa6489252 22:31:13 Removing intermediate container a77aa6489252 22:31:13 ---> ccdf6fedb44d 22:31:13 Step 25/25 : LABEL version=3.0.0-dev.43 22:31:13 ---> Running in 86947fbebcf1 22:31:13 Removing intermediate container 86947fbebcf1 22:31:13 ---> 36779bacc4bc 22:31:13 [Warning] One or more build-args [ARCH] were not consumed 22:31:13 Successfully built 36779bacc4bc 22:31:13 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 22:31:14 provisioning config files... 22:31:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/115@tmp/config17701000164719368727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:14 ---> docker-login.sh 22:31:14 nexus3.edgexfoundry.org:10001 22:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:14 Configure a credential helper to remove this warning. See 22:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:14 22:31:14 Login Succeeded 22:31:14 nexus3.edgexfoundry.org:10002 22:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:14 Configure a credential helper to remove this warning. See 22:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:14 22:31:14 Login Succeeded 22:31:14 nexus3.edgexfoundry.org:10003 22:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:15 Configure a credential helper to remove this warning. See 22:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:15 22:31:15 Login Succeeded 22:31:15 nexus3.edgexfoundry.org:10004 22:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:15 Configure a credential helper to remove this warning. See 22:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:15 22:31:15 Login Succeeded 22:31:15 docker.io 22:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:16 Configure a credential helper to remove this warning. See 22:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:16 22:31:16 Login Succeeded 22:31:16 ---> docker-login.sh ends [Pipeline] } 22:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:16 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:31:16 47b604616574ded3ba804dffb2a679ce0d70252d 22:31:16 latest 22:31:16 3.0.0-dev.43 22:31:16 47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:31:16 main 22:31:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d 22:31:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:31:17 7ce5cbaef7cb: Preparing 22:31:17 5ec67f269111: Preparing 22:31:17 2c8bb8f9b7b4: Preparing 22:31:17 b795743b4e96: Preparing 22:31:17 26cbea5cba74: Preparing 22:31:17 26cbea5cba74: Layer already exists 22:31:17 5ec67f269111: Pushed 22:31:17 7ce5cbaef7cb: Pushed 22:31:17 b795743b4e96: Pushed 22:31:22 2c8bb8f9b7b4: Pushed 22:31:22 47b604616574ded3ba804dffb2a679ce0d70252d: digest: sha256:09eb882f39366b8c263421699df01aaec47697e2fb1683aa811f71adce8e686f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:31:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:31:23 7ce5cbaef7cb: Preparing 22:31:23 5ec67f269111: Preparing 22:31:23 2c8bb8f9b7b4: Preparing 22:31:23 b795743b4e96: Preparing 22:31:23 26cbea5cba74: Preparing 22:31:23 2c8bb8f9b7b4: Layer already exists 22:31:23 b795743b4e96: Layer already exists 22:31:23 7ce5cbaef7cb: Layer already exists 22:31:23 26cbea5cba74: Layer already exists 22:31:23 5ec67f269111: Layer already exists 22:31:23 latest: digest: sha256:09eb882f39366b8c263421699df01aaec47697e2fb1683aa811f71adce8e686f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.43 22:31:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:31:24 7ce5cbaef7cb: Preparing 22:31:24 5ec67f269111: Preparing 22:31:24 2c8bb8f9b7b4: Preparing 22:31:24 b795743b4e96: Preparing 22:31:24 26cbea5cba74: Preparing 22:31:24 b795743b4e96: Layer already exists 22:31:24 2c8bb8f9b7b4: Layer already exists 22:31:24 7ce5cbaef7cb: Layer already exists 22:31:24 26cbea5cba74: Layer already exists 22:31:24 5ec67f269111: Layer already exists 22:31:24 3.0.0-dev.43: digest: sha256:09eb882f39366b8c263421699df01aaec47697e2fb1683aa811f71adce8e686f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:31:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:31:25 7ce5cbaef7cb: Preparing 22:31:25 5ec67f269111: Preparing 22:31:25 2c8bb8f9b7b4: Preparing 22:31:25 b795743b4e96: Preparing 22:31:25 26cbea5cba74: Preparing 22:31:25 b795743b4e96: Layer already exists 22:31:25 7ce5cbaef7cb: Layer already exists 22:31:25 5ec67f269111: Layer already exists 22:31:25 26cbea5cba74: Layer already exists 22:31:25 2c8bb8f9b7b4: Layer already exists 22:31:25 47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43: digest: sha256:09eb882f39366b8c263421699df01aaec47697e2fb1683aa811f71adce8e686f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:31:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:31:26 7ce5cbaef7cb: Preparing 22:31:26 5ec67f269111: Preparing 22:31:26 2c8bb8f9b7b4: Preparing 22:31:26 b795743b4e96: Preparing 22:31:26 26cbea5cba74: Preparing 22:31:26 2c8bb8f9b7b4: Layer already exists 22:31:26 26cbea5cba74: Layer already exists 22:31:26 7ce5cbaef7cb: Layer already exists 22:31:26 b795743b4e96: Layer already exists 22:31:26 5ec67f269111: Layer already exists 22:31:26 main: digest: sha256:09eb882f39366b8c263421699df01aaec47697e2fb1683aa811f71adce8e686f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:31:26 ===================================================== [Pipeline] echo 22:31:26 taggedImages: 22:31:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d 22:31:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:31:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.43 22:31:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:47b604616574ded3ba804dffb2a679ce0d70252d-3.0.0-dev.43 22:31:26 - 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 22:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:26 22:31:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:27 arm64: Pulling from edgex-lftools-log-publisher 22:31:27 8998bd30e6a1: Pulling fs layer 22:31:27 04944245beec: Pulling fs layer 22:31:27 699f458cf7ca: Pulling fs layer 22:31:27 765212b225bb: Pulling fs layer 22:31:27 f23df028b6ca: Pulling fs layer 22:31:27 d65c8cfc05b1: Pulling fs layer 22:31:27 2437ff75d9bd: Pulling fs layer 22:31:27 d65c8cfc05b1: Waiting 22:31:27 765212b225bb: Waiting 22:31:27 f23df028b6ca: Waiting 22:31:27 04944245beec: Verifying Checksum 22:31:27 04944245beec: Download complete 22:31:27 765212b225bb: Verifying Checksum 22:31:27 765212b225bb: Download complete 22:31:27 f23df028b6ca: Verifying Checksum 22:31:27 f23df028b6ca: Download complete 22:31:27 d65c8cfc05b1: Verifying Checksum 22:31:27 d65c8cfc05b1: Download complete 22:31:27 699f458cf7ca: Verifying Checksum 22:31:27 699f458cf7ca: Download complete 22:31:27 8998bd30e6a1: Verifying Checksum 22:31:27 8998bd30e6a1: Download complete 22:31:29 2437ff75d9bd: Verifying Checksum 22:31:29 2437ff75d9bd: Download complete 22:31:31 8998bd30e6a1: Pull complete 22:31:31 04944245beec: Pull complete 22:31:33 699f458cf7ca: Pull complete 22:31:33 765212b225bb: Pull complete 22:31:33 f23df028b6ca: Pull complete 22:31:34 d65c8cfc05b1: Pull complete 22:31:46 2437ff75d9bd: Pull complete 22:31:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:46 prd-ubuntu20.04-docker-arm64-4c-16g-15790 does not seem to be running inside a container 22:31:46 $ 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/115 -v /w/workspace/device-rest-go/115:/w/workspace/device-rest-go/115:rw,z -v /w/workspace/device-rest-go/115@tmp:/w/workspace/device-rest-go/115@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 22:31:49 $ docker top 12ad3db6686a8d4043184ead5231710c151eab4027570588b278aa398e65f84a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:49 ---> job-cost.sh 22:31:50 lf-activate-venv: SKIPPING 22:31:50 INFO: No Stack... 22:31:50 INFO: Retrieving Pricing Info for: v3-standard-4 22:31:51 INFO: Archiving Costs [Pipeline] sh 22:31:51 + cut -d, -f6 22:31:51 + cat /w/workspace/device-rest-go/115/archives/cost.csv [Pipeline] lock 22:31:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] 22:31:51 Resource [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] did not exist. Created. 22:31:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:52 /w/workspace/device-rest-go/115@tmp/durable-c72e72bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:31:53 + echo total: 0.10999999940395355 [Pipeline] stash 22:31:53 Warning: overwriting stash ‘stack-cost’ 22:31:53 Stashed 1 file(s) [Pipeline] } 22:31:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:53 $ docker stop --time=1 12ad3db6686a8d4043184ead5231710c151eab4027570588b278aa398e65f84a 22:31:54 $ docker rm -f --volumes 12ad3db6686a8d4043184ead5231710c151eab4027570588b278aa398e65f84a [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 22:31:55 provisioning config files... 22:31:55 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17603082734900119658tmp [Pipeline] { [Pipeline] sh 22:31:55 + set +x 22:31:55 + curl -s https://codecov.io/bash 22:31:55 + bash -s -- 22:31:55 22:31:55 _____ _ 22:31:55 / ____| | | 22:31:55 | | ___ __| | ___ ___ _____ __ 22:31:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:31:55 | |___| (_) | (_| | __/ (_| (_) \ V / 22:31:55 \_____\___/ \__,_|\___|\___\___/ \_/ 22:31:55 Bash-1.0.6 22:31:55 22:31:55 22:31:55 ==> git version 2.25.1 found 22:31:55 ==> 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 22:31:55 Release-Date: 2020-01-08 22:31:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:31:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:31:55 ==> Jenkins CI detected. 22:31:55 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:31:55 project root: . 22:31:55 --> token set from env 22:31:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:31:55 ==> Running gcov in . (disable via -X gcov) 22:31:55 ==> Python coveragepy not found 22:31:55 ==> Searching for coverage reports in: 22:31:55 + . 22:31:55 -> Found 1 reports 22:31:55 ==> Detecting git/mercurial file structure 22:31:55 ==> Reading reports 22:31:55 + ./coverage.out bytes=14663 22:31:55 ==> Appending adjustments 22:31:55 https://docs.codecov.io/docs/fixing-reports 22:31:55 + Found adjustments 22:31:55 ==> Gzipping contents 22:31:55 4.0K /tmp/codecov.NLxDHD.gz 22:31:55 ==> Uploading reports 22:31:55 url: https://codecov.io 22:31:55 query: branch=main&commit=47b604616574ded3ba804dffb2a679ce0d70252d&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:55 -> Pinging Codecov 22:31:55 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=47b604616574ded3ba804dffb2a679ce0d70252d&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:56 -> Uploading to 22:31:56 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/47b604616574ded3ba804dffb2a679ce0d70252d/0d6e1b89-a719-488f-869d-e7d074859cc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T223155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=057bf6c71348e15ed2660dcd251942c8f15a03fc157dd0f9883c5525009f5c31 22:31:56 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:56 Dload Upload Total Spent Left Speed 22:31:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11784 --:--:-- --:--:-- --:--:-- 11839 22:31:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] } 22:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:31:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:31:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:56 22:31:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:31:56 df9b9388f04a: Pulling fs layer 22:31:56 52dc419b0ee2: Pulling fs layer 22:31:56 25bc292e5bac: Pulling fs layer 22:31:56 114826534d7a: Pulling fs layer 22:31:56 4657fd5d0bcf: Pulling fs layer 22:31:56 6ad1cebc031e: Pulling fs layer 22:31:56 8a3aa393b2d8: Pulling fs layer 22:31:56 4657fd5d0bcf: Waiting 22:31:56 6ad1cebc031e: Waiting 22:31:56 8a3aa393b2d8: Waiting 22:31:56 114826534d7a: Waiting 22:31:56 25bc292e5bac: Verifying Checksum 22:31:56 25bc292e5bac: Download complete 22:31:56 52dc419b0ee2: Download complete 22:31:56 4657fd5d0bcf: Verifying Checksum 22:31:56 4657fd5d0bcf: Download complete 22:31:57 df9b9388f04a: Download complete 22:31:57 df9b9388f04a: Pull complete 22:31:57 6ad1cebc031e: Download complete 22:31:57 52dc419b0ee2: Pull complete 22:31:57 25bc292e5bac: Pull complete 22:31:57 114826534d7a: Verifying Checksum 22:31:57 114826534d7a: Download complete 22:31:57 8a3aa393b2d8: Verifying Checksum 22:31:57 8a3aa393b2d8: Download complete 22:32:01 114826534d7a: Pull complete 22:32:01 4657fd5d0bcf: Pull complete 22:32:01 6ad1cebc031e: Pull complete 22:32:03 8a3aa393b2d8: Pull complete 22:32:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:32:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:04 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:32:09 $ docker top ca01cfe63749332d443a8461cdb4b7d2df56f6002f08ce933c8f0ea7545e8c7e -eo pid,comm [Pipeline] { [Pipeline] echo 22:32:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:32:09 + set -o pipefail 22:32:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:32:13 22:32:13 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:32:13 22:32:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/6bdcf0a0-7a03-497d-b0fc-5a19bef454a7 22:32:13 22:32:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:32:13 22:32:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:32:13 22:32:13 22:32:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:32:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:32:13 More details here: https://snyk.co/ue1NS [Pipeline] } 22:32:13 $ docker stop --time=1 ca01cfe63749332d443a8461cdb4b7d2df56f6002f08ce933c8f0ea7545e8c7e 22:32:17 $ docker rm -f --volumes ca01cfe63749332d443a8461cdb4b7d2df56f6002f08ce933c8f0ea7545e8c7e [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 22:32:18 + git log --format=format:%s -1 47b604616574ded3ba804dffb2a679ce0d70252d [Pipeline] sh 22:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:19 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:32:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:32:19 $ docker top 1097f9ac01400eb11544cfbe0ba96f600e5de8a214071de69445355b0dbb7c10 -eo pid,comm 22:32:19 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). 22:32:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:19 [ssh-agent] Looking for ssh-agent implementation... 22:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:20 $ docker exec 1097f9ac01400eb11544cfbe0ba96f600e5de8a214071de69445355b0dbb7c10 ssh-agent 22:32:20 SSH_AUTH_SOCK=/tmp/ssh-btBGMeyRQDnv/agent.14 22:32:20 SSH_AGENT_PID=20 22:32:20 Running ssh-add (command line suppressed) 22:32:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11581671763115340116.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11581671763115340116.key) 22:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:20 + git semver tag 22:32:21 2023-05-16 22:32:20,880 [run_tag] DEBUG tag force:False 22:32:21 2023-05-16 22:32:20,880 [check_head_tag] DEBUG check head tag 22:32:21 2023-05-16 22:32:20,883 [execute] INFO git cat-file --batch-check 22:32:21 2023-05-16 22:32:20,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:32:21 2023-05-16 22:32:20,888 [execute] INFO git cat-file --batch 22:32:21 2023-05-16 22:32:20,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:32:21 2023-05-16 22:32:20,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:32:21 2023-05-16 22:32:20,934 [execute] INFO git tag -a v3.0.0-dev.43 -m v3.0.0-dev.43 22:32:21 2023-05-16 22:32:20,934 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.43', '-m', 'v3.0.0-dev.43'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:32:21 2023-05-16 22:32:20,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:32:21 3.0.0-dev.43 [Pipeline] } 22:32:21 $ docker exec --env ******** --env ******** 1097f9ac01400eb11544cfbe0ba96f600e5de8a214071de69445355b0dbb7c10 ssh-agent -k 22:32:21 unset SSH_AUTH_SOCK; 22:32:21 unset SSH_AGENT_PID; 22:32:21 echo Agent pid 20 killed; 22:32:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:21 + git semver [Pipeline] } 22:32:21 $ docker stop --time=1 1097f9ac01400eb11544cfbe0ba96f600e5de8a214071de69445355b0dbb7c10 22:32:23 $ docker rm -f --volumes 1097f9ac01400eb11544cfbe0ba96f600e5de8a214071de69445355b0dbb7c10 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:32:23 22:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:32:24 0.23.1-centos7: Pulling from edgex-lftools 22:32:24 ab5ef0e58194: Pulling fs layer 22:32:24 9712f1f96733: Pulling fs layer 22:32:24 63f879dbbcfc: Pulling fs layer 22:32:24 0d9ebad4ef96: Pulling fs layer 22:32:24 e9a5061849ea: Pulling fs layer 22:32:24 d747dcd14b5f: Pulling fs layer 22:32:24 2de7ff778b66: Pulling fs layer 22:32:24 e9a5061849ea: Waiting 22:32:24 2de7ff778b66: Waiting 22:32:24 0d9ebad4ef96: Waiting 22:32:24 d747dcd14b5f: Waiting 22:32:24 9712f1f96733: Verifying Checksum 22:32:24 9712f1f96733: Download complete 22:32:25 63f879dbbcfc: Verifying Checksum 22:32:25 63f879dbbcfc: Download complete 22:32:25 0d9ebad4ef96: Verifying Checksum 22:32:25 0d9ebad4ef96: Download complete 22:32:25 ab5ef0e58194: Verifying Checksum 22:32:25 ab5ef0e58194: Download complete 22:32:25 d747dcd14b5f: Verifying Checksum 22:32:25 d747dcd14b5f: Download complete 22:32:25 e9a5061849ea: Verifying Checksum 22:32:25 e9a5061849ea: Download complete 22:32:25 2de7ff778b66: Verifying Checksum 22:32:25 2de7ff778b66: Download complete 22:32:27 ab5ef0e58194: Pull complete 22:32:28 9712f1f96733: Pull complete 22:32:29 63f879dbbcfc: Pull complete 22:32:33 0d9ebad4ef96: Pull complete 22:32:34 e9a5061849ea: Pull complete 22:32:34 d747dcd14b5f: Pull complete 22:32:35 2de7ff778b66: Pull complete 22:32:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:32:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:36 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:32:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:32:52 $ docker top ddbdd214ce23ec19937d89ad2617285828253be5bf5407af6628814a9a754152 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:32:52 provisioning config files... 22:32:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8131571641130784666tmp 22:32:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12110586790123163661tmp 22:32:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3990227458176238112tmp [Pipeline] { [Pipeline] echo 22:32:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:32:52 ---> sigul-configuration.sh 22:32:52 gpg: directory `/root/.gnupg' created 22:32:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:32:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:32:52 gpg: keyring `/root/.gnupg/secring.gpg' created 22:32:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:32:52 gpg: CAST5 encrypted data 22:32:52 gpg: encrypted with 1 passphrase 22:32:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:32:52 + mkdir /home/jenkins 22:32:52 + mkdir /home/jenkins/sigul [Pipeline] sh 22:32:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:32:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:32:53 ---> sigul-install.sh 22:32:53 Sigul already installed; skipping installation. [Pipeline] sh 22:32:53 + git tag --list 22:32:53 v1.0.0 22:32:53 v1.1.0 22:32:53 v1.1.1 22:32:53 v1.1.2 22:32:53 v1.2.0 22:32:53 v1.2.1 22:32:53 v2.0.0 22:32:53 v2.1.0 22:32:53 v2.1.1 22:32:53 v2.1.1-dev.1 22:32:53 v2.1.1-dev.2 22:32:53 v2.1.1-dev.3 22:32:53 v2.2.0 22:32:53 v2.2.1-dev.1 22:32:53 v2.2.1-dev.2 22:32:53 v2.2.1-dev.3 22:32:53 v2.2.1-dev.4 22:32:53 v2.2.1-dev.5 22:32:53 v2.2.1-dev.6 22:32:53 v2.2.1-dev.7 22:32:53 v2.2.1-dev.8 22:32:53 v2.2.1-dev.9 22:32:53 v2.3.0 22:32:53 v2.3.0-dev.10 22:32:53 v2.3.0-dev.11 22:32:53 v2.3.0-dev.12 22:32:53 v2.3.0-dev.13 22:32:53 v2.3.0-dev.14 22:32:53 v2.3.0-dev.15 22:32:53 v2.3.0-dev.16 22:32:53 v2.3.0-dev.17 22:32:53 v2.3.0-dev.18 22:32:53 v2.3.0-dev.19 22:32:53 v2.3.0-dev.20 22:32:53 v2.3.0-dev.21 22:32:53 v2.3.0-dev.22 22:32:53 v2.3.0-dev.23 22:32:53 v2.3.0-dev.24 22:32:53 v2.3.0-dev.25 22:32:53 v2.3.0-dev.9 22:32:53 v3.0.0-dev.1 22:32:53 v3.0.0-dev.10 22:32:53 v3.0.0-dev.11 22:32:53 v3.0.0-dev.12 22:32:53 v3.0.0-dev.13 22:32:53 v3.0.0-dev.14 22:32:53 v3.0.0-dev.15 22:32:53 v3.0.0-dev.16 22:32:53 v3.0.0-dev.17 22:32:53 v3.0.0-dev.18 22:32:53 v3.0.0-dev.19 22:32:53 v3.0.0-dev.2 22:32:53 v3.0.0-dev.20 22:32:53 v3.0.0-dev.21 22:32:53 v3.0.0-dev.22 22:32:53 v3.0.0-dev.23 22:32:53 v3.0.0-dev.24 22:32:53 v3.0.0-dev.25 22:32:53 v3.0.0-dev.26 22:32:53 v3.0.0-dev.27 22:32:53 v3.0.0-dev.28 22:32:53 v3.0.0-dev.29 22:32:53 v3.0.0-dev.3 22:32:53 v3.0.0-dev.30 22:32:53 v3.0.0-dev.31 22:32:53 v3.0.0-dev.32 22:32:53 v3.0.0-dev.33 22:32:53 v3.0.0-dev.34 22:32:53 v3.0.0-dev.35 22:32:53 v3.0.0-dev.36 22:32:53 v3.0.0-dev.37 22:32:53 v3.0.0-dev.38 22:32:53 v3.0.0-dev.39 22:32:53 v3.0.0-dev.4 22:32:53 v3.0.0-dev.40 22:32:53 v3.0.0-dev.41 22:32:53 v3.0.0-dev.42 22:32:53 v3.0.0-dev.43 22:32:53 v3.0.0-dev.5 22:32:53 v3.0.0-dev.6 22:32:53 v3.0.0-dev.7 22:32:53 v3.0.0-dev.8 22:32:53 v3.0.0-dev.9 [Pipeline] sh 22:32:53 + lftools sign git-tag v3.0.0-dev.43 22:32:54 Signing Git tag with Sigul... 22:32:54 Signing v3.0.0-dev.43 [Pipeline] echo 22:32:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:32:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:32:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:32:55 $ docker stop --time=1 ddbdd214ce23ec19937d89ad2617285828253be5bf5407af6628814a9a754152 22:32:57 $ docker rm -f --volumes ddbdd214ce23ec19937d89ad2617285828253be5bf5407af6628814a9a754152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:32:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:58 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:32:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:32:59 $ docker top 1cddf5386a376e25cc4dbee16c855027873373387f46d8a73bc3044289a12b71 -eo pid,comm 22:32:59 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). 22:32:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:59 [ssh-agent] Looking for ssh-agent implementation... 22:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:59 $ docker exec 1cddf5386a376e25cc4dbee16c855027873373387f46d8a73bc3044289a12b71 ssh-agent 22:32:59 SSH_AUTH_SOCK=/tmp/ssh-JEHUVpsnhKhM/agent.14 22:32:59 SSH_AGENT_PID=20 22:32:59 Running ssh-add (command line suppressed) 22:32:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11457972886128636753.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11457972886128636753.key) 22:32:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:00 + git semver bump pre 22:33:00 2023-05-16 22:33:00,259 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:33:00 2023-05-16 22:33:00,259 [bump_version] DEBUG bumping version:3.0.0-dev.43 on axis:pre with prefix:dev 22:33:00 2023-05-16 22:33:00,259 [bump_version] DEBUG bumped version:3.0.0-dev.44 22:33:00 2023-05-16 22:33:00,259 [write_version] DEBUG write version:3.0.0-dev.44 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:33:00 2023-05-16 22:33:00,259 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:33:00 2023-05-16 22:33:00,259 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:33:00 2023-05-16 22:33:00,261 [execute] INFO git cat-file --batch-check 22:33:00 2023-05-16 22:33:00,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:00 2023-05-16 22:33:00,266 [execute] INFO git cat-file --batch 22:33:00 2023-05-16 22:33:00,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:00 2023-05-16 22:33:00,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:33:00 3.0.0-dev.44 [Pipeline] } 22:33:00 $ docker exec --env ******** --env ******** 1cddf5386a376e25cc4dbee16c855027873373387f46d8a73bc3044289a12b71 ssh-agent -k 22:33:00 unset SSH_AUTH_SOCK; 22:33:00 unset SSH_AGENT_PID; 22:33:00 echo Agent pid 20 killed; 22:33:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:00 + git semver [Pipeline] } 22:33:01 $ docker stop --time=1 1cddf5386a376e25cc4dbee16c855027873373387f46d8a73bc3044289a12b71 22:33:02 $ docker rm -f --volumes 1cddf5386a376e25cc4dbee16c855027873373387f46d8a73bc3044289a12b71 [Pipeline] // withDockerContainer [Pipeline] sh 22:33:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:03 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:33:04 $ docker top 19b75a442168432adeb03dd065a1a0420967180d3d281aee255b37cc2b9a7fba -eo pid,comm 22:33:04 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). 22:33:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:04 [ssh-agent] Looking for ssh-agent implementation... 22:33:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:04 $ docker exec 19b75a442168432adeb03dd065a1a0420967180d3d281aee255b37cc2b9a7fba ssh-agent 22:33:04 SSH_AUTH_SOCK=/tmp/ssh-4bwaqXSdPUi8/agent.14 22:33:04 SSH_AGENT_PID=27 22:33:04 Running ssh-add (command line suppressed) 22:33:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9861808881197116876.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9861808881197116876.key) 22:33:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:05 + git semver push 22:33:05 2023-05-16 22:33:05,571 [run_push] DEBUG push 22:33:05 2023-05-16 22:33:05,572 [execute] INFO git cat-file --batch-check 22:33:05 2023-05-16 22:33:05,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:05 2023-05-16 22:33:05,575 [execute] INFO git rev-list e8b19e9f3ae31fd19d1df4efcef59a2a02f10349 -- 22:33:05 2023-05-16 22:33:05,576 [execute] DEBUG Popen(['git', 'rev-list', 'e8b19e9f3ae31fd19d1df4efcef59a2a02f10349', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:05 2023-05-16 22:33:05,584 [execute] INFO git fetch -v origin 22:33:05 2023-05-16 22:33:05,584 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:33:06 2023-05-16 22:33:06,054 [run_push] DEBUG no remote changes detected 22:33:06 2023-05-16 22:33:06,054 [execute] INFO git push origin semver 22:33:06 2023-05-16 22:33:06,054 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:07 2023-05-16 22:33:06,794 [run_push] DEBUG push all version tags 22:33:07 2023-05-16 22:33:06,795 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:33:07 2023-05-16 22:33:06,796 [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) 22:33:07 2023-05-16 22:33:07,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:33:07 3.0.0-dev.44 [Pipeline] } 22:33:07 $ docker exec --env ******** --env ******** 19b75a442168432adeb03dd065a1a0420967180d3d281aee255b37cc2b9a7fba ssh-agent -k 22:33:07 unset SSH_AUTH_SOCK; 22:33:07 unset SSH_AGENT_PID; 22:33:07 echo Agent pid 27 killed; 22:33:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:08 + git semver [Pipeline] } 22:33:08 $ docker stop --time=1 19b75a442168432adeb03dd065a1a0420967180d3d281aee255b37cc2b9a7fba 22:33:09 $ docker rm -f --volumes 19b75a442168432adeb03dd065a1a0420967180d3d281aee255b37cc2b9a7fba [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 22:33:10 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:33:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:33:10 total 16 22:33:10 drwxr-xr-x 3 root root 4096 May 16 22:22 . 22:33:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 22:32 .. 22:33:10 drwxr-xr-x 2 root root 4096 May 16 22:22 cost 22:33:10 -rw-r--r-- 1 root root 86 May 16 22:22 cost.csv 22:33:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:33:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:33:10 total 16 22:33:10 drwxr-xr-x 3 jenkins jenkins 4096 May 16 22:22 . 22:33:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 22:32 .. 22:33:10 drwxr-xr-x 2 jenkins jenkins 4096 May 16 22:22 cost 22:33:10 -rw-r--r-- 1 jenkins jenkins 86 May 16 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:33:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:33:11 ---> package-listing.sh 22:33:11 ++ facter osfamily 22:33:11 ++ tr '[:upper:]' '[:lower:]' 22:33:11 + OS_FAMILY=debian 22:33:11 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:33:11 + START_PACKAGES=/tmp/packages_start.txt 22:33:11 + END_PACKAGES=/tmp/packages_end.txt 22:33:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:33:11 + PACKAGES=/tmp/packages_start.txt 22:33:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:33:11 + PACKAGES=/tmp/packages_end.txt 22:33:11 + case "${OS_FAMILY}" in 22:33:11 + dpkg -l 22:33:11 + grep '^ii' 22:33:11 + '[' -f /tmp/packages_start.txt ']' 22:33:11 + '[' -f /tmp/packages_end.txt ']' 22:33:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:33:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:33:11 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:33:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:33:11 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 22:33:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:12 prd-ubuntu20.04-docker-8c-8g-15785 does not seem to be running inside a container 22:33:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:33:12 $ docker top 6cf62dc8a8926bf3f46ec30dcfc017076fc274ba28064173602ef9047c0950f6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:13 + touch /tmp/pre-build-complete [Pipeline] sh 22:33:13 + mkdir -p /var/log/sysstat [Pipeline] sh 22:33:13 + ls /var/log/sa-host 22:33:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:13 provisioning config files... 22:33:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4612212442830951295tmp [Pipeline] { [Pipeline] echo 22:33:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:33:14 ---> create-netrc.sh [Pipeline] } 22:33:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:33:14 ---> python-tools-install.sh [Pipeline] echo 22:33:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:33:14 ---> sudo-logs.sh 22:33:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:33:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:33:15 ---> job-cost.sh 22:33:15 lf-activate-venv: SKIPPING 22:33:15 DEBUG: total: 0.2199999988079071 22:33:15 INFO: Retrieving Stack Cost... 22:33:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:33:16 INFO: Archiving Costs [Pipeline] echo 22:33:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:33:16 ---> logs-deploy.sh 22:33:16 lf-activate-venv: SKIPPING 22:33:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/115 22:33:16 INFO: archiving workspace using pattern(s): 22:33:17 Archives upload complete. 22:33:17 INFO: archiving logs to Nexus