Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a515b494e7404baf3466ef0a37ba3fb32cb96e53 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-ssh9806474470313903905.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17482336975243615253.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3884444349110771209.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3339014758884970744.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-ssh10111674864263469455.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7239 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 a515b494e7404baf3466ef0a37ba3fb32cb96e53 (main) > 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 a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/create-release" > git rev-list --no-walk 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:22 ========================================================= 20:57:22 EdgeX Global Pipelines Version Info 20:57:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:22 ------------------- 20:57:22 stable info: 20:57:22 ------------------- 20:57:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:22 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:57:22 Message: update stable to v1.0.254 20:57:23 ------------------- 20:57:23 experimental info: 20:57:23 ------------------- 20:57:23 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:23 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:57:23 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a515b49 [Pipeline] echo 20:57:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:24 provisioning config files... 20:57:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7143979814153653253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:24 ---> docker-login.sh 20:57:24 nexus3.edgexfoundry.org:10001 20:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:24 Configure a credential helper to remove this warning. See 20:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:24 20:57:24 Login Succeeded 20:57:24 nexus3.edgexfoundry.org:10002 20:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:24 Configure a credential helper to remove this warning. See 20:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:24 20:57:24 Login Succeeded 20:57:24 nexus3.edgexfoundry.org:10003 20:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:25 Configure a credential helper to remove this warning. See 20:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:25 20:57:25 Login Succeeded 20:57:25 nexus3.edgexfoundry.org:10004 20:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:25 Configure a credential helper to remove this warning. See 20:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:25 20:57:25 Login Succeeded 20:57:25 docker.io 20:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:25 Configure a credential helper to remove this warning. See 20:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:25 20:57:25 Login Succeeded 20:57:25 ---> docker-login.sh ends [Pipeline] } 20:57:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:25 + git rev-list -1 --merges a515b494e7404baf3466ef0a37ba3fb32cb96e53~1..a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo 20:57:25 -----------> git rev-list -1 --merges a515b494e7404baf3466ef0a37ba3fb32cb96e53~1..a515b494e7404baf3466ef0a37ba3fb32cb96e53 a515b494e7404baf3466ef0a37ba3fb32cb96e53 20:57:25 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [false] [Pipeline] sh 20:57:25 + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo 20:57:25 ========================================================= 20:57:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:26 + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] echo 20:57:26 [semverPrep] GIT_COMMIT: a515b494e7404baf3466ef0a37ba3fb32cb96e53, Commit Message: Merge pull request #343 from ernestojeda/create-release [Pipeline] echo 20:57:26 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:26 + grep -v github /etc/ssh/ssh_known_hosts 20:57:26 + [ -e /tmp/ssh_known_hosts ] 20:57:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:57:26 + sudo tee -a /etc/ssh/ssh_known_hosts 20:57:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:27 20:57:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:27 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:27 b85a868b505f: Pulling fs layer 20:57:27 e2be974225ed: Pulling fs layer 20:57:27 339a4e72a1f5: Pulling fs layer 20:57:27 988bab9f4d93: Pulling fs layer 20:57:27 1469e6f7b9e6: Pulling fs layer 20:57:27 eaf3925da568: Pulling fs layer 20:57:27 bab4dde63d76: Pulling fs layer 20:57:27 bde34c3a00c8: Pulling fs layer 20:57:27 b352a97aabf1: Pulling fs layer 20:57:27 4872d77fe225: Pulling fs layer 20:57:27 5851b861e8e6: Pulling fs layer 20:57:27 bab4dde63d76: Waiting 20:57:27 bde34c3a00c8: Waiting 20:57:27 b352a97aabf1: Waiting 20:57:27 4872d77fe225: Waiting 20:57:27 5851b861e8e6: Waiting 20:57:27 988bab9f4d93: Waiting 20:57:27 1469e6f7b9e6: Waiting 20:57:27 eaf3925da568: Waiting 20:57:27 e2be974225ed: Download complete 20:57:27 988bab9f4d93: Download complete 20:57:27 1469e6f7b9e6: Verifying Checksum 20:57:27 1469e6f7b9e6: Download complete 20:57:27 339a4e72a1f5: Verifying Checksum 20:57:27 339a4e72a1f5: Download complete 20:57:27 eaf3925da568: Verifying Checksum 20:57:27 eaf3925da568: Download complete 20:57:27 bde34c3a00c8: Verifying Checksum 20:57:27 bde34c3a00c8: Download complete 20:57:27 b352a97aabf1: Verifying Checksum 20:57:27 b352a97aabf1: Download complete 20:57:27 4872d77fe225: Download complete 20:57:27 5851b861e8e6: Verifying Checksum 20:57:27 5851b861e8e6: Download complete 20:57:27 b85a868b505f: Verifying Checksum 20:57:27 b85a868b505f: Download complete 20:57:27 bab4dde63d76: Verifying Checksum 20:57:27 bab4dde63d76: Download complete 20:57:28 b85a868b505f: Pull complete 20:57:28 e2be974225ed: Pull complete 20:57:29 339a4e72a1f5: Pull complete 20:57:29 988bab9f4d93: Pull complete 20:57:29 1469e6f7b9e6: Pull complete 20:57:29 eaf3925da568: Pull complete 20:57:31 bab4dde63d76: Pull complete 20:57:31 bde34c3a00c8: Pull complete 20:57:31 b352a97aabf1: Pull complete 20:57:31 4872d77fe225: Pull complete 20:57:31 5851b861e8e6: Pull complete 20:57:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:31 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 20:57:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:57:35 $ docker top a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 -eo pid,comm 20:57:35 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). 20:57:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:35 [ssh-agent] Looking for ssh-agent implementation... 20:57:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:35 $ docker exec a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent 20:57:35 SSH_AUTH_SOCK=/tmp/ssh-LJyDvQEWtQWw/agent.32 20:57:35 SSH_AGENT_PID=38 20:57:35 Running ssh-add (command line suppressed) 20:57:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9825841469274675389.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9825841469274675389.key) 20:57:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:35 + git tag --points-at HEAD [Pipeline] } 20:57:36 $ docker exec --env ******** --env ******** a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent -k 20:57:36 unset SSH_AUTH_SOCK; 20:57:36 unset SSH_AGENT_PID; 20:57:36 echo Agent pid 38 killed; 20:57:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:36 [ssh-agent] Looking for ssh-agent implementation... 20:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:36 $ docker exec a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent 20:57:36 SSH_AUTH_SOCK=/tmp/ssh-9QBumyf8Ikay/agent.70 20:57:36 SSH_AGENT_PID=76 20:57:36 Running ssh-add (command line suppressed) 20:57:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13814668598304555933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13814668598304555933.key) 20:57:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:36 + git semver init 20:57:37 2023-09-20 20:57:37,217 [run_init] DEBUG init version:0.0.0 force:False 20:57:37 2023-09-20 20:57:37,218 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:57:37 2023-09-20 20:57:37,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:57:37 2023-09-20 20:57:37,219 [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) 20:57:37 2023-09-20 20:57:38,174 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:57:37 2023-09-20 20:57:38,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:57:37 2023-09-20 20:57:38,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:57:37 2023-09-20 20:57:38,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:57:37 3.1.0-dev.16 [Pipeline] } 20:57:38 $ docker exec --env ******** --env ******** a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 ssh-agent -k 20:57:38 unset SSH_AUTH_SOCK; 20:57:38 unset SSH_AGENT_PID; 20:57:38 echo Agent pid 76 killed; 20:57:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:38 + git semver [Pipeline] } 20:57:38 $ docker stop --time=1 a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 20:57:40 $ docker rm -f --volumes a644a7eeb6bfaf14cbf7d42a7a6a99100a4130f0a4c6411d59ac346f7a7f5a30 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:40 Stashed 1 file(s) [Pipeline] echo 20:57:40 [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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 20:57:40 provisioning config files... 20:57:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14441944762370376555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:41 ---> docker-login.sh 20:57:41 nexus3.edgexfoundry.org:10001 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 nexus3.edgexfoundry.org:10002 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 nexus3.edgexfoundry.org:10003 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 nexus3.edgexfoundry.org:10004 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 docker.io 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 ---> docker-login.sh ends [Pipeline] } 20:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 ========================================================= 20:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:57:41 Sending build context to Docker daemon 10.91MB 20:57:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:57:41 Step 2/12 : FROM ${BASE} AS builder 20:57:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:41 7264a8db6415: Pulling fs layer 20:57:41 c4d48a809fc2: Pulling fs layer 20:57:41 4f1c88b9dad5: Pulling fs layer 20:57:41 ad3a456e5733: Pulling fs layer 20:57:41 33e27b845d1e: Pulling fs layer 20:57:41 c68163c4e522: Pulling fs layer 20:57:41 50da416c3ac9: Pulling fs layer 20:57:41 23d2d4c4bb30: Pulling fs layer 20:57:41 33e27b845d1e: Waiting 20:57:41 ad3a456e5733: Waiting 20:57:41 50da416c3ac9: Waiting 20:57:41 23d2d4c4bb30: Waiting 20:57:42 c4d48a809fc2: Verifying Checksum 20:57:42 c4d48a809fc2: Download complete 20:57:42 ad3a456e5733: Verifying Checksum 20:57:42 ad3a456e5733: Download complete 20:57:42 33e27b845d1e: Verifying Checksum 20:57:42 33e27b845d1e: Download complete 20:57:42 7264a8db6415: Verifying Checksum 20:57:42 7264a8db6415: Download complete 20:57:42 c68163c4e522: Verifying Checksum 20:57:42 c68163c4e522: Download complete 20:57:42 7264a8db6415: Pull complete 20:57:42 c4d48a809fc2: Pull complete 20:57:42 23d2d4c4bb30: Verifying Checksum 20:57:42 23d2d4c4bb30: Download complete 20:57:42 4f1c88b9dad5: Verifying Checksum 20:57:42 4f1c88b9dad5: Download complete 20:57:43 50da416c3ac9: Verifying Checksum 20:57:43 50da416c3ac9: Download complete 20:57:46 4f1c88b9dad5: Pull complete 20:57:46 ad3a456e5733: Pull complete 20:57:46 33e27b845d1e: Pull complete 20:57:46 c68163c4e522: Pull complete 20:57:48 50da416c3ac9: Pull complete 20:57:48 23d2d4c4bb30: Pull complete 20:57:48 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:57:48 ---> 0786185ac409 20:57:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:53 ---> Running in 55ae98d20240 20:57:53 Removing intermediate container 55ae98d20240 20:57:53 ---> ffc12267bf7c 20:57:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:53 ---> Running in 8a867a80f840 20:57:53 Removing intermediate container 8a867a80f840 20:57:53 ---> c76688318867 20:57:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:57:53 ---> Running in f4f09da1b0b7 20:57:53 Removing intermediate container f4f09da1b0b7 20:57:53 ---> c6edb2a8e23d 20:57:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:53 ---> Running in 989c85910d64 20:57:53 Removing intermediate container 989c85910d64 20:57:53 ---> 013d14070a44 20:57:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:53 ---> Running in 0424373432b5 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:57:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:57:53 (2/4) Installing libedit (20221030.3.1-r1) 20:57:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:57:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:57:53 Executing busybox-1.36.1-r2.trigger 20:57:53 OK: 268 MiB in 56 packages 20:57:54 Removing intermediate container 0424373432b5 20:57:54 ---> 7df63272e89d 20:57:54 Step 8/12 : WORKDIR /device-rest-go 20:57:54 ---> Running in e80283bc3520 20:57:54 Removing intermediate container e80283bc3520 20:57:54 ---> 0cf8629cfe17 20:57:54 Step 9/12 : COPY go.mod vendor* ./ 20:57:54 ---> a8a7c02bc0ba 20:57:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:54 ---> Running in 5ec703c2e0a0 20:57:55 Still waiting to schedule task 20:57:55 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-8c-8g-7244’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-8c-8g-7245’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-8c-8g-7247’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-8c-8g-7248’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7237’ is offline 20:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7240’ is offline 20:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7241’ is offline 20:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7242’ is offline 20:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7243’ is offline 20:58:27 Removing intermediate container 5ec703c2e0a0 20:58:27 ---> 907ebb7974ac 20:58:27 Step 11/12 : COPY . . 20:58:27 ---> 8ffe357845a7 20:58:27 Step 12/12 : RUN $MAKE 20:58:27 ---> Running in 3d83c3b5217f 20:58:27 noop 20:58:27 Removing intermediate container 3d83c3b5217f 20:58:27 ---> 9799b38b84a5 20:58:27 Successfully built 9799b38b84a5 20:58:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker inspect -f . ci-base-image-x86_64 20:58:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:27 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 20:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:28 $ docker top 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:28 + go version 20:58:28 go version go1.21.0 linux/amd64 [Pipeline] } 20:58:28 $ docker stop --time=1 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 20:58:29 $ docker rm -f --volumes 7d747055973bb350477ef211054fec84bb0f9d9cf302fbe48c34f93df8467c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:30 + docker inspect -f . ci-base-image-x86_64 20:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:30 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 20:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:30 $ docker top b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:58:31 + make test 20:58:31 go test ./... -coverprofile=coverage.out ./... 20:58:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:58:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:58:42 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 20:58:49 go vet ./... 20:58:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:53 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:58:53 $ docker stop --time=1 b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e 20:58:57 $ docker rm -f --volumes b5acd12a7d9d80c40ce7de27a9c3b9727b43d4b0b1251bab4f20f3bd6835b07e [Pipeline] // withDockerContainer [Pipeline] sh 20:58:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:58 + ls -al . 20:58:58 total 188 20:58:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:58 . 20:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 .. 20:58:58 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:57 .dockerignore 20:58:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git 20:58:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 .github 20:58:58 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:57 .gitignore 20:58:58 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:57 .golangci.yml 20:58:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:57 .semver 20:58:58 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:57 Attribution.txt 20:58:58 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:57 CHANGELOG.md 20:58:58 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:57 Dockerfile 20:58:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:57 GOVERNANCE.md 20:58:58 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:57 Jenkinsfile 20:58:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:57 LICENSE 20:58:58 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:57 Makefile 20:58:58 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:57 OWNERS.md 20:58:58 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:57 README.md 20:58:58 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION 20:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 bin 20:58:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 cmd 20:58:58 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:58 coverage.out 20:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 driver 20:58:58 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:57 go.mod 20:58:58 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:57 go.sum 20:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 snap 20:58:58 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:58 + 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53 --label arch=amd64 --label version=3.1.0-dev.16 . 20:58:58 Sending build context to Docker daemon 10.92MB 20:58:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:58:58 Step 2/25 : FROM ${BASE} AS builder 20:58:58 ---> 9799b38b84a5 20:58:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:58:58 ---> Running in 75f469750445 20:58:58 Removing intermediate container 75f469750445 20:58:58 ---> 32e40d4df715 20:58:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:58 ---> Running in 5c5906f188dc 20:58:59 Removing intermediate container 5c5906f188dc 20:58:59 ---> ee34c2a72885 20:58:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:59 ---> Running in 2630bd292fc6 20:58:59 Removing intermediate container 2630bd292fc6 20:58:59 ---> 1687148aaddc 20:58:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:58:59 ---> Running in b1c19be19af5 20:58:59 Removing intermediate container b1c19be19af5 20:58:59 ---> 8ce9cdb17896 20:58:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:59 ---> Running in 4530b58ecb55 20:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:59 OK: 268 MiB in 56 packages 20:59:00 Removing intermediate container 4530b58ecb55 20:59:00 ---> 5726c7fe577d 20:59:00 Step 8/25 : WORKDIR /device-rest-go 20:59:00 ---> Running in e5b2a0561a79 20:59:00 Removing intermediate container e5b2a0561a79 20:59:00 ---> 01122c4e9e3d 20:59:00 Step 9/25 : COPY go.mod vendor* ./ 20:59:00 ---> a5f7feebcc3b 20:59:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:00 ---> Running in 0f008c325d4a 20:59:01 Removing intermediate container 0f008c325d4a 20:59:01 ---> 34c234133b09 20:59:01 Step 11/25 : COPY . . 20:59:01 ---> c403ac7b4f56 20:59:01 Step 12/25 : RUN $MAKE 20:59:01 ---> Running in ee0311a86f2e 20:59:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:59:19 Removing intermediate container ee0311a86f2e 20:59:19 ---> 4870f23d1648 20:59:19 Step 13/25 : FROM alpine:3.18 20:59:20 3.18: Pulling from library/alpine 20:59:20 7264a8db6415: Already exists 20:59:20 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:59:20 Status: Downloaded newer image for alpine:3.18 20:59:20 ---> 7e01a0d0a1dc 20:59:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:59:20 ---> Running in 0f47c8a4648a 20:59:20 Removing intermediate container 0f47c8a4648a 20:59:20 ---> ee2bde740ce8 20:59:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:59:20 ---> Running in 1d2a2be5336e 20:59:20 Removing intermediate container 1d2a2be5336e 20:59:20 ---> 090daa13dae9 20:59:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:59:20 ---> Running in 26416348dd0d 20:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:21 (1/1) Installing dumb-init (1.2.5-r2) 20:59:21 Executing busybox-1.36.1-r2.trigger 20:59:21 OK: 7 MiB in 16 packages 20:59:21 Removing intermediate container 26416348dd0d 20:59:21 ---> 24da900a2cae 20:59:21 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:59:22 ---> 2d677a5a9183 20:59:22 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:59:22 ---> a0fa4af17139 20:59:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:59:22 ---> 3a0bec977ac1 20:59:22 Step 20/25 : EXPOSE 59986 20:59:22 ---> Running in 6b5c337c8f5c 20:59:22 Removing intermediate container 6b5c337c8f5c 20:59:22 ---> d440d137f35e 20:59:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:59:22 ---> Running in ea92238b65a8 20:59:22 Removing intermediate container ea92238b65a8 20:59:22 ---> 0576254ec469 20:59:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:59:22 ---> Running in 4f9f6c37d0cf 20:59:22 Removing intermediate container 4f9f6c37d0cf 20:59:22 ---> 90e4f576bed7 20:59:22 Step 23/25 : LABEL arch=amd64 20:59:22 ---> Running in 33676de972fb 20:59:22 Removing intermediate container 33676de972fb 20:59:22 ---> e0667bc414c3 20:59:22 Step 24/25 : LABEL git_sha=a515b494e7404baf3466ef0a37ba3fb32cb96e53 20:59:22 ---> Running in 647d04c14176 20:59:22 Removing intermediate container 647d04c14176 20:59:22 ---> 89ada83529ed 20:59:22 Step 25/25 : LABEL version=3.1.0-dev.16 20:59:22 ---> Running in be58ae976dd5 20:59:22 Removing intermediate container be58ae976dd5 20:59:22 ---> 88aa7b5f971d 20:59:22 [Warning] One or more build-args [ARCH] were not consumed 20:59:22 Successfully built 88aa7b5f971d 20:59:22 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:23 provisioning config files... 20:59:23 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7471486769758493759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:23 ---> docker-login.sh 20:59:23 nexus3.edgexfoundry.org:10001 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 nexus3.edgexfoundry.org:10002 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 nexus3.edgexfoundry.org:10003 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 nexus3.edgexfoundry.org:10004 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 docker.io 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 ---> docker-login.sh ends [Pipeline] } 20:59:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:23 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:59:23 a515b494e7404baf3466ef0a37ba3fb32cb96e53 20:59:23 latest 20:59:23 3.1.0-dev.16 20:59:23 a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 20:59:23 main 20:59:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 20:59:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:24 e3bd0be481e5: Preparing 20:59:24 0fe0645c6d9c: Preparing 20:59:24 38d97312ab1d: Preparing 20:59:24 7654050d0d70: Preparing 20:59:24 4693057ce236: Preparing 20:59:24 4693057ce236: Layer already exists 20:59:24 7654050d0d70: Pushed 20:59:24 e3bd0be481e5: Pushed 20:59:24 0fe0645c6d9c: Pushed 20:59:27 38d97312ab1d: Pushed 20:59:27 a515b494e7404baf3466ef0a37ba3fb32cb96e53: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:28 e3bd0be481e5: Preparing 20:59:28 0fe0645c6d9c: Preparing 20:59:28 38d97312ab1d: Preparing 20:59:28 7654050d0d70: Preparing 20:59:28 4693057ce236: Preparing 20:59:28 4693057ce236: Layer already exists 20:59:28 0fe0645c6d9c: Layer already exists 20:59:28 e3bd0be481e5: Layer already exists 20:59:28 7654050d0d70: Layer already exists 20:59:28 38d97312ab1d: Layer already exists 20:59:28 latest: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 20:59:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:28 e3bd0be481e5: Preparing 20:59:28 0fe0645c6d9c: Preparing 20:59:28 38d97312ab1d: Preparing 20:59:28 7654050d0d70: Preparing 20:59:28 4693057ce236: Preparing 20:59:28 4693057ce236: Layer already exists 20:59:28 e3bd0be481e5: Layer already exists 20:59:28 38d97312ab1d: Layer already exists 20:59:28 7654050d0d70: Layer already exists 20:59:28 0fe0645c6d9c: Layer already exists 20:59:28 3.1.0-dev.16: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 20:59:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:29 e3bd0be481e5: Preparing 20:59:29 0fe0645c6d9c: Preparing 20:59:29 38d97312ab1d: Preparing 20:59:29 7654050d0d70: Preparing 20:59:29 4693057ce236: Preparing 20:59:29 7654050d0d70: Layer already exists 20:59:29 38d97312ab1d: Layer already exists 20:59:29 e3bd0be481e5: Layer already exists 20:59:29 4693057ce236: Layer already exists 20:59:29 0fe0645c6d9c: Layer already exists 20:59:29 a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:59:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:29 e3bd0be481e5: Preparing 20:59:29 0fe0645c6d9c: Preparing 20:59:29 38d97312ab1d: Preparing 20:59:29 7654050d0d70: Preparing 20:59:29 4693057ce236: Preparing 20:59:29 7654050d0d70: Layer already exists 20:59:29 0fe0645c6d9c: Layer already exists 20:59:29 e3bd0be481e5: Layer already exists 20:59:29 4693057ce236: Layer already exists 20:59:29 38d97312ab1d: Layer already exists 20:59:29 main: digest: sha256:e16520a596a387c009f35ed1e75dd9172a13ddd5333c6f1aac5609908fedadf1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:30 ===================================================== [Pipeline] echo 20:59:30 taggedImages: 20:59:30 - nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53 20:59:30 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:30 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.16 20:59:30 - nexus3.edgexfoundry.org:10004/device-rest:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 20:59:30 - 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 20:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:30 20:59:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:30 latest: Pulling from edgex-lftools-log-publisher 20:59:30 5eb5b503b376: Pulling fs layer 20:59:30 5c69ac0246d0: Pulling fs layer 20:59:30 ec43610c2a17: Pulling fs layer 20:59:30 3a2ae6a8a46f: Pulling fs layer 20:59:30 33b1e0a273af: Pulling fs layer 20:59:30 5d3b04190fa2: Pulling fs layer 20:59:30 2f39f015ded8: Pulling fs layer 20:59:30 3a2ae6a8a46f: Waiting 20:59:30 5d3b04190fa2: Waiting 20:59:30 2f39f015ded8: Waiting 20:59:30 5c69ac0246d0: Download complete 20:59:30 3a2ae6a8a46f: Download complete 20:59:30 ec43610c2a17: Verifying Checksum 20:59:30 ec43610c2a17: Download complete 20:59:30 33b1e0a273af: Verifying Checksum 20:59:30 33b1e0a273af: Download complete 20:59:30 5eb5b503b376: Verifying Checksum 20:59:30 5eb5b503b376: Download complete 20:59:31 2f39f015ded8: Download complete 20:59:32 5eb5b503b376: Pull complete 20:59:32 5c69ac0246d0: Pull complete 20:59:32 ec43610c2a17: Pull complete 20:59:32 3a2ae6a8a46f: Pull complete 20:59:32 33b1e0a273af: Pull complete 20:59:32 5d3b04190fa2: Pull complete 20:59:37 2f39f015ded8: Pull complete 20:59:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:37 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 20:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:59:41 $ docker top bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:41 ---> job-cost.sh 20:59:41 lf-activate-venv: SKIPPING 20:59:41 INFO: No Stack... 20:59:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:42 INFO: Archiving Costs [Pipeline] sh 20:59:42 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:59:42 + cut -d, -f6 [Pipeline] lock 20:59:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] 20:59:42 Resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] did not exist. Created. 20:59:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:59:43 Stashed 1 file(s) [Pipeline] } 20:59:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:43 $ docker stop --time=1 bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 20:59:44 $ docker rm -f --volumes bc9febafe71131348ad4f4e7954153eeb0b28af9b6dedb58ee851dff14ce4b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:08:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7324 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:08:03 Running in /w/workspace/device-rest-go/136 [Pipeline] { [Pipeline] checkout 21:08:03 The recommended git tool is: git 21:08:15 using credential edgex-jenkins-ssh 21:08:15 Cloning the remote Git repository 21:08:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:08:15 > git init /w/workspace/device-rest-go/136 # timeout=10 21:08:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:08:16 > git --version # timeout=10 21:08:16 > git --version # 'git version 2.25.1' 21:08:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:08:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:19 Avoid second fetch 21:08:19 Checking out Revision a515b494e7404baf3466ef0a37ba3fb32cb96e53 (main) 21:08:20 Commit message: "Merge pull request #343 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:19 > git config core.sparsecheckout # timeout=10 21:08:19 > git checkout -f a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 21:08:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:21 Dload Upload Total Spent Left Speed 21:08:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 21:08:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:22 + sudo tee /etc/docker/daemon.new 21:08:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:22 { 21:08:22 "registry-mirrors": [ 21:08:22 "https://nexus3.edgexfoundry.org:10001" 21:08:22 ], 21:08:22 "bip": "10.250.0.254/24", 21:08:22 "hosts": [ 21:08:22 "tcp://0.0.0.0:5555", 21:08:22 "unix:///var/run/docker.sock" 21:08:22 ], 21:08:22 "mtu": 1458, 21:08:22 "selinux-enabled": true, 21:08:22 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:22 } [Pipeline] sh 21:08:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:41 provisioning config files... 21:08:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/136@tmp/config12030896794317271784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:42 ---> docker-login.sh 21:08:42 nexus3.edgexfoundry.org:10001 21:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:43 Configure a credential helper to remove this warning. See 21:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:43 21:08:43 Login Succeeded 21:08:43 nexus3.edgexfoundry.org:10002 21:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:43 Configure a credential helper to remove this warning. See 21:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:43 21:08:43 Login Succeeded 21:08:43 nexus3.edgexfoundry.org:10003 21:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 nexus3.edgexfoundry.org:10004 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 docker.io 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:45 Configure a credential helper to remove this warning. See 21:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:45 21:08:45 Login Succeeded 21:08:45 ---> docker-login.sh ends [Pipeline] } 21:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:45 ========================================================= 21:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:08:46 Sending build context to Docker daemon 144.4kB 21:08:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:08:46 Step 2/12 : FROM ${BASE} AS builder 21:08:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:08:46 9fda8d8052c6: Pulling fs layer 21:08:46 5d54e960e981: Pulling fs layer 21:08:46 c4a7e357bf2a: Pulling fs layer 21:08:46 f0e02332f6b5: Pulling fs layer 21:08:46 cefa15bbcfad: Pulling fs layer 21:08:46 17808c966233: Pulling fs layer 21:08:46 f4c1fc716caa: Pulling fs layer 21:08:46 f0e02332f6b5: Waiting 21:08:46 cefa15bbcfad: Waiting 21:08:46 17808c966233: Waiting 21:08:46 f4c1fc716caa: Waiting 21:08:46 5d54e960e981: Verifying Checksum 21:08:46 5d54e960e981: Download complete 21:08:46 f0e02332f6b5: Verifying Checksum 21:08:46 f0e02332f6b5: Download complete 21:08:46 cefa15bbcfad: Verifying Checksum 21:08:46 cefa15bbcfad: Download complete 21:08:46 9fda8d8052c6: Verifying Checksum 21:08:46 9fda8d8052c6: Download complete 21:08:47 f4c1fc716caa: Verifying Checksum 21:08:47 f4c1fc716caa: Download complete 21:08:48 9fda8d8052c6: Pull complete 21:08:48 5d54e960e981: Pull complete 21:08:49 c4a7e357bf2a: Verifying Checksum 21:08:49 c4a7e357bf2a: Download complete 21:08:50 17808c966233: Verifying Checksum 21:08:50 17808c966233: Download complete 21:09:00 c4a7e357bf2a: Pull complete 21:09:01 f0e02332f6b5: Pull complete 21:09:01 cefa15bbcfad: Pull complete 21:09:09 17808c966233: Pull complete 21:09:10 f4c1fc716caa: Pull complete 21:09:10 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:09:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:10 ---> ea914061e18c 21:09:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:12 ---> Running in fb36e079cb4f 21:09:12 Removing intermediate container fb36e079cb4f 21:09:12 ---> 58e82a10adc8 21:09:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:12 ---> Running in c31c55e2ea1b 21:09:13 Removing intermediate container c31c55e2ea1b 21:09:13 ---> 2f26db188fd7 21:09:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:13 ---> Running in cb879f79322f 21:09:13 Removing intermediate container cb879f79322f 21:09:13 ---> bbb9a9c48001 21:09:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:13 ---> Running in 7064d756f6e0 21:09:14 Removing intermediate container 7064d756f6e0 21:09:14 ---> 5efb6a66c6ca 21:09:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:14 ---> Running in 39daab8279c2 21:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:09:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:09:17 (2/4) Installing libedit (20221030.3.1-r1) 21:09:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:09:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:09:17 Executing busybox-1.36.1-r2.trigger 21:09:17 OK: 270 MiB in 56 packages 21:09:18 Removing intermediate container 39daab8279c2 21:09:18 ---> 95fe3f18ef88 21:09:18 Step 8/12 : WORKDIR /device-rest-go 21:09:19 ---> Running in 63c94f22e674 21:09:20 Removing intermediate container 63c94f22e674 21:09:20 ---> 53919b5d838d 21:09:20 Step 9/12 : COPY go.mod vendor* ./ 21:09:20 ---> 9b311a9dbe0a 21:09:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:20 ---> Running in f0dbd812d0fd 21:10:42 Removing intermediate container f0dbd812d0fd 21:10:42 ---> 18c844e63b48 21:10:42 Step 11/12 : COPY . . 21:10:42 ---> a0d70fa6b57f 21:10:42 Step 12/12 : RUN $MAKE 21:10:42 ---> Running in f23809b7b1b0 21:10:42 noop 21:10:42 Removing intermediate container f23809b7b1b0 21:10:42 ---> 91640e7f8752 21:10:42 Successfully built 91640e7f8752 21:10:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker inspect -f . ci-base-image-arm64 21:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:43 prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container 21:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:44 $ docker top 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:45 + go version 21:10:45 go version go1.21.0 linux/arm64 [Pipeline] } 21:10:45 $ docker stop --time=1 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 21:10:48 $ docker rm -f --volumes 1c1dc1bb0d97b37518b173d2e2fe922e3c8319014cda579a525a89dbd44982e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:49 + docker inspect -f . ci-base-image-arm64 21:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container 21:10:49 $ 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/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:50 $ docker top baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:51 + git config --global --add safe.directory /w/workspace/device-rest-go/136 [Pipeline] fileExists [Pipeline] sh 21:10:51 + make test 21:10:51 go test ./... -coverprofile=coverage.out ./... 21:10:56 ? github.com/edgexfoundry/device-rest-go [no test files] 21:12:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:12:47 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements 21:12:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:47 go vet ./... 21:13:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:02 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:02 $ docker stop --time=1 baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 21:13:04 $ docker rm -f --volumes baa227978e7bdc350a14fa907c4df771217e923c7cda34e8233d68a847e4d926 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:07 Warning: overwriting stash ‘coverage-report’ 21:13:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:08 + ls -al . 21:13:08 total 184 21:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:10 . 21:13:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 .. 21:13:08 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 21:08 .dockerignore 21:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:08 .git 21:13:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 .github 21:13:08 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 21:08 .gitignore 21:13:08 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 21:08 .golangci.yml 21:13:08 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 21:08 Attribution.txt 21:13:08 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 21:08 CHANGELOG.md 21:13:08 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 21:08 Dockerfile 21:13:08 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 21:08 GOVERNANCE.md 21:13:08 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 21:08 Jenkinsfile 21:13:08 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 21:08 LICENSE 21:13:08 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 21:08 Makefile 21:13:08 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 21:08 OWNERS.md 21:13:08 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 21:08 README.md 21:13:08 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION 21:13:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 bin 21:13:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 cmd 21:13:08 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 21:12 coverage.out 21:13:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 driver 21:13:08 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 21:08 go.mod 21:13:08 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 21:08 go.sum 21:13:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 snap 21:13:08 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:08 + 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53 --label arch=arm64 --label version=3.1.0-dev.16 . 21:13:08 Sending build context to Docker daemon 159.7kB 21:13:08 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:13:08 Step 2/25 : FROM ${BASE} AS builder 21:13:08 ---> 91640e7f8752 21:13:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:13:08 ---> Running in 86953c755060 21:13:09 Removing intermediate container 86953c755060 21:13:09 ---> 3940d978c039 21:13:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:09 ---> Running in 832d97fb0698 21:13:09 Removing intermediate container 832d97fb0698 21:13:09 ---> b5c6a664636f 21:13:09 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:13:09 ---> Running in 8750a01519af 21:13:10 Removing intermediate container 8750a01519af 21:13:10 ---> 89515c75a83a 21:13:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:13:10 ---> Running in 5f7235ece9dd 21:13:10 Removing intermediate container 5f7235ece9dd 21:13:10 ---> f1b6a8592679 21:13:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:10 ---> Running in 4ab508f496cf 21:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:13:13 OK: 270 MiB in 56 packages 21:13:13 Removing intermediate container 4ab508f496cf 21:13:13 ---> ca652ed22fe6 21:13:13 Step 8/25 : WORKDIR /device-rest-go 21:13:13 ---> Running in 237383ed4666 21:13:14 Removing intermediate container 237383ed4666 21:13:14 ---> 72ac69eabd9b 21:13:14 Step 9/25 : COPY go.mod vendor* ./ 21:13:14 ---> 9d62b1b4c611 21:13:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:16 ---> Running in 34c820381db4 21:13:18 Removing intermediate container 34c820381db4 21:13:18 ---> fb1929442fee 21:13:18 Step 11/25 : COPY . . 21:13:18 ---> 5408f52430b8 21:13:18 Step 12/25 : RUN $MAKE 21:13:18 ---> Running in fed2d24af099 21:13:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:15:11 Removing intermediate container fed2d24af099 21:15:11 ---> f1fa05ea035d 21:15:11 Step 13/25 : FROM alpine:3.18 21:15:11 3.18: Pulling from library/alpine 21:15:11 9fda8d8052c6: Already exists 21:15:11 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:15:11 Status: Downloaded newer image for alpine:3.18 21:15:11 ---> f6648c04cd6c 21:15:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:11 ---> Running in 2be54d80fb5a 21:15:11 Removing intermediate container 2be54d80fb5a 21:15:11 ---> 1fad949fbd60 21:15:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:15:11 ---> Running in aa6ea967f22f 21:15:11 Removing intermediate container aa6ea967f22f 21:15:11 ---> 1bbaa2f78028 21:15:11 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:15:11 ---> Running in eb15d5ede9ea 21:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:12 (1/1) Installing dumb-init (1.2.5-r2) 21:15:12 Executing busybox-1.36.1-r2.trigger 21:15:12 OK: 8 MiB in 16 packages 21:15:13 Removing intermediate container eb15d5ede9ea 21:15:13 ---> 3badc95787e2 21:15:13 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:15:14 ---> 748ef7c042cf 21:15:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:15:15 ---> 2060495faa9a 21:15:15 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:15:15 ---> 28704c2432f7 21:15:15 Step 20/25 : EXPOSE 59986 21:15:15 ---> Running in a96d7e1e18ce 21:15:16 Removing intermediate container a96d7e1e18ce 21:15:16 ---> 8a556c951848 21:15:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:15:16 ---> Running in 50b8cdaabd9f 21:15:16 Removing intermediate container 50b8cdaabd9f 21:15:16 ---> 0b74ab9e3871 21:15:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:15:16 ---> Running in 1d28766f1919 21:15:16 Removing intermediate container 1d28766f1919 21:15:16 ---> 7102f15d0a5a 21:15:16 Step 23/25 : LABEL arch=arm64 21:15:16 ---> Running in cb41bf31716f 21:15:17 Removing intermediate container cb41bf31716f 21:15:17 ---> 7e1db2406519 21:15:17 Step 24/25 : LABEL git_sha=a515b494e7404baf3466ef0a37ba3fb32cb96e53 21:15:17 ---> Running in 0d341cee5364 21:15:17 Removing intermediate container 0d341cee5364 21:15:17 ---> 35115bc2b479 21:15:17 Step 25/25 : LABEL version=3.1.0-dev.16 21:15:17 ---> Running in e669df7f93aa 21:15:17 Removing intermediate container e669df7f93aa 21:15:17 ---> 9ee986bca100 21:15:17 [Warning] One or more build-args [ARCH] were not consumed 21:15:17 Successfully built 9ee986bca100 21:15:17 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:17 provisioning config files... 21:15:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/136@tmp/config482836592822896380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:18 ---> docker-login.sh 21:15:18 nexus3.edgexfoundry.org:10001 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 nexus3.edgexfoundry.org:10002 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 nexus3.edgexfoundry.org:10003 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 nexus3.edgexfoundry.org:10004 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 docker.io 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 ---> docker-login.sh ends [Pipeline] } 21:15:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:20 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:15:20 a515b494e7404baf3466ef0a37ba3fb32cb96e53 21:15:20 latest 21:15:20 3.1.0-dev.16 21:15:20 a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 21:15:20 main 21:15:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 21:15:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:20 762e2d780bd6: Preparing 21:15:20 12dc12e34fc6: Preparing 21:15:20 9b4d9f3006f4: Preparing 21:15:20 5d4aada1c179: Preparing 21:15:20 b2191e2be29d: Preparing 21:15:20 b2191e2be29d: Layer already exists 21:15:21 762e2d780bd6: Pushed 21:15:21 5d4aada1c179: Pushed 21:15:21 12dc12e34fc6: Pushed 21:15:26 9b4d9f3006f4: Pushed 21:15:26 a515b494e7404baf3466ef0a37ba3fb32cb96e53: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:27 762e2d780bd6: Preparing 21:15:27 12dc12e34fc6: Preparing 21:15:27 9b4d9f3006f4: Preparing 21:15:27 5d4aada1c179: Preparing 21:15:27 b2191e2be29d: Preparing 21:15:27 12dc12e34fc6: Layer already exists 21:15:27 9b4d9f3006f4: Layer already exists 21:15:27 762e2d780bd6: Layer already exists 21:15:27 b2191e2be29d: Layer already exists 21:15:27 5d4aada1c179: Layer already exists 21:15:27 latest: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 21:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:28 762e2d780bd6: Preparing 21:15:28 12dc12e34fc6: Preparing 21:15:28 9b4d9f3006f4: Preparing 21:15:28 5d4aada1c179: Preparing 21:15:28 b2191e2be29d: Preparing 21:15:28 b2191e2be29d: Layer already exists 21:15:28 12dc12e34fc6: Layer already exists 21:15:28 5d4aada1c179: Layer already exists 21:15:28 762e2d780bd6: Layer already exists 21:15:28 9b4d9f3006f4: Layer already exists 21:15:28 3.1.0-dev.16: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 21:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:28 762e2d780bd6: Preparing 21:15:28 12dc12e34fc6: Preparing 21:15:28 9b4d9f3006f4: Preparing 21:15:28 5d4aada1c179: Preparing 21:15:28 b2191e2be29d: Preparing 21:15:28 b2191e2be29d: Layer already exists 21:15:28 5d4aada1c179: Layer already exists 21:15:28 9b4d9f3006f4: Layer already exists 21:15:28 762e2d780bd6: Layer already exists 21:15:28 12dc12e34fc6: Layer already exists 21:15:28 a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:29 762e2d780bd6: Preparing 21:15:29 12dc12e34fc6: Preparing 21:15:29 9b4d9f3006f4: Preparing 21:15:29 5d4aada1c179: Preparing 21:15:29 b2191e2be29d: Preparing 21:15:29 762e2d780bd6: Layer already exists 21:15:29 5d4aada1c179: Layer already exists 21:15:29 9b4d9f3006f4: Layer already exists 21:15:29 b2191e2be29d: Layer already exists 21:15:29 12dc12e34fc6: Layer already exists 21:15:29 main: digest: sha256:88501966534ea06a0f5f10f80a8c202f5575a7fe1a7b126f52daf6e910dfdce6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:29 ===================================================== [Pipeline] echo 21:15:29 taggedImages: 21:15:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53 21:15:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:15:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.16 21:15:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a515b494e7404baf3466ef0a37ba3fb32cb96e53-3.1.0-dev.16 21:15:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:30 21:15:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:30 arm64: Pulling from edgex-lftools-log-publisher 21:15:30 8998bd30e6a1: Pulling fs layer 21:15:30 04944245beec: Pulling fs layer 21:15:30 699f458cf7ca: Pulling fs layer 21:15:30 765212b225bb: Pulling fs layer 21:15:30 f23df028b6ca: Pulling fs layer 21:15:30 d65c8cfc05b1: Pulling fs layer 21:15:30 2437ff75d9bd: Pulling fs layer 21:15:30 f23df028b6ca: Waiting 21:15:30 d65c8cfc05b1: Waiting 21:15:30 2437ff75d9bd: Waiting 21:15:30 765212b225bb: Waiting 21:15:30 04944245beec: Verifying Checksum 21:15:30 04944245beec: Download complete 21:15:30 765212b225bb: Verifying Checksum 21:15:30 765212b225bb: Download complete 21:15:30 f23df028b6ca: Verifying Checksum 21:15:30 f23df028b6ca: Download complete 21:15:30 d65c8cfc05b1: Verifying Checksum 21:15:30 d65c8cfc05b1: Download complete 21:15:31 699f458cf7ca: Verifying Checksum 21:15:31 699f458cf7ca: Download complete 21:15:31 8998bd30e6a1: Verifying Checksum 21:15:31 8998bd30e6a1: Download complete 21:15:33 2437ff75d9bd: Verifying Checksum 21:15:33 2437ff75d9bd: Download complete 21:15:35 8998bd30e6a1: Pull complete 21:15:35 04944245beec: Pull complete 21:15:36 699f458cf7ca: Pull complete 21:15:37 765212b225bb: Pull complete 21:15:37 f23df028b6ca: Pull complete 21:15:38 d65c8cfc05b1: Pull complete 21:15:50 2437ff75d9bd: Pull complete 21:15:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:50 prd-ubuntu20.04-docker-arm64-4c-16g-7324 does not seem to be running inside a container 21:15:50 $ 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/136 -v /w/workspace/device-rest-go/136:/w/workspace/device-rest-go/136:rw,z -v /w/workspace/device-rest-go/136@tmp:/w/workspace/device-rest-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:15:53 $ docker top 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:53 ---> job-cost.sh 21:15:53 lf-activate-venv: SKIPPING 21:15:53 INFO: No Stack... 21:15:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:15:55 INFO: Archiving Costs [Pipeline] sh 21:15:55 + cut -d, -f6 21:15:55 + cat /w/workspace/device-rest-go/136/archives/cost.csv [Pipeline] lock 21:15:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] 21:15:55 Resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] did not exist. Created. 21:15:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:56 /w/workspace/device-rest-go/136@tmp/durable-cf013c48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:15:56 + echo total: 0.10999999940395355 [Pipeline] stash 21:15:56 Warning: overwriting stash ‘stack-cost’ 21:15:56 Stashed 1 file(s) [Pipeline] } 21:15:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 21:15:56 $ docker stop --time=1 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 21:15:58 $ docker rm -f --volumes 32f9619f46cdc839a741ba46aadea5eeaea6c7091f28c8c9f916e2a92a4aeed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:15:58 provisioning config files... 21:15:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15655563528711700470tmp [Pipeline] { [Pipeline] sh 21:15:58 + set +x 21:15:58 + curl -s https://codecov.io/bash 21:15:58 + bash -s -- 21:15:58 21:15:58 _____ _ 21:15:58 / ____| | | 21:15:58 | | ___ __| | ___ ___ _____ __ 21:15:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:15:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:15:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:15:58 Bash-1.0.6 21:15:58 21:15:58 21:15:58 ==> git version 2.25.1 found 21:15:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:15:58 Release-Date: 2020-01-08 21:15:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:15:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:15:58 ==> Jenkins CI detected. 21:15:58 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:15:58 project root: . 21:15:58 --> token set from env 21:15:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:15:58 ==> Running gcov in . (disable via -X gcov) 21:15:58 ==> Python coveragepy not found 21:15:58 ==> Searching for coverage reports in: 21:15:58 + . 21:15:58 -> Found 1 reports 21:15:58 ==> Detecting git/mercurial file structure 21:15:58 ==> Reading reports 21:15:58 + ./coverage.out bytes=14499 21:15:58 ==> Appending adjustments 21:15:58 https://docs.codecov.io/docs/fixing-reports 21:15:59 + Found adjustments 21:15:59 ==> Gzipping contents 21:15:59 4.0K /tmp/codecov.cifwaP.gz 21:15:59 ==> Uploading reports 21:15:59 url: https://codecov.io 21:15:59 query: branch=main&commit=a515b494e7404baf3466ef0a37ba3fb32cb96e53&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:59 -> Pinging Codecov 21:15:59 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=a515b494e7404baf3466ef0a37ba3fb32cb96e53&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:59 -> Uploading to 21:15:59 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/a515b494e7404baf3466ef0a37ba3fb32cb96e53/3047ac37-3e0c-413a-9efd-57eed3377a75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T211558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2350a574bdf8d83822b93700899411ac992bd9ce6b0fcd23e40f1f229a825ce8 21:15:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:59 Dload Upload Total Spent Left Speed 21:16:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13260 --:--:-- --:--:-- --:--:-- 13260 21:16:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] } 21:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:16:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:16:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:00 21:16:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:16:00 df9b9388f04a: Pulling fs layer 21:16:00 52dc419b0ee2: Pulling fs layer 21:16:00 25bc292e5bac: Pulling fs layer 21:16:00 114826534d7a: Pulling fs layer 21:16:00 4657fd5d0bcf: Pulling fs layer 21:16:00 6ad1cebc031e: Pulling fs layer 21:16:00 8a3aa393b2d8: Pulling fs layer 21:16:00 114826534d7a: Waiting 21:16:00 4657fd5d0bcf: Waiting 21:16:00 8a3aa393b2d8: Waiting 21:16:00 6ad1cebc031e: Waiting 21:16:00 25bc292e5bac: Verifying Checksum 21:16:00 25bc292e5bac: Download complete 21:16:00 52dc419b0ee2: Verifying Checksum 21:16:00 52dc419b0ee2: Download complete 21:16:00 4657fd5d0bcf: Download complete 21:16:00 df9b9388f04a: Download complete 21:16:01 6ad1cebc031e: Verifying Checksum 21:16:01 6ad1cebc031e: Download complete 21:16:01 df9b9388f04a: Pull complete 21:16:01 52dc419b0ee2: Pull complete 21:16:01 25bc292e5bac: Pull complete 21:16:01 114826534d7a: Verifying Checksum 21:16:01 114826534d7a: Download complete 21:16:01 8a3aa393b2d8: Verifying Checksum 21:16:01 8a3aa393b2d8: Download complete 21:16:04 114826534d7a: Pull complete 21:16:04 4657fd5d0bcf: Pull complete 21:16:04 6ad1cebc031e: Pull complete 21:16:07 8a3aa393b2d8: Pull complete 21:16:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:07 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:16:11 $ docker top f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 -eo pid,comm [Pipeline] { [Pipeline] echo 21:16:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:16:11 + set -o pipefail 21:16:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:16:17 21:16:17 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:16:17 21:16:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/ee312f1e-a67b-4455-aeb2-e86e25161f4c 21:16:17 21:16:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:16:17 21:16:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:16:17 21:16:17 21:16:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:16:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:16:17 More details here: https://snyk.co/ue1NS [Pipeline] } 21:16:17 $ docker stop --time=1 f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 21:16:21 $ docker rm -f --volumes f71e9507156d24ec7b828bd84601238ed083f7a3bc4ba4f4e5ed776343cc1e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:22 + git log --format=format:%s -1 a515b494e7404baf3466ef0a37ba3fb32cb96e53 [Pipeline] sh 21:16:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:22 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:23 $ docker top 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 -eo pid,comm 21:16:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:23 [ssh-agent] Looking for ssh-agent implementation... 21:16:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:23 $ docker exec 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 ssh-agent 21:16:23 SSH_AUTH_SOCK=/tmp/ssh-ZTqrpTkiWyz5/agent.32 21:16:23 SSH_AGENT_PID=38 21:16:23 Running ssh-add (command line suppressed) 21:16:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3718052194524095831.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3718052194524095831.key) 21:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:23 + git semver tag 21:16:24 2023-09-20 21:16:24,010 [run_tag] DEBUG tag force:False 21:16:24 2023-09-20 21:16:24,010 [check_head_tag] DEBUG check head tag 21:16:24 2023-09-20 21:16:24,010 [execute] INFO git cat-file --batch-check 21:16:24 2023-09-20 21:16:24,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:16:24 2023-09-20 21:16:24,014 [execute] INFO git cat-file --batch 21:16:24 2023-09-20 21:16:24,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:16:24 2023-09-20 21:16:24,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:24 2023-09-20 21:16:24,025 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 21:16:24 2023-09-20 21:16:24,025 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:16:24 2023-09-20 21:16:24,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:24 3.1.0-dev.16 [Pipeline] } 21:16:24 $ docker exec --env ******** --env ******** 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 ssh-agent -k 21:16:24 unset SSH_AUTH_SOCK; 21:16:24 unset SSH_AGENT_PID; 21:16:24 echo Agent pid 38 killed; 21:16:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:25 + git semver [Pipeline] } 21:16:25 $ docker stop --time=1 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 21:16:26 $ docker rm -f --volumes 73aec6fe671285410efaae3e86bfbec92492a17864c80f287a40a2b6c804eb08 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:27 21:16:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:27 0.23.1-centos7: Pulling from edgex-lftools 21:16:27 ab5ef0e58194: Pulling fs layer 21:16:27 9712f1f96733: Pulling fs layer 21:16:27 63f879dbbcfc: Pulling fs layer 21:16:27 0d9ebad4ef96: Pulling fs layer 21:16:27 e9a5061849ea: Pulling fs layer 21:16:27 d747dcd14b5f: Pulling fs layer 21:16:27 2de7ff778b66: Pulling fs layer 21:16:27 0d9ebad4ef96: Waiting 21:16:27 e9a5061849ea: Waiting 21:16:27 2de7ff778b66: Waiting 21:16:27 d747dcd14b5f: Waiting 21:16:27 9712f1f96733: Download complete 21:16:27 63f879dbbcfc: Verifying Checksum 21:16:27 63f879dbbcfc: Download complete 21:16:28 e9a5061849ea: Verifying Checksum 21:16:28 e9a5061849ea: Download complete 21:16:28 d747dcd14b5f: Verifying Checksum 21:16:28 d747dcd14b5f: Download complete 21:16:28 0d9ebad4ef96: Verifying Checksum 21:16:28 0d9ebad4ef96: Download complete 21:16:28 ab5ef0e58194: Verifying Checksum 21:16:28 ab5ef0e58194: Download complete 21:16:28 2de7ff778b66: Verifying Checksum 21:16:28 2de7ff778b66: Download complete 21:16:30 ab5ef0e58194: Pull complete 21:16:30 9712f1f96733: Pull complete 21:16:31 63f879dbbcfc: Pull complete 21:16:34 0d9ebad4ef96: Pull complete 21:16:35 e9a5061849ea: Pull complete 21:16:35 d747dcd14b5f: Pull complete 21:16:35 2de7ff778b66: Pull complete 21:16:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:36 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:16:41 $ docker top c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:16:41 provisioning config files... 21:16:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7191362338806848967tmp 21:16:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3722492938982622511tmp 21:16:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3359803819597226350tmp [Pipeline] { [Pipeline] echo 21:16:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:16:42 ---> sigul-configuration.sh 21:16:42 gpg: directory `/root/.gnupg' created 21:16:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:16:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:16:42 gpg: keyring `/root/.gnupg/secring.gpg' created 21:16:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:16:42 gpg: CAST5 encrypted data 21:16:42 gpg: encrypted with 1 passphrase 21:16:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:16:42 + mkdir /home/jenkins 21:16:42 + mkdir /home/jenkins/sigul [Pipeline] sh 21:16:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:16:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:16:42 ---> sigul-install.sh 21:16:42 Sigul already installed; skipping installation. [Pipeline] sh 21:16:43 + git tag --list 21:16:43 v1.0.0 21:16:43 v1.1.0 21:16:43 v1.1.1 21:16:43 v1.1.2 21:16:43 v1.2.0 21:16:43 v1.2.1 21:16:43 v2.0.0 21:16:43 v2.1.0 21:16:43 v2.1.1 21:16:43 v2.2.0 21:16:43 v2.3.0 21:16:43 v3.0 21:16:43 v3.0.0 21:16:43 v3.1.0-dev.1 21:16:43 v3.1.0-dev.10 21:16:43 v3.1.0-dev.11 21:16:43 v3.1.0-dev.12 21:16:43 v3.1.0-dev.13 21:16:43 v3.1.0-dev.14 21:16:43 v3.1.0-dev.15 21:16:43 v3.1.0-dev.16 21:16:43 v3.1.0-dev.2 21:16:43 v3.1.0-dev.3 21:16:43 v3.1.0-dev.4 21:16:43 v3.1.0-dev.5 21:16:43 v3.1.0-dev.6 21:16:43 v3.1.0-dev.7 21:16:43 v3.1.0-dev.8 21:16:43 v3.1.0-dev.9 [Pipeline] sh 21:16:43 + lftools sign git-tag v3.1.0-dev.16 21:16:44 Signing Git tag with Sigul... 21:16:44 Signing v3.1.0-dev.16 [Pipeline] echo 21:16:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:16:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:16:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:16:44 $ docker stop --time=1 c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 21:16:45 $ docker rm -f --volumes c4e5cafec94864677ba159271dc8debd145dd38a390f8a9f98c402b793aaf0e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:16:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:46 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:47 $ docker top 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e -eo pid,comm 21:16:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:47 [ssh-agent] Looking for ssh-agent implementation... 21:16:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:47 $ docker exec 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e ssh-agent 21:16:47 SSH_AUTH_SOCK=/tmp/ssh-NcmKH4CS8dGe/agent.32 21:16:47 SSH_AGENT_PID=38 21:16:47 Running ssh-add (command line suppressed) 21:16:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16288684282609515550.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16288684282609515550.key) 21:16:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:47 + git semver bump pre 21:16:47 2023-09-20 21:16:47,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,904 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev 21:16:47 2023-09-20 21:16:47,904 [bump_version] DEBUG bumped version:3.1.0-dev.17 21:16:47 2023-09-20 21:16:47,904 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:16:47 2023-09-20 21:16:47,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,904 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,906 [execute] INFO git cat-file --batch-check 21:16:47 2023-09-20 21:16:47,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:47 2023-09-20 21:16:47,912 [execute] INFO git cat-file --batch 21:16:47 2023-09-20 21:16:47,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:47 2023-09-20 21:16:47,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:47 3.1.0-dev.17 [Pipeline] } 21:16:47 $ docker exec --env ******** --env ******** 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e ssh-agent -k 21:16:48 unset SSH_AUTH_SOCK; 21:16:48 unset SSH_AGENT_PID; 21:16:48 echo Agent pid 38 killed; 21:16:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:48 + git semver [Pipeline] } 21:16:48 $ docker stop --time=1 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e 21:16:49 $ docker rm -f --volumes 22ce6679d59164adcc373f8a66e0935d273ba7207efe9b0df6fbd846b17e6b0e [Pipeline] // withDockerContainer [Pipeline] sh 21:16:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:50 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:50 $ docker top c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:51 [ssh-agent] Looking for ssh-agent implementation... 21:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:51 $ docker exec c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 ssh-agent 21:16:51 SSH_AUTH_SOCK=/tmp/ssh-jaRGbrWFYhaW/agent.31 21:16:51 SSH_AGENT_PID=37 21:16:51 Running ssh-add (command line suppressed) 21:16:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1103296902737224780.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1103296902737224780.key) 21:16:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:51 + git semver push 21:16:51 2023-09-20 21:16:51,849 [run_push] DEBUG push 21:16:51 2023-09-20 21:16:51,849 [execute] INFO git cat-file --batch-check 21:16:51 2023-09-20 21:16:51,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:51 2023-09-20 21:16:51,854 [execute] INFO git rev-list 1d875246818f2e828aa599cc57dffb8b776ec6e3 -- 21:16:51 2023-09-20 21:16:51,854 [execute] DEBUG Popen(['git', 'rev-list', '1d875246818f2e828aa599cc57dffb8b776ec6e3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:51 2023-09-20 21:16:51,864 [execute] INFO git fetch -v origin 21:16:51 2023-09-20 21:16:51,864 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:16:52 2023-09-20 21:16:52,333 [run_push] DEBUG no remote changes detected 21:16:52 2023-09-20 21:16:52,333 [execute] INFO git push origin semver 21:16:52 2023-09-20 21:16:52,333 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:53 2023-09-20 21:16:53,227 [run_push] DEBUG push all version tags 21:16:53 2023-09-20 21:16:53,228 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:16:53 2023-09-20 21:16:53,228 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:16:54 2023-09-20 21:16:54,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:54 3.1.0-dev.17 [Pipeline] } 21:16:54 $ docker exec --env ******** --env ******** c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 ssh-agent -k 21:16:54 unset SSH_AUTH_SOCK; 21:16:54 unset SSH_AGENT_PID; 21:16:54 echo Agent pid 37 killed; 21:16:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:54 + git semver [Pipeline] } 21:16:55 $ docker stop --time=1 c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 21:16:56 $ docker rm -f --volumes c9c5b9c5aa75f9e188ca78477b07e02cba3d5a1592832e0dee9bb0a29358bbe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:16:56 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:16:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:16:56 total 16 21:16:56 drwxr-xr-x 3 root root 4096 Sep 20 20:59 . 21:16:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:16 .. 21:16:56 drwxr-xr-x 2 root root 4096 Sep 20 20:59 cost 21:16:56 -rw-r--r-- 1 root root 86 Sep 20 20:59 cost.csv 21:16:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:16:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:16:56 total 16 21:16:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:59 . 21:16:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:16 .. 21:16:56 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:59 cost 21:16:56 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:58 ---> package-listing.sh 21:16:58 ++ facter osfamily 21:16:58 ++ tr '[:upper:]' '[:lower:]' 21:16:58 + OS_FAMILY=debian 21:16:58 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:16:58 + START_PACKAGES=/tmp/packages_start.txt 21:16:58 + END_PACKAGES=/tmp/packages_end.txt 21:16:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:58 + PACKAGES=/tmp/packages_start.txt 21:16:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:16:58 + PACKAGES=/tmp/packages_end.txt 21:16:58 + case "${OS_FAMILY}" in 21:16:58 + dpkg -l 21:16:58 + grep '^ii' 21:16:58 + '[' -f /tmp/packages_start.txt ']' 21:16:58 + '[' -f /tmp/packages_end.txt ']' 21:16:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:16:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:16:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:16:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:16:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:59 prd-ubuntu20.04-docker-8c-8g-7239 does not seem to be running inside a container 21:16:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:16:59 $ docker top 4c09498cde24ca408d26a5d11befa7e7b422a4bda25a38796010f3adcd9d175a -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:59 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:00 + ls /var/log/sa-host 21:17:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:00 provisioning config files... 21:17:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5146614489922415153tmp [Pipeline] { [Pipeline] echo 21:17:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:00 ---> create-netrc.sh [Pipeline] } 21:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> python-tools-install.sh [Pipeline] echo 21:17:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> sudo-logs.sh 21:17:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> job-cost.sh 21:17:01 lf-activate-venv: SKIPPING 21:17:01 DEBUG: total: 0.2199999988079071 21:17:01 INFO: Retrieving Stack Cost... 21:17:01 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:02 INFO: Archiving Costs [Pipeline] echo 21:17:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:02 ---> logs-deploy.sh 21:17:02 lf-activate-venv: SKIPPING 21:17:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/136 21:17:02 INFO: archiving workspace using pattern(s): 21:17:03 Archives upload complete. 21:17:03 INFO: archiving logs to Nexus