Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 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-ssh9907015885773659750.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13680922640567035347.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12381939720701913558.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh18351681200016975672.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-ssh14852551845211775184.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1355’ Running on prd-ubuntu20.04-docker-8c-8g-1357 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 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dc8d969f038542ea1d23af15e4cc3257ac4ed5fa (main) Commit message: "Merge pull request #214 from hahattan/internal-command-req/res" > git config core.sparsecheckout # timeout=10 > git checkout -f dc8d969f038542ea1d23af15e4cc3257ac4ed5fa # timeout=10 > git rev-list --no-walk dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:48:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:48:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:48:09 ========================================================= 14:48:09 EdgeX Global Pipelines Version Info 14:48:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:48:10 ------------------- 14:48:10 stable info: 14:48:10 ------------------- 14:48:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:48:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:48:10 Message: update stable to v1.0.239 14:48:11 ------------------- 14:48:11 experimental info: 14:48:11 ------------------- 14:48:11 Commited By: **** collab-it+edgex@linuxfoundation.org 14:48:11 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:48:11 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc8d969 [Pipeline] echo 14:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:11 provisioning config files... 14:48:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3684322853483470349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:12 ---> docker-login.sh 14:48:12 nexus3.edgexfoundry.org:10001 14:48:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:13 Configure a credential helper to remove this warning. See 14:48:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:13 14:48:13 Login Succeeded 14:48:13 nexus3.edgexfoundry.org:10002 14:48:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:13 Configure a credential helper to remove this warning. See 14:48:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:13 14:48:13 Login Succeeded 14:48:13 nexus3.edgexfoundry.org:10003 14:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:14 Configure a credential helper to remove this warning. See 14:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:14 14:48:14 Login Succeeded 14:48:14 nexus3.edgexfoundry.org:10004 14:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:14 Configure a credential helper to remove this warning. See 14:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:14 14:48:14 Login Succeeded 14:48:14 docker.io 14:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:14 Configure a credential helper to remove this warning. See 14:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:14 14:48:14 Login Succeeded 14:48:14 ---> docker-login.sh ends [Pipeline] } 14:48:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:48:15 + git rev-list -1 --merges dc8d969f038542ea1d23af15e4cc3257ac4ed5fa~1..dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] echo 14:48:15 -----------> git rev-list -1 --merges dc8d969f038542ea1d23af15e4cc3257ac4ed5fa~1..dc8d969f038542ea1d23af15e4cc3257ac4ed5fa dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:48:15 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [false] [Pipeline] sh 14:48:15 + git log --format=format:%s -1 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] echo 14:48:15 ========================================================= 14:48:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:48:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:15 + git log --format=format:%s -1 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] echo 14:48:15 [semverPrep] GIT_COMMIT: dc8d969f038542ea1d23af15e4cc3257ac4ed5fa, Commit Message: Merge pull request #214 from hahattan/internal-command-req/res [Pipeline] echo 14:48:15 [semverPrep] This is not a build commit. [Pipeline] sh 14:48:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:48:16 + grep -v github /etc/ssh/ssh_known_hosts 14:48:16 + [ -e /tmp/ssh_known_hosts ] 14:48:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:48:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:48:16 + sudo tee -a /etc/ssh/ssh_known_hosts 14:48:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:16 14:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:16 0.1.4: Pulling from edgex-devops/py-git-semver 14:48:16 b85a868b505f: Pulling fs layer 14:48:16 e2be974225ed: Pulling fs layer 14:48:16 339a4e72a1f5: Pulling fs layer 14:48:16 988bab9f4d93: Pulling fs layer 14:48:16 1469e6f7b9e6: Pulling fs layer 14:48:16 eaf3925da568: Pulling fs layer 14:48:16 bab4dde63d76: Pulling fs layer 14:48:16 bde34c3a00c8: Pulling fs layer 14:48:16 b352a97aabf1: Pulling fs layer 14:48:16 4872d77fe225: Pulling fs layer 14:48:16 5851b861e8e6: Pulling fs layer 14:48:16 1469e6f7b9e6: Waiting 14:48:16 eaf3925da568: Waiting 14:48:16 bab4dde63d76: Waiting 14:48:16 bde34c3a00c8: Waiting 14:48:16 b352a97aabf1: Waiting 14:48:16 4872d77fe225: Waiting 14:48:16 5851b861e8e6: Waiting 14:48:16 e2be974225ed: Verifying Checksum 14:48:16 e2be974225ed: Download complete 14:48:16 988bab9f4d93: Verifying Checksum 14:48:16 988bab9f4d93: Download complete 14:48:16 1469e6f7b9e6: Verifying Checksum 14:48:16 1469e6f7b9e6: Download complete 14:48:16 eaf3925da568: Verifying Checksum 14:48:16 eaf3925da568: Download complete 14:48:16 339a4e72a1f5: Verifying Checksum 14:48:16 339a4e72a1f5: Download complete 14:48:16 bde34c3a00c8: Download complete 14:48:16 b352a97aabf1: Verifying Checksum 14:48:16 4872d77fe225: Verifying Checksum 14:48:16 4872d77fe225: Download complete 14:48:16 5851b861e8e6: Verifying Checksum 14:48:16 5851b861e8e6: Download complete 14:48:16 b85a868b505f: Verifying Checksum 14:48:16 b85a868b505f: Download complete 14:48:17 bab4dde63d76: Verifying Checksum 14:48:17 bab4dde63d76: Download complete 14:48:18 b85a868b505f: Pull complete 14:48:18 e2be974225ed: Pull complete 14:48:18 339a4e72a1f5: Pull complete 14:48:18 988bab9f4d93: Pull complete 14:48:19 1469e6f7b9e6: Pull complete 14:48:19 eaf3925da568: Pull complete 14:48:21 bab4dde63d76: Pull complete 14:48:21 bde34c3a00c8: Pull complete 14:48:22 b352a97aabf1: Pull complete 14:48:22 4872d77fe225: Pull complete 14:48:22 5851b861e8e6: Pull complete 14:48:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:22 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:48:27 $ docker top b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 -eo pid,comm 14:48:27 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). 14:48:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:48:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:27 [ssh-agent] Looking for ssh-agent implementation... 14:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:27 $ docker exec b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 ssh-agent 14:48:27 SSH_AUTH_SOCK=/tmp/ssh-yrkJ6BNIsu66/agent.14 14:48:27 SSH_AGENT_PID=20 14:48:27 Running ssh-add (command line suppressed) 14:48:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17024593591974821184.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17024593591974821184.key) 14:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:28 + git tag --points-at HEAD [Pipeline] } 14:48:28 $ docker exec --env ******** --env ******** b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 ssh-agent -k 14:48:28 unset SSH_AUTH_SOCK; 14:48:28 unset SSH_AGENT_PID; 14:48:28 echo Agent pid 20 killed; 14:48:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:48:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:28 [ssh-agent] Looking for ssh-agent implementation... 14:48:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:28 $ docker exec b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 ssh-agent 14:48:28 SSH_AUTH_SOCK=/tmp/ssh-Oqk1aZ0DbhKq/agent.72 14:48:28 SSH_AGENT_PID=78 14:48:28 Running ssh-add (command line suppressed) 14:48:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8250938909155848039.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8250938909155848039.key) 14:48:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:28 + git semver init 14:48:29 2022-09-27 14:48:29,061 [run_init] DEBUG init version:0.0.0 force:False 14:48:29 2022-09-27 14:48:29,062 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 14:48:29 2022-09-27 14:48:29,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:48:29 2022-09-27 14:48:29,063 [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) 14:48:30 2022-09-27 14:48:30,257 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 14:48:30 2022-09-27 14:48:30,258 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 14:48:30 2022-09-27 14:48:30,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:30 2022-09-27 14:48:30,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:30 2.3.0-dev.14 [Pipeline] } 14:48:30 $ docker exec --env ******** --env ******** b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 ssh-agent -k 14:48:30 unset SSH_AUTH_SOCK; 14:48:30 unset SSH_AGENT_PID; 14:48:30 echo Agent pid 78 killed; 14:48:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:48:30 + git semver [Pipeline] } 14:48:31 $ docker stop --time=1 b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 14:48:32 $ docker rm -f b634c6ccbcc029f6ff8fb664810807962c2c7e00b17d559cd762b08fc5cb18d7 [Pipeline] // withDockerContainer [Pipeline] sh 14:48:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:48:33 Stashed 1 file(s) [Pipeline] echo 14:48:33 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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 14:48:33 provisioning config files... 14:48:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1312471276069976619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:33 ---> docker-login.sh 14:48:33 nexus3.edgexfoundry.org:10001 14:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:33 Configure a credential helper to remove this warning. See 14:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:33 14:48:33 Login Succeeded 14:48:33 nexus3.edgexfoundry.org:10002 14:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:33 Configure a credential helper to remove this warning. See 14:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:33 14:48:33 Login Succeeded 14:48:33 nexus3.edgexfoundry.org:10003 14:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:33 Configure a credential helper to remove this warning. See 14:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:33 14:48:33 Login Succeeded 14:48:33 nexus3.edgexfoundry.org:10004 14:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:34 Configure a credential helper to remove this warning. See 14:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:34 14:48:34 Login Succeeded 14:48:34 docker.io 14:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:34 Configure a credential helper to remove this warning. See 14:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:34 14:48:34 Login Succeeded 14:48:34 ---> docker-login.sh ends [Pipeline] } 14:48:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:48:34 ========================================================= 14:48:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:48:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:34 + 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 . 14:48:34 Sending build context to Docker daemon 10.71MB 14:48:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:48:34 Step 2/12 : FROM ${BASE} AS builder 14:48:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:48:35 2408cc74d12b: Pulling fs layer 14:48:35 ea60b727a1ce: Pulling fs layer 14:48:35 30c4a7721957: Pulling fs layer 14:48:35 370296b7ddb6: Pulling fs layer 14:48:35 7c6cee850709: Pulling fs layer 14:48:35 39a5fcdaea64: Pulling fs layer 14:48:35 d94ebbe4e438: Pulling fs layer 14:48:35 bcfd1f05c69d: Pulling fs layer 14:48:35 59ccb84bbe0f: Pulling fs layer 14:48:35 39a5fcdaea64: Waiting 14:48:35 370296b7ddb6: Waiting 14:48:35 d94ebbe4e438: Waiting 14:48:35 bcfd1f05c69d: Waiting 14:48:35 30c4a7721957: Download complete 14:48:35 ea60b727a1ce: Download complete 14:48:35 7c6cee850709: Download complete 14:48:35 39a5fcdaea64: Verifying Checksum 14:48:35 39a5fcdaea64: Download complete 14:48:35 2408cc74d12b: Verifying Checksum 14:48:35 2408cc74d12b: Download complete 14:48:35 d94ebbe4e438: Download complete 14:48:36 59ccb84bbe0f: Verifying Checksum 14:48:36 59ccb84bbe0f: Download complete 14:48:36 2408cc74d12b: Pull complete 14:48:36 370296b7ddb6: Verifying Checksum 14:48:36 370296b7ddb6: Download complete 14:48:36 bcfd1f05c69d: Verifying Checksum 14:48:36 bcfd1f05c69d: Download complete 14:48:36 ea60b727a1ce: Pull complete 14:48:37 30c4a7721957: Pull complete 14:48:42 370296b7ddb6: Pull complete 14:48:42 7c6cee850709: Pull complete 14:48:42 39a5fcdaea64: Pull complete 14:48:42 d94ebbe4e438: Pull complete 14:48:45 bcfd1f05c69d: Pull complete 14:48:46 59ccb84bbe0f: Pull complete 14:48:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 14:48:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:48:47 ---> a4fb48ad2a94 14:48:47 Step 3/12 : ARG MAKE='make build' 14:48:48 Still waiting to schedule task 14:48:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:48:57 ---> Running in 7ddb4094e027 14:48:57 Removing intermediate container 7ddb4094e027 14:48:57 ---> 2be3d42b89df 14:48:57 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:48:57 ---> Running in 2a9ab4bcec19 14:48:57 Removing intermediate container 2a9ab4bcec19 14:48:57 ---> 2cd0a40d4cc7 14:48:57 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:48:57 ---> Running in d9dc6ec1a605 14:48:57 Removing intermediate container d9dc6ec1a605 14:48:57 ---> b44464f69b19 14:48:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:57 ---> Running in 151b0d9264ba 14:48:57 Removing intermediate container 151b0d9264ba 14:48:57 ---> 890eea2165d6 14:48:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:48:57 ---> Running in a01c0812cb0a 14:48:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:48:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:48:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:48:58 (2/4) Installing libedit (20210910.3.1-r0) 14:48:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:48:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:48:59 Executing busybox-1.35.0-r13.trigger 14:48:59 OK: 216 MiB in 55 packages 14:48:59 Removing intermediate container a01c0812cb0a 14:48:59 ---> 562006bfd624 14:48:59 Step 8/12 : WORKDIR /device-rest-go 14:48:59 ---> Running in 548b078506ec 14:48:59 Removing intermediate container 548b078506ec 14:48:59 ---> 6a8be4414c06 14:48:59 Step 9/12 : COPY go.mod vendor* ./ 14:48:59 ---> 080e944f2463 14:48:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:48:59 ---> Running in bdd8f5a41cb9 14:49:31 Removing intermediate container bdd8f5a41cb9 14:49:31 ---> 3402c769e77a 14:49:31 Step 11/12 : COPY . . 14:49:33 ---> 348c4486cdc9 14:49:33 Step 12/12 : RUN $MAKE 14:49:33 ---> Running in bfa9ebd32d4b 14:49:34 noop 14:49:34 Removing intermediate container bfa9ebd32d4b 14:49:34 ---> efdf7549c241 14:49:34 Successfully built efdf7549c241 14:49:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:35 + docker inspect -f . ci-base-image-x86_64 14:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:35 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:49:35 $ 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 14:49:36 $ docker top 7e24e84c23200af6dc218081aaaf876f7723121b31293b8c5f9164467c2ea092 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:36 + go version 14:49:36 go version go1.18.3 linux/amd64 [Pipeline] } 14:49:36 $ docker stop --time=1 7e24e84c23200af6dc218081aaaf876f7723121b31293b8c5f9164467c2ea092 14:49:38 $ docker rm -f 7e24e84c23200af6dc218081aaaf876f7723121b31293b8c5f9164467c2ea092 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:39 + docker inspect -f . ci-base-image-x86_64 14:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:39 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:49:39 $ 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 14:49:40 $ docker top 8c4be0a3dc47026d858e6fffba7c2b346b012cb869f20bb208dde5e484d1ac97 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 14:49:41 + make test 14:49:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:49:41 ? github.com/edgexfoundry/device-rest-go [no test files] 14:49:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:49:52 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 14:49:58 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." 14:49:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:50:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:50:01 ./bin/test-attribution-txt.sh 14:50:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:50:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:50:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:50:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:50:01 $ docker stop --time=1 8c4be0a3dc47026d858e6fffba7c2b346b012cb869f20bb208dde5e484d1ac97 14:50:05 $ docker rm -f 8c4be0a3dc47026d858e6fffba7c2b346b012cb869f20bb208dde5e484d1ac97 [Pipeline] // withDockerContainer [Pipeline] sh 14:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:50:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:50:07 + ls -al . 14:50:07 total 176 14:50:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 14:49 . 14:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:48 .. 14:50:07 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 14:48 .dockerignore 14:50:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 14:49 .git 14:50:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:48 .github 14:50:07 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 14:48 .gitignore 14:50:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 14:48 .golangci.yml 14:50:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:48 .semver 14:50:07 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 14:48 Attribution.txt 14:50:07 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 14:48 CHANGELOG.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 14:48 Dockerfile 14:50:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:48 GOVERNANCE.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 14:48 Jenkinsfile 14:50:07 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 14:48 LICENSE 14:50:07 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 14:48 Makefile 14:50:07 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 14:48 OWNERS.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 14:48 README.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:48 VERSION 14:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:48 bin 14:50:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:48 cmd 14:50:07 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 14:49 coverage.out 14:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:48 driver 14:50:07 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 14:48 go.mod 14:50:07 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 14:48 go.sum 14:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:48 snap 14:50:07 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 14:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:07 + 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=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa --label arch=amd64 --label version=2.3.0-dev.14 . 14:50:07 Sending build context to Docker daemon 10.72MB 14:50:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:50:07 Step 2/25 : FROM ${BASE} AS builder 14:50:07 ---> efdf7549c241 14:50:07 Step 3/25 : ARG MAKE='make build' 14:50:08 ---> Running in 0fa64cc3cfb0 14:50:08 Removing intermediate container 0fa64cc3cfb0 14:50:08 ---> 2740d490c3c4 14:50:08 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:50:08 ---> Running in 415efd6753f3 14:50:09 Removing intermediate container 415efd6753f3 14:50:09 ---> 98432c4d8478 14:50:09 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:50:09 ---> Running in 14cfc162108e 14:50:09 Removing intermediate container 14cfc162108e 14:50:09 ---> 6f4f26134db1 14:50:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:10 ---> Running in e2f4979b1d84 14:50:13 Removing intermediate container e2f4979b1d84 14:50:13 ---> b3b50afb7c1b 14:50:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:50:13 ---> Running in 13b449bfe6d7 14:50:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1358 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:50:13 Running in /w/workspace/device-rest-go/58 [Pipeline] { [Pipeline] checkout 14:50:13 The recommended git tool is: git 14:50:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:50:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:50:18 using credential edgex-jenkins-ssh 14:50:18 Cloning the remote Git repository 14:50:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:50:18 > git init /w/workspace/device-rest-go/58 # timeout=10 14:50:18 OK: 216 MiB in 55 packages 14:50:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:50:18 > git --version # timeout=10 14:50:18 > git --version # 'git version 2.25.1' 14:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:50:18 Verifying host key using known hosts file 14:50:18 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. 14:50:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:50:20 Removing intermediate container 13b449bfe6d7 14:50:20 ---> cc7d4246ec94 14:50:20 Step 8/25 : WORKDIR /device-rest-go 14:50:20 ---> Running in d8e7c3d228a2 14:50:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:50:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:50:20 Removing intermediate container d8e7c3d228a2 14:50:20 ---> 6b339f1757c0 14:50:20 Step 9/25 : COPY go.mod vendor* ./ 14:50:21 Avoid second fetch 14:50:21 Checking out Revision dc8d969f038542ea1d23af15e4cc3257ac4ed5fa (main) 14:50:21 ---> 9cfd1f63e794 14:50:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:50:21 Commit message: "Merge pull request #214 from hahattan/internal-command-req/res" 14:50:22 ---> Running in f6532cf3a439 14:50:21 > git config core.sparsecheckout # timeout=10 14:50:21 > git checkout -f dc8d969f038542ea1d23af15e4cc3257ac4ed5fa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:50:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:50:22 % Total % Received % Xferd Average Speed Time Time Time Current 14:50:22 Dload Upload Total Spent Left Speed 14:50:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh 14:50:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:50:23 + sudo tee /etc/docker/daemon.new 14:50:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:50:23 { 14:50:23 "registry-mirrors": [ 14:50:23 "https://nexus3.edgexfoundry.org:10001" 14:50:23 ], 14:50:23 "bip": "10.250.0.254/24", 14:50:23 "hosts": [ 14:50:23 "tcp://0.0.0.0:5555", 14:50:23 "unix:///var/run/docker.sock" 14:50:23 ], 14:50:23 "mtu": 1458, 14:50:23 "selinux-enabled": true, 14:50:23 "seccomp-profile": "/etc/docker/seccomp.json" 14:50:23 } [Pipeline] sh 14:50:24 Removing intermediate container f6532cf3a439 14:50:24 ---> f6593bc4dd20 14:50:24 Step 11/25 : COPY . . 14:50:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:50:24 + sudo service docker restart 14:50:24 ---> 5508fbbf6fa7 14:50:24 Step 12/25 : RUN $MAKE 14:50:25 ---> Running in d2c1d295c1d0 14:50:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:50:42 provisioning config files... 14:50:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/58@tmp/config2466763017774444607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:42 ---> docker-login.sh 14:50:42 nexus3.edgexfoundry.org:10001 14:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:43 Configure a credential helper to remove this warning. See 14:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:43 14:50:43 Login Succeeded 14:50:43 nexus3.edgexfoundry.org:10002 14:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:44 Configure a credential helper to remove this warning. See 14:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:44 14:50:44 Login Succeeded 14:50:44 nexus3.edgexfoundry.org:10003 14:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:44 Configure a credential helper to remove this warning. See 14:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:44 14:50:44 Login Succeeded 14:50:44 nexus3.edgexfoundry.org:10004 14:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:44 Configure a credential helper to remove this warning. See 14:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:44 14:50:44 Login Succeeded 14:50:44 docker.io 14:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:45 Configure a credential helper to remove this warning. See 14:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:45 14:50:45 Login Succeeded 14:50:45 ---> docker-login.sh ends [Pipeline] } 14:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:50:45 ========================================================= 14:50:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:50:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:45 + 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 . 14:50:45 Sending build context to Docker daemon 126kB 14:50:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:50:45 Step 2/12 : FROM ${BASE} AS builder 14:50:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:50:45 b3c136eddcbf: Pulling fs layer 14:50:45 c0a3192eca97: Pulling fs layer 14:50:45 a050256f5b6f: Pulling fs layer 14:50:45 656be50a0ddc: Pulling fs layer 14:50:45 2bbca73fdf42: Pulling fs layer 14:50:45 46d945488cbd: Pulling fs layer 14:50:45 8a5474983e97: Pulling fs layer 14:50:45 329c88fbcd65: Pulling fs layer 14:50:45 656be50a0ddc: Waiting 14:50:45 2bbca73fdf42: Waiting 14:50:45 46d945488cbd: Waiting 14:50:45 8a5474983e97: Waiting 14:50:45 329c88fbcd65: Waiting 14:50:46 a050256f5b6f: Verifying Checksum 14:50:46 a050256f5b6f: Download complete 14:50:46 c0a3192eca97: Verifying Checksum 14:50:46 c0a3192eca97: Download complete 14:50:46 2bbca73fdf42: Verifying Checksum 14:50:46 2bbca73fdf42: Download complete 14:50:46 46d945488cbd: Download complete 14:50:46 b3c136eddcbf: Verifying Checksum 14:50:47 b3c136eddcbf: Pull complete 14:50:47 329c88fbcd65: Verifying Checksum 14:50:47 329c88fbcd65: Download complete 14:50:47 c0a3192eca97: Pull complete 14:50:47 a050256f5b6f: Pull complete 14:50:48 8a5474983e97: Download complete 14:50:48 656be50a0ddc: Download complete 14:50:52 Removing intermediate container d2c1d295c1d0 14:50:52 ---> 89a8f0769b1b 14:50:52 Step 13/25 : FROM alpine:3.16 14:50:52 3.16: Pulling from library/alpine 14:50:52 213ec9aee27d: Pulling fs layer 14:50:52 213ec9aee27d: Verifying Checksum 14:50:52 213ec9aee27d: Download complete 14:50:52 213ec9aee27d: Pull complete 14:50:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:50:52 Status: Downloaded newer image for alpine:3.16 14:50:52 ---> 9c6f07244728 14:50:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:50:52 ---> Running in d5a4e16ecd52 14:50:52 Removing intermediate container d5a4e16ecd52 14:50:52 ---> 1e939a263cd3 14:50:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:50:52 ---> Running in c294a093a75a 14:50:52 Removing intermediate container c294a093a75a 14:50:52 ---> 5b20634780e2 14:50:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:50:53 ---> Running in 5e8ce42303ba 14:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:50:53 (1/6) Installing dumb-init (1.2.5-r1) 14:50:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:50:53 (3/6) Installing libsodium (1.0.18-r0) 14:50:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:50:53 (5/6) Installing libzmq (4.3.4-r0) 14:50:53 (6/6) Installing zeromq (4.3.4-r0) 14:50:53 Executing busybox-1.35.0-r17.trigger 14:50:53 OK: 8 MiB in 20 packages 14:50:55 Removing intermediate container 5e8ce42303ba 14:50:55 ---> 56366dc28c38 14:50:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:50:56 ---> 44083e8f05c2 14:50:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:50:56 ---> 694fe9ff8ef3 14:50:56 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:50:56 ---> 94416df9a392 14:50:56 Step 20/25 : EXPOSE 59986 14:50:56 ---> Running in 08d059c4d038 14:50:56 Removing intermediate container 08d059c4d038 14:50:56 ---> 9172092bedb5 14:50:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:50:57 ---> Running in 27daeb99ea75 14:50:57 Removing intermediate container 27daeb99ea75 14:50:57 ---> 008f98de1b05 14:50:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:50:57 ---> Running in f51aa100f621 14:50:58 Removing intermediate container f51aa100f621 14:50:58 ---> 0f55477315f1 14:50:58 Step 23/25 : LABEL arch=amd64 14:50:58 ---> Running in ef8f49f97a12 14:50:58 Removing intermediate container ef8f49f97a12 14:50:58 ---> 5c8e7b1a53fb 14:50:58 Step 24/25 : LABEL git_sha=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:50:58 ---> Running in a3c19ee6b57c 14:50:59 Removing intermediate container a3c19ee6b57c 14:50:59 ---> f381abe933db 14:50:59 Step 25/25 : LABEL version=2.3.0-dev.14 14:50:59 ---> Running in e09a466de71d 14:50:59 Removing intermediate container e09a466de71d 14:50:59 ---> 86bb4ee4c1d8 14:50:59 [Warning] One or more build-args [ARCH] were not consumed 14:50:59 Successfully built 86bb4ee4c1d8 14:50:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:50:59 provisioning config files... 14:50:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3375496883263992886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:00 ---> docker-login.sh 14:51:00 nexus3.edgexfoundry.org:10001 14:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:00 Configure a credential helper to remove this warning. See 14:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:00 14:51:00 Login Succeeded 14:51:00 nexus3.edgexfoundry.org:10002 14:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:00 Configure a credential helper to remove this warning. See 14:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:00 14:51:00 Login Succeeded 14:51:00 nexus3.edgexfoundry.org:10003 14:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:00 Configure a credential helper to remove this warning. See 14:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:00 14:51:00 Login Succeeded 14:51:00 nexus3.edgexfoundry.org:10004 14:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:00 Configure a credential helper to remove this warning. See 14:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:00 14:51:00 Login Succeeded 14:51:00 docker.io 14:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:00 Configure a credential helper to remove this warning. See 14:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:00 14:51:00 Login Succeeded 14:51:00 ---> docker-login.sh ends [Pipeline] } 14:51:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:51:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:51:00 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:51:00 latest 14:51:00 2.3.0-dev.14 14:51:00 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:51:00 main 14:51:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:01 656be50a0ddc: Pull complete 14:51:01 2bbca73fdf42: Pull complete 14:51:01 46d945488cbd: Pull complete 14:51:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:51:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:01 1345b8451e49: Preparing 14:51:01 8028f8d12c37: Preparing 14:51:01 7879f23edc6a: Preparing 14:51:01 421241336e94: Preparing 14:51:01 994393dc58e7: Preparing 14:51:01 994393dc58e7: Layer already exists 14:51:01 1345b8451e49: Pushed 14:51:01 8028f8d12c37: Pushed 14:51:01 421241336e94: Pushed 14:51:04 7879f23edc6a: Pushed 14:51:04 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa: digest: sha256:737a834d5e9062f831434c805941ce4a4d4f0c749b5c58ccafe26ff674035516 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:51:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:04 1345b8451e49: Preparing 14:51:04 8028f8d12c37: Preparing 14:51:04 7879f23edc6a: Preparing 14:51:04 421241336e94: Preparing 14:51:04 994393dc58e7: Preparing 14:51:04 421241336e94: Layer already exists 14:51:04 8028f8d12c37: Layer already exists 14:51:04 7879f23edc6a: Layer already exists 14:51:04 994393dc58e7: Layer already exists 14:51:04 1345b8451e49: Layer already exists 14:51:04 latest: digest: sha256:737a834d5e9062f831434c805941ce4a4d4f0c749b5c58ccafe26ff674035516 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.14 14:51:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:05 1345b8451e49: Preparing 14:51:05 8028f8d12c37: Preparing 14:51:05 7879f23edc6a: Preparing 14:51:05 421241336e94: Preparing 14:51:05 994393dc58e7: Preparing 14:51:05 7879f23edc6a: Layer already exists 14:51:05 8028f8d12c37: Layer already exists 14:51:05 421241336e94: Layer already exists 14:51:05 1345b8451e49: Layer already exists 14:51:05 994393dc58e7: Layer already exists 14:51:05 2.3.0-dev.14: digest: sha256:737a834d5e9062f831434c805941ce4a4d4f0c749b5c58ccafe26ff674035516 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:51:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:06 1345b8451e49: Preparing 14:51:06 8028f8d12c37: Preparing 14:51:06 7879f23edc6a: Preparing 14:51:06 421241336e94: Preparing 14:51:06 994393dc58e7: Preparing 14:51:06 994393dc58e7: Layer already exists 14:51:06 7879f23edc6a: Layer already exists 14:51:06 8028f8d12c37: Layer already exists 14:51:06 1345b8451e49: Layer already exists 14:51:06 421241336e94: Layer already exists 14:51:06 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14: digest: sha256:737a834d5e9062f831434c805941ce4a4d4f0c749b5c58ccafe26ff674035516 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main 14:51:06 8a5474983e97: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:51:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:07 1345b8451e49: Preparing 14:51:07 8028f8d12c37: Preparing 14:51:07 7879f23edc6a: Preparing 14:51:07 421241336e94: Preparing 14:51:07 994393dc58e7: Preparing 14:51:07 421241336e94: Layer already exists 14:51:07 8028f8d12c37: Layer already exists 14:51:07 1345b8451e49: Layer already exists 14:51:07 994393dc58e7: Layer already exists 14:51:07 7879f23edc6a: Layer already exists 14:51:07 main: digest: sha256:737a834d5e9062f831434c805941ce4a4d4f0c749b5c58ccafe26ff674035516 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:07 ===================================================== [Pipeline] echo 14:51:07 taggedImages: 14:51:07 - nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:51:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:51:07 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.14 14:51:07 - nexus3.edgexfoundry.org:10004/device-rest:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:51:07 - 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 14:51:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:07 14:51:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:08 329c88fbcd65: Pull complete 14:51:08 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:51:08 ---> ff4287adb874 14:51:08 Step 3/12 : ARG MAKE='make build' 14:51:08 latest: Pulling from edgex-lftools-log-publisher 14:51:08 5eb5b503b376: Pulling fs layer 14:51:08 5c69ac0246d0: Pulling fs layer 14:51:08 ec43610c2a17: Pulling fs layer 14:51:08 3a2ae6a8a46f: Pulling fs layer 14:51:08 33b1e0a273af: Pulling fs layer 14:51:08 5d3b04190fa2: Pulling fs layer 14:51:08 2f39f015ded8: Pulling fs layer 14:51:08 33b1e0a273af: Waiting 14:51:08 2f39f015ded8: Waiting 14:51:08 3a2ae6a8a46f: Waiting 14:51:08 5d3b04190fa2: Waiting 14:51:08 5c69ac0246d0: Download complete 14:51:08 3a2ae6a8a46f: Verifying Checksum 14:51:08 3a2ae6a8a46f: Download complete 14:51:08 33b1e0a273af: Verifying Checksum 14:51:08 33b1e0a273af: Download complete 14:51:08 5d3b04190fa2: Verifying Checksum 14:51:08 5d3b04190fa2: Download complete 14:51:08 ec43610c2a17: Verifying Checksum 14:51:08 ec43610c2a17: Download complete 14:51:08 5eb5b503b376: Verifying Checksum 14:51:08 5eb5b503b376: Download complete 14:51:08 2f39f015ded8: Download complete 14:51:09 5eb5b503b376: Pull complete 14:51:10 ---> Running in 0f8e52da28a8 14:51:10 Removing intermediate container 0f8e52da28a8 14:51:10 ---> 6fd3188658f3 14:51:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:51:10 ---> Running in e812605a0d73 14:51:10 5c69ac0246d0: Pull complete 14:51:10 Removing intermediate container e812605a0d73 14:51:10 ---> befd4889e522 14:51:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:51:10 ---> Running in 1b1a5c3df557 14:51:10 Removing intermediate container 1b1a5c3df557 14:51:10 ---> f11caca1c115 14:51:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:51:10 ec43610c2a17: Pull complete 14:51:11 ---> Running in 5d1292ec52c0 14:51:11 3a2ae6a8a46f: Pull complete 14:51:12 33b1e0a273af: Pull complete 14:51:12 5d3b04190fa2: Pull complete 14:51:13 Removing intermediate container 5d1292ec52c0 14:51:13 ---> 2cf1a110925d 14:51:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:51:13 ---> Running in 7147eb912a5a 14:51:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:51:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:51:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:51:15 (2/4) Installing libedit (20210910.3.1-r0) 14:51:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:51:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:51:15 Executing busybox-1.35.0-r13.trigger 14:51:15 OK: 226 MiB in 55 packages 14:51:16 2f39f015ded8: Pull complete 14:51:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:51:16 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:51:16 $ 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 14:51:16 Removing intermediate container 7147eb912a5a 14:51:16 ---> 28fbe400be8a 14:51:16 Step 8/12 : WORKDIR /device-rest-go 14:51:17 ---> Running in 85889a2290f1 14:51:17 Removing intermediate container 85889a2290f1 14:51:17 ---> 5cde0ac35599 14:51:17 Step 9/12 : COPY go.mod vendor* ./ 14:51:17 ---> 069ae6c94014 14:51:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:51:17 ---> Running in 7b59d503eb3a 14:51:20 $ docker top 4d3e9b850b24a524ced12baa7723f402d31e8f92a284098bc4387a2fa3184e12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:21 ---> job-cost.sh 14:51:21 lf-activate-venv: SKIPPING 14:51:21 INFO: No Stack... 14:51:21 INFO: Retrieving Pricing Info for: v3-standard-8 14:51:22 INFO: Archiving Costs [Pipeline] sh 14:51:22 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:51:22 + cut -d, -f6 [Pipeline] lock 14:51:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] 14:51:22 Resource [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] did not exist. Created. 14:51:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:22 + echo total: 0.2199999988079071 [Pipeline] stash 14:51:22 Stashed 1 file(s) [Pipeline] } 14:51:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 14:51:22 $ docker stop --time=1 4d3e9b850b24a524ced12baa7723f402d31e8f92a284098bc4387a2fa3184e12 14:51:24 $ docker rm -f 4d3e9b850b24a524ced12baa7723f402d31e8f92a284098bc4387a2fa3184e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:52:04 Removing intermediate container 7b59d503eb3a 14:52:04 ---> a7e03880fb2d 14:52:04 Step 11/12 : COPY . . 14:52:05 ---> bb9fad5beca8 14:52:05 Step 12/12 : RUN $MAKE 14:52:05 ---> Running in bc3777adf04f 14:52:06 noop 14:52:07 Removing intermediate container bc3777adf04f 14:52:07 ---> ee1c5e66e27c 14:52:07 Successfully built ee1c5e66e27c 14:52:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:07 + docker inspect -f . ci-base-image-arm64 14:52:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:52:07 prd-ubuntu20.04-docker-arm64-4c-16g-1358 does not seem to be running inside a container 14:52:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/58 -v /w/workspace/device-rest-go/58:/w/workspace/device-rest-go/58:rw,z -v /w/workspace/device-rest-go/58@tmp:/w/workspace/device-rest-go/58@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 14:52:09 $ docker top 6220c637034911d025be7f21ead23cc92a9a59a3b814a9f7334eac0408921866 -eo pid,comm [Pipeline] { [Pipeline] sh 14:52:09 + go version 14:52:09 go version go1.18.3 linux/arm64 [Pipeline] } 14:52:09 $ docker stop --time=1 6220c637034911d025be7f21ead23cc92a9a59a3b814a9f7334eac0408921866 14:52:11 $ docker rm -f 6220c637034911d025be7f21ead23cc92a9a59a3b814a9f7334eac0408921866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:12 + docker inspect -f . ci-base-image-arm64 14:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:52:12 prd-ubuntu20.04-docker-arm64-4c-16g-1358 does not seem to be running inside a container 14:52:12 $ 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/58 -v /w/workspace/device-rest-go/58:/w/workspace/device-rest-go/58:rw,z -v /w/workspace/device-rest-go/58@tmp:/w/workspace/device-rest-go/58@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 14:52:13 $ docker top 0cf62cd6422af34a76c0df3a8f9531c24f4515ecd7d0825ec93adbb04db0e38d -eo pid,comm [Pipeline] { [Pipeline] sh 14:52:13 + git config --global --add safe.directory /w/workspace/device-rest-go/58 [Pipeline] fileExists [Pipeline] sh 14:52:14 + make test 14:52:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:52:16 ? github.com/edgexfoundry/device-rest-go [no test files] 14:53:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:53:37 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 14:53:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:53:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:53:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:53:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:53:59 ./bin/test-attribution-txt.sh 14:53:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:53:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:53:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:53:59 $ docker stop --time=1 0cf62cd6422af34a76c0df3a8f9531c24f4515ecd7d0825ec93adbb04db0e38d 14:54:01 $ docker rm -f 0cf62cd6422af34a76c0df3a8f9531c24f4515ecd7d0825ec93adbb04db0e38d [Pipeline] // withDockerContainer [Pipeline] sh 14:54:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:54:02 Warning: overwriting stash ‘coverage-report’ 14:54:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:54:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:54:03 + ls -al . 14:54:03 total 172 14:54:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 14:52 . 14:54:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:50 .. 14:54:03 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 14:50 .dockerignore 14:54:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 14:50 .git 14:54:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:50 .github 14:54:03 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 14:50 .gitignore 14:54:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 14:50 .golangci.yml 14:54:03 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 14:50 Attribution.txt 14:54:03 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 14:50 CHANGELOG.md 14:54:03 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 14:50 Dockerfile 14:54:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:50 GOVERNANCE.md 14:54:03 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 14:50 Jenkinsfile 14:54:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 14:50 LICENSE 14:54:03 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 14:50 Makefile 14:54:03 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 14:50 OWNERS.md 14:54:03 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 14:50 README.md 14:54:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:48 VERSION 14:54:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:50 bin 14:54:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:50 cmd 14:54:03 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 14:53 coverage.out 14:54:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:50 driver 14:54:03 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 14:50 go.mod 14:54:03 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 14:50 go.sum 14:54:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:50 snap 14:54:03 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 14:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:03 + 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=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa --label arch=arm64 --label version=2.3.0-dev.14 . 14:54:03 Sending build context to Docker daemon 136.2kB 14:54:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:54:03 Step 2/25 : FROM ${BASE} AS builder 14:54:03 ---> ee1c5e66e27c 14:54:03 Step 3/25 : ARG MAKE='make build' 14:54:03 ---> Running in dc1d3b655a6c 14:54:04 Removing intermediate container dc1d3b655a6c 14:54:04 ---> 1d9041dac3ad 14:54:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:54:04 ---> Running in 525b41869027 14:54:04 Removing intermediate container 525b41869027 14:54:04 ---> 0f62bd9c218f 14:54:04 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:54:04 ---> Running in 78a6649a2966 14:54:04 Removing intermediate container 78a6649a2966 14:54:04 ---> 50472fe69d29 14:54:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:05 ---> Running in 80648e6f90c3 14:54:06 Removing intermediate container 80648e6f90c3 14:54:06 ---> bbc2308f829a 14:54:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:54:06 ---> Running in 69fc61f18cd2 14:54:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:54:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:54:08 OK: 226 MiB in 55 packages 14:54:09 Removing intermediate container 69fc61f18cd2 14:54:09 ---> e64d99c8f5e2 14:54:09 Step 8/25 : WORKDIR /device-rest-go 14:54:09 ---> Running in 2483f55f107e 14:54:10 Removing intermediate container 2483f55f107e 14:54:10 ---> 2d227f0e1ddf 14:54:10 Step 9/25 : COPY go.mod vendor* ./ 14:54:10 ---> 30c9ef8a308b 14:54:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:54:10 ---> Running in 42e3e53846f3 14:54:12 Removing intermediate container 42e3e53846f3 14:54:12 ---> c74deb077618 14:54:12 Step 11/25 : COPY . . 14:54:12 ---> 47bf48154771 14:54:12 Step 12/25 : RUN $MAKE 14:54:12 ---> Running in f8f9a7d934b2 14:54:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:56:50 Removing intermediate container f8f9a7d934b2 14:56:50 ---> cb360e34b7c9 14:56:50 Step 13/25 : FROM alpine:3.16 14:56:50 3.16: Pulling from library/alpine 14:56:50 9b18e9b68314: Pulling fs layer 14:56:50 9b18e9b68314: Verifying Checksum 14:56:50 9b18e9b68314: Download complete 14:56:50 9b18e9b68314: Pull complete 14:56:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:56:50 Status: Downloaded newer image for alpine:3.16 14:56:50 ---> a6215f271958 14:56:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:56:50 ---> Running in 327098266f4c 14:56:50 Removing intermediate container 327098266f4c 14:56:50 ---> 9d62061e92eb 14:56:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:56:50 ---> Running in 0b3791597abb 14:56:50 Removing intermediate container 0b3791597abb 14:56:50 ---> b3c2f36d8edc 14:56:50 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:56:50 ---> Running in cde2823109b7 14:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:56:50 (1/6) Installing dumb-init (1.2.5-r1) 14:56:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:56:50 (3/6) Installing libsodium (1.0.18-r0) 14:56:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:56:50 (5/6) Installing libzmq (4.3.4-r0) 14:56:50 (6/6) Installing zeromq (4.3.4-r0) 14:56:50 Executing busybox-1.35.0-r17.trigger 14:56:50 OK: 8 MiB in 20 packages 14:56:50 Removing intermediate container cde2823109b7 14:56:50 ---> c2df992a58a4 14:56:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:56:50 ---> 346865bf6075 14:56:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:56:50 ---> 832e751ba844 14:56:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:56:50 ---> 9cc4a5d7ffa2 14:56:50 Step 20/25 : EXPOSE 59986 14:56:50 ---> Running in bcbec47e8a24 14:56:50 Removing intermediate container bcbec47e8a24 14:56:50 ---> f6ef808e1730 14:56:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:56:50 ---> Running in 480a9ad5d6e6 14:56:50 Removing intermediate container 480a9ad5d6e6 14:56:50 ---> 4f60cce2bbfb 14:56:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:56:50 ---> Running in a14cedbe1417 14:56:50 Removing intermediate container a14cedbe1417 14:56:50 ---> e4284e0f15c6 14:56:50 Step 23/25 : LABEL arch=arm64 14:56:50 ---> Running in 02a1d3d77610 14:56:50 Removing intermediate container 02a1d3d77610 14:56:50 ---> 15af80c92bcc 14:56:50 Step 24/25 : LABEL git_sha=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:56:50 ---> Running in 807c7cece032 14:56:50 Removing intermediate container 807c7cece032 14:56:50 ---> 1f08e0dc3c72 14:56:50 Step 25/25 : LABEL version=2.3.0-dev.14 14:56:50 ---> Running in 77b674f762b0 14:56:50 Removing intermediate container 77b674f762b0 14:56:50 ---> 7c5c14a5df17 14:56:50 [Warning] One or more build-args [ARCH] were not consumed 14:56:50 Successfully built 7c5c14a5df17 14:56:50 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 14:56:50 provisioning config files... 14:56:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/58@tmp/config12607349080455459770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:51 ---> docker-login.sh 14:56:51 nexus3.edgexfoundry.org:10001 14:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:51 Configure a credential helper to remove this warning. See 14:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:51 14:56:51 Login Succeeded 14:56:51 nexus3.edgexfoundry.org:10002 14:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:51 Configure a credential helper to remove this warning. See 14:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:51 14:56:51 Login Succeeded 14:56:51 nexus3.edgexfoundry.org:10003 14:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:52 Configure a credential helper to remove this warning. See 14:56:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:52 14:56:52 Login Succeeded 14:56:52 nexus3.edgexfoundry.org:10004 14:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:52 Configure a credential helper to remove this warning. See 14:56:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:52 14:56:52 Login Succeeded 14:56:52 docker.io 14:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:53 Configure a credential helper to remove this warning. See 14:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:53 14:56:53 Login Succeeded 14:56:53 ---> docker-login.sh ends [Pipeline] } 14:56:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:56:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:56:53 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:56:53 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:56:53 latest 14:56:53 2.3.0-dev.14 14:56:53 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:56:53 main 14:56:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:56:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:56:54 ba63704ac8d7: Preparing 14:56:54 f4b0da34419a: Preparing 14:56:54 c76215bbe9dd: Preparing 14:56:54 b48f8676e5dc: Preparing 14:56:54 5d3e392a13a0: Preparing 14:56:54 5d3e392a13a0: Layer already exists 14:56:54 f4b0da34419a: Pushed 14:56:54 ba63704ac8d7: Pushed 14:56:54 b48f8676e5dc: Pushed 14:57:00 c76215bbe9dd: Pushed 14:57:00 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa: digest: sha256:cd2e9028d7fb2e30b1921b29c2ba6adcc49fcd16eeb14cf9e76cfd814c4dd634 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:57:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:00 ba63704ac8d7: Preparing 14:57:00 f4b0da34419a: Preparing 14:57:00 c76215bbe9dd: Preparing 14:57:00 b48f8676e5dc: Preparing 14:57:00 5d3e392a13a0: Preparing 14:57:00 c76215bbe9dd: Layer already exists 14:57:00 ba63704ac8d7: Layer already exists 14:57:00 f4b0da34419a: Layer already exists 14:57:00 b48f8676e5dc: Layer already exists 14:57:00 5d3e392a13a0: Layer already exists 14:57:00 latest: digest: sha256:cd2e9028d7fb2e30b1921b29c2ba6adcc49fcd16eeb14cf9e76cfd814c4dd634 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.14 14:57:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:01 ba63704ac8d7: Preparing 14:57:01 f4b0da34419a: Preparing 14:57:01 c76215bbe9dd: Preparing 14:57:01 b48f8676e5dc: Preparing 14:57:01 5d3e392a13a0: Preparing 14:57:01 5d3e392a13a0: Layer already exists 14:57:01 f4b0da34419a: Layer already exists 14:57:01 c76215bbe9dd: Layer already exists 14:57:01 ba63704ac8d7: Layer already exists 14:57:01 b48f8676e5dc: Layer already exists 14:57:01 2.3.0-dev.14: digest: sha256:cd2e9028d7fb2e30b1921b29c2ba6adcc49fcd16eeb14cf9e76cfd814c4dd634 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:57:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:02 ba63704ac8d7: Preparing 14:57:02 f4b0da34419a: Preparing 14:57:02 c76215bbe9dd: Preparing 14:57:02 b48f8676e5dc: Preparing 14:57:02 5d3e392a13a0: Preparing 14:57:02 c76215bbe9dd: Layer already exists 14:57:02 5d3e392a13a0: Layer already exists 14:57:02 ba63704ac8d7: Layer already exists 14:57:02 f4b0da34419a: Layer already exists 14:57:02 b48f8676e5dc: Layer already exists 14:57:02 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14: digest: sha256:cd2e9028d7fb2e30b1921b29c2ba6adcc49fcd16eeb14cf9e76cfd814c4dd634 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:57:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:03 ba63704ac8d7: Preparing 14:57:03 f4b0da34419a: Preparing 14:57:03 c76215bbe9dd: Preparing 14:57:03 b48f8676e5dc: Preparing 14:57:03 5d3e392a13a0: Preparing 14:57:03 b48f8676e5dc: Layer already exists 14:57:03 c76215bbe9dd: Layer already exists 14:57:03 f4b0da34419a: Layer already exists 14:57:03 ba63704ac8d7: Layer already exists 14:57:03 5d3e392a13a0: Layer already exists 14:57:03 main: digest: sha256:cd2e9028d7fb2e30b1921b29c2ba6adcc49fcd16eeb14cf9e76cfd814c4dd634 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:57:03 ===================================================== [Pipeline] echo 14:57:03 taggedImages: 14:57:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa 14:57:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:57:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.14 14:57:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dc8d969f038542ea1d23af15e4cc3257ac4ed5fa-2.3.0-dev.14 14:57:03 - 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 14:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:03 14:57:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:03 arm64: Pulling from edgex-lftools-log-publisher 14:57:03 8998bd30e6a1: Pulling fs layer 14:57:03 04944245beec: Pulling fs layer 14:57:03 699f458cf7ca: Pulling fs layer 14:57:03 765212b225bb: Pulling fs layer 14:57:03 f23df028b6ca: Pulling fs layer 14:57:03 d65c8cfc05b1: Pulling fs layer 14:57:03 2437ff75d9bd: Pulling fs layer 14:57:03 765212b225bb: Waiting 14:57:03 f23df028b6ca: Waiting 14:57:03 d65c8cfc05b1: Waiting 14:57:03 2437ff75d9bd: Waiting 14:57:04 04944245beec: Verifying Checksum 14:57:04 04944245beec: Download complete 14:57:04 765212b225bb: Verifying Checksum 14:57:04 765212b225bb: Download complete 14:57:04 f23df028b6ca: Verifying Checksum 14:57:04 f23df028b6ca: Download complete 14:57:04 d65c8cfc05b1: Verifying Checksum 14:57:04 d65c8cfc05b1: Download complete 14:57:04 699f458cf7ca: Verifying Checksum 14:57:04 699f458cf7ca: Download complete 14:57:04 8998bd30e6a1: Verifying Checksum 14:57:04 8998bd30e6a1: Download complete 14:57:06 2437ff75d9bd: Verifying Checksum 14:57:06 2437ff75d9bd: Download complete 14:57:08 8998bd30e6a1: Pull complete 14:57:09 04944245beec: Pull complete 14:57:10 699f458cf7ca: Pull complete 14:57:10 765212b225bb: Pull complete 14:57:12 f23df028b6ca: Pull complete 14:57:12 d65c8cfc05b1: Pull complete 14:57:27 2437ff75d9bd: Pull complete 14:57:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:57:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:57:27 prd-ubuntu20.04-docker-arm64-4c-16g-1358 does not seem to be running inside a container 14:57:27 $ 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/58 -v /w/workspace/device-rest-go/58:/w/workspace/device-rest-go/58:rw,z -v /w/workspace/device-rest-go/58@tmp:/w/workspace/device-rest-go/58@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 14:57:29 $ docker top 1440e0eaa3d6fc1022f6e386a737a67556edc3b23279067c3d304a07479855df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:30 ---> job-cost.sh 14:57:30 lf-activate-venv: SKIPPING 14:57:30 INFO: No Stack... 14:57:30 INFO: Retrieving Pricing Info for: v3-standard-4 14:57:31 INFO: Archiving Costs [Pipeline] sh 14:57:32 + + catcut /w/workspace/device-rest-go/58/archives/cost.csv -d, 14:57:32 -f6 [Pipeline] lock 14:57:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] 14:57:32 Resource [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] did not exist. Created. 14:57:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:57:32 /w/workspace/device-rest-go/58@tmp/durable-6ee16bf6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:57:32 + echo total: 0.10999999940395355 [Pipeline] stash 14:57:33 Warning: overwriting stash ‘stack-cost’ 14:57:33 Stashed 1 file(s) [Pipeline] } 14:57:33 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 14:57:33 $ docker stop --time=1 1440e0eaa3d6fc1022f6e386a737a67556edc3b23279067c3d304a07479855df 14:57:34 $ docker rm -f 1440e0eaa3d6fc1022f6e386a737a67556edc3b23279067c3d304a07479855df [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 14:57:34 provisioning config files... 14:57:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7801881188860142948tmp [Pipeline] { [Pipeline] sh 14:57:35 + set +x 14:57:35 + curl -s https://codecov.io/bash 14:57:35 + bash -s -- 14:57:35 14:57:35 _____ _ 14:57:35 / ____| | | 14:57:35 | | ___ __| | ___ ___ _____ __ 14:57:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:57:35 | |___| (_) | (_| | __/ (_| (_) \ V / 14:57:35 \_____\___/ \__,_|\___|\___\___/ \_/ 14:57:35 Bash-1.0.6 14:57:35 14:57:35 14:57:35 ==> git version 2.25.1 found 14:57:35 ==> 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 14:57:35 Release-Date: 2020-01-08 14:57:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:57:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:57:35 ==> Jenkins CI detected. 14:57:35 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:57:35 project root: . 14:57:35 --> token set from env 14:57:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:57:35 ==> Running gcov in . (disable via -X gcov) 14:57:35 ==> Python coveragepy not found 14:57:35 ==> Searching for coverage reports in: 14:57:35 + . 14:57:35 -> Found 1 reports 14:57:35 ==> Detecting git/mercurial file structure 14:57:35 ==> Reading reports 14:57:35 + ./coverage.out bytes=9355 14:57:35 ==> Appending adjustments 14:57:35 https://docs.codecov.io/docs/fixing-reports 14:57:35 + Found adjustments 14:57:35 ==> Gzipping contents 14:57:35 4.0K /tmp/codecov.K44CkY.gz 14:57:35 ==> Uploading reports 14:57:35 url: https://codecov.io 14:57:35 query: branch=main&commit=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:57:35 -> Pinging Codecov 14:57:35 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=dc8d969f038542ea1d23af15e4cc3257ac4ed5fa&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:57:35 -> Uploading to 14:57:35 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/dc8d969f038542ea1d23af15e4cc3257ac4ed5fa/4b271d1f-4aba-48fc-a4fe-97a5248e78ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T145735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20d5b3cc15a7a35f5960a1c3ce1ab513ceb3cb2d9b657e2d448143ea3329e9c5 14:57:35 % Total % Received % Xferd Average Speed Time Time Time Current 14:57:35 Dload Upload Total Spent Left Speed 14:57:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 4825 --:--:-- --:--:-- --:--:-- 4825 14:57:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] } 14:57:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:57:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:57:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:57:36 14:57:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:57:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:57:37 df9b9388f04a: Pulling fs layer 14:57:37 52dc419b0ee2: Pulling fs layer 14:57:37 25bc292e5bac: Pulling fs layer 14:57:37 114826534d7a: Pulling fs layer 14:57:37 4657fd5d0bcf: Pulling fs layer 14:57:37 6ad1cebc031e: Pulling fs layer 14:57:37 8a3aa393b2d8: Pulling fs layer 14:57:37 4657fd5d0bcf: Waiting 14:57:37 6ad1cebc031e: Waiting 14:57:37 8a3aa393b2d8: Waiting 14:57:37 114826534d7a: Waiting 14:57:37 25bc292e5bac: Verifying Checksum 14:57:37 25bc292e5bac: Download complete 14:57:37 52dc419b0ee2: Download complete 14:57:37 4657fd5d0bcf: Download complete 14:57:37 df9b9388f04a: Download complete 14:57:37 6ad1cebc031e: Verifying Checksum 14:57:37 6ad1cebc031e: Download complete 14:57:37 df9b9388f04a: Pull complete 14:57:38 52dc419b0ee2: Pull complete 14:57:38 25bc292e5bac: Pull complete 14:57:38 114826534d7a: Verifying Checksum 14:57:38 114826534d7a: Download complete 14:57:38 8a3aa393b2d8: Verifying Checksum 14:57:38 8a3aa393b2d8: Download complete 14:57:42 114826534d7a: Pull complete 14:57:42 4657fd5d0bcf: Pull complete 14:57:43 6ad1cebc031e: Pull complete 14:57:47 8a3aa393b2d8: Pull complete 14:57:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:57:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:57:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:57:47 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:57:47 $ 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 14:57:52 $ docker top a515d2c67f798e77f7fa557a4d84dc9cbc93811984a4482dd347c967b8d03e6a -eo pid,comm [Pipeline] { [Pipeline] echo 14:57:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 14:57:52 + set -o pipefail 14:57:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 14:57:59 14:57:59 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:57:59 14:57:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/47e061dd-9311-49e8-b336-266f79d68965 14:57:59 14:57:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:57:59 14:57:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:57:59 14:57:59 [Pipeline] } 14:57:59 $ docker stop --time=1 a515d2c67f798e77f7fa557a4d84dc9cbc93811984a4482dd347c967b8d03e6a 14:58:06 $ docker rm -f a515d2c67f798e77f7fa557a4d84dc9cbc93811984a4482dd347c967b8d03e6a [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 14:58:07 + git log --format=format:%s -1 dc8d969f038542ea1d23af15e4cc3257ac4ed5fa [Pipeline] sh 14:58:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:07 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:58:07 $ 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 14:58:08 $ docker top 5ff32ea3c4f902dae70f5a543dcdaf54f8f1b3e424227a192467f327b2a7443b -eo pid,comm 14:58:08 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). 14:58:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:08 [ssh-agent] Looking for ssh-agent implementation... 14:58:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:08 $ docker exec 5ff32ea3c4f902dae70f5a543dcdaf54f8f1b3e424227a192467f327b2a7443b ssh-agent 14:58:08 SSH_AUTH_SOCK=/tmp/ssh-Cp5uaa4MWLSr/agent.13 14:58:08 SSH_AGENT_PID=19 14:58:08 Running ssh-add (command line suppressed) 14:58:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2508042715160113984.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2508042715160113984.key) 14:58:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:09 + git semver tag 14:58:09 2022-09-27 14:58:09,537 [run_tag] DEBUG tag force:False 14:58:09 2022-09-27 14:58:09,537 [check_head_tag] DEBUG check head tag 14:58:09 2022-09-27 14:58:09,538 [execute] INFO git cat-file --batch-check 14:58:09 2022-09-27 14:58:09,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:58:09 2022-09-27 14:58:09,543 [execute] INFO git cat-file --batch 14:58:09 2022-09-27 14:58:09,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:58:09 2022-09-27 14:58:09,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:09 2022-09-27 14:58:09,556 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 14:58:09 2022-09-27 14:58:09,556 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 14:58:09 2022-09-27 14:58:09,565 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:09 2.3.0-dev.14 [Pipeline] } 14:58:09 $ docker exec --env ******** --env ******** 5ff32ea3c4f902dae70f5a543dcdaf54f8f1b3e424227a192467f327b2a7443b ssh-agent -k 14:58:09 unset SSH_AUTH_SOCK; 14:58:09 unset SSH_AGENT_PID; 14:58:09 echo Agent pid 19 killed; 14:58:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:10 + git semver [Pipeline] } 14:58:10 $ docker stop --time=1 5ff32ea3c4f902dae70f5a543dcdaf54f8f1b3e424227a192467f327b2a7443b 14:58:13 $ docker rm -f 5ff32ea3c4f902dae70f5a543dcdaf54f8f1b3e424227a192467f327b2a7443b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:13 14:58:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:14 0.23.1-centos7: Pulling from edgex-lftools 14:58:14 ab5ef0e58194: Pulling fs layer 14:58:14 9712f1f96733: Pulling fs layer 14:58:14 63f879dbbcfc: Pulling fs layer 14:58:14 0d9ebad4ef96: Pulling fs layer 14:58:14 e9a5061849ea: Pulling fs layer 14:58:14 d747dcd14b5f: Pulling fs layer 14:58:14 2de7ff778b66: Pulling fs layer 14:58:14 0d9ebad4ef96: Waiting 14:58:14 d747dcd14b5f: Waiting 14:58:14 e9a5061849ea: Waiting 14:58:14 2de7ff778b66: Waiting 14:58:14 9712f1f96733: Verifying Checksum 14:58:14 9712f1f96733: Download complete 14:58:14 63f879dbbcfc: Verifying Checksum 14:58:14 63f879dbbcfc: Download complete 14:58:15 e9a5061849ea: Download complete 14:58:15 d747dcd14b5f: Download complete 14:58:15 0d9ebad4ef96: Verifying Checksum 14:58:15 0d9ebad4ef96: Download complete 14:58:15 ab5ef0e58194: Verifying Checksum 14:58:15 ab5ef0e58194: Download complete 14:58:15 2de7ff778b66: Verifying Checksum 14:58:15 2de7ff778b66: Download complete 14:58:18 ab5ef0e58194: Pull complete 14:58:18 9712f1f96733: Pull complete 14:58:20 63f879dbbcfc: Pull complete 14:58:23 0d9ebad4ef96: Pull complete 14:58:23 e9a5061849ea: Pull complete 14:58:23 d747dcd14b5f: Pull complete 14:58:25 2de7ff778b66: Pull complete 14:58:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:25 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:58:25 $ 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 14:58:30 $ docker top 87136f760501ee74f3f9a3a177440df6edeee23886ea1b1f3d6f4314afd84f16 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:58:30 provisioning config files... 14:58:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7492845196811385812tmp 14:58:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3598088724295744668tmp 14:58:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17618614668121862103tmp [Pipeline] { [Pipeline] echo 14:58:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:58:31 ---> sigul-configuration.sh 14:58:31 gpg: directory `/root/.gnupg' created 14:58:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:58:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:58:31 gpg: keyring `/root/.gnupg/secring.gpg' created 14:58:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:58:31 gpg: CAST5 encrypted data 14:58:31 gpg: encrypted with 1 passphrase 14:58:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:58:31 + mkdir /home/jenkins 14:58:31 + mkdir /home/jenkins/sigul [Pipeline] sh 14:58:31 + 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 14:58:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:58:31 ---> sigul-install.sh 14:58:31 Sigul already installed; skipping installation. [Pipeline] sh 14:58:32 + git tag --list 14:58:32 v1.0.0 14:58:32 v1.1.0 14:58:32 v1.1.1 14:58:32 v1.1.2 14:58:32 v1.2.0 14:58:32 v1.2.1 14:58:32 v2.0.0 14:58:32 v2.1.0 14:58:32 v2.1.1 14:58:32 v2.1.1-dev.1 14:58:32 v2.1.1-dev.2 14:58:32 v2.1.1-dev.3 14:58:32 v2.2.0 14:58:32 v2.2.1-dev.1 14:58:32 v2.2.1-dev.2 14:58:32 v2.2.1-dev.3 14:58:32 v2.2.1-dev.4 14:58:32 v2.2.1-dev.5 14:58:32 v2.2.1-dev.6 14:58:32 v2.2.1-dev.7 14:58:32 v2.2.1-dev.8 14:58:32 v2.2.1-dev.9 14:58:32 v2.3.0-dev.10 14:58:32 v2.3.0-dev.11 14:58:32 v2.3.0-dev.12 14:58:32 v2.3.0-dev.13 14:58:32 v2.3.0-dev.14 14:58:32 v2.3.0-dev.9 [Pipeline] sh 14:58:32 + lftools sign git-tag v2.3.0-dev.14 14:58:33 Signing Git tag with Sigul... 14:58:33 Signing v2.3.0-dev.14 [Pipeline] echo 14:58:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:58:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:58:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:58:33 $ docker stop --time=1 87136f760501ee74f3f9a3a177440df6edeee23886ea1b1f3d6f4314afd84f16 14:58:35 $ docker rm -f 87136f760501ee74f3f9a3a177440df6edeee23886ea1b1f3d6f4314afd84f16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:58:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:58:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:36 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:58:36 $ 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 14:58:37 $ docker top 4682d53db56dbee4dd5aa75fa10b03c3726cc81db6b220bf020f35c79d7a16f6 -eo pid,comm 14:58:37 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). 14:58:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:37 [ssh-agent] Looking for ssh-agent implementation... 14:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:37 $ docker exec 4682d53db56dbee4dd5aa75fa10b03c3726cc81db6b220bf020f35c79d7a16f6 ssh-agent 14:58:37 SSH_AUTH_SOCK=/tmp/ssh-yDwPNsYDmQ12/agent.33 14:58:37 SSH_AGENT_PID=39 14:58:37 Running ssh-add (command line suppressed) 14:58:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14974586237067190832.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14974586237067190832.key) 14:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:37 + git semver bump pre 14:58:38 2022-09-27 14:58:38,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:38 2022-09-27 14:58:38,043 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 14:58:38 2022-09-27 14:58:38,043 [bump_version] DEBUG bumped version:2.3.0-dev.15 14:58:38 2022-09-27 14:58:38,043 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 14:58:38 2022-09-27 14:58:38,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:38 2022-09-27 14:58:38,043 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:38 2022-09-27 14:58:38,045 [execute] INFO git cat-file --batch-check 14:58:38 2022-09-27 14:58:38,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:58:38 2022-09-27 14:58:38,049 [execute] INFO git cat-file --batch 14:58:38 2022-09-27 14:58:38,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:58:38 2022-09-27 14:58:38,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:38 2.3.0-dev.15 [Pipeline] } 14:58:38 $ docker exec --env ******** --env ******** 4682d53db56dbee4dd5aa75fa10b03c3726cc81db6b220bf020f35c79d7a16f6 ssh-agent -k 14:58:38 unset SSH_AUTH_SOCK; 14:58:38 unset SSH_AGENT_PID; 14:58:38 echo Agent pid 39 killed; 14:58:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:38 + git semver [Pipeline] } 14:58:38 $ docker stop --time=1 4682d53db56dbee4dd5aa75fa10b03c3726cc81db6b220bf020f35c79d7a16f6 14:58:40 $ docker rm -f 4682d53db56dbee4dd5aa75fa10b03c3726cc81db6b220bf020f35c79d7a16f6 [Pipeline] // withDockerContainer [Pipeline] sh 14:58:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:58:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:40 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:58:41 $ 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 14:58:41 $ docker top 47ae22ad38d3f97c6a46ed1e22ee5b7b317f9ff0ec463294f2f67cf33f44004c -eo pid,comm 14:58:41 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). 14:58:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:41 [ssh-agent] Looking for ssh-agent implementation... 14:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:41 $ docker exec 47ae22ad38d3f97c6a46ed1e22ee5b7b317f9ff0ec463294f2f67cf33f44004c ssh-agent 14:58:41 SSH_AUTH_SOCK=/tmp/ssh-ct0SPL6Vxj9g/agent.34 14:58:41 SSH_AGENT_PID=40 14:58:41 Running ssh-add (command line suppressed) 14:58:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17570129979970244355.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17570129979970244355.key) 14:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:42 + git semver push 14:58:42 2022-09-27 14:58:42,326 [run_push] DEBUG push 14:58:42 2022-09-27 14:58:42,327 [execute] INFO git cat-file --batch-check 14:58:42 2022-09-27 14:58:42,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:58:42 2022-09-27 14:58:42,331 [execute] INFO git rev-list 8349c3852d00a64d85e1643085bf834b4ac83e1c -- 14:58:42 2022-09-27 14:58:42,331 [execute] DEBUG Popen(['git', 'rev-list', '8349c3852d00a64d85e1643085bf834b4ac83e1c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:58:42 2022-09-27 14:58:42,339 [execute] INFO git fetch -v origin 14:58:42 2022-09-27 14:58:42,339 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:58:43 2022-09-27 14:58:42,939 [run_push] DEBUG no remote changes detected 14:58:43 2022-09-27 14:58:42,939 [execute] INFO git push origin semver 14:58:43 2022-09-27 14:58:42,939 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:58:43 2022-09-27 14:58:43,737 [run_push] DEBUG push all version tags 14:58:43 2022-09-27 14:58:43,737 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:58:43 2022-09-27 14:58:43,738 [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) 14:58:44 2022-09-27 14:58:44,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:58:44 2.3.0-dev.15 [Pipeline] } 14:58:44 $ docker exec --env ******** --env ******** 47ae22ad38d3f97c6a46ed1e22ee5b7b317f9ff0ec463294f2f67cf33f44004c ssh-agent -k 14:58:45 unset SSH_AUTH_SOCK; 14:58:45 unset SSH_AGENT_PID; 14:58:45 echo Agent pid 40 killed; 14:58:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:45 + git semver [Pipeline] } 14:58:45 $ docker stop --time=1 47ae22ad38d3f97c6a46ed1e22ee5b7b317f9ff0ec463294f2f67cf33f44004c 14:58:46 $ docker rm -f 47ae22ad38d3f97c6a46ed1e22ee5b7b317f9ff0ec463294f2f67cf33f44004c [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 14:58:47 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:58:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:58:47 total 16 14:58:47 drwxr-xr-x 3 root root 4096 Sep 27 14:51 . 14:58:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 14:58 .. 14:58:47 drwxr-xr-x 2 root root 4096 Sep 27 14:51 cost 14:58:47 -rw-r--r-- 1 root root 85 Sep 27 14:51 cost.csv 14:58:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:58:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:58:47 total 16 14:58:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:51 . 14:58:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 14:58 .. 14:58:47 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 14:51 cost 14:58:47 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 14:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:58:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:58:48 ---> package-listing.sh 14:58:48 ++ facter osfamily 14:58:48 ++ tr '[:upper:]' '[:lower:]' 14:58:48 + OS_FAMILY=debian 14:58:48 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:58:48 + START_PACKAGES=/tmp/packages_start.txt 14:58:48 + END_PACKAGES=/tmp/packages_end.txt 14:58:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:58:48 + PACKAGES=/tmp/packages_start.txt 14:58:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:58:48 + PACKAGES=/tmp/packages_end.txt 14:58:48 + case "${OS_FAMILY}" in 14:58:48 + dpkg -l 14:58:48 + grep '^ii' 14:58:48 + '[' -f /tmp/packages_start.txt ']' 14:58:48 + '[' -f /tmp/packages_end.txt ']' 14:58:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:58:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:58:48 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:58:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:58:48 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 14:58:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:58:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:49 prd-ubuntu20.04-docker-8c-8g-1357 does not seem to be running inside a container 14:58:49 $ 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 14:58:50 $ docker top b6584458caa0fa698d297168f4661de9f19e9ae8c88374e1bb5c9a3ddcc5e3bb -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:50 + touch /tmp/pre-build-complete [Pipeline] sh 14:58:51 + mkdir -p /var/log/sysstat [Pipeline] sh 14:58:51 + ls /var/log/sa-host 14:58:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:58:51 provisioning config files... 14:58:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3538984829075565184tmp [Pipeline] { [Pipeline] echo 14:58:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:58:51 ---> create-netrc.sh [Pipeline] } 14:58:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:58:52 ---> python-tools-install.sh [Pipeline] echo 14:58:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:58:52 ---> sudo-logs.sh 14:58:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:58:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:58:52 ---> job-cost.sh 14:58:52 lf-activate-venv: SKIPPING 14:58:52 DEBUG: total: 0.2199999988079071 14:58:52 INFO: Retrieving Stack Cost... 14:58:53 INFO: Retrieving Pricing Info for: v3-standard-8 14:58:53 INFO: Archiving Costs [Pipeline] echo 14:58:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:58:54 ---> logs-deploy.sh 14:58:54 lf-activate-venv: SKIPPING 14:58:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/58 14:58:54 INFO: archiving workspace using pattern(s): 14:58:54 Archives upload complete. 14:58:55 INFO: archiving logs to Nexus