Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 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-ssh2180576410423963861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7283700519367741743.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10692586807211386903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5019433012786384413.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-ssh4367060107754960991.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-2430’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2742’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2746’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-2743’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2748 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#238)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-list --no-walk 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:28 ========================================================= 17:32:28 EdgeX Global Pipelines Version Info 17:32:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:32:29 ------------------- 17:32:29 stable info: 17:32:29 ------------------- 17:32:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:32:29 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:29 Message: update stable to v1.0.244 17:32:30 ------------------- 17:32:30 experimental info: 17:32:30 ------------------- 17:32:30 Commited By: **** collab-it+edgex@linuxfoundation.org 17:32:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d8e6f5 [Pipeline] echo 17:32:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:30 provisioning config files... 17:32:30 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12589097367271248718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:31 ---> docker-login.sh 17:32:31 nexus3.edgexfoundry.org:10001 17:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:31 Configure a credential helper to remove this warning. See 17:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:31 17:32:31 Login Succeeded 17:32:31 nexus3.edgexfoundry.org:10002 17:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:31 Configure a credential helper to remove this warning. See 17:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:31 17:32:31 Login Succeeded 17:32:31 nexus3.edgexfoundry.org:10003 17:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:31 Configure a credential helper to remove this warning. See 17:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:31 17:32:31 Login Succeeded 17:32:31 nexus3.edgexfoundry.org:10004 17:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:32 Configure a credential helper to remove this warning. See 17:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:32 17:32:32 Login Succeeded 17:32:32 docker.io 17:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:32 Configure a credential helper to remove this warning. See 17:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:32 17:32:32 Login Succeeded 17:32:32 ---> docker-login.sh ends [Pipeline] } 17:32:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:32:32 + git rev-list -1 --merges 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d~1..7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo 17:32:32 -----------> git rev-list -1 --merges 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d~1..7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [false] [Pipeline] sh 17:32:33 + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo 17:32:33 ========================================================= 17:32:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:32:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:33 + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo 17:32:33 [semverPrep] GIT_COMMIT: 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#238) [Pipeline] echo 17:32:33 [semverPrep] This is not a build commit. [Pipeline] sh 17:32:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:32:33 + grep -v github /etc/ssh/ssh_known_hosts 17:32:33 + [ -e /tmp/ssh_known_hosts ] 17:32:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:32:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:32:33 + sudo tee -a /etc/ssh/ssh_known_hosts 17:32:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:34 17:32:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:34 0.1.4: Pulling from edgex-devops/py-git-semver 17:32:34 b85a868b505f: Pulling fs layer 17:32:34 e2be974225ed: Pulling fs layer 17:32:34 339a4e72a1f5: Pulling fs layer 17:32:34 988bab9f4d93: Pulling fs layer 17:32:34 1469e6f7b9e6: Pulling fs layer 17:32:34 eaf3925da568: Pulling fs layer 17:32:34 bab4dde63d76: Pulling fs layer 17:32:34 bde34c3a00c8: Pulling fs layer 17:32:34 b352a97aabf1: Pulling fs layer 17:32:34 4872d77fe225: Pulling fs layer 17:32:34 5851b861e8e6: Pulling fs layer 17:32:34 bab4dde63d76: Waiting 17:32:34 bde34c3a00c8: Waiting 17:32:34 b352a97aabf1: Waiting 17:32:34 4872d77fe225: Waiting 17:32:34 5851b861e8e6: Waiting 17:32:34 988bab9f4d93: Waiting 17:32:34 1469e6f7b9e6: Waiting 17:32:34 eaf3925da568: Waiting 17:32:34 e2be974225ed: Download complete 17:32:34 988bab9f4d93: Download complete 17:32:35 339a4e72a1f5: Verifying Checksum 17:32:35 339a4e72a1f5: Download complete 17:32:35 eaf3925da568: Verifying Checksum 17:32:35 eaf3925da568: Download complete 17:32:35 b85a868b505f: Download complete 17:32:35 bde34c3a00c8: Verifying Checksum 17:32:35 bde34c3a00c8: Download complete 17:32:35 1469e6f7b9e6: Verifying Checksum 17:32:35 1469e6f7b9e6: Download complete 17:32:35 4872d77fe225: Verifying Checksum 17:32:35 4872d77fe225: Download complete 17:32:35 5851b861e8e6: Verifying Checksum 17:32:35 5851b861e8e6: Download complete 17:32:35 b352a97aabf1: Verifying Checksum 17:32:35 b352a97aabf1: Download complete 17:32:35 bab4dde63d76: Verifying Checksum 17:32:35 bab4dde63d76: Download complete 17:32:36 b85a868b505f: Pull complete 17:32:36 e2be974225ed: Pull complete 17:32:37 339a4e72a1f5: Pull complete 17:32:37 988bab9f4d93: Pull complete 17:32:37 1469e6f7b9e6: Pull complete 17:32:37 eaf3925da568: Pull complete 17:32:39 bab4dde63d76: Pull complete 17:32:39 bde34c3a00c8: Pull complete 17:32:39 b352a97aabf1: Pull complete 17:32:39 4872d77fe225: Pull complete 17:32:39 5851b861e8e6: Pull complete 17:32:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:32:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:39 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:32:39 $ 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 17:32:41 $ docker top fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 -eo pid,comm 17:32:42 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). 17:32:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:42 [ssh-agent] Looking for ssh-agent implementation... 17:32:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:42 $ docker exec fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent 17:32:42 SSH_AUTH_SOCK=/tmp/ssh-B1EFAOdmFUmz/agent.31 17:32:42 SSH_AGENT_PID=37 17:32:42 Running ssh-add (command line suppressed) 17:32:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7922323715846191932.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7922323715846191932.key) 17:32:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:42 + git tag --points-at HEAD [Pipeline] } 17:32:42 $ docker exec --env ******** --env ******** fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent -k 17:32:42 unset SSH_AUTH_SOCK; 17:32:42 unset SSH_AGENT_PID; 17:32:42 echo Agent pid 37 killed; 17:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:42 [ssh-agent] Looking for ssh-agent implementation... 17:32:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:42 $ docker exec fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent 17:32:43 SSH_AUTH_SOCK=/tmp/ssh-oFxPFCixYquB/agent.69 17:32:43 SSH_AGENT_PID=75 17:32:43 Running ssh-add (command line suppressed) 17:32:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8037036680588028467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8037036680588028467.key) 17:32:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:43 + git semver init 17:32:43 2023-01-17 17:32:43,668 [run_init] DEBUG init version:0.0.0 force:False 17:32:43 2023-01-17 17:32:43,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 17:32:43 2023-01-17 17:32:43,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 17:32:43 2023-01-17 17:32:43,669 [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) 17:32:45 2023-01-17 17:32:44,694 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 17:32:45 2023-01-17 17:32:44,695 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 17:32:45 2023-01-17 17:32:44,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:32:45 2023-01-17 17:32:44,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:32:45 3.0.0-dev.6 [Pipeline] } 17:32:45 $ docker exec --env ******** --env ******** fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent -k 17:32:45 unset SSH_AUTH_SOCK; 17:32:45 unset SSH_AGENT_PID; 17:32:45 echo Agent pid 75 killed; 17:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:45 + git semver [Pipeline] } 17:32:45 $ docker stop --time=1 fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 17:32:47 $ docker rm -f --volumes fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:32:47 Stashed 1 file(s) [Pipeline] echo 17:32:47 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 17:32:47 provisioning config files... 17:32:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10463529273086307560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:48 ---> docker-login.sh 17:32:48 nexus3.edgexfoundry.org:10001 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:48 Configure a credential helper to remove this warning. See 17:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:48 17:32:48 Login Succeeded 17:32:48 nexus3.edgexfoundry.org:10002 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:48 Configure a credential helper to remove this warning. See 17:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:48 17:32:48 Login Succeeded 17:32:48 nexus3.edgexfoundry.org:10003 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:48 Configure a credential helper to remove this warning. See 17:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:48 17:32:48 Login Succeeded 17:32:48 nexus3.edgexfoundry.org:10004 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:48 Configure a credential helper to remove this warning. See 17:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:48 17:32:48 Login Succeeded 17:32:48 docker.io 17:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 ---> docker-login.sh ends [Pipeline] } 17:32:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:49 ========================================================= 17:32:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:32:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:32:49 Sending build context to Docker daemon 10.79MB 17:32:49 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:32:49 Step 2/12 : FROM ${BASE} AS builder 17:32:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:49 213ec9aee27d: Pulling fs layer 17:32:49 4583459ba037: Pulling fs layer 17:32:49 93c1e223e6f2: Pulling fs layer 17:32:49 53926ce57604: Pulling fs layer 17:32:49 21b2b0c7a3f4: Pulling fs layer 17:32:49 22ff95d597cd: Pulling fs layer 17:32:49 12d6caf4c0d1: Pulling fs layer 17:32:49 96b7cbca73a9: Pulling fs layer 17:32:49 a7acece74701: Pulling fs layer 17:32:49 53926ce57604: Waiting 17:32:49 21b2b0c7a3f4: Waiting 17:32:49 22ff95d597cd: Waiting 17:32:49 12d6caf4c0d1: Waiting 17:32:49 a7acece74701: Waiting 17:32:49 96b7cbca73a9: Waiting 17:32:49 93c1e223e6f2: Download complete 17:32:49 4583459ba037: Download complete 17:32:49 21b2b0c7a3f4: Verifying Checksum 17:32:49 21b2b0c7a3f4: Download complete 17:32:49 22ff95d597cd: Verifying Checksum 17:32:49 22ff95d597cd: Download complete 17:32:49 213ec9aee27d: Verifying Checksum 17:32:49 213ec9aee27d: Download complete 17:32:49 12d6caf4c0d1: Download complete 17:32:49 213ec9aee27d: Pull complete 17:32:49 4583459ba037: Pull complete 17:32:50 93c1e223e6f2: Pull complete 17:32:51 a7acece74701: Verifying Checksum 17:32:51 a7acece74701: Download complete 17:32:51 53926ce57604: Verifying Checksum 17:32:51 53926ce57604: Download complete 17:32:51 96b7cbca73a9: Verifying Checksum 17:32:51 96b7cbca73a9: Download complete 17:32:55 53926ce57604: Pull complete 17:32:55 21b2b0c7a3f4: Pull complete 17:32:55 22ff95d597cd: Pull complete 17:32:55 12d6caf4c0d1: Pull complete 17:32:58 96b7cbca73a9: Pull complete 17:32:58 a7acece74701: Pull complete 17:32:58 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:32:58 ---> db6d94c90886 17:32:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:33:02 ---> Running in dfc33a22eafd 17:33:02 Removing intermediate container dfc33a22eafd 17:33:02 ---> fb096443da00 17:33:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:02 ---> Running in 9a552dc42b9b 17:33:02 Removing intermediate container 9a552dc42b9b 17:33:02 ---> 4cf765a3ba77 17:33:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:33:02 ---> Running in 99825ff36d75 17:33:02 Removing intermediate container 99825ff36d75 17:33:02 ---> 20b4aff7560f 17:33:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:33:02 Still waiting to schedule task 17:33:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ 17:33:02 ---> Running in cc8485a158d3 17:33:02 Removing intermediate container cc8485a158d3 17:33:02 ---> 17468e7eabba 17:33:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:02 ---> Running in 164b9e134495 17:33:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:33:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:33:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:33:03 (2/4) Installing libedit (20210910.3.1-r0) 17:33:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:33:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:33:03 Executing busybox-1.35.0-r17.trigger 17:33:03 OK: 216 MiB in 55 packages 17:33:04 Removing intermediate container 164b9e134495 17:33:04 ---> 4daf45f0415c 17:33:04 Step 8/12 : WORKDIR /device-rest-go 17:33:04 ---> Running in 2127abad5230 17:33:04 Removing intermediate container 2127abad5230 17:33:04 ---> 04047743185d 17:33:04 Step 9/12 : COPY go.mod vendor* ./ 17:33:04 ---> 89e651b4514d 17:33:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:04 ---> Running in cec405ce2d7a 17:33:26 Removing intermediate container cec405ce2d7a 17:33:26 ---> 05e0233dbf72 17:33:26 Step 11/12 : COPY . . 17:33:26 ---> 569ed6006c60 17:33:26 Step 12/12 : RUN $MAKE 17:33:26 ---> Running in 5bf42ad3c2a8 17:33:27 noop 17:33:27 Removing intermediate container 5bf42ad3c2a8 17:33:27 ---> 355c4254e73d 17:33:27 Successfully built 355c4254e73d 17:33:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:27 + docker inspect -f . ci-base-image-x86_64 17:33:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:27 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:33: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 17:33:28 $ docker top d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:28 + go version 17:33:28 go version go1.18.7 linux/amd64 [Pipeline] } 17:33:28 $ docker stop --time=1 d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 17:33:29 $ docker rm -f --volumes d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:30 + docker inspect -f . ci-base-image-x86_64 17:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:30 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:33: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 17:33:30 $ docker top eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 17:33:31 + make test 17:33:31 go test ./... -coverprofile=coverage.out ./... 17:33:31 ? github.com/edgexfoundry/device-rest-go [no test files] 17:33:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:33:41 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 17:33:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:33:49 go vet ./... 17:33:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:33:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:33:52 ./bin/test-attribution-txt.sh [Pipeline] echo 17:33:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:33:52 $ docker stop --time=1 eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d 17:33:55 $ docker rm -f --volumes eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d [Pipeline] // withDockerContainer [Pipeline] sh 17:33:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:33:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:56 + ls -al . 17:33:56 total 188 17:33:56 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:33 . 17:33:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 .. 17:33:56 -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 17:32 .dockerignore 17:33:56 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 .git 17:33:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 .github 17:33:56 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 17:32 .gitignore 17:33:56 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:32 .golangci.yml 17:33:56 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:32 .semver 17:33:56 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 17 17:32 Attribution.txt 17:33:56 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 17 17:32 CHANGELOG.md 17:33:56 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 17 17:32 Dockerfile 17:33:56 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:32 GOVERNANCE.md 17:33:56 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:32 Jenkinsfile 17:33:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:32 LICENSE 17:33:56 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 17 17:32 Makefile 17:33:56 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:32 OWNERS.md 17:33:56 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 17 17:32 README.md 17:33:56 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:32 VERSION 17:33:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 bin 17:33:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 cmd 17:33:56 -rw-r--r-- 1 jenkins jenkins 9355 Jan 17 17:33 coverage.out 17:33:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 driver 17:33:56 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 17:32 go.mod 17:33:56 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 17:32 go.sum 17:33:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 snap 17:33:56 -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:57 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d --label arch=amd64 --label version=3.0.0-dev.6 . 17:33:57 Sending build context to Docker daemon 10.8MB 17:33:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:33:57 Step 2/25 : FROM ${BASE} AS builder 17:33:57 ---> 355c4254e73d 17:33:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:33:57 ---> Running in 56406c5cc175 17:33:57 Removing intermediate container 56406c5cc175 17:33:57 ---> fa3b15ff77fc 17:33:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:57 ---> Running in da9cec4e23fc 17:33:57 Removing intermediate container da9cec4e23fc 17:33:57 ---> ef0ad879b75a 17:33:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:33:57 ---> Running in 2b81167efb27 17:33:57 Removing intermediate container 2b81167efb27 17:33:57 ---> cdd7fca33dde 17:33:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:33:57 ---> Running in 4f68b2d1e7fd 17:33:57 Removing intermediate container 4f68b2d1e7fd 17:33:57 ---> dcfe4ac613c0 17:33:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:57 ---> Running in 1e47602ce761 17:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:33:58 OK: 216 MiB in 55 packages 17:33:58 Removing intermediate container 1e47602ce761 17:33:58 ---> 5c03d9b87388 17:33:58 Step 8/25 : WORKDIR /device-rest-go 17:33:58 ---> Running in f73d197127fa 17:33:58 Removing intermediate container f73d197127fa 17:33:58 ---> 5a4599e14fdb 17:33:58 Step 9/25 : COPY go.mod vendor* ./ 17:33:59 ---> 578234d973f9 17:33:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:59 ---> Running in 3f27e8cac797 17:33:59 Removing intermediate container 3f27e8cac797 17:33:59 ---> a3c1a4d356e2 17:33:59 Step 11/25 : COPY . . 17:34:00 ---> 2eaf15f2dcc0 17:34:00 Step 12/25 : RUN $MAKE 17:34:00 ---> Running in a38aa67ff3fe 17:34:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:34:22 Removing intermediate container a38aa67ff3fe 17:34:22 ---> 9d8e9dd5d415 17:34:22 Step 13/25 : FROM alpine:3.16 17:34:22 3.16: Pulling from library/alpine 17:34:22 ca7dd9ec2225: Pulling fs layer 17:34:22 ca7dd9ec2225: Verifying Checksum 17:34:22 ca7dd9ec2225: Download complete 17:34:22 ca7dd9ec2225: Pull complete 17:34:22 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:34:22 Status: Downloaded newer image for alpine:3.16 17:34:22 ---> bfe296a52501 17:34:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:34:22 ---> Running in 767da8529351 17:34:23 Removing intermediate container 767da8529351 17:34:23 ---> d40605eb79ac 17:34:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:34:23 ---> Running in 8397fb998487 17:34:23 Removing intermediate container 8397fb998487 17:34:23 ---> 6c2d8aff5fcf 17:34:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:34:23 ---> Running in 1089ecc2ce6a 17:34:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:34:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:34:24 (1/1) Installing dumb-init (1.2.5-r1) 17:34:24 Executing busybox-1.35.0-r17.trigger 17:34:24 OK: 6 MiB in 15 packages 17:34:24 Removing intermediate container 1089ecc2ce6a 17:34:24 ---> 85a898730d72 17:34:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:34:25 ---> a15a6a65feb9 17:34:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:34:25 ---> 0c0d86f7fa6b 17:34:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:34:25 ---> 98b3dc05d251 17:34:25 Step 20/25 : EXPOSE 59986 17:34:25 ---> Running in 51012ea238c2 17:34:25 Removing intermediate container 51012ea238c2 17:34:25 ---> c3c7fd96fd4d 17:34:25 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:34:25 ---> Running in ba552203121e 17:34:25 Removing intermediate container ba552203121e 17:34:25 ---> 412b557258b9 17:34:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:34:25 ---> Running in f6833c34a867 17:34:25 Removing intermediate container f6833c34a867 17:34:25 ---> 7fca478fd67c 17:34:25 Step 23/25 : LABEL arch=amd64 17:34:25 ---> Running in d36c11db8f15 17:34:25 Removing intermediate container d36c11db8f15 17:34:25 ---> 996946a88485 17:34:25 Step 24/25 : LABEL git_sha=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:34:26 ---> Running in b4afe983cd89 17:34:26 Removing intermediate container b4afe983cd89 17:34:26 ---> 0fc9ecbc0955 17:34:26 Step 25/25 : LABEL version=3.0.0-dev.6 17:34:26 ---> Running in 02ab8aaa49ff 17:34:26 Removing intermediate container 02ab8aaa49ff 17:34:26 ---> aa2f2fca1e96 17:34:26 [Warning] One or more build-args [ARCH] were not consumed 17:34:26 Successfully built aa2f2fca1e96 17:34:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:26 provisioning config files... 17:34:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config918969703451705888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:26 ---> docker-login.sh 17:34:26 nexus3.edgexfoundry.org:10001 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 nexus3.edgexfoundry.org:10002 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 nexus3.edgexfoundry.org:10003 17:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:27 Configure a credential helper to remove this warning. See 17:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:27 17:34:27 Login Succeeded 17:34:27 nexus3.edgexfoundry.org:10004 17:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:27 Configure a credential helper to remove this warning. See 17:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:27 17:34:27 Login Succeeded 17:34:27 docker.io 17:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:27 Configure a credential helper to remove this warning. See 17:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:27 17:34:27 Login Succeeded 17:34:27 ---> docker-login.sh ends [Pipeline] } 17:34:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 17:34:27 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:34:27 latest 17:34:27 3.0.0-dev.6 17:34:27 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:34:27 main 17:34:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:34:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:34:28 5a4142678dd6: Preparing 17:34:28 1b36f662e3d9: Preparing 17:34:28 a65a96879c4c: Preparing 17:34:28 a013c76add79: Preparing 17:34:28 e5e13b0c77cb: Preparing 17:34:28 e5e13b0c77cb: Layer already exists 17:34:28 1b36f662e3d9: Pushed 17:34:28 5a4142678dd6: Pushed 17:34:28 a013c76add79: Pushed 17:34:30 a65a96879c4c: Pushed 17:34:30 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 17:34:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:34:31 5a4142678dd6: Preparing 17:34:31 1b36f662e3d9: Preparing 17:34:31 a65a96879c4c: Preparing 17:34:31 a013c76add79: Preparing 17:34:31 e5e13b0c77cb: Preparing 17:34:31 e5e13b0c77cb: Layer already exists 17:34:31 a65a96879c4c: Layer already exists 17:34:31 a013c76add79: Layer already exists 17:34:31 5a4142678dd6: Layer already exists 17:34:31 1b36f662e3d9: Layer already exists 17:34:31 latest: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 17:34:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:34:32 5a4142678dd6: Preparing 17:34:32 1b36f662e3d9: Preparing 17:34:32 a65a96879c4c: Preparing 17:34:32 a013c76add79: Preparing 17:34:32 e5e13b0c77cb: Preparing 17:34:32 a013c76add79: Layer already exists 17:34:32 e5e13b0c77cb: Layer already exists 17:34:32 1b36f662e3d9: Layer already exists 17:34:32 5a4142678dd6: Layer already exists 17:34:32 a65a96879c4c: Layer already exists 17:34:32 3.0.0-dev.6: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:34:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:34:32 5a4142678dd6: Preparing 17:34:32 1b36f662e3d9: Preparing 17:34:32 a65a96879c4c: Preparing 17:34:32 a013c76add79: Preparing 17:34:32 e5e13b0c77cb: Preparing 17:34:32 5a4142678dd6: Layer already exists 17:34:32 a65a96879c4c: Layer already exists 17:34:32 a013c76add79: Layer already exists 17:34:32 1b36f662e3d9: Layer already exists 17:34:32 e5e13b0c77cb: Layer already exists 17:34:32 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 17:34:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:34:33 5a4142678dd6: Preparing 17:34:33 1b36f662e3d9: Preparing 17:34:33 a65a96879c4c: Preparing 17:34:33 a013c76add79: Preparing 17:34:33 e5e13b0c77cb: Preparing 17:34:33 a013c76add79: Layer already exists 17:34:34 e5e13b0c77cb: Layer already exists 17:34:34 5a4142678dd6: Layer already exists 17:34:34 a65a96879c4c: Layer already exists 17:34:34 1b36f662e3d9: Layer already exists 17:34:35 main: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:35 ===================================================== [Pipeline] echo 17:34:35 taggedImages: 17:34:35 - nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:34:35 - nexus3.edgexfoundry.org:10004/device-rest:latest 17:34:35 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 17:34:35 - nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:34:35 - 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 17:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:35 17:34:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:36 latest: Pulling from edgex-lftools-log-publisher 17:34:36 5eb5b503b376: Pulling fs layer 17:34:36 5c69ac0246d0: Pulling fs layer 17:34:36 ec43610c2a17: Pulling fs layer 17:34:36 3a2ae6a8a46f: Pulling fs layer 17:34:36 33b1e0a273af: Pulling fs layer 17:34:36 5d3b04190fa2: Pulling fs layer 17:34:36 2f39f015ded8: Pulling fs layer 17:34:36 3a2ae6a8a46f: Waiting 17:34:36 33b1e0a273af: Waiting 17:34:36 5d3b04190fa2: Waiting 17:34:36 2f39f015ded8: Waiting 17:34:36 5c69ac0246d0: Verifying Checksum 17:34:36 5c69ac0246d0: Download complete 17:34:36 3a2ae6a8a46f: Download complete 17:34:36 ec43610c2a17: Verifying Checksum 17:34:36 ec43610c2a17: Download complete 17:34:36 33b1e0a273af: Verifying Checksum 17:34:36 33b1e0a273af: Download complete 17:34:36 5d3b04190fa2: Download complete 17:34:36 5eb5b503b376: Verifying Checksum 17:34:36 5eb5b503b376: Download complete 17:34:38 5eb5b503b376: Pull complete 17:34:38 5c69ac0246d0: Pull complete 17:34:39 ec43610c2a17: Pull complete 17:34:39 3a2ae6a8a46f: Pull complete 17:34:39 33b1e0a273af: Pull complete 17:34:39 5d3b04190fa2: Pull complete 17:34:43 2f39f015ded8: Pull complete 17:34:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:34:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:43 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:34:43 $ 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 17:34:46 $ docker top e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:47 ---> job-cost.sh 17:34:47 lf-activate-venv: SKIPPING 17:34:47 INFO: No Stack... 17:34:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:48 INFO: Archiving Costs [Pipeline] sh 17:34:48 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 17:34:48 + cut -d, -f6 [Pipeline] lock 17:34:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] 17:34:48 Resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] did not exist. Created. 17:34:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:48 + echo total: 0.2199999988079071 [Pipeline] stash 17:34:48 Stashed 1 file(s) [Pipeline] } 17:34:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:48 $ docker stop --time=1 e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 17:34:49 $ docker rm -f --volumes e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:35:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2754 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 17:35:23 Running in /w/workspace/device-rest-go/78 [Pipeline] { [Pipeline] checkout 17:35:23 The recommended git tool is: git 17:35:30 using credential edgex-jenkins-ssh 17:35:30 Cloning the remote Git repository 17:35:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:35:30 > git init /w/workspace/device-rest-go/78 # timeout=10 17:35:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:35:30 > git --version # timeout=10 17:35:30 > git --version # 'git version 2.25.1' 17:35:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:33 Avoid second fetch 17:35:33 Checking out Revision 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (main) 17:35:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:35:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:33 > git config core.sparsecheckout # timeout=10 17:35:33 > git checkout -f 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 17:35:34 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#238)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:35:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:35 Dload Upload Total Spent Left Speed 17:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 17:35:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:35:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:35:36 + sudo tee /etc/docker/daemon.new 17:35:36 { 17:35:36 "registry-mirrors": [ 17:35:36 "https://nexus3.edgexfoundry.org:10001" 17:35:36 ], 17:35:36 "bip": "10.250.0.254/24", 17:35:36 "hosts": [ 17:35:36 "tcp://0.0.0.0:5555", 17:35:36 "unix:///var/run/docker.sock" 17:35:36 ], 17:35:36 "mtu": 1458, 17:35:36 "selinux-enabled": true, 17:35:36 "seccomp-profile": "/etc/docker/seccomp.json" 17:35:36 } [Pipeline] sh 17:35:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:35:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:55 provisioning config files... 17:35:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/78@tmp/config6834280538572108804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:55 ---> docker-login.sh 17:35:55 nexus3.edgexfoundry.org:10001 17:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:56 Configure a credential helper to remove this warning. See 17:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:56 17:35:56 Login Succeeded 17:35:56 nexus3.edgexfoundry.org:10002 17:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:57 Configure a credential helper to remove this warning. See 17:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:57 17:35:57 Login Succeeded 17:35:57 nexus3.edgexfoundry.org:10003 17:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:57 Configure a credential helper to remove this warning. See 17:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:57 17:35:57 Login Succeeded 17:35:57 nexus3.edgexfoundry.org:10004 17:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:57 Configure a credential helper to remove this warning. See 17:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:57 17:35:57 Login Succeeded 17:35:57 docker.io 17:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:58 Configure a credential helper to remove this warning. See 17:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:58 17:35:58 Login Succeeded 17:35:58 ---> docker-login.sh ends [Pipeline] } 17:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:58 ========================================================= 17:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:35:59 Sending build context to Docker daemon 127kB 17:35:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:35:59 Step 2/12 : FROM ${BASE} AS builder 17:35:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:59 9b18e9b68314: Pulling fs layer 17:35:59 35d82f9e3411: Pulling fs layer 17:35:59 e16973657156: Pulling fs layer 17:35:59 fc693d55d65f: Pulling fs layer 17:35:59 7e9fc2657dce: Pulling fs layer 17:35:59 dda99020689f: Pulling fs layer 17:35:59 db1c61fa0a46: Pulling fs layer 17:35:59 891c053d2c06: Pulling fs layer 17:35:59 fc693d55d65f: Waiting 17:35:59 7e9fc2657dce: Waiting 17:35:59 dda99020689f: Waiting 17:35:59 db1c61fa0a46: Waiting 17:35:59 891c053d2c06: Waiting 17:35:59 e16973657156: Verifying Checksum 17:35:59 e16973657156: Download complete 17:36:00 35d82f9e3411: Verifying Checksum 17:36:00 35d82f9e3411: Download complete 17:36:00 7e9fc2657dce: Verifying Checksum 17:36:00 7e9fc2657dce: Download complete 17:36:00 dda99020689f: Verifying Checksum 17:36:00 9b18e9b68314: Verifying Checksum 17:36:00 9b18e9b68314: Download complete 17:36:00 dda99020689f: Download complete 17:36:01 9b18e9b68314: Pull complete 17:36:01 891c053d2c06: Verifying Checksum 17:36:01 891c053d2c06: Download complete 17:36:02 35d82f9e3411: Pull complete 17:36:02 e16973657156: Pull complete 17:36:03 db1c61fa0a46: Verifying Checksum 17:36:03 db1c61fa0a46: Download complete 17:36:03 fc693d55d65f: Verifying Checksum 17:36:03 fc693d55d65f: Download complete 17:36:16 fc693d55d65f: Pull complete 17:36:16 7e9fc2657dce: Pull complete 17:36:16 dda99020689f: Pull complete 17:36:22 db1c61fa0a46: Pull complete 17:36:25 891c053d2c06: Pull complete 17:36:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:36:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:36:25 ---> f96f9c87975a 17:36:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:36:25 ---> Running in 4ee7b24b7380 17:36:26 Removing intermediate container 4ee7b24b7380 17:36:26 ---> 76b35528882d 17:36:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:36:26 ---> Running in e0394b75d2e5 17:36:26 Removing intermediate container e0394b75d2e5 17:36:26 ---> b40c199aa7a8 17:36:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:36:26 ---> Running in 1ec18f86747c 17:36:27 Removing intermediate container 1ec18f86747c 17:36:27 ---> 0261e8157a8e 17:36:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:36:27 ---> Running in 4e22565b06a5 17:36:27 Removing intermediate container 4e22565b06a5 17:36:27 ---> 63091ff0a8e5 17:36:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:27 ---> Running in c18ffde95b2b 17:36:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:36:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:36:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:36:30 (2/4) Installing libedit (20210910.3.1-r0) 17:36:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:36:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:36:30 Executing busybox-1.35.0-r17.trigger 17:36:30 OK: 226 MiB in 55 packages 17:36:32 Removing intermediate container c18ffde95b2b 17:36:32 ---> fd6461327ab6 17:36:32 Step 8/12 : WORKDIR /device-rest-go 17:36:32 ---> Running in 4b99edb15d71 17:36:32 Removing intermediate container 4b99edb15d71 17:36:32 ---> 812848facfac 17:36:32 Step 9/12 : COPY go.mod vendor* ./ 17:36:33 ---> 6a71a3402548 17:36:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:33 ---> Running in c37b6db64ca9 17:37:41 Removing intermediate container c37b6db64ca9 17:37:41 ---> 528a80ddb801 17:37:41 Step 11/12 : COPY . . 17:37:41 ---> 5fc4e6e4a843 17:37:41 Step 12/12 : RUN $MAKE 17:37:41 ---> Running in e866b6b0d26b 17:37:41 noop 17:37:41 Removing intermediate container e866b6b0d26b 17:37:41 ---> b87c8caf2b78 17:37:41 Successfully built b87c8caf2b78 17:37:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:41 + docker inspect -f . ci-base-image-arm64 17:37:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:41 prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container 17:37:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:37:43 $ docker top c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:44 + go version 17:37:44 go version go1.18.7 linux/arm64 [Pipeline] } 17:37:44 $ docker stop --time=1 c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 17:37:45 $ docker rm -f --volumes c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:46 + docker inspect -f . ci-base-image-arm64 17:37:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:46 prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container 17:37:46 $ 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/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:37:47 $ docker top 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:48 + git config --global --add safe.directory /w/workspace/device-rest-go/78 [Pipeline] fileExists [Pipeline] sh 17:37:49 + make test 17:37:49 go test ./... -coverprofile=coverage.out ./... 17:37:51 ? github.com/edgexfoundry/device-rest-go [no test files] 17:39:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:39:28 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 17:39:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:39:28 go vet ./... 17:40:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:07 ./bin/test-attribution-txt.sh [Pipeline] echo 17:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:40:07 $ docker stop --time=1 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 17:40:10 $ docker rm -f --volumes 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:11 Warning: overwriting stash ‘coverage-report’ 17:40:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:40:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:12 + ls -al . 17:40:12 total 184 17:40:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:37 . 17:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 .. 17:40:12 -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 17:35 .dockerignore 17:40:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:35 .git 17:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 .github 17:40:12 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 17:35 .gitignore 17:40:12 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:35 .golangci.yml 17:40:12 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 17 17:35 Attribution.txt 17:40:12 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 17 17:35 CHANGELOG.md 17:40:12 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 17 17:35 Dockerfile 17:40:12 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:35 GOVERNANCE.md 17:40:12 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:35 Jenkinsfile 17:40:12 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:35 LICENSE 17:40:12 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 17 17:35 Makefile 17:40:12 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:35 OWNERS.md 17:40:12 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 17 17:35 README.md 17:40:12 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:32 VERSION 17:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 bin 17:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 cmd 17:40:12 -rw-r--r-- 1 jenkins jenkins 9355 Jan 17 17:39 coverage.out 17:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 driver 17:40:12 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 17:35 go.mod 17:40:12 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 17:35 go.sum 17:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 snap 17:40:12 -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:13 + 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=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d --label arch=arm64 --label version=3.0.0-dev.6 . 17:40:13 Sending build context to Docker daemon 137.2kB 17:40:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:40:13 Step 2/25 : FROM ${BASE} AS builder 17:40:13 ---> b87c8caf2b78 17:40:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:40:13 ---> Running in 9a6f59e64dcf 17:40:15 Removing intermediate container 9a6f59e64dcf 17:40:15 ---> aa16dc1eb026 17:40:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:15 ---> Running in 762475eace99 17:40:15 Removing intermediate container 762475eace99 17:40:15 ---> 80af13a9d392 17:40:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:40:15 ---> Running in 7bc60081ac46 17:40:16 Removing intermediate container 7bc60081ac46 17:40:16 ---> 64c23fec3087 17:40:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:40:16 ---> Running in f99aa1f40473 17:40:16 Removing intermediate container f99aa1f40473 17:40:16 ---> 1370cf154725 17:40:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:16 ---> Running in 8d2bc008ec71 17:40:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:19 OK: 226 MiB in 55 packages 17:40:20 Removing intermediate container 8d2bc008ec71 17:40:20 ---> 5e691494d6b7 17:40:20 Step 8/25 : WORKDIR /device-rest-go 17:40:20 ---> Running in ae2122d5d7eb 17:40:21 Removing intermediate container ae2122d5d7eb 17:40:21 ---> 09783f173cb1 17:40:21 Step 9/25 : COPY go.mod vendor* ./ 17:40:21 ---> 92b241562cb2 17:40:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:22 ---> Running in fcbd2e12927e 17:40:25 Removing intermediate container fcbd2e12927e 17:40:25 ---> 3ca07bd639d3 17:40:25 Step 11/25 : COPY . . 17:40:25 ---> 2f35679e213b 17:40:25 Step 12/25 : RUN $MAKE 17:40:25 ---> Running in 7581a5970d73 17:40:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:43:04 Removing intermediate container 7581a5970d73 17:43:04 ---> d8565bdfd8a7 17:43:04 Step 13/25 : FROM alpine:3.16 17:43:04 3.16: Pulling from library/alpine 17:43:04 6875df1f5354: Pulling fs layer 17:43:04 6875df1f5354: Verifying Checksum 17:43:04 6875df1f5354: Download complete 17:43:04 6875df1f5354: Pull complete 17:43:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:43:04 Status: Downloaded newer image for alpine:3.16 17:43:04 ---> 2b4661558fb8 17:43:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:43:04 ---> Running in 5a53a6e7b7ec 17:43:04 Removing intermediate container 5a53a6e7b7ec 17:43:04 ---> 1c5531152605 17:43:04 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:43:04 ---> Running in 1b3942ea7879 17:43:04 Removing intermediate container 1b3942ea7879 17:43:04 ---> c8adf5b9545f 17:43:04 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:43:04 ---> Running in 3cafc91a43b9 17:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:43:05 (1/1) Installing dumb-init (1.2.5-r1) 17:43:05 Executing busybox-1.35.0-r17.trigger 17:43:05 OK: 5 MiB in 15 packages 17:43:06 Removing intermediate container 3cafc91a43b9 17:43:06 ---> d08f9aa34c8a 17:43:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:43:08 ---> 117fcea1ccf3 17:43:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:43:09 ---> c5bbc301869b 17:43:09 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:43:09 ---> c942bc200a18 17:43:09 Step 20/25 : EXPOSE 59986 17:43:09 ---> Running in 4e0487723ff5 17:43:09 Removing intermediate container 4e0487723ff5 17:43:09 ---> e4accd374f2b 17:43:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:43:09 ---> Running in 54985860af76 17:43:10 Removing intermediate container 54985860af76 17:43:10 ---> b361ee21192e 17:43:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:43:10 ---> Running in ad6e0c2b61bf 17:43:10 Removing intermediate container ad6e0c2b61bf 17:43:10 ---> c5097b7c6af2 17:43:10 Step 23/25 : LABEL arch=arm64 17:43:10 ---> Running in 890c4ed87393 17:43:11 Removing intermediate container 890c4ed87393 17:43:11 ---> 3c85f992c330 17:43:11 Step 24/25 : LABEL git_sha=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:43:11 ---> Running in dc1328a2f0d2 17:43:11 Removing intermediate container dc1328a2f0d2 17:43:11 ---> f4aecdb5cd47 17:43:11 Step 25/25 : LABEL version=3.0.0-dev.6 17:43:11 ---> Running in 15318eca7521 17:43:12 Removing intermediate container 15318eca7521 17:43:12 ---> 8a735a50449e 17:43:12 [Warning] One or more build-args [ARCH] were not consumed 17:43:12 Successfully built 8a735a50449e 17:43:12 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:12 provisioning config files... 17:43:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/78@tmp/config16370240317751943878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:12 ---> docker-login.sh 17:43:12 nexus3.edgexfoundry.org:10001 17:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:12 Configure a credential helper to remove this warning. See 17:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:12 17:43:12 Login Succeeded 17:43:12 nexus3.edgexfoundry.org:10002 17:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:13 Configure a credential helper to remove this warning. See 17:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:13 17:43:13 Login Succeeded 17:43:13 nexus3.edgexfoundry.org:10003 17:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:13 Configure a credential helper to remove this warning. See 17:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:13 17:43:13 Login Succeeded 17:43:13 nexus3.edgexfoundry.org:10004 17:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:14 Configure a credential helper to remove this warning. See 17:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:14 17:43:14 Login Succeeded 17:43:14 docker.io 17:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:14 Configure a credential helper to remove this warning. See 17:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:14 17:43:14 Login Succeeded 17:43:14 ---> docker-login.sh ends [Pipeline] } 17:43:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:43:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:14 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 17:43:14 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:43:14 latest 17:43:14 3.0.0-dev.6 17:43:14 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:43:14 main 17:43:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:43:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:43:15 bdfd3614728b: Preparing 17:43:15 0b82065ea780: Preparing 17:43:15 fd8f910cb7d0: Preparing 17:43:15 1454fc760f04: Preparing 17:43:15 17bec77d7fdc: Preparing 17:43:15 17bec77d7fdc: Layer already exists 17:43:15 0b82065ea780: Pushed 17:43:15 bdfd3614728b: Pushed 17:43:15 1454fc760f04: Pushed 17:43:21 fd8f910cb7d0: Pushed 17:43:21 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:43:22 bdfd3614728b: Preparing 17:43:22 0b82065ea780: Preparing 17:43:22 fd8f910cb7d0: Preparing 17:43:22 1454fc760f04: Preparing 17:43:22 17bec77d7fdc: Preparing 17:43:22 17bec77d7fdc: Layer already exists 17:43:22 0b82065ea780: Layer already exists 17:43:22 fd8f910cb7d0: Layer already exists 17:43:22 1454fc760f04: Layer already exists 17:43:22 bdfd3614728b: Layer already exists 17:43:22 latest: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 17:43:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:43:23 bdfd3614728b: Preparing 17:43:23 0b82065ea780: Preparing 17:43:23 fd8f910cb7d0: Preparing 17:43:23 1454fc760f04: Preparing 17:43:23 17bec77d7fdc: Preparing 17:43:23 fd8f910cb7d0: Layer already exists 17:43:23 0b82065ea780: Layer already exists 17:43:23 17bec77d7fdc: Layer already exists 17:43:23 1454fc760f04: Layer already exists 17:43:23 bdfd3614728b: Layer already exists 17:43:23 3.0.0-dev.6: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:43:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:43:24 bdfd3614728b: Preparing 17:43:24 0b82065ea780: Preparing 17:43:24 fd8f910cb7d0: Preparing 17:43:24 1454fc760f04: Preparing 17:43:24 17bec77d7fdc: Preparing 17:43:24 fd8f910cb7d0: Layer already exists 17:43:24 bdfd3614728b: Layer already exists 17:43:24 17bec77d7fdc: Layer already exists 17:43:24 0b82065ea780: Layer already exists 17:43:24 1454fc760f04: Layer already exists 17:43:24 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 17:43:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:43:25 bdfd3614728b: Preparing 17:43:25 0b82065ea780: Preparing 17:43:25 fd8f910cb7d0: Preparing 17:43:25 1454fc760f04: Preparing 17:43:25 17bec77d7fdc: Preparing 17:43:25 bdfd3614728b: Layer already exists 17:43:25 fd8f910cb7d0: Layer already exists 17:43:25 17bec77d7fdc: Layer already exists 17:43:25 1454fc760f04: Layer already exists 17:43:25 0b82065ea780: Layer already exists 17:43:25 main: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:43:25 ===================================================== [Pipeline] echo 17:43:25 taggedImages: 17:43:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 17:43:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:43:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 17:43:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 17:43:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:25 17:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:26 arm64: Pulling from edgex-lftools-log-publisher 17:43:26 8998bd30e6a1: Pulling fs layer 17:43:26 04944245beec: Pulling fs layer 17:43:26 699f458cf7ca: Pulling fs layer 17:43:26 765212b225bb: Pulling fs layer 17:43:26 f23df028b6ca: Pulling fs layer 17:43:26 d65c8cfc05b1: Pulling fs layer 17:43:26 2437ff75d9bd: Pulling fs layer 17:43:26 765212b225bb: Waiting 17:43:26 f23df028b6ca: Waiting 17:43:26 d65c8cfc05b1: Waiting 17:43:26 2437ff75d9bd: Waiting 17:43:26 04944245beec: Verifying Checksum 17:43:26 04944245beec: Download complete 17:43:26 765212b225bb: Verifying Checksum 17:43:26 765212b225bb: Download complete 17:43:26 f23df028b6ca: Download complete 17:43:26 d65c8cfc05b1: Verifying Checksum 17:43:26 d65c8cfc05b1: Download complete 17:43:26 699f458cf7ca: Verifying Checksum 17:43:26 699f458cf7ca: Download complete 17:43:27 8998bd30e6a1: Verifying Checksum 17:43:27 8998bd30e6a1: Download complete 17:43:29 2437ff75d9bd: Verifying Checksum 17:43:29 2437ff75d9bd: Download complete 17:43:31 8998bd30e6a1: Pull complete 17:43:31 04944245beec: Pull complete 17:43:33 699f458cf7ca: Pull complete 17:43:33 765212b225bb: Pull complete 17:43:34 f23df028b6ca: Pull complete 17:43:34 d65c8cfc05b1: Pull complete 17:43:49 2437ff75d9bd: Pull complete 17:43:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:43:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:49 prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container 17:43: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/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@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:arm64 cat 17:43:52 $ docker top 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:53 ---> job-cost.sh 17:43:53 lf-activate-venv: SKIPPING 17:43:53 INFO: No Stack... 17:43:54 INFO: Retrieving Pricing Info for: v3-standard-4 17:43:55 INFO: Archiving Costs [Pipeline] sh 17:43:56 + cat /w/workspace/device-rest-go/78/archives/cost.csv 17:43:56 + cut -d, -f6 [Pipeline] lock 17:43:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] 17:43:56 Resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] did not exist. Created. 17:43:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:43:57 /w/workspace/device-rest-go/78@tmp/durable-97d8ed36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:43:57 + echo total: 0.10999999940395355 [Pipeline] stash 17:43:57 Warning: overwriting stash ‘stack-cost’ 17:43:57 Stashed 1 file(s) [Pipeline] } 17:43:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 17:43:57 $ docker stop --time=1 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 17:43:59 $ docker rm -f --volumes 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 [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 17:43:59 provisioning config files... 17:43:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9837042563178426357tmp [Pipeline] { [Pipeline] sh 17:44:00 + set +x 17:44:00 + curl -s https://codecov.io/bash 17:44:00 + bash -s -- 17:44:00 17:44:00 _____ _ 17:44:00 / ____| | | 17:44:00 | | ___ __| | ___ ___ _____ __ 17:44:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:44:00 | |___| (_) | (_| | __/ (_| (_) \ V / 17:44:00 \_____\___/ \__,_|\___|\___\___/ \_/ 17:44:00 Bash-1.0.6 17:44:00 17:44:00 17:44:00 ==> git version 2.25.1 found 17:44:00 ==> 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 17:44:00 Release-Date: 2020-01-08 17:44:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:44:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:44:00 ==> Jenkins CI detected. 17:44:00 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 17:44:00 project root: . 17:44:00 --> token set from env 17:44:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:44:00 ==> Running gcov in . (disable via -X gcov) 17:44:00 ==> Python coveragepy not found 17:44:00 ==> Searching for coverage reports in: 17:44:00 + . 17:44:00 -> Found 1 reports 17:44:00 ==> Detecting git/mercurial file structure 17:44:00 ==> Reading reports 17:44:00 + ./coverage.out bytes=9355 17:44:00 ==> Appending adjustments 17:44:00 https://docs.codecov.io/docs/fixing-reports 17:44:00 + Found adjustments 17:44:00 ==> Gzipping contents 17:44:00 4.0K /tmp/codecov.WWFp5n.gz 17:44:00 ==> Uploading reports 17:44:00 url: https://codecov.io 17:44:00 query: branch=main&commit=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:00 -> Pinging Codecov 17:44:00 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=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:00 -> Uploading to 17:44:00 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/4E5D53B4F1F92C436F7061BF334D961C/7d8e6f5ecbf08d53345d5c199887d0d319da1d2d/fece4ec5-4f05-4e07-9eb7-d3242cb94ff5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d76011bd26344cce46e6abb3f51075995104626dfaacb838272566015adfb822 17:44:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:00 Dload Upload Total Spent Left Speed 17:44:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6588 --:--:-- --:--:-- --:--:-- 6588 17:44:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } 17:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:44:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:44:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:01 17:44:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:44:01 df9b9388f04a: Pulling fs layer 17:44:01 52dc419b0ee2: Pulling fs layer 17:44:01 25bc292e5bac: Pulling fs layer 17:44:01 114826534d7a: Pulling fs layer 17:44:01 4657fd5d0bcf: Pulling fs layer 17:44:01 6ad1cebc031e: Pulling fs layer 17:44:01 8a3aa393b2d8: Pulling fs layer 17:44:01 114826534d7a: Waiting 17:44:01 4657fd5d0bcf: Waiting 17:44:01 8a3aa393b2d8: Waiting 17:44:01 25bc292e5bac: Verifying Checksum 17:44:01 25bc292e5bac: Download complete 17:44:01 52dc419b0ee2: Download complete 17:44:01 4657fd5d0bcf: Verifying Checksum 17:44:01 4657fd5d0bcf: Download complete 17:44:01 df9b9388f04a: Verifying Checksum 17:44:01 df9b9388f04a: Download complete 17:44:01 df9b9388f04a: Pull complete 17:44:01 52dc419b0ee2: Pull complete 17:44:02 25bc292e5bac: Pull complete 17:44:02 6ad1cebc031e: Verifying Checksum 17:44:02 6ad1cebc031e: Download complete 17:44:02 114826534d7a: Verifying Checksum 17:44:02 114826534d7a: Download complete 17:44:03 8a3aa393b2d8: Verifying Checksum 17:44:03 8a3aa393b2d8: Download complete 17:44:06 114826534d7a: Pull complete 17:44:06 4657fd5d0bcf: Pull complete 17:44:06 6ad1cebc031e: Pull complete 17:44:09 8a3aa393b2d8: Pull complete 17:44:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:10 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44:10 $ 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 17:44:12 $ docker top e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a -eo pid,comm [Pipeline] { [Pipeline] echo 17:44:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 17:44:12 + set -o pipefail 17:44:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 17:44:19 17:44:19 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 17:44:19 17:44:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0850816c-94bc-4572-b765-d4328c63ea64 17:44:19 17:44:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:44:19 17:44:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:44:19 17:44:19 17:44:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:44:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:44:19 More details here: https://snyk.co/ue1NS [Pipeline] } 17:44:19 $ docker stop --time=1 e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a 17:44:21 $ docker rm -f --volumes e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a [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 17:44:21 + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] sh 17:44:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:22 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44: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 17:44:23 $ docker top 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:23 [ssh-agent] Looking for ssh-agent implementation... 17:44:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:23 $ docker exec 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 ssh-agent 17:44:23 SSH_AUTH_SOCK=/tmp/ssh-NhfRteGaDANb/agent.32 17:44:23 SSH_AGENT_PID=39 17:44:23 Running ssh-add (command line suppressed) 17:44:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6551850674318720996.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6551850674318720996.key) 17:44:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:23 + git semver tag 17:44:24 2023-01-17 17:44:23,922 [run_tag] DEBUG tag force:False 17:44:24 2023-01-17 17:44:23,923 [check_head_tag] DEBUG check head tag 17:44:24 2023-01-17 17:44:23,923 [execute] INFO git cat-file --batch-check 17:44:24 2023-01-17 17:44:23,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:44:24 2023-01-17 17:44:23,929 [execute] INFO git cat-file --batch 17:44:24 2023-01-17 17:44:23,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:44:24 2023-01-17 17:44:23,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:24 2023-01-17 17:44:23,946 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 17:44:24 2023-01-17 17:44:23,947 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:44:24 2023-01-17 17:44:23,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:24 3.0.0-dev.6 [Pipeline] } 17:44:24 $ docker exec --env ******** --env ******** 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 ssh-agent -k 17:44:24 unset SSH_AUTH_SOCK; 17:44:24 unset SSH_AGENT_PID; 17:44:24 echo Agent pid 39 killed; 17:44:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:24 + git semver [Pipeline] } 17:44:24 $ docker stop --time=1 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 17:44:25 $ docker rm -f --volumes 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:26 17:44:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:26 0.23.1-centos7: Pulling from edgex-lftools 17:44:26 ab5ef0e58194: Pulling fs layer 17:44:26 9712f1f96733: Pulling fs layer 17:44:26 63f879dbbcfc: Pulling fs layer 17:44:26 0d9ebad4ef96: Pulling fs layer 17:44:26 e9a5061849ea: Pulling fs layer 17:44:26 d747dcd14b5f: Pulling fs layer 17:44:26 2de7ff778b66: Pulling fs layer 17:44:26 e9a5061849ea: Waiting 17:44:26 2de7ff778b66: Waiting 17:44:26 0d9ebad4ef96: Waiting 17:44:26 9712f1f96733: Verifying Checksum 17:44:26 9712f1f96733: Download complete 17:44:27 63f879dbbcfc: Verifying Checksum 17:44:27 63f879dbbcfc: Download complete 17:44:27 0d9ebad4ef96: Verifying Checksum 17:44:27 0d9ebad4ef96: Download complete 17:44:27 d747dcd14b5f: Download complete 17:44:27 ab5ef0e58194: Verifying Checksum 17:44:27 ab5ef0e58194: Download complete 17:44:27 e9a5061849ea: Verifying Checksum 17:44:27 e9a5061849ea: Download complete 17:44:28 2de7ff778b66: Verifying Checksum 17:44:28 2de7ff778b66: Download complete 17:44:30 ab5ef0e58194: Pull complete 17:44:30 9712f1f96733: Pull complete 17:44:31 63f879dbbcfc: Pull complete 17:44:35 0d9ebad4ef96: Pull complete 17:44:35 e9a5061849ea: Pull complete 17:44:35 d747dcd14b5f: Pull complete 17:44:36 2de7ff778b66: Pull complete 17:44:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:36 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44: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 17:44:38 $ docker top 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:44:39 provisioning config files... 17:44:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14466580086809840151tmp 17:44:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13046655960815982708tmp 17:44:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5431742881191655553tmp [Pipeline] { [Pipeline] echo 17:44:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:44:39 ---> sigul-configuration.sh 17:44:39 gpg: directory `/root/.gnupg' created 17:44:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:44:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:44:39 gpg: keyring `/root/.gnupg/secring.gpg' created 17:44:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:44:39 gpg: CAST5 encrypted data 17:44:39 gpg: encrypted with 1 passphrase 17:44:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:44:39 + mkdir /home/jenkins 17:44:39 + mkdir /home/jenkins/sigul [Pipeline] sh 17:44:39 + 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 17:44:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:44:40 ---> sigul-install.sh 17:44:40 Sigul already installed; skipping installation. [Pipeline] sh 17:44:40 + git tag --list 17:44:40 v1.0.0 17:44:40 v1.1.0 17:44:40 v1.1.1 17:44:40 v1.1.2 17:44:40 v1.2.0 17:44:40 v1.2.1 17:44:40 v2.0.0 17:44:40 v2.1.0 17:44:40 v2.1.1 17:44:40 v2.1.1-dev.1 17:44:40 v2.1.1-dev.2 17:44:40 v2.1.1-dev.3 17:44:40 v2.2.0 17:44:40 v2.2.1-dev.1 17:44:40 v2.2.1-dev.2 17:44:40 v2.2.1-dev.3 17:44:40 v2.2.1-dev.4 17:44:40 v2.2.1-dev.5 17:44:40 v2.2.1-dev.6 17:44:40 v2.2.1-dev.7 17:44:40 v2.2.1-dev.8 17:44:40 v2.2.1-dev.9 17:44:40 v2.3.0 17:44:40 v2.3.0-dev.10 17:44:40 v2.3.0-dev.11 17:44:40 v2.3.0-dev.12 17:44:40 v2.3.0-dev.13 17:44:40 v2.3.0-dev.14 17:44:40 v2.3.0-dev.15 17:44:40 v2.3.0-dev.16 17:44:40 v2.3.0-dev.17 17:44:40 v2.3.0-dev.18 17:44:40 v2.3.0-dev.19 17:44:40 v2.3.0-dev.20 17:44:40 v2.3.0-dev.21 17:44:40 v2.3.0-dev.22 17:44:40 v2.3.0-dev.23 17:44:40 v2.3.0-dev.24 17:44:40 v2.3.0-dev.25 17:44:40 v2.3.0-dev.9 17:44:40 v3.0.0-dev.1 17:44:40 v3.0.0-dev.2 17:44:40 v3.0.0-dev.3 17:44:40 v3.0.0-dev.4 17:44:40 v3.0.0-dev.5 17:44:40 v3.0.0-dev.6 [Pipeline] sh 17:44:40 + lftools sign git-tag v3.0.0-dev.6 17:44:41 Signing Git tag with Sigul... 17:44:41 Signing v3.0.0-dev.6 [Pipeline] echo 17:44:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:44:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:44:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:44:41 $ docker stop --time=1 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 17:44:43 $ docker rm -f --volumes 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:44:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:44 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44:44 $ 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 17:44:44 $ docker top ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e -eo pid,comm 17:44:44 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). 17:44:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:44 [ssh-agent] Looking for ssh-agent implementation... 17:44:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:44 $ docker exec ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e ssh-agent 17:44:44 SSH_AUTH_SOCK=/tmp/ssh-iHmnvwhW4k0v/agent.32 17:44:44 SSH_AGENT_PID=38 17:44:44 Running ssh-add (command line suppressed) 17:44:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7875867954848234318.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7875867954848234318.key) 17:44:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:45 + git semver bump pre 17:44:45 2023-01-17 17:44:45,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:45 2023-01-17 17:44:45,260 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 17:44:45 2023-01-17 17:44:45,260 [bump_version] DEBUG bumped version:3.0.0-dev.7 17:44:45 2023-01-17 17:44:45,260 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 17:44:45 2023-01-17 17:44:45,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:45 2023-01-17 17:44:45,261 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:45 2023-01-17 17:44:45,262 [execute] INFO git cat-file --batch-check 17:44:45 2023-01-17 17:44:45,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:44:45 2023-01-17 17:44:45,268 [execute] INFO git cat-file --batch 17:44:45 2023-01-17 17:44:45,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:44:45 2023-01-17 17:44:45,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:45 3.0.0-dev.7 [Pipeline] } 17:44:45 $ docker exec --env ******** --env ******** ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e ssh-agent -k 17:44:45 unset SSH_AUTH_SOCK; 17:44:45 unset SSH_AGENT_PID; 17:44:45 echo Agent pid 38 killed; 17:44:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:45 + git semver [Pipeline] } 17:44:46 $ docker stop --time=1 ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e 17:44:47 $ docker rm -f --volumes ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e [Pipeline] // withDockerContainer [Pipeline] sh 17:44:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:48 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44:48 $ 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 17:44:48 $ docker top 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:48 [ssh-agent] Looking for ssh-agent implementation... 17:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:48 $ docker exec 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 ssh-agent 17:44:48 SSH_AUTH_SOCK=/tmp/ssh-AUAfbaYDL5ec/agent.31 17:44:48 SSH_AGENT_PID=37 17:44:48 Running ssh-add (command line suppressed) 17:44:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18033475403508321574.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18033475403508321574.key) 17:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:49 + git semver push 17:44:49 2023-01-17 17:44:49,321 [run_push] DEBUG push 17:44:49 2023-01-17 17:44:49,321 [execute] INFO git cat-file --batch-check 17:44:49 2023-01-17 17:44:49,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:44:49 2023-01-17 17:44:49,325 [execute] INFO git rev-list 76d518e39a57e31c6d4f23a74ea85586387e6440 -- 17:44:49 2023-01-17 17:44:49,326 [execute] DEBUG Popen(['git', 'rev-list', '76d518e39a57e31c6d4f23a74ea85586387e6440', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:44:49 2023-01-17 17:44:49,334 [execute] INFO git fetch -v origin 17:44:49 2023-01-17 17:44:49,334 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:44:49 2023-01-17 17:44:49,863 [run_push] DEBUG no remote changes detected 17:44:49 2023-01-17 17:44:49,863 [execute] INFO git push origin semver 17:44:49 2023-01-17 17:44:49,863 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:44:50 2023-01-17 17:44:50,741 [run_push] DEBUG push all version tags 17:44:50 2023-01-17 17:44:50,741 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:44:50 2023-01-17 17:44:50,742 [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) 17:44:51 2023-01-17 17:44:51,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:44:51 3.0.0-dev.7 [Pipeline] } 17:44:51 $ docker exec --env ******** --env ******** 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 ssh-agent -k 17:44:51 unset SSH_AUTH_SOCK; 17:44:51 unset SSH_AGENT_PID; 17:44:51 echo Agent pid 37 killed; 17:44:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:52 + git semver [Pipeline] } 17:44:52 $ docker stop --time=1 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 17:44:53 $ docker rm -f --volumes 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 [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 17:44:54 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 17:44:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:44:54 total 16 17:44:54 drwxr-xr-x 3 root root 4096 Jan 17 17:34 . 17:44:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:44 .. 17:44:54 drwxr-xr-x 2 root root 4096 Jan 17 17:34 cost 17:44:54 -rw-r--r-- 1 root root 85 Jan 17 17:34 cost.csv 17:44:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 17:44:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:44:54 total 16 17:44:54 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 . 17:44:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:44 .. 17:44:54 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:34 cost 17:44:54 -rw-r--r-- 1 jenkins jenkins 85 Jan 17 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:44:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:44:55 ---> package-listing.sh 17:44:55 ++ facter osfamily 17:44:55 ++ tr '[:upper:]' '[:lower:]' 17:44:55 + OS_FAMILY=debian 17:44:55 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 17:44:55 + START_PACKAGES=/tmp/packages_start.txt 17:44:55 + END_PACKAGES=/tmp/packages_end.txt 17:44:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:44:55 + PACKAGES=/tmp/packages_start.txt 17:44:55 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:44:55 + PACKAGES=/tmp/packages_end.txt 17:44:55 + case "${OS_FAMILY}" in 17:44:55 + dpkg -l 17:44:55 + grep '^ii' 17:44:55 + '[' -f /tmp/packages_start.txt ']' 17:44:55 + '[' -f /tmp/packages_end.txt ']' 17:44:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:44:55 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:44:55 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 17:44:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 17:44:55 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 17:44:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:56 prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container 17:44:56 $ 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 17:44:56 $ docker top 9234b9487c39b7ea1514c96748959cefb3e3d761d31ef7d81cea518585afdf42 -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:56 + touch /tmp/pre-build-complete [Pipeline] sh 17:44:57 + mkdir -p /var/log/sysstat [Pipeline] sh 17:44:57 + ls /var/log/sa-host 17:44:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:57 provisioning config files... 17:44:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8089683236640403929tmp [Pipeline] { [Pipeline] echo 17:44:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:44:57 ---> create-netrc.sh [Pipeline] } 17:44:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:44:58 ---> python-tools-install.sh [Pipeline] echo 17:44:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:44:58 ---> sudo-logs.sh 17:44:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:44:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:44:58 ---> job-cost.sh 17:44:58 lf-activate-venv: SKIPPING 17:44:58 DEBUG: total: 0.2199999988079071 17:44:58 INFO: Retrieving Stack Cost... 17:44:59 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:59 INFO: Archiving Costs [Pipeline] echo 17:44:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:44:59 ---> logs-deploy.sh 17:44:59 lf-activate-venv: SKIPPING 17:44:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/78 17:44:59 INFO: archiving workspace using pattern(s): 17:45:00 Archives upload complete. 17:45:00 INFO: archiving logs to Nexus