Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98c53550becdffe5607264f4f78746e0be51d9ff 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-ssh11042637598949826781.key Verifying host key using known hosts file > 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-ssh5060198960890337681.key Verifying host key using known hosts file > 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-ssh13047944247906412227.key Verifying host key using known hosts file > 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-ssh9531486077676304574.key Verifying host key using known hosts file > 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-ssh9958718841711998714.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118516 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98c53550becdffe5607264f4f78746e0be51d9ff (main) Commit message: "Merge pull request #226 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 > git rev-list --no-walk ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:39 ========================================================= 22:28:39 EdgeX Global Pipelines Version Info 22:28:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:28:39 ------------------- 22:28:39 stable info: 22:28:39 ------------------- 22:28:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:28:39 Message: update stable to v1.0.244 22:28:40 ------------------- 22:28:40 experimental info: 22:28:40 ------------------- 22:28:40 Commited By: **** collab-it+edgex@linuxfoundation.org 22:28:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:28:40 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98c5355 [Pipeline] echo 22:28:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:40 provisioning config files... 22:28:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4882381175460703924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:41 ---> docker-login.sh 22:28:41 nexus3.edgexfoundry.org:10001 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 nexus3.edgexfoundry.org:10002 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 nexus3.edgexfoundry.org:10003 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 nexus3.edgexfoundry.org:10004 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 docker.io 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 ---> docker-login.sh ends [Pipeline] } 22:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:42 + git rev-list -1 --merges 98c53550becdffe5607264f4f78746e0be51d9ff~1..98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] echo 22:28:42 -----------> git rev-list -1 --merges 98c53550becdffe5607264f4f78746e0be51d9ff~1..98c53550becdffe5607264f4f78746e0be51d9ff 98c53550becdffe5607264f4f78746e0be51d9ff 22:28:42 98c53550becdffe5607264f4f78746e0be51d9ff [false] [Pipeline] sh 22:28:42 + git log --format=format:%s -1 98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] echo 22:28:42 ========================================================= 22:28:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:43 + git log --format=format:%s -1 98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] echo 22:28:43 [semverPrep] GIT_COMMIT: 98c53550becdffe5607264f4f78746e0be51d9ff, Commit Message: Merge pull request #226 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0 [Pipeline] echo 22:28:43 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:43 + grep -v github /etc/ssh/ssh_known_hosts 22:28:43 + [ -e /tmp/ssh_known_hosts ] 22:28:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:43 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:44 22:28:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:44 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:44 b85a868b505f: Pulling fs layer 22:28:44 e2be974225ed: Pulling fs layer 22:28:44 339a4e72a1f5: Pulling fs layer 22:28:44 988bab9f4d93: Pulling fs layer 22:28:44 1469e6f7b9e6: Pulling fs layer 22:28:44 eaf3925da568: Pulling fs layer 22:28:44 bab4dde63d76: Pulling fs layer 22:28:44 bde34c3a00c8: Pulling fs layer 22:28:44 b352a97aabf1: Pulling fs layer 22:28:44 4872d77fe225: Pulling fs layer 22:28:44 5851b861e8e6: Pulling fs layer 22:28:44 988bab9f4d93: Waiting 22:28:44 1469e6f7b9e6: Waiting 22:28:44 bab4dde63d76: Waiting 22:28:44 eaf3925da568: Waiting 22:28:44 bde34c3a00c8: Waiting 22:28:44 4872d77fe225: Waiting 22:28:44 b352a97aabf1: Waiting 22:28:44 5851b861e8e6: Waiting 22:28:44 e2be974225ed: Verifying Checksum 22:28:44 e2be974225ed: Download complete 22:28:44 988bab9f4d93: Download complete 22:28:44 1469e6f7b9e6: Verifying Checksum 22:28:44 1469e6f7b9e6: Download complete 22:28:44 339a4e72a1f5: Verifying Checksum 22:28:44 339a4e72a1f5: Download complete 22:28:44 eaf3925da568: Download complete 22:28:44 bde34c3a00c8: Verifying Checksum 22:28:44 bde34c3a00c8: Download complete 22:28:44 b352a97aabf1: Verifying Checksum 22:28:44 b352a97aabf1: Download complete 22:28:44 4872d77fe225: Verifying Checksum 22:28:44 4872d77fe225: Download complete 22:28:44 5851b861e8e6: Verifying Checksum 22:28:44 b85a868b505f: Verifying Checksum 22:28:44 b85a868b505f: Download complete 22:28:45 bab4dde63d76: Verifying Checksum 22:28:45 bab4dde63d76: Download complete 22:28:45 b85a868b505f: Pull complete 22:28:45 e2be974225ed: Pull complete 22:28:46 339a4e72a1f5: Pull complete 22:28:46 988bab9f4d93: Pull complete 22:28:46 1469e6f7b9e6: Pull complete 22:28:46 eaf3925da568: Pull complete 22:28:48 bab4dde63d76: Pull complete 22:28:48 bde34c3a00c8: Pull complete 22:28:48 b352a97aabf1: Pull complete 22:28:48 4872d77fe225: Pull complete 22:28:48 5851b861e8e6: Pull complete 22:28:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:28:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:48 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:28:50 $ docker top f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 -eo pid,comm 22:28:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:28:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:50 [ssh-agent] Looking for ssh-agent implementation... 22:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:50 $ docker exec f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 ssh-agent 22:28:50 SSH_AUTH_SOCK=/tmp/ssh-AwGKwhEbmANy/agent.32 22:28:50 SSH_AGENT_PID=38 22:28:50 Running ssh-add (command line suppressed) 22:28:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6509929187928550470.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6509929187928550470.key) 22:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:50 + git tag --points-at HEAD [Pipeline] } 22:28:50 $ docker exec --env ******** --env ******** f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 ssh-agent -k 22:28:50 unset SSH_AUTH_SOCK; 22:28:50 unset SSH_AGENT_PID; 22:28:50 echo Agent pid 38 killed; 22:28:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:51 [ssh-agent] Looking for ssh-agent implementation... 22:28:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:51 $ docker exec f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 ssh-agent 22:28:51 SSH_AUTH_SOCK=/tmp/ssh-hl4IrvswS6Av/agent.70 22:28:51 SSH_AGENT_PID=76 22:28:51 Running ssh-add (command line suppressed) 22:28:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556371367596362080.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556371367596362080.key) 22:28:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:51 + git semver init 22:28:51 2022-11-07 22:28:51,801 [run_init] DEBUG init version:0.0.0 force:False 22:28:51 2022-11-07 22:28:51,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:28:51 2022-11-07 22:28:51,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:28:51 2022-11-07 22:28:51,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:28:53 2022-11-07 22:28:52,914 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:28:53 2022-11-07 22:28:52,915 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:28:53 2022-11-07 22:28:52,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:28:53 2022-11-07 22:28:52,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:28:53 2.3.0-dev.24 [Pipeline] } 22:28:53 $ docker exec --env ******** --env ******** f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 ssh-agent -k 22:28:53 unset SSH_AUTH_SOCK; 22:28:53 unset SSH_AGENT_PID; 22:28:53 echo Agent pid 76 killed; 22:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:53 + git semver [Pipeline] } 22:28:54 $ docker stop --time=1 f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 22:28:55 $ docker rm -f f69382c713f1a1d6975fe8bcd61e147bd5f7828dc3e5118936d739aa63c4e274 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:55 Stashed 1 file(s) [Pipeline] echo 22:28:55 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:55 provisioning config files... 22:28:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6698115875406856341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:56 ---> docker-login.sh 22:28:56 nexus3.edgexfoundry.org:10001 22:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:56 Configure a credential helper to remove this warning. See 22:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:56 22:28:56 Login Succeeded 22:28:56 nexus3.edgexfoundry.org:10002 22:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:56 Configure a credential helper to remove this warning. See 22:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:56 22:28:56 Login Succeeded 22:28:56 nexus3.edgexfoundry.org:10003 22:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:56 Configure a credential helper to remove this warning. See 22:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:56 22:28:56 Login Succeeded 22:28:56 nexus3.edgexfoundry.org:10004 22:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:56 Configure a credential helper to remove this warning. See 22:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:56 22:28:56 Login Succeeded 22:28:56 docker.io 22:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:57 Configure a credential helper to remove this warning. See 22:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:57 22:28:57 Login Succeeded 22:28:57 ---> docker-login.sh ends [Pipeline] } 22:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:57 ========================================================= 22:28:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:28:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:57 + 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 . 22:28:57 Sending build context to Docker daemon 10.75MB 22:28:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:28:57 Step 2/12 : FROM ${BASE} AS builder 22:28:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:57 213ec9aee27d: Pulling fs layer 22:28:57 4583459ba037: Pulling fs layer 22:28:57 93c1e223e6f2: Pulling fs layer 22:28:57 53926ce57604: Pulling fs layer 22:28:57 21b2b0c7a3f4: Pulling fs layer 22:28:57 22ff95d597cd: Pulling fs layer 22:28:57 12d6caf4c0d1: Pulling fs layer 22:28:57 96b7cbca73a9: Pulling fs layer 22:28:57 a7acece74701: Pulling fs layer 22:28:57 53926ce57604: Waiting 22:28:57 96b7cbca73a9: Waiting 22:28:57 21b2b0c7a3f4: Waiting 22:28:57 12d6caf4c0d1: Waiting 22:28:57 a7acece74701: Waiting 22:28:57 22ff95d597cd: Waiting 22:28:57 93c1e223e6f2: Verifying Checksum 22:28:57 93c1e223e6f2: Download complete 22:28:57 4583459ba037: Download complete 22:28:57 21b2b0c7a3f4: Verifying Checksum 22:28:57 21b2b0c7a3f4: Download complete 22:28:57 22ff95d597cd: Verifying Checksum 22:28:57 22ff95d597cd: Download complete 22:28:57 213ec9aee27d: Verifying Checksum 22:28:57 213ec9aee27d: Download complete 22:28:57 12d6caf4c0d1: Verifying Checksum 22:28:57 12d6caf4c0d1: Download complete 22:28:57 213ec9aee27d: Pull complete 22:28:57 4583459ba037: Pull complete 22:28:57 93c1e223e6f2: Pull complete 22:28:58 a7acece74701: Verifying Checksum 22:28:58 a7acece74701: Download complete 22:28:58 96b7cbca73a9: Verifying Checksum 22:28:58 96b7cbca73a9: Download complete 22:28:58 53926ce57604: Verifying Checksum 22:28:58 53926ce57604: Download complete 22:29:01 53926ce57604: Pull complete 22:29:01 21b2b0c7a3f4: Pull complete 22:29:01 22ff95d597cd: Pull complete 22:29:02 12d6caf4c0d1: Pull complete 22:29:03 96b7cbca73a9: Pull complete 22:29:04 a7acece74701: Pull complete 22:29:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:29:04 ---> db6d94c90886 22:29:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:29:06 ---> Running in 7610bf0fe586 22:29:06 Removing intermediate container 7610bf0fe586 22:29:06 ---> d7f0101b9877 22:29:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:06 ---> Running in 3941796179fc 22:29:06 Removing intermediate container 3941796179fc 22:29:06 ---> 7e47e15704d1 22:29:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:29:06 ---> Running in b2f2a672b230 22:29:06 Removing intermediate container b2f2a672b230 22:29:06 ---> 76ac43716a40 22:29:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:29:06 ---> Running in 72f34cb54fb5 22:29:07 Removing intermediate container 72f34cb54fb5 22:29:07 ---> 7c3bbbe49f34 22:29:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:07 ---> Running in 763e88aae5bc 22:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:29:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:29:07 (2/4) Installing libedit (20210910.3.1-r0) 22:29:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:29:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:29:07 Executing busybox-1.35.0-r17.trigger 22:29:07 OK: 216 MiB in 55 packages 22:29:08 Removing intermediate container 763e88aae5bc 22:29:08 ---> c9fec853eb7d 22:29:08 Step 8/12 : WORKDIR /device-rest-go 22:29:08 ---> Running in 974a28f0bf5a 22:29:08 Removing intermediate container 974a28f0bf5a 22:29:08 ---> ecfb3eff8fa0 22:29:08 Step 9/12 : COPY go.mod vendor* ./ 22:29:08 ---> 224e39117f91 22:29:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:08 ---> Running in 43b8db4abd19 22:29:10 Still waiting to schedule task 22:29:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:29:30 Removing intermediate container 43b8db4abd19 22:29:30 ---> d3f43fa76f19 22:29:30 Step 11/12 : COPY . . 22:29:30 ---> f886135d7884 22:29:30 Step 12/12 : RUN $MAKE 22:29:30 ---> Running in a18c271b40ec 22:29:30 noop 22:29:30 Removing intermediate container a18c271b40ec 22:29:30 ---> 347e6ee16fcb 22:29:30 Successfully built 347e6ee16fcb 22:29:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:31 + docker inspect -f . ci-base-image-x86_64 22:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:31 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:29:31 $ 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 22:29:31 $ docker top 2d59b7e09d37b22dbc5d49c16cdc5286decf203823ad0a0f02aaec6126d63994 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:32 + go version 22:29:32 go version go1.18.7 linux/amd64 [Pipeline] } 22:29:32 $ docker stop --time=1 2d59b7e09d37b22dbc5d49c16cdc5286decf203823ad0a0f02aaec6126d63994 22:29:33 $ docker rm -f 2d59b7e09d37b22dbc5d49c16cdc5286decf203823ad0a0f02aaec6126d63994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:33 + docker inspect -f . ci-base-image-x86_64 22:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:33 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:29:33 $ 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 22:29:34 $ docker top 2abe4a41fc90496e8f22a441b76d39fef54ccbddf6606c9254f66941a20d7fb6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:29:34 + make test 22:29:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:29:35 ? github.com/edgexfoundry/device-rest-go [no test files] 22:29:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:29:45 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 22:29:50 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." 22:29:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:29:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:29:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:29:53 ./bin/test-attribution-txt.sh [Pipeline] echo 22:29:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:29:53 $ docker stop --time=1 2abe4a41fc90496e8f22a441b76d39fef54ccbddf6606c9254f66941a20d7fb6 22:29:55 $ docker rm -f 2abe4a41fc90496e8f22a441b76d39fef54ccbddf6606c9254f66941a20d7fb6 [Pipeline] // withDockerContainer [Pipeline] sh 22:29:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:29:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:29:56 + ls -al . 22:29:56 total 188 22:29:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 22:29 . 22:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:28 .. 22:29:56 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 22:28 .dockerignore 22:29:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:29 .git 22:29:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:28 .github 22:29:56 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 22:28 .gitignore 22:29:56 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 22:28 .golangci.yml 22:29:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:28 .semver 22:29:56 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 22:28 Attribution.txt 22:29:56 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 22:28 CHANGELOG.md 22:29:56 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 22:28 Dockerfile 22:29:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:28 GOVERNANCE.md 22:29:56 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 22:28 Jenkinsfile 22:29:56 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 22:28 LICENSE 22:29:56 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 22:28 Makefile 22:29:56 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 22:28 OWNERS.md 22:29:56 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 22:28 README.md 22:29:56 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 22:28 VERSION 22:29:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:28 bin 22:29:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:28 cmd 22:29:56 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 22:29 coverage.out 22:29:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:28 driver 22:29:56 -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 22:28 go.mod 22:29:56 -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 22:28 go.sum 22:29:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:28 snap 22:29:56 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:56 + 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=98c53550becdffe5607264f4f78746e0be51d9ff --label arch=amd64 --label version=2.3.0-dev.24 . 22:29:56 Sending build context to Docker daemon 10.76MB 22:29:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:29:56 Step 2/25 : FROM ${BASE} AS builder 22:29:56 ---> 347e6ee16fcb 22:29:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:29:56 ---> Running in 5bee67360201 22:29:57 Removing intermediate container 5bee67360201 22:29:57 ---> d0e6a05728d1 22:29:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:57 ---> Running in 31c206f46aac 22:29:57 Removing intermediate container 31c206f46aac 22:29:57 ---> 2460eeba00fd 22:29:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:29:57 ---> Running in 8250b055673d 22:29:57 Removing intermediate container 8250b055673d 22:29:57 ---> 98cd46e197b1 22:29:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:29:57 ---> Running in 9ed1dfff3af5 22:29:57 Removing intermediate container 9ed1dfff3af5 22:29:57 ---> 0fb466e15a77 22:29:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:57 ---> Running in 36f50f787c7f 22:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:29:58 OK: 216 MiB in 55 packages 22:29:58 Removing intermediate container 36f50f787c7f 22:29:58 ---> d5ba37ddaa8f 22:29:58 Step 8/25 : WORKDIR /device-rest-go 22:29:58 ---> Running in 7b3c021dd16f 22:29:58 Removing intermediate container 7b3c021dd16f 22:29:58 ---> b698ee3bd258 22:29:58 Step 9/25 : COPY go.mod vendor* ./ 22:29:59 ---> 5c123a5a31ba 22:29:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:59 ---> Running in c2ee3d2c1578 22:29:59 Removing intermediate container c2ee3d2c1578 22:29:59 ---> 71dc8f8cdfa1 22:29:59 Step 11/25 : COPY . . 22:29:59 ---> 7e10a1421246 22:29:59 Step 12/25 : RUN $MAKE 22:29:59 ---> Running in 4710cd69cbbc 22:30:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:30:22 Removing intermediate container 4710cd69cbbc 22:30:22 ---> 2092377e7cbe 22:30:22 Step 13/25 : FROM alpine:3.16 22:30:22 3.16: Pulling from library/alpine 22:30:22 213ec9aee27d: Already exists 22:30:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:30:22 Status: Downloaded newer image for alpine:3.16 22:30:22 ---> 9c6f07244728 22:30:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:30:22 ---> Running in 4e465247f1df 22:30:22 Removing intermediate container 4e465247f1df 22:30:22 ---> f276df4172bb 22:30:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:30:22 ---> Running in fd5a63c0675c 22:30:22 Removing intermediate container fd5a63c0675c 22:30:22 ---> 095a8f15637e 22:30:22 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:30:22 ---> Running in 64d95d8e8033 22:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:30:22 (1/6) Installing dumb-init (1.2.5-r1) 22:30:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:30:22 (3/6) Installing libsodium (1.0.18-r0) 22:30:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:30:22 (5/6) Installing libzmq (4.3.4-r0) 22:30:22 (6/6) Installing zeromq (4.3.4-r0) 22:30:22 Executing busybox-1.35.0-r17.trigger 22:30:22 OK: 8 MiB in 20 packages 22:30:22 Removing intermediate container 64d95d8e8033 22:30:22 ---> 543a0479a615 22:30:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:30:22 ---> dfeabb2641f9 22:30:22 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:30:22 ---> 13ed4d3f92c0 22:30:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:30:22 ---> 2802e7ff3f4a 22:30:22 Step 20/25 : EXPOSE 59986 22:30:22 ---> Running in cb920d577b21 22:30:22 Removing intermediate container cb920d577b21 22:30:22 ---> b87fcbfbf4b4 22:30:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:30:22 ---> Running in 62de84935f2b 22:30:22 Removing intermediate container 62de84935f2b 22:30:22 ---> 485f781b8b07 22:30:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:30:22 ---> Running in 7557c797edec 22:30:22 Removing intermediate container 7557c797edec 22:30:22 ---> 9254cef837ed 22:30:22 Step 23/25 : LABEL arch=amd64 22:30:22 ---> Running in 6ffcc581e05c 22:30:22 Removing intermediate container 6ffcc581e05c 22:30:22 ---> 2b1ba3336ece 22:30:22 Step 24/25 : LABEL git_sha=98c53550becdffe5607264f4f78746e0be51d9ff 22:30:22 ---> Running in 8e36d7a2e995 22:30:22 Removing intermediate container 8e36d7a2e995 22:30:22 ---> e6fb9c9912d2 22:30:22 Step 25/25 : LABEL version=2.3.0-dev.24 22:30:22 ---> Running in 313178dcfe12 22:30:22 Removing intermediate container 313178dcfe12 22:30:22 ---> 52037b76fe38 22:30:22 [Warning] One or more build-args [ARCH] were not consumed 22:30:22 Successfully built 52037b76fe38 22:30:22 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:22 provisioning config files... 22:30:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2457161018958713786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:22 ---> docker-login.sh 22:30:22 nexus3.edgexfoundry.org:10001 22:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:22 Configure a credential helper to remove this warning. See 22:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:22 22:30:22 Login Succeeded 22:30:22 nexus3.edgexfoundry.org:10002 22:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:22 Configure a credential helper to remove this warning. See 22:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:22 22:30:22 Login Succeeded 22:30:22 nexus3.edgexfoundry.org:10003 22:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:23 Configure a credential helper to remove this warning. See 22:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:23 22:30:23 Login Succeeded 22:30:23 nexus3.edgexfoundry.org:10004 22:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:23 Configure a credential helper to remove this warning. See 22:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:23 22:30:23 Login Succeeded 22:30:23 docker.io 22:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:23 Configure a credential helper to remove this warning. See 22:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:23 22:30:23 Login Succeeded 22:30:23 ---> docker-login.sh ends [Pipeline] } 22:30:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:23 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:30:23 98c53550becdffe5607264f4f78746e0be51d9ff 22:30:23 latest 22:30:23 2.3.0-dev.24 22:30:23 98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:30:23 main 22:30:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff 22:30:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:30:24 828a371e93c1: Preparing 22:30:24 8fef3829e133: Preparing 22:30:24 f6cf0d485baa: Preparing 22:30:24 9d7b42ce062d: Preparing 22:30:24 994393dc58e7: Preparing 22:30:24 994393dc58e7: Layer already exists 22:30:24 828a371e93c1: Pushed 22:30:24 8fef3829e133: Pushed 22:30:24 9d7b42ce062d: Pushed 22:30:27 f6cf0d485baa: Pushed 22:30:27 98c53550becdffe5607264f4f78746e0be51d9ff: digest: sha256:2b3415e5a53cc1a319baf10457cda64a335d695acb94d266e1aca2d76d3e35fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:30:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:30:27 828a371e93c1: Preparing 22:30:27 8fef3829e133: Preparing 22:30:27 f6cf0d485baa: Preparing 22:30:27 9d7b42ce062d: Preparing 22:30:27 994393dc58e7: Preparing 22:30:27 8fef3829e133: Layer already exists 22:30:27 f6cf0d485baa: Layer already exists 22:30:27 9d7b42ce062d: Layer already exists 22:30:27 994393dc58e7: Layer already exists 22:30:27 828a371e93c1: Layer already exists 22:30:27 latest: digest: sha256:2b3415e5a53cc1a319baf10457cda64a335d695acb94d266e1aca2d76d3e35fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.24 22:30:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:30:28 828a371e93c1: Preparing 22:30:28 8fef3829e133: Preparing 22:30:28 f6cf0d485baa: Preparing 22:30:28 9d7b42ce062d: Preparing 22:30:28 994393dc58e7: Preparing 22:30:28 f6cf0d485baa: Layer already exists 22:30:28 828a371e93c1: Layer already exists 22:30:28 9d7b42ce062d: Layer already exists 22:30:28 8fef3829e133: Layer already exists 22:30:28 994393dc58e7: Layer already exists 22:30:28 2.3.0-dev.24: digest: sha256:2b3415e5a53cc1a319baf10457cda64a335d695acb94d266e1aca2d76d3e35fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:30:29 828a371e93c1: Preparing 22:30:29 8fef3829e133: Preparing 22:30:29 f6cf0d485baa: Preparing 22:30:29 9d7b42ce062d: Preparing 22:30:29 994393dc58e7: Preparing 22:30:29 8fef3829e133: Layer already exists 22:30:29 f6cf0d485baa: Layer already exists 22:30:29 828a371e93c1: Layer already exists 22:30:29 9d7b42ce062d: Layer already exists 22:30:29 994393dc58e7: Layer already exists 22:30:29 98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24: digest: sha256:2b3415e5a53cc1a319baf10457cda64a335d695acb94d266e1aca2d76d3e35fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:30:29 828a371e93c1: Preparing 22:30:29 8fef3829e133: Preparing 22:30:29 f6cf0d485baa: Preparing 22:30:29 9d7b42ce062d: Preparing 22:30:29 994393dc58e7: Preparing 22:30:29 f6cf0d485baa: Layer already exists 22:30:29 828a371e93c1: Layer already exists 22:30:29 9d7b42ce062d: Layer already exists 22:30:29 994393dc58e7: Layer already exists 22:30:29 8fef3829e133: Layer already exists 22:30:29 main: digest: sha256:2b3415e5a53cc1a319baf10457cda64a335d695acb94d266e1aca2d76d3e35fd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:29 ===================================================== [Pipeline] echo 22:30:29 taggedImages: 22:30:29 - nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff 22:30:29 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:30:29 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.24 22:30:29 - nexus3.edgexfoundry.org:10004/device-rest:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:30:29 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:30 22:30:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:30 latest: Pulling from edgex-lftools-log-publisher 22:30:30 5eb5b503b376: Pulling fs layer 22:30:30 5c69ac0246d0: Pulling fs layer 22:30:30 ec43610c2a17: Pulling fs layer 22:30:30 3a2ae6a8a46f: Pulling fs layer 22:30:30 33b1e0a273af: Pulling fs layer 22:30:30 5d3b04190fa2: Pulling fs layer 22:30:30 2f39f015ded8: Pulling fs layer 22:30:30 3a2ae6a8a46f: Waiting 22:30:30 33b1e0a273af: Waiting 22:30:30 5d3b04190fa2: Waiting 22:30:30 2f39f015ded8: Waiting 22:30:30 5c69ac0246d0: Download complete 22:30:30 3a2ae6a8a46f: Verifying Checksum 22:30:30 3a2ae6a8a46f: Download complete 22:30:30 33b1e0a273af: Verifying Checksum 22:30:30 33b1e0a273af: Download complete 22:30:30 ec43610c2a17: Verifying Checksum 22:30:30 ec43610c2a17: Download complete 22:30:30 5d3b04190fa2: Download complete 22:30:30 5eb5b503b376: Verifying Checksum 22:30:30 5eb5b503b376: Download complete 22:30:31 2f39f015ded8: Download complete 22:30:31 5eb5b503b376: Pull complete 22:30:31 5c69ac0246d0: Pull complete 22:30:32 ec43610c2a17: Pull complete 22:30:32 3a2ae6a8a46f: Pull complete 22:30:32 33b1e0a273af: Pull complete 22:30:32 5d3b04190fa2: Pull complete 22:30:36 2f39f015ded8: Pull complete 22:30:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:37 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:38 $ docker top 6413fc5be36ef16d3ed120fda1b7eabd9171fa4b1beb80b185e27275aa7d5a29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:39 ---> job-cost.sh 22:30:39 lf-activate-venv: SKIPPING 22:30:39 INFO: No Stack... 22:30:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:39 INFO: Archiving Costs [Pipeline] sh 22:30:40 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:30:40 + cut -d, -f6 [Pipeline] lock 22:30:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] 22:30:40 Resource [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] did not exist. Created. 22:30:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:40 + echo total: 0.2199999988079071 [Pipeline] stash 22:30:40 Stashed 1 file(s) [Pipeline] } 22:30:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:40 $ docker stop --time=1 6413fc5be36ef16d3ed120fda1b7eabd9171fa4b1beb80b185e27275aa7d5a29 22:30:41 $ docker rm -f 6413fc5be36ef16d3ed120fda1b7eabd9171fa4b1beb80b185e27275aa7d5a29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:30:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118518 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:30:45 Running in /w/workspace/device-rest-go/70 [Pipeline] { [Pipeline] checkout 22:30:45 The recommended git tool is: git 22:30:50 using credential edgex-jenkins-ssh 22:30:50 Cloning the remote Git repository 22:30:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:30:50 > git init /w/workspace/device-rest-go/70 # timeout=10 22:30:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:30:50 > git --version # timeout=10 22:30:50 > git --version # 'git version 2.25.1' 22:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:50 Verifying host key using known hosts file 22:30:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:30:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:30:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:53 Avoid second fetch 22:30:53 Checking out Revision 98c53550becdffe5607264f4f78746e0be51d9ff (main) 22:30:54 Commit message: "Merge pull request #226 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0" 22:30:53 > git config core.sparsecheckout # timeout=10 22:30:53 > git checkout -f 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:30:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:30:54 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:54 Dload Upload Total Spent Left Speed 22:30:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 22:30:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:30:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:30:55 + sudo tee /etc/docker/daemon.new 22:30:55 { 22:30:55 "registry-mirrors": [ 22:30:55 "https://nexus3.edgexfoundry.org:10001" 22:30:55 ], 22:30:55 "bip": "10.250.0.254/24", 22:30:55 "hosts": [ 22:30:55 "tcp://0.0.0.0:5555", 22:30:55 "unix:///var/run/docker.sock" 22:30:55 ], 22:30:55 "mtu": 1458, 22:30:55 "selinux-enabled": true, 22:30:55 "seccomp-profile": "/etc/docker/seccomp.json" 22:30:55 } [Pipeline] sh 22:30:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:30:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:14 provisioning config files... 22:31:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/70@tmp/config10686925889633497694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:15 ---> docker-login.sh 22:31:15 nexus3.edgexfoundry.org:10001 22:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:15 Configure a credential helper to remove this warning. See 22:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:15 22:31:15 Login Succeeded 22:31:15 nexus3.edgexfoundry.org:10002 22:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:16 Configure a credential helper to remove this warning. See 22:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:16 22:31:16 Login Succeeded 22:31:16 nexus3.edgexfoundry.org:10003 22:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:16 Configure a credential helper to remove this warning. See 22:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:16 22:31:16 Login Succeeded 22:31:16 nexus3.edgexfoundry.org:10004 22:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:17 Configure a credential helper to remove this warning. See 22:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:17 22:31:17 Login Succeeded 22:31:17 docker.io 22:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:17 Configure a credential helper to remove this warning. See 22:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:17 22:31:17 Login Succeeded 22:31:17 ---> docker-login.sh ends [Pipeline] } 22:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:17 ========================================================= 22:31:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:31:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:18 + 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 . 22:31:18 Sending build context to Docker daemon 129.5kB 22:31:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:31:18 Step 2/12 : FROM ${BASE} AS builder 22:31:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:18 9b18e9b68314: Pulling fs layer 22:31:18 35d82f9e3411: Pulling fs layer 22:31:18 e16973657156: Pulling fs layer 22:31:18 fc693d55d65f: Pulling fs layer 22:31:18 7e9fc2657dce: Pulling fs layer 22:31:18 dda99020689f: Pulling fs layer 22:31:18 db1c61fa0a46: Pulling fs layer 22:31:18 891c053d2c06: Pulling fs layer 22:31:18 dda99020689f: Waiting 22:31:18 fc693d55d65f: Waiting 22:31:18 7e9fc2657dce: Waiting 22:31:18 db1c61fa0a46: Waiting 22:31:18 891c053d2c06: Waiting 22:31:18 e16973657156: Verifying Checksum 22:31:18 e16973657156: Download complete 22:31:18 35d82f9e3411: Verifying Checksum 22:31:18 35d82f9e3411: Download complete 22:31:18 7e9fc2657dce: Verifying Checksum 22:31:18 7e9fc2657dce: Download complete 22:31:18 dda99020689f: Verifying Checksum 22:31:18 dda99020689f: Download complete 22:31:18 9b18e9b68314: Verifying Checksum 22:31:18 9b18e9b68314: Download complete 22:31:19 9b18e9b68314: Pull complete 22:31:19 891c053d2c06: Verifying Checksum 22:31:19 891c053d2c06: Download complete 22:31:20 35d82f9e3411: Pull complete 22:31:20 e16973657156: Pull complete 22:31:21 db1c61fa0a46: Download complete 22:31:21 fc693d55d65f: Verifying Checksum 22:31:21 fc693d55d65f: Download complete 22:31:36 fc693d55d65f: Pull complete 22:31:36 7e9fc2657dce: Pull complete 22:31:36 dda99020689f: Pull complete 22:31:40 db1c61fa0a46: Pull complete 22:31:42 891c053d2c06: Pull complete 22:31:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:31:42 ---> f96f9c87975a 22:31:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:31:44 ---> Running in fdd6d3299408 22:31:44 Removing intermediate container fdd6d3299408 22:31:44 ---> d2969778d7a8 22:31:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:44 ---> Running in cbabd3f2e7a6 22:31:45 Removing intermediate container cbabd3f2e7a6 22:31:45 ---> 6f0d10b49fb7 22:31:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:31:45 ---> Running in c34b96d193d3 22:31:45 Removing intermediate container c34b96d193d3 22:31:45 ---> bb84b00654d4 22:31:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:31:45 ---> Running in 3eb455346c3d 22:31:45 Removing intermediate container 3eb455346c3d 22:31:45 ---> b6fa2a9f3b8b 22:31:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:45 ---> Running in 0850beb87d3e 22:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:31:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:31:48 (2/4) Installing libedit (20210910.3.1-r0) 22:31:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:31:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:31:48 Executing busybox-1.35.0-r17.trigger 22:31:48 OK: 226 MiB in 55 packages 22:31:49 Removing intermediate container 0850beb87d3e 22:31:49 ---> 763bbbe2f74a 22:31:49 Step 8/12 : WORKDIR /device-rest-go 22:31:49 ---> Running in ff916ed2f7c5 22:31:49 Removing intermediate container ff916ed2f7c5 22:31:49 ---> 81eed3ff48a5 22:31:49 Step 9/12 : COPY go.mod vendor* ./ 22:31:51 ---> 244a983362df 22:31:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:51 ---> Running in f484915dc4f0 22:32:47 Removing intermediate container f484915dc4f0 22:32:47 ---> 8e41f9e228f0 22:32:47 Step 11/12 : COPY . . 22:32:47 ---> aba050d68c9c 22:32:47 Step 12/12 : RUN $MAKE 22:32:47 ---> Running in c88b4278296e 22:32:47 noop 22:32:47 Removing intermediate container c88b4278296e 22:32:47 ---> fff36492bd80 22:32:47 Successfully built fff36492bd80 22:32:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:47 + docker inspect -f . ci-base-image-arm64 22:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:48 prd-ubuntu20.04-docker-arm64-4c-16g-118518 does not seem to be running inside a container 22:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/70 -v /w/workspace/device-rest-go/70:/w/workspace/device-rest-go/70:rw,z -v /w/workspace/device-rest-go/70@tmp:/w/workspace/device-rest-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:49 $ docker top 0cdd4ffa01b51b060a57f191a18461cdcf886588ebabf2f74e8deec4f6271b59 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:50 + go version 22:32:50 go version go1.18.7 linux/arm64 [Pipeline] } 22:32:50 $ docker stop --time=1 0cdd4ffa01b51b060a57f191a18461cdcf886588ebabf2f74e8deec4f6271b59 22:32:52 $ docker rm -f 0cdd4ffa01b51b060a57f191a18461cdcf886588ebabf2f74e8deec4f6271b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:53 + docker inspect -f . ci-base-image-arm64 22:32:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:53 prd-ubuntu20.04-docker-arm64-4c-16g-118518 does not seem to be running inside a container 22:32:53 $ 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/70 -v /w/workspace/device-rest-go/70:/w/workspace/device-rest-go/70:rw,z -v /w/workspace/device-rest-go/70@tmp:/w/workspace/device-rest-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:54 $ docker top 637bbdfeb3d6a697df582d8ea4f0b1807585640420d8c4b4019eb9002b8c5feb -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:55 + git config --global --add safe.directory /w/workspace/device-rest-go/70 [Pipeline] fileExists [Pipeline] sh 22:32:55 + make test 22:32:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:32:57 ? github.com/edgexfoundry/device-rest-go [no test files] 22:34:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:34:22 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements 22:34:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:34:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:34:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:34:44 ./bin/test-attribution-txt.sh [Pipeline] echo 22:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:34:44 $ docker stop --time=1 637bbdfeb3d6a697df582d8ea4f0b1807585640420d8c4b4019eb9002b8c5feb 22:34:46 $ docker rm -f 637bbdfeb3d6a697df582d8ea4f0b1807585640420d8c4b4019eb9002b8c5feb [Pipeline] // withDockerContainer [Pipeline] sh 22:34:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:47 Warning: overwriting stash ‘coverage-report’ 22:34:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:34:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:34:48 + ls -al . 22:34:48 total 184 22:34:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:32 . 22:34:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:30 .. 22:34:48 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 22:30 .dockerignore 22:34:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:30 .git 22:34:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:30 .github 22:34:48 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 22:30 .gitignore 22:34:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 22:30 .golangci.yml 22:34:48 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 22:30 Attribution.txt 22:34:48 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 22:30 CHANGELOG.md 22:34:48 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 22:30 Dockerfile 22:34:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:30 GOVERNANCE.md 22:34:48 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 22:30 Jenkinsfile 22:34:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 22:30 LICENSE 22:34:48 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 22:30 Makefile 22:34:48 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 22:30 OWNERS.md 22:34:48 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 22:30 README.md 22:34:48 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 22:28 VERSION 22:34:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:30 bin 22:34:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:30 cmd 22:34:48 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 22:34 coverage.out 22:34:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:30 driver 22:34:48 -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 22:30 go.mod 22:34:48 -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 22:30 go.sum 22:34:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:30 snap 22:34:48 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 22:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:48 + 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=98c53550becdffe5607264f4f78746e0be51d9ff --label arch=arm64 --label version=2.3.0-dev.24 . 22:34:48 Sending build context to Docker daemon 139.8kB 22:34:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:34:49 Step 2/25 : FROM ${BASE} AS builder 22:34:49 ---> fff36492bd80 22:34:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:34:49 ---> Running in 88ed3f4cf87c 22:34:49 Removing intermediate container 88ed3f4cf87c 22:34:49 ---> bd3d172fa813 22:34:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:34:49 ---> Running in 084f24eb4e15 22:34:49 Removing intermediate container 084f24eb4e15 22:34:49 ---> f134513334c7 22:34:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:34:49 ---> Running in ae0dd2b87778 22:34:50 Removing intermediate container ae0dd2b87778 22:34:50 ---> c5674d319586 22:34:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:34:50 ---> Running in f6c28261f998 22:34:50 Removing intermediate container f6c28261f998 22:34:50 ---> 1f5643f2339e 22:34:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:50 ---> Running in aabb538b5fa8 22:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:34:52 OK: 226 MiB in 55 packages 22:34:54 Removing intermediate container aabb538b5fa8 22:34:54 ---> 5c8a32920e0c 22:34:54 Step 8/25 : WORKDIR /device-rest-go 22:34:54 ---> Running in c9c55ba0b547 22:34:54 Removing intermediate container c9c55ba0b547 22:34:54 ---> 87ed67a21a60 22:34:54 Step 9/25 : COPY go.mod vendor* ./ 22:34:55 ---> 45ce0079827d 22:34:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:55 ---> Running in c4267a9195ee 22:34:57 Removing intermediate container c4267a9195ee 22:34:57 ---> cb776f1678ab 22:34:57 Step 11/25 : COPY . . 22:34:57 ---> 0af587c3abc0 22:34:57 Step 12/25 : RUN $MAKE 22:34:57 ---> Running in f593a2847e30 22:34:58 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:37:35 Removing intermediate container f593a2847e30 22:37:35 ---> 6e7233d803ec 22:37:35 Step 13/25 : FROM alpine:3.16 22:37:35 3.16: Pulling from library/alpine 22:37:35 9b18e9b68314: Already exists 22:37:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:37:35 Status: Downloaded newer image for alpine:3.16 22:37:35 ---> a6215f271958 22:37:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:37:35 ---> Running in a9b31052f830 22:37:35 Removing intermediate container a9b31052f830 22:37:35 ---> bfeda9efd39a 22:37:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:37:35 ---> Running in 3eb6de0a4e5d 22:37:35 Removing intermediate container 3eb6de0a4e5d 22:37:35 ---> 56fef69f2c1a 22:37:35 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:37:35 ---> Running in de3870d37425 22:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:37:37 (1/6) Installing dumb-init (1.2.5-r1) 22:37:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:37:37 (3/6) Installing libsodium (1.0.18-r0) 22:37:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:37:37 (5/6) Installing libzmq (4.3.4-r0) 22:37:37 (6/6) Installing zeromq (4.3.4-r0) 22:37:37 Executing busybox-1.35.0-r17.trigger 22:37:37 OK: 8 MiB in 20 packages 22:37:38 Removing intermediate container de3870d37425 22:37:38 ---> 15c0c6ef9339 22:37:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:37:39 ---> 9e5a3a5ae46e 22:37:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:37:40 ---> 0e63cf9de6ae 22:37:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:37:40 ---> 031701b58a73 22:37:40 Step 20/25 : EXPOSE 59986 22:37:41 ---> Running in 641006519e38 22:37:41 Removing intermediate container 641006519e38 22:37:41 ---> 56d584866d12 22:37:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:37:41 ---> Running in f277d82f35fa 22:37:42 Removing intermediate container f277d82f35fa 22:37:42 ---> 7e6ed2daaf3c 22:37:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:37:42 ---> Running in d8249639db32 22:37:42 Removing intermediate container d8249639db32 22:37:42 ---> 233a5e01c0be 22:37:42 Step 23/25 : LABEL arch=arm64 22:37:42 ---> Running in cf8aa83cdbf7 22:37:43 Removing intermediate container cf8aa83cdbf7 22:37:43 ---> 54c54ce1b2aa 22:37:43 Step 24/25 : LABEL git_sha=98c53550becdffe5607264f4f78746e0be51d9ff 22:37:43 ---> Running in 2eceb43705ac 22:37:43 Removing intermediate container 2eceb43705ac 22:37:43 ---> 8e5db2531390 22:37:43 Step 25/25 : LABEL version=2.3.0-dev.24 22:37:43 ---> Running in bd781fac804c 22:37:43 Removing intermediate container bd781fac804c 22:37:43 ---> 9c8550eb5bfa 22:37:43 [Warning] One or more build-args [ARCH] were not consumed 22:37:43 Successfully built 9c8550eb5bfa 22:37:43 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:43 provisioning config files... 22:37:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/70@tmp/config16720645874474999905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:44 ---> docker-login.sh 22:37:44 nexus3.edgexfoundry.org:10001 22:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:44 Configure a credential helper to remove this warning. See 22:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:44 22:37:44 Login Succeeded 22:37:44 nexus3.edgexfoundry.org:10002 22:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:44 Configure a credential helper to remove this warning. See 22:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:44 22:37:44 Login Succeeded 22:37:44 nexus3.edgexfoundry.org:10003 22:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:45 Configure a credential helper to remove this warning. See 22:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:45 22:37:45 Login Succeeded 22:37:45 nexus3.edgexfoundry.org:10004 22:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:45 Configure a credential helper to remove this warning. See 22:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:45 22:37:45 Login Succeeded 22:37:45 docker.io 22:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:46 Configure a credential helper to remove this warning. See 22:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:46 22:37:46 Login Succeeded 22:37:46 ---> docker-login.sh ends [Pipeline] } 22:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:46 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:37:46 98c53550becdffe5607264f4f78746e0be51d9ff 22:37:46 latest 22:37:46 2.3.0-dev.24 22:37:46 98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:37:46 main 22:37:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff 22:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:37:47 bb7c21c37096: Preparing 22:37:47 9211e81c9d1b: Preparing 22:37:47 46dd1dfcf526: Preparing 22:37:47 39012f30f91b: Preparing 22:37:47 5d3e392a13a0: Preparing 22:37:47 5d3e392a13a0: Layer already exists 22:37:47 bb7c21c37096: Pushed 22:37:47 9211e81c9d1b: Pushed 22:37:48 39012f30f91b: Pushed 22:37:53 46dd1dfcf526: Pushed 22:37:53 98c53550becdffe5607264f4f78746e0be51d9ff: digest: sha256:8b2284e62671ba9394d682761c867549ae5314d78312b0ad98f87f9026a56fc9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:37:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:37:54 bb7c21c37096: Preparing 22:37:54 9211e81c9d1b: Preparing 22:37:54 46dd1dfcf526: Preparing 22:37:54 39012f30f91b: Preparing 22:37:54 5d3e392a13a0: Preparing 22:37:54 5d3e392a13a0: Layer already exists 22:37:54 39012f30f91b: Layer already exists 22:37:54 46dd1dfcf526: Layer already exists 22:37:54 bb7c21c37096: Layer already exists 22:37:54 9211e81c9d1b: Layer already exists 22:37:54 latest: digest: sha256:8b2284e62671ba9394d682761c867549ae5314d78312b0ad98f87f9026a56fc9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.24 22:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:37:55 bb7c21c37096: Preparing 22:37:55 9211e81c9d1b: Preparing 22:37:55 46dd1dfcf526: Preparing 22:37:55 39012f30f91b: Preparing 22:37:55 5d3e392a13a0: Preparing 22:37:55 9211e81c9d1b: Layer already exists 22:37:55 5d3e392a13a0: Layer already exists 22:37:55 46dd1dfcf526: Layer already exists 22:37:55 39012f30f91b: Layer already exists 22:37:55 bb7c21c37096: Layer already exists 22:37:55 2.3.0-dev.24: digest: sha256:8b2284e62671ba9394d682761c867549ae5314d78312b0ad98f87f9026a56fc9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:37:55 bb7c21c37096: Preparing 22:37:55 9211e81c9d1b: Preparing 22:37:55 46dd1dfcf526: Preparing 22:37:55 39012f30f91b: Preparing 22:37:55 5d3e392a13a0: Preparing 22:37:55 5d3e392a13a0: Layer already exists 22:37:55 39012f30f91b: Layer already exists 22:37:55 9211e81c9d1b: Layer already exists 22:37:55 46dd1dfcf526: Layer already exists 22:37:55 bb7c21c37096: Layer already exists 22:37:55 98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24: digest: sha256:8b2284e62671ba9394d682761c867549ae5314d78312b0ad98f87f9026a56fc9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:37:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:37:56 bb7c21c37096: Preparing 22:37:56 9211e81c9d1b: Preparing 22:37:56 46dd1dfcf526: Preparing 22:37:56 39012f30f91b: Preparing 22:37:56 5d3e392a13a0: Preparing 22:37:56 5d3e392a13a0: Layer already exists 22:37:56 bb7c21c37096: Layer already exists 22:37:56 46dd1dfcf526: Layer already exists 22:37:56 9211e81c9d1b: Layer already exists 22:37:56 39012f30f91b: Layer already exists 22:37:56 main: digest: sha256:8b2284e62671ba9394d682761c867549ae5314d78312b0ad98f87f9026a56fc9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:56 ===================================================== [Pipeline] echo 22:37:56 taggedImages: 22:37:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff 22:37:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:37:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.24 22:37:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:98c53550becdffe5607264f4f78746e0be51d9ff-2.3.0-dev.24 22:37:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:57 22:37:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:57 arm64: Pulling from edgex-lftools-log-publisher 22:37:57 8998bd30e6a1: Pulling fs layer 22:37:57 04944245beec: Pulling fs layer 22:37:57 699f458cf7ca: Pulling fs layer 22:37:57 765212b225bb: Pulling fs layer 22:37:57 f23df028b6ca: Pulling fs layer 22:37:57 d65c8cfc05b1: Pulling fs layer 22:37:57 2437ff75d9bd: Pulling fs layer 22:37:57 765212b225bb: Waiting 22:37:57 f23df028b6ca: Waiting 22:37:57 d65c8cfc05b1: Waiting 22:37:57 2437ff75d9bd: Waiting 22:37:57 04944245beec: Verifying Checksum 22:37:57 04944245beec: Download complete 22:37:57 765212b225bb: Verifying Checksum 22:37:57 765212b225bb: Download complete 22:37:57 f23df028b6ca: Verifying Checksum 22:37:57 f23df028b6ca: Download complete 22:37:57 d65c8cfc05b1: Download complete 22:37:57 699f458cf7ca: Verifying Checksum 22:37:57 699f458cf7ca: Download complete 22:37:58 8998bd30e6a1: Verifying Checksum 22:37:58 8998bd30e6a1: Download complete 22:38:00 2437ff75d9bd: Download complete 22:38:02 8998bd30e6a1: Pull complete 22:38:02 04944245beec: Pull complete 22:38:03 699f458cf7ca: Pull complete 22:38:03 765212b225bb: Pull complete 22:38:07 f23df028b6ca: Pull complete 22:38:07 d65c8cfc05b1: Pull complete 22:38:19 2437ff75d9bd: Pull complete 22:38:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:38:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:19 prd-ubuntu20.04-docker-arm64-4c-16g-118518 does not seem to be running inside a container 22:38:19 $ 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/70 -v /w/workspace/device-rest-go/70:/w/workspace/device-rest-go/70:rw,z -v /w/workspace/device-rest-go/70@tmp:/w/workspace/device-rest-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:38:22 $ docker top ca797e300c3987ac28f4b36297e9f4750128be31a5b45879fc234c788f7913a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:22 ---> job-cost.sh 22:38:22 lf-activate-venv: SKIPPING 22:38:22 INFO: No Stack... 22:38:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:38:24 INFO: Archiving Costs [Pipeline] sh 22:38:24 + cut -d, -f6 22:38:24 + cat /w/workspace/device-rest-go/70/archives/cost.csv [Pipeline] lock 22:38:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] 22:38:24 Resource [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] did not exist. Created. 22:38:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:25 /w/workspace/device-rest-go/70@tmp/durable-fec45837/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:38:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:38:25 Warning: overwriting stash ‘stack-cost’ 22:38:25 Stashed 1 file(s) [Pipeline] } 22:38:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 22:38:25 $ docker stop --time=1 ca797e300c3987ac28f4b36297e9f4750128be31a5b45879fc234c788f7913a1 22:38:27 $ docker rm -f ca797e300c3987ac28f4b36297e9f4750128be31a5b45879fc234c788f7913a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:38:27 provisioning config files... 22:38:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11830302232782627167tmp [Pipeline] { [Pipeline] sh 22:38:28 + set +x 22:38:28 + curl -s https://codecov.io/bash 22:38:28 + bash -s -- 22:38:28 22:38:28 _____ _ 22:38:28 / ____| | | 22:38:28 | | ___ __| | ___ ___ _____ __ 22:38:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:38:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:38:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:38:28 Bash-1.0.6 22:38:28 22:38:28 22:38:28 ==> git version 2.25.1 found 22:38:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:38:28 Release-Date: 2020-01-08 22:38:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:38:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:38:28 ==> Jenkins CI detected. 22:38:28 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:38:28 project root: . 22:38:28 --> token set from env 22:38:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:38:28 ==> Running gcov in . (disable via -X gcov) 22:38:28 ==> Python coveragepy not found 22:38:28 ==> Searching for coverage reports in: 22:38:28 + . 22:38:28 -> Found 1 reports 22:38:28 ==> Detecting git/mercurial file structure 22:38:28 ==> Reading reports 22:38:28 + ./coverage.out bytes=9355 22:38:28 ==> Appending adjustments 22:38:28 https://docs.codecov.io/docs/fixing-reports 22:38:28 + Found adjustments 22:38:28 ==> Gzipping contents 22:38:28 4.0K /tmp/codecov.k3ridH.gz 22:38:28 ==> Uploading reports 22:38:28 url: https://codecov.io 22:38:28 query: branch=main&commit=98c53550becdffe5607264f4f78746e0be51d9ff&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:28 -> Pinging Codecov 22:38:28 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=98c53550becdffe5607264f4f78746e0be51d9ff&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:28 -> Uploading to 22:38:28 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/4E5D53B4F1F92C436F7061BF334D961C/98c53550becdffe5607264f4f78746e0be51d9ff/46b553f6-b5ef-449c-be70-32610f3ac51f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T223828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=874a61d2768a2c5b83d668fee4bce377041a223e90dc948860f2452487953842 22:38:28 % Total % Received % Xferd Average Speed Time Time Time Current 22:38:28 Dload Upload Total Spent Left Speed 22:38:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 8561 --:--:-- --:--:-- --:--:-- 8519 100 1738 0 0 100 1738 0 8046 --:--:-- --:--:-- --:--:-- 8009 22:38:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] } 22:38:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:38:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:38:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:29 22:38:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:38:29 df9b9388f04a: Pulling fs layer 22:38:29 52dc419b0ee2: Pulling fs layer 22:38:29 25bc292e5bac: Pulling fs layer 22:38:29 114826534d7a: Pulling fs layer 22:38:29 4657fd5d0bcf: Pulling fs layer 22:38:29 6ad1cebc031e: Pulling fs layer 22:38:29 8a3aa393b2d8: Pulling fs layer 22:38:29 114826534d7a: Waiting 22:38:29 4657fd5d0bcf: Waiting 22:38:29 6ad1cebc031e: Waiting 22:38:29 8a3aa393b2d8: Waiting 22:38:29 25bc292e5bac: Verifying Checksum 22:38:29 25bc292e5bac: Download complete 22:38:29 52dc419b0ee2: Verifying Checksum 22:38:29 52dc419b0ee2: Download complete 22:38:29 4657fd5d0bcf: Verifying Checksum 22:38:29 4657fd5d0bcf: Download complete 22:38:29 df9b9388f04a: Verifying Checksum 22:38:29 df9b9388f04a: Download complete 22:38:29 6ad1cebc031e: Verifying Checksum 22:38:29 6ad1cebc031e: Download complete 22:38:29 df9b9388f04a: Pull complete 22:38:29 52dc419b0ee2: Pull complete 22:38:29 25bc292e5bac: Pull complete 22:38:30 114826534d7a: Verifying Checksum 22:38:30 114826534d7a: Download complete 22:38:30 8a3aa393b2d8: Verifying Checksum 22:38:30 8a3aa393b2d8: Download complete 22:38:33 114826534d7a: Pull complete 22:38:33 4657fd5d0bcf: Pull complete 22:38:33 6ad1cebc031e: Pull complete 22:38:36 8a3aa393b2d8: Pull complete 22:38:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:38:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:36 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:38:36 $ 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 22:38:38 $ docker top bb03053f25de9351c1a3101cf50ee4f726cede4a1f5a98adb7f9db712e3b7af0 -eo pid,comm [Pipeline] { [Pipeline] echo 22:38:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:38:39 + set -o pipefail 22:38:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:38:45 22:38:45 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:38:45 22:38:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7ec79eb9-b13e-49c1-a7ea-7af4d5e7791e 22:38:45 22:38:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:38:45 22:38:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:38:45 22:38:45 22:38:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:38:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:38:45 More details here: https://snyk.co/ue1NS [Pipeline] } 22:38:45 $ docker stop --time=1 bb03053f25de9351c1a3101cf50ee4f726cede4a1f5a98adb7f9db712e3b7af0 22:38:48 $ docker rm -f bb03053f25de9351c1a3101cf50ee4f726cede4a1f5a98adb7f9db712e3b7af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:48 + git log --format=format:%s -1 98c53550becdffe5607264f4f78746e0be51d9ff [Pipeline] sh 22:38:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:38:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:38:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:49 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:38:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:38:49 $ docker top 01ec860e4c8cf4d5f1099026896ddba0f246c011041fdd22b8e97f08de6bf1df -eo pid,comm 22:38:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:38:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:49 [ssh-agent] Looking for ssh-agent implementation... 22:38:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:50 $ docker exec 01ec860e4c8cf4d5f1099026896ddba0f246c011041fdd22b8e97f08de6bf1df ssh-agent 22:38:50 SSH_AUTH_SOCK=/tmp/ssh-wsrHVkQrCIYj/agent.32 22:38:50 SSH_AGENT_PID=38 22:38:50 Running ssh-add (command line suppressed) 22:38:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12646845627376374044.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12646845627376374044.key) 22:38:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:50 + git semver tag 22:38:50 2022-11-07 22:38:50,836 [run_tag] DEBUG tag force:False 22:38:50 2022-11-07 22:38:50,836 [check_head_tag] DEBUG check head tag 22:38:50 2022-11-07 22:38:50,837 [execute] INFO git cat-file --batch-check 22:38:50 2022-11-07 22:38:50,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:38:50 2022-11-07 22:38:50,841 [execute] INFO git cat-file --batch 22:38:50 2022-11-07 22:38:50,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:38:50 2022-11-07 22:38:50,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:38:50 2022-11-07 22:38:50,856 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 22:38:50 2022-11-07 22:38:50,856 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:38:50 2022-11-07 22:38:50,862 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:38:50 2.3.0-dev.24 [Pipeline] } 22:38:50 $ docker exec --env ******** --env ******** 01ec860e4c8cf4d5f1099026896ddba0f246c011041fdd22b8e97f08de6bf1df ssh-agent -k 22:38:51 unset SSH_AUTH_SOCK; 22:38:51 unset SSH_AGENT_PID; 22:38:51 echo Agent pid 38 killed; 22:38:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:38:51 + git semver [Pipeline] } 22:38:51 $ docker stop --time=1 01ec860e4c8cf4d5f1099026896ddba0f246c011041fdd22b8e97f08de6bf1df 22:38:52 $ docker rm -f 01ec860e4c8cf4d5f1099026896ddba0f246c011041fdd22b8e97f08de6bf1df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:38:53 22:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:38:53 0.23.1-centos7: Pulling from edgex-lftools 22:38:53 ab5ef0e58194: Pulling fs layer 22:38:53 9712f1f96733: Pulling fs layer 22:38:53 63f879dbbcfc: Pulling fs layer 22:38:53 0d9ebad4ef96: Pulling fs layer 22:38:53 e9a5061849ea: Pulling fs layer 22:38:53 d747dcd14b5f: Pulling fs layer 22:38:53 2de7ff778b66: Pulling fs layer 22:38:53 d747dcd14b5f: Waiting 22:38:53 e9a5061849ea: Waiting 22:38:53 2de7ff778b66: Waiting 22:38:53 0d9ebad4ef96: Waiting 22:38:53 9712f1f96733: Verifying Checksum 22:38:53 9712f1f96733: Download complete 22:38:53 63f879dbbcfc: Verifying Checksum 22:38:53 63f879dbbcfc: Download complete 22:38:54 ab5ef0e58194: Download complete 22:38:54 d747dcd14b5f: Download complete 22:38:54 0d9ebad4ef96: Verifying Checksum 22:38:54 0d9ebad4ef96: Download complete 22:38:54 e9a5061849ea: Verifying Checksum 22:38:54 e9a5061849ea: Download complete 22:38:54 2de7ff778b66: Download complete 22:38:56 ab5ef0e58194: Pull complete 22:38:56 9712f1f96733: Pull complete 22:38:57 63f879dbbcfc: Pull complete 22:39:00 0d9ebad4ef96: Pull complete 22:39:00 e9a5061849ea: Pull complete 22:39:00 d747dcd14b5f: Pull complete 22:39:01 2de7ff778b66: Pull complete 22:39:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:01 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:39:01 $ 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 22:39:03 $ docker top b29105c2c79a35888016f69f86068a15ca2d170d18a6fbd98db68c5b8add0a59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:39:03 provisioning config files... 22:39:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13717484827039848482tmp 22:39:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10336500061277468880tmp 22:39:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11928629573948190002tmp [Pipeline] { [Pipeline] echo 22:39:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:39:04 ---> sigul-configuration.sh 22:39:04 gpg: directory `/root/.gnupg' created 22:39:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:39:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:39:04 gpg: keyring `/root/.gnupg/secring.gpg' created 22:39:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:39:04 gpg: CAST5 encrypted data 22:39:04 gpg: encrypted with 1 passphrase 22:39:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:39:04 + mkdir /home/jenkins 22:39:04 + mkdir /home/jenkins/sigul [Pipeline] sh 22:39:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:39:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:39:05 ---> sigul-install.sh 22:39:05 Sigul already installed; skipping installation. [Pipeline] sh 22:39:05 + git tag --list 22:39:05 v1.0.0 22:39:05 v1.1.0 22:39:05 v1.1.1 22:39:05 v1.1.2 22:39:05 v1.2.0 22:39:05 v1.2.1 22:39:05 v2.0.0 22:39:05 v2.1.0 22:39:05 v2.1.1 22:39:05 v2.1.1-dev.1 22:39:05 v2.1.1-dev.2 22:39:05 v2.1.1-dev.3 22:39:05 v2.2.0 22:39:05 v2.2.1-dev.1 22:39:05 v2.2.1-dev.2 22:39:05 v2.2.1-dev.3 22:39:05 v2.2.1-dev.4 22:39:05 v2.2.1-dev.5 22:39:05 v2.2.1-dev.6 22:39:05 v2.2.1-dev.7 22:39:05 v2.2.1-dev.8 22:39:05 v2.2.1-dev.9 22:39:05 v2.3.0-dev.10 22:39:05 v2.3.0-dev.11 22:39:05 v2.3.0-dev.12 22:39:05 v2.3.0-dev.13 22:39:05 v2.3.0-dev.14 22:39:05 v2.3.0-dev.15 22:39:05 v2.3.0-dev.16 22:39:05 v2.3.0-dev.17 22:39:05 v2.3.0-dev.18 22:39:05 v2.3.0-dev.19 22:39:05 v2.3.0-dev.20 22:39:05 v2.3.0-dev.21 22:39:05 v2.3.0-dev.22 22:39:05 v2.3.0-dev.23 22:39:05 v2.3.0-dev.24 22:39:05 v2.3.0-dev.9 [Pipeline] sh 22:39:05 + lftools sign git-tag v2.3.0-dev.24 22:39:06 Signing Git tag with Sigul... 22:39:06 Signing v2.3.0-dev.24 [Pipeline] echo 22:39:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:39:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:39:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:39:06 $ docker stop --time=1 b29105c2c79a35888016f69f86068a15ca2d170d18a6fbd98db68c5b8add0a59 22:39:08 $ docker rm -f b29105c2c79a35888016f69f86068a15ca2d170d18a6fbd98db68c5b8add0a59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:39:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:08 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:39:08 $ 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 22:39:09 $ docker top 6ae45b1b1f802a9c4c93d8a5212dd2358698a92d71c29499dbd3e400f2a6501b -eo pid,comm 22:39:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:39:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:09 [ssh-agent] Looking for ssh-agent implementation... 22:39:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:09 $ docker exec 6ae45b1b1f802a9c4c93d8a5212dd2358698a92d71c29499dbd3e400f2a6501b ssh-agent 22:39:09 SSH_AUTH_SOCK=/tmp/ssh-vWGmbJEiTE1D/agent.31 22:39:09 SSH_AGENT_PID=37 22:39:09 Running ssh-add (command line suppressed) 22:39:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3399777254950420437.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3399777254950420437.key) 22:39:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:10 + git semver bump pre 22:39:10 2022-11-07 22:39:10,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:10 2022-11-07 22:39:10,200 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 22:39:10 2022-11-07 22:39:10,201 [bump_version] DEBUG bumped version:2.3.0-dev.25 22:39:10 2022-11-07 22:39:10,201 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:39:10 2022-11-07 22:39:10,201 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:10 2022-11-07 22:39:10,201 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:10 2022-11-07 22:39:10,203 [execute] INFO git cat-file --batch-check 22:39:10 2022-11-07 22:39:10,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:10 2022-11-07 22:39:10,209 [execute] INFO git cat-file --batch 22:39:10 2022-11-07 22:39:10,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:10 2022-11-07 22:39:10,214 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:10 2.3.0-dev.25 [Pipeline] } 22:39:10 $ docker exec --env ******** --env ******** 6ae45b1b1f802a9c4c93d8a5212dd2358698a92d71c29499dbd3e400f2a6501b ssh-agent -k 22:39:10 unset SSH_AUTH_SOCK; 22:39:10 unset SSH_AGENT_PID; 22:39:10 echo Agent pid 37 killed; 22:39:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:10 + git semver [Pipeline] } 22:39:10 $ docker stop --time=1 6ae45b1b1f802a9c4c93d8a5212dd2358698a92d71c29499dbd3e400f2a6501b 22:39:12 $ docker rm -f 6ae45b1b1f802a9c4c93d8a5212dd2358698a92d71c29499dbd3e400f2a6501b [Pipeline] // withDockerContainer [Pipeline] sh 22:39:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:13 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:39:13 $ 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 22:39:13 $ docker top d279d0ce8a9dcca4980d0790a8288abce91973fe614566afc70301f0766527b3 -eo pid,comm 22:39:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:39:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:13 [ssh-agent] Looking for ssh-agent implementation... 22:39:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:13 $ docker exec d279d0ce8a9dcca4980d0790a8288abce91973fe614566afc70301f0766527b3 ssh-agent 22:39:13 SSH_AUTH_SOCK=/tmp/ssh-URdAF7DdEbPH/agent.32 22:39:13 SSH_AGENT_PID=38 22:39:13 Running ssh-add (command line suppressed) 22:39:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_750753763444076197.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_750753763444076197.key) 22:39:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:14 + git semver push 22:39:14 2022-11-07 22:39:14,297 [run_push] DEBUG push 22:39:14 2022-11-07 22:39:14,298 [execute] INFO git cat-file --batch-check 22:39:14 2022-11-07 22:39:14,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:14 2022-11-07 22:39:14,302 [execute] INFO git rev-list 2951389a11ff42eb94b6fa9f6c9a4d2a682f41da -- 22:39:14 2022-11-07 22:39:14,302 [execute] DEBUG Popen(['git', 'rev-list', '2951389a11ff42eb94b6fa9f6c9a4d2a682f41da', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:14 2022-11-07 22:39:14,309 [execute] INFO git fetch -v origin 22:39:14 2022-11-07 22:39:14,310 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:39:14 2022-11-07 22:39:14,896 [run_push] DEBUG no remote changes detected 22:39:14 2022-11-07 22:39:14,896 [execute] INFO git push origin semver 22:39:14 2022-11-07 22:39:14,896 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:15 2022-11-07 22:39:15,653 [run_push] DEBUG push all version tags 22:39:15 2022-11-07 22:39:15,653 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:39:15 2022-11-07 22:39:15,654 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:39:16 2022-11-07 22:39:16,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:16 2.3.0-dev.25 [Pipeline] } 22:39:16 $ docker exec --env ******** --env ******** d279d0ce8a9dcca4980d0790a8288abce91973fe614566afc70301f0766527b3 ssh-agent -k 22:39:16 unset SSH_AUTH_SOCK; 22:39:16 unset SSH_AGENT_PID; 22:39:16 echo Agent pid 38 killed; 22:39:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:16 + git semver [Pipeline] } 22:39:17 $ docker stop --time=1 d279d0ce8a9dcca4980d0790a8288abce91973fe614566afc70301f0766527b3 22:39:18 $ docker rm -f d279d0ce8a9dcca4980d0790a8288abce91973fe614566afc70301f0766527b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:39:18 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:39:18 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:39:18 total 16 22:39:18 drwxr-xr-x 3 root root 4096 Nov 7 22:30 . 22:39:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 22:39 .. 22:39:18 drwxr-xr-x 2 root root 4096 Nov 7 22:30 cost 22:39:18 -rw-r--r-- 1 root root 85 Nov 7 22:30 cost.csv 22:39:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:39:18 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:39:18 total 16 22:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:30 . 22:39:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 22:39 .. 22:39:18 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 22:30 cost 22:39:18 -rw-r--r-- 1 jenkins jenkins 85 Nov 7 22:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:39:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:39:20 ---> package-listing.sh 22:39:20 ++ facter osfamily 22:39:20 ++ tr '[:upper:]' '[:lower:]' 22:39:20 + OS_FAMILY=debian 22:39:20 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:39:20 + START_PACKAGES=/tmp/packages_start.txt 22:39:20 + END_PACKAGES=/tmp/packages_end.txt 22:39:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:39:20 + PACKAGES=/tmp/packages_start.txt 22:39:20 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:39:20 + PACKAGES=/tmp/packages_end.txt 22:39:20 + case "${OS_FAMILY}" in 22:39:20 + dpkg -l 22:39:20 + grep '^ii' 22:39:20 + '[' -f /tmp/packages_start.txt ']' 22:39:20 + '[' -f /tmp/packages_end.txt ']' 22:39:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:39:20 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:39:20 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:39:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:39:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:39:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:21 prd-ubuntu20.04-docker-8c-8g-118516 does not seem to be running inside a container 22:39:21 $ 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 22:39:21 $ docker top fde94a5fa5b6234e3b16fbd1ecb3f87f7012d5be3096f3732193a0f68928354c -eo pid,comm [Pipeline] { [Pipeline] sh 22:39:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:39:22 + mkdir -p /var/log/sysstat [Pipeline] sh 22:39:22 + ls /var/log/sa-host 22:39:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:22 provisioning config files... 22:39:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config357007835100798668tmp [Pipeline] { [Pipeline] echo 22:39:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:39:23 ---> create-netrc.sh [Pipeline] } 22:39:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:39:23 ---> python-tools-install.sh [Pipeline] echo 22:39:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:39:23 ---> sudo-logs.sh 22:39:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:39:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:39:23 ---> job-cost.sh 22:39:23 lf-activate-venv: SKIPPING 22:39:23 DEBUG: total: 0.2199999988079071 22:39:23 INFO: Retrieving Stack Cost... 22:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 22:39:24 INFO: Archiving Costs [Pipeline] echo 22:39:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:39:25 ---> logs-deploy.sh 22:39:25 lf-activate-venv: SKIPPING 22:39:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/70 22:39:25 INFO: archiving workspace using pattern(s): 22:39:25 Archives upload complete. 22:39:25 INFO: archiving logs to Nexus