Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71bb43dbd033e4b79fac5b32175e59679d8e2e88 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-ssh15203674375219733205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13814330147902309851.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh330235337415831607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7312938629214651528.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10379468146198529913.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-18173 in /w/workspace/edgexfoundry_device-rest-go_napa [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_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 71bb43dbd033e4b79fac5b32175e59679d8e2e88 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @990d379" > git config core.sparsecheckout # timeout=10 > git checkout -f 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 > git rev-list --no-walk 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:50 ========================================================= 22:11:50 EdgeX Global Pipelines Version Info 22:11:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:51 ------------------- 22:11:51 stable info: 22:11:51 ------------------- 22:11:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:11:51 Message: update stable to v1.0.258 22:11:51 ------------------- 22:11:51 experimental info: 22:11:51 ------------------- 22:11:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:11:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71bb43d [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:52 provisioning config files... 22:11:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config10916307573751840732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:52 ---> docker-login.sh 22:11:52 nexus3.edgexfoundry.org:10001 22:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:52 Configure a credential helper to remove this warning. See 22:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:52 22:11:52 Login Succeeded 22:11:52 nexus3.edgexfoundry.org:10002 22:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:52 Configure a credential helper to remove this warning. See 22:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:52 22:11:52 Login Succeeded 22:11:52 nexus3.edgexfoundry.org:10003 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 nexus3.edgexfoundry.org:10004 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 docker.io 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 ---> docker-login.sh ends [Pipeline] } 22:11:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:53 + git rev-list -1 --merges 71bb43dbd033e4b79fac5b32175e59679d8e2e88~1..71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo 22:11:53 -----------> git rev-list -1 --merges 71bb43dbd033e4b79fac5b32175e59679d8e2e88~1..71bb43dbd033e4b79fac5b32175e59679d8e2e88 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [false] [Pipeline] sh 22:11:54 + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo 22:11:54 ========================================================= 22:11:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:11:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:54 + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo 22:11:54 [semverPrep] GIT_COMMIT: 71bb43dbd033e4b79fac5b32175e59679d8e2e88, Commit Message: ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] echo 22:11:54 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:54 + grep -v github /etc/ssh/ssh_known_hosts 22:11:54 + [ -e /tmp/ssh_known_hosts ] 22:11:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:54 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:55 22:11:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:55 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:55 b85a868b505f: Pulling fs layer 22:11:55 e2be974225ed: Pulling fs layer 22:11:55 339a4e72a1f5: Pulling fs layer 22:11:55 988bab9f4d93: Pulling fs layer 22:11:55 1469e6f7b9e6: Pulling fs layer 22:11:55 eaf3925da568: Pulling fs layer 22:11:55 bab4dde63d76: Pulling fs layer 22:11:55 bde34c3a00c8: Pulling fs layer 22:11:55 b352a97aabf1: Pulling fs layer 22:11:55 4872d77fe225: Pulling fs layer 22:11:55 5851b861e8e6: Pulling fs layer 22:11:55 bab4dde63d76: Waiting 22:11:55 b352a97aabf1: Waiting 22:11:55 5851b861e8e6: Waiting 22:11:55 4872d77fe225: Waiting 22:11:55 988bab9f4d93: Waiting 22:11:55 1469e6f7b9e6: Waiting 22:11:55 eaf3925da568: Waiting 22:11:55 e2be974225ed: Download complete 22:11:55 988bab9f4d93: Verifying Checksum 22:11:55 988bab9f4d93: Download complete 22:11:55 1469e6f7b9e6: Verifying Checksum 22:11:55 1469e6f7b9e6: Download complete 22:11:55 339a4e72a1f5: Verifying Checksum 22:11:55 339a4e72a1f5: Download complete 22:11:55 eaf3925da568: Verifying Checksum 22:11:55 eaf3925da568: Download complete 22:11:55 bde34c3a00c8: Verifying Checksum 22:11:55 bde34c3a00c8: Download complete 22:11:55 b352a97aabf1: Download complete 22:11:55 4872d77fe225: Download complete 22:11:55 5851b861e8e6: Download complete 22:11:55 b85a868b505f: Verifying Checksum 22:11:55 b85a868b505f: Download complete 22:11:55 bab4dde63d76: Verifying Checksum 22:11:55 bab4dde63d76: Download complete 22:11:56 b85a868b505f: Pull complete 22:11:56 e2be974225ed: Pull complete 22:11:57 339a4e72a1f5: Pull complete 22:11:57 988bab9f4d93: Pull complete 22:11:57 1469e6f7b9e6: Pull complete 22:11:57 eaf3925da568: Pull complete 22:11:59 bab4dde63d76: Pull complete 22:11:59 bde34c3a00c8: Pull complete 22:11:59 b352a97aabf1: Pull complete 22:11:59 4872d77fe225: Pull complete 22:11:59 5851b861e8e6: Pull complete 22:11:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:59 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:12:05 $ docker top af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 -eo pid,comm 22:12:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:12:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:05 [ssh-agent] Looking for ssh-agent implementation... 22:12:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:05 $ docker exec af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent 22:12:05 SSH_AUTH_SOCK=/tmp/ssh-LitYPq1eVqQw/agent.14 22:12:05 SSH_AGENT_PID=25 22:12:05 Running ssh-add (command line suppressed) 22:12:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4686260649591378475.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4686260649591378475.key) 22:12:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:06 + git tag --points-at 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } 22:12:06 $ docker exec --env ******** --env ******** af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent -k 22:12:06 unset SSH_AUTH_SOCK; 22:12:06 unset SSH_AGENT_PID; 22:12:06 echo Agent pid 25 killed; 22:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:12:06 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:06 [ssh-agent] Looking for ssh-agent implementation... 22:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:06 $ docker exec af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent 22:12:06 SSH_AUTH_SOCK=/tmp/ssh-c7UBne9B7Ob2/agent.71 22:12:06 SSH_AGENT_PID=77 22:12:06 Running ssh-add (command line suppressed) 22:12:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_18057877746859793781.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_18057877746859793781.key) 22:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:06 + git semver init 22:12:07 2023-11-15 22:12:06,988 [run_init] DEBUG init version:0.0.0 force:False 22:12:07 2023-11-15 22:12:06,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver 22:12:07 2023-11-15 22:12:06,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver 22:12:07 2023-11-15 22:12:06,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_napa, universal_newlines=False, shell=None, istream=None) 22:12:09 2023-11-15 22:12:08,505 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude 22:12:09 2023-11-15 22:12:08,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False 22:12:09 2023-11-15 22:12:08,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 22:12:09 2023-11-15 22:12:08,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 22:12:09 3.1.0 [Pipeline] } 22:12:09 $ docker exec --env ******** --env ******** af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent -k 22:12:09 unset SSH_AUTH_SOCK; 22:12:09 unset SSH_AGENT_PID; 22:12:09 echo Agent pid 77 killed; 22:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:09 + git semver [Pipeline] } 22:12:09 $ docker stop --time=1 af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 22:12:11 $ docker rm -f --volumes af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:12:11 Stashed 1 file(s) [Pipeline] echo 22:12:11 [edgeXSemver]: initialized semver on version 3.1.0 [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] sh 22:12:12 + git checkout 71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:12:12 HEAD is now at 71bb43d ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:12 provisioning config files... 22:12:12 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3133680813504802869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:12 ---> docker-login.sh 22:12:12 nexus3.edgexfoundry.org:10001 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10002 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10003 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10004 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 docker.io 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 ---> docker-login.sh ends [Pipeline] } 22:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:13 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:12:13 + grep+ ^go [0-9].[0-9]* go.mod 22:12:13 cut -d -f 2 [Pipeline] echo 22:12:13 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:12:13 ========================================================= 22:12:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:12:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:12:14 Sending build context to Docker daemon 43.46MB 22:12:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:12:14 Step 2/12 : FROM ${BASE} AS builder 22:12:14 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:12:14 7264a8db6415: Pulling fs layer 22:12:14 c4d48a809fc2: Pulling fs layer 22:12:14 4f1c88b9dad5: Pulling fs layer 22:12:14 ad3a456e5733: Pulling fs layer 22:12:14 f0163c21ed6d: Pulling fs layer 22:12:14 04c35c34e31e: Pulling fs layer 22:12:14 0c7b0fd20c02: Pulling fs layer 22:12:14 d22eed83c68c: Pulling fs layer 22:12:14 ad3a456e5733: Waiting 22:12:14 f0163c21ed6d: Waiting 22:12:14 04c35c34e31e: Waiting 22:12:14 0c7b0fd20c02: Waiting 22:12:14 d22eed83c68c: Waiting 22:12:14 c4d48a809fc2: Verifying Checksum 22:12:14 c4d48a809fc2: Download complete 22:12:14 ad3a456e5733: Verifying Checksum 22:12:14 ad3a456e5733: Download complete 22:12:14 f0163c21ed6d: Verifying Checksum 22:12:14 f0163c21ed6d: Download complete 22:12:14 7264a8db6415: Verifying Checksum 22:12:14 7264a8db6415: Download complete 22:12:14 04c35c34e31e: Verifying Checksum 22:12:14 04c35c34e31e: Download complete 22:12:14 7264a8db6415: Pull complete 22:12:14 d22eed83c68c: Verifying Checksum 22:12:14 d22eed83c68c: Download complete 22:12:15 4f1c88b9dad5: Verifying Checksum 22:12:15 4f1c88b9dad5: Download complete 22:12:15 c4d48a809fc2: Pull complete 22:12:15 0c7b0fd20c02: Verifying Checksum 22:12:15 0c7b0fd20c02: Download complete 22:12:18 4f1c88b9dad5: Pull complete 22:12:18 ad3a456e5733: Pull complete 22:12:18 f0163c21ed6d: Pull complete 22:12:18 04c35c34e31e: Pull complete 22:12:21 0c7b0fd20c02: Pull complete 22:12:21 d22eed83c68c: Pull complete 22:12:21 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:12:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:12:21 ---> 8a661f5c53af 22:12:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:12:26 Still waiting to schedule task 22:12:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:12:31 ---> Running in 7c45254eaa11 22:12:31 Removing intermediate container 7c45254eaa11 22:12:31 ---> e213fc11f057 22:12:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:31 ---> Running in f520ae5ca245 22:12:31 Removing intermediate container f520ae5ca245 22:12:31 ---> e0860eb5f590 22:12:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:12:32 ---> Running in e12f74893ab9 22:12:32 Removing intermediate container e12f74893ab9 22:12:32 ---> 4a8965c4e674 22:12:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:12:32 ---> Running in 2fe2ae7ec62b 22:12:32 Removing intermediate container 2fe2ae7ec62b 22:12:32 ---> f1249f97ae48 22:12:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:32 ---> Running in 08d6308ff756 22:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:33 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:12:33 (2/4) Installing libedit (20221030.3.1-r1) 22:12:33 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:12:33 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:12:33 Executing busybox-1.36.1-r5.trigger 22:12:33 OK: 268 MiB in 56 packages 22:12:34 Removing intermediate container 08d6308ff756 22:12:34 ---> d24862e8dc4e 22:12:34 Step 8/12 : WORKDIR /device-rest-go 22:12:34 ---> Running in 7ea83bf331a1 22:12:35 Removing intermediate container 7ea83bf331a1 22:12:35 ---> 607b415fac75 22:12:35 Step 9/12 : COPY go.mod vendor* ./ 22:12:38 ---> 000204c18b91 22:12:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:38 ---> Running in 58218a29496a 22:13:25 Removing intermediate container 58218a29496a 22:13:25 ---> e3cdd0ee143a 22:13:25 Step 11/12 : COPY . . 22:13:25 ---> 7cec9e23fd18 22:13:25 Step 12/12 : RUN $MAKE 22:13:25 ---> Running in 0e598c68f405 22:13:25 noop 22:13:25 Removing intermediate container 0e598c68f405 22:13:25 ---> 7fbe0dc62d5f 22:13:25 Successfully built 7fbe0dc62d5f 22:13:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:26 + docker inspect -f . ci-base-image-x86_64 22:13:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:26 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:26 $ docker top 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:26 + go version 22:13:26 go version go1.21.0 linux/amd64 [Pipeline] } 22:13:26 $ docker stop --time=1 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 22:13:28 $ docker rm -f --volumes 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:28 + docker inspect -f . ci-base-image-x86_64 22:13:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:28 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:13:28 $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:28 $ docker top a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh 22:13:29 + make test 22:13:29 go test ./... -coverprofile=coverage.out ./... 22:13:31 ? github.com/edgexfoundry/device-rest-go [no test files] 22:13:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:13:41 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 22:13:49 go vet ./... 22:13:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:53 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:53 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:13:53 + go mod tidy [Pipeline] } 22:13:53 $ docker stop --time=1 a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a 22:13:57 $ docker rm -f --volumes a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a [Pipeline] // withDockerContainer [Pipeline] sh 22:13:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:13:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:59 + ls -al . 22:13:59 total 184 22:13:59 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:13 . 22:13:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:11 .. 22:13:59 -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 22:11 .dockerignore 22:13:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:13 .git 22:13:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 .github 22:13:59 -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:11 .gitignore 22:13:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:11 .golangci.yml 22:13:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:12 .semver 22:13:59 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 22:11 Attribution.txt 22:13:59 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 22:11 CHANGELOG.md 22:13:59 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 22:11 Dockerfile 22:13:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:11 GOVERNANCE.md 22:13:59 -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 22:11 Jenkinsfile 22:13:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:11 LICENSE 22:13:59 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 22:11 Makefile 22:13:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:11 OWNERS.md 22:13:59 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 22:11 README.md 22:13:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION 22:13:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:11 bin 22:13:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 cmd 22:13:59 -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 22:13 coverage.out 22:13:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:11 driver 22:13:59 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 22:11 go.mod 22:13:59 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:11 go.sum 22:13:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 openapi 22:13:59 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:11 vendor 22:13:59 -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:59 + 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=71bb43dbd033e4b79fac5b32175e59679d8e2e88 --label arch=amd64 --label version=3.1.0 . 22:13:59 Sending build context to Docker daemon 43.47MB 22:13:59 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:13:59 Step 2/26 : FROM ${BASE} AS builder 22:13:59 ---> 7fbe0dc62d5f 22:13:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:14:00 ---> Running in a0594cda57a3 22:14:01 Removing intermediate container a0594cda57a3 22:14:01 ---> 419f16f6ecb4 22:14:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:02 ---> Running in 1cc518a11b15 22:14:02 Removing intermediate container 1cc518a11b15 22:14:02 ---> 3b25bbf33bf4 22:14:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:14:02 ---> Running in 759f3ad72aa2 22:14:02 Removing intermediate container 759f3ad72aa2 22:14:02 ---> 4f6f92716a91 22:14:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:14:02 ---> Running in 3e5960e7909f 22:14:03 Removing intermediate container 3e5960e7909f 22:14:03 ---> d7dd02c3f2d6 22:14:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:03 ---> Running in 211bf0dfcf12 22:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:14:03 OK: 268 MiB in 56 packages 22:14:05 Removing intermediate container 211bf0dfcf12 22:14:05 ---> c30800f5fd8a 22:14:05 Step 8/26 : WORKDIR /device-rest-go 22:14:05 ---> Running in ae0850b35b50 22:14:06 Removing intermediate container ae0850b35b50 22:14:06 ---> 92831fa349e9 22:14:06 Step 9/26 : COPY go.mod vendor* ./ 22:14:08 ---> 0cfbaa274440 22:14:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:08 ---> Running in a515511f22af 22:14:08 skipping... 22:14:08 Removing intermediate container a515511f22af 22:14:08 ---> 545aa5551b9e 22:14:08 Step 11/26 : COPY . . 22:14:11 ---> 7baf531fdb18 22:14:11 Step 12/26 : RUN $MAKE 22:14:11 ---> Running in 1582ea1ca8b6 22:14:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:14:33 Removing intermediate container 1582ea1ca8b6 22:14:33 ---> aed44760d7a6 22:14:33 Step 13/26 : FROM alpine:3.18 22:14:33 3.18: Pulling from library/alpine 22:14:33 96526aa774ef: Pulling fs layer 22:14:33 96526aa774ef: Verifying Checksum 22:14:33 96526aa774ef: Download complete 22:14:33 96526aa774ef: Pull complete 22:14:33 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:14:33 Status: Downloaded newer image for alpine:3.18 22:14:33 ---> 8ca4688f4f35 22:14:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:14:33 ---> Running in 05060d1514b1 22:14:33 Removing intermediate container 05060d1514b1 22:14:33 ---> 7ed4db1f638c 22:14:33 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:14:33 ---> Running in 4a56fa7ad961 22:14:33 Removing intermediate container 4a56fa7ad961 22:14:33 ---> be525e593dea 22:14:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:33 ---> Running in 7712a6380963 22:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:14:33 (1/1) Installing dumb-init (1.2.5-r2) 22:14:33 Executing busybox-1.36.1-r2.trigger 22:14:33 OK: 7 MiB in 16 packages 22:14:33 Removing intermediate container 7712a6380963 22:14:33 ---> d4db454c13cb 22:14:33 Step 17/26 : RUN apk --no-cache upgrade 22:14:33 ---> Running in 3e570914f9cf 22:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:14:33 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:14:33 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:14:33 Executing busybox-1.36.1-r5.post-upgrade 22:14:33 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:14:33 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:14:33 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:14:33 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:14:33 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:14:33 Executing busybox-1.36.1-r5.trigger 22:14:33 OK: 7 MiB in 16 packages 22:14:34 Removing intermediate container 3e570914f9cf 22:14:34 ---> 0b3e1cb597ea 22:14:34 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:14:35 ---> 2c77dec16254 22:14:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:14:35 ---> 600e10967cfe 22:14:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:14:35 ---> 8f8656b96eb3 22:14:35 Step 21/26 : EXPOSE 59986 22:14:35 ---> Running in 8cf9b4bd14d9 22:14:35 Removing intermediate container 8cf9b4bd14d9 22:14:35 ---> a35532236af2 22:14:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:14:35 ---> Running in 3f2622155777 22:14:35 Removing intermediate container 3f2622155777 22:14:35 ---> ae3e1278936b 22:14:35 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:14:35 ---> Running in 497e682d6e84 22:14:35 Removing intermediate container 497e682d6e84 22:14:35 ---> cbef3f402346 22:14:35 Step 24/26 : LABEL arch=amd64 22:14:35 ---> Running in 59c1752fd18b 22:14:35 Removing intermediate container 59c1752fd18b 22:14:35 ---> 12b5dfebd96f 22:14:35 Step 25/26 : LABEL git_sha=71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:14:35 ---> Running in c5822d179a52 22:14:35 Removing intermediate container c5822d179a52 22:14:35 ---> 5db65e1bdad6 22:14:35 Step 26/26 : LABEL version=3.1.0 22:14:35 ---> Running in 68882d32afb6 22:14:35 Removing intermediate container 68882d32afb6 22:14:35 ---> b2f6629032db 22:14:35 [Warning] One or more build-args [ARCH] were not consumed 22:14:35 Successfully built b2f6629032db 22:14:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:35 provisioning config files... 22:14:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config11806304412030725672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:36 ---> docker-login.sh 22:14:36 nexus3.edgexfoundry.org:10001 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 nexus3.edgexfoundry.org:10002 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 nexus3.edgexfoundry.org:10003 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 nexus3.edgexfoundry.org:10004 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 docker.io 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 ---> docker-login.sh ends [Pipeline] } 22:14:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:36 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:14:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:14:36 71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:14:36 3.1.0 22:14:36 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:14:36 napa 22:14:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:14:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:14:37 29a64d874f5d: Preparing 22:14:37 4ab23a329694: Preparing 22:14:37 23206fbd16d4: Preparing 22:14:37 0dc4c22391ca: Preparing 22:14:37 ac897670885f: Preparing 22:14:37 cc2447e1835a: Preparing 22:14:37 cc2447e1835a: Waiting 22:14:37 29a64d874f5d: Pushed 22:14:37 4ab23a329694: Pushed 22:14:37 ac897670885f: Pushed 22:14:37 cc2447e1835a: Layer already exists 22:14:38 0dc4c22391ca: Pushed 22:14:40 23206fbd16d4: Pushed 22:14:40 71bb43dbd033e4b79fac5b32175e59679d8e2e88: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0 22:14:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:14:41 29a64d874f5d: Preparing 22:14:41 4ab23a329694: Preparing 22:14:41 23206fbd16d4: Preparing 22:14:41 0dc4c22391ca: Preparing 22:14:41 ac897670885f: Preparing 22:14:41 cc2447e1835a: Preparing 22:14:41 cc2447e1835a: Waiting 22:14:41 0dc4c22391ca: Layer already exists 22:14:41 4ab23a329694: Layer already exists 22:14:41 ac897670885f: Layer already exists 22:14:41 29a64d874f5d: Layer already exists 22:14:41 cc2447e1835a: Layer already exists 22:14:41 23206fbd16d4: Layer already exists 22:14:41 3.1.0: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:14:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:14:41 29a64d874f5d: Preparing 22:14:41 4ab23a329694: Preparing 22:14:41 23206fbd16d4: Preparing 22:14:41 0dc4c22391ca: Preparing 22:14:41 ac897670885f: Preparing 22:14:41 cc2447e1835a: Preparing 22:14:41 cc2447e1835a: Waiting 22:14:41 29a64d874f5d: Layer already exists 22:14:41 23206fbd16d4: Layer already exists 22:14:41 0dc4c22391ca: Layer already exists 22:14:41 4ab23a329694: Layer already exists 22:14:41 ac897670885f: Layer already exists 22:14:41 cc2447e1835a: Layer already exists 22:14:41 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:napa 22:14:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:14:42 29a64d874f5d: Preparing 22:14:42 4ab23a329694: Preparing 22:14:42 23206fbd16d4: Preparing 22:14:42 0dc4c22391ca: Preparing 22:14:42 ac897670885f: Preparing 22:14:42 cc2447e1835a: Preparing 22:14:42 cc2447e1835a: Waiting 22:14:42 4ab23a329694: Layer already exists 22:14:42 ac897670885f: Layer already exists 22:14:42 0dc4c22391ca: Layer already exists 22:14:42 29a64d874f5d: Layer already exists 22:14:42 23206fbd16d4: Layer already exists 22:14:42 cc2447e1835a: Layer already exists 22:14:42 napa: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:42 ===================================================== [Pipeline] echo 22:14:42 taggedImages: 22:14:42 - nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:14:42 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0 22:14:42 - nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:14:42 - nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:42 22:14:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:43 latest: Pulling from edgex-lftools-log-publisher 22:14:43 5eb5b503b376: Pulling fs layer 22:14:43 5c69ac0246d0: Pulling fs layer 22:14:43 ec43610c2a17: Pulling fs layer 22:14:43 3a2ae6a8a46f: Pulling fs layer 22:14:43 33b1e0a273af: Pulling fs layer 22:14:43 5d3b04190fa2: Pulling fs layer 22:14:43 2f39f015ded8: Pulling fs layer 22:14:43 3a2ae6a8a46f: Waiting 22:14:43 33b1e0a273af: Waiting 22:14:43 5d3b04190fa2: Waiting 22:14:43 2f39f015ded8: Waiting 22:14:43 5c69ac0246d0: Verifying Checksum 22:14:43 5c69ac0246d0: Download complete 22:14:43 3a2ae6a8a46f: Verifying Checksum 22:14:43 3a2ae6a8a46f: Download complete 22:14:43 33b1e0a273af: Verifying Checksum 22:14:43 33b1e0a273af: Download complete 22:14:43 5d3b04190fa2: Verifying Checksum 22:14:43 5d3b04190fa2: Download complete 22:14:43 ec43610c2a17: Verifying Checksum 22:14:43 ec43610c2a17: Download complete 22:14:43 5eb5b503b376: Verifying Checksum 22:14:43 5eb5b503b376: Download complete 22:14:44 5eb5b503b376: Pull complete 22:14:44 5c69ac0246d0: Pull complete 22:14:45 ec43610c2a17: Pull complete 22:14:45 3a2ae6a8a46f: Pull complete 22:14:45 33b1e0a273af: Pull complete 22:14:45 5d3b04190fa2: Pull complete 22:14:50 2f39f015ded8: Pull complete 22:14:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:50 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:56 $ docker top b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:56 ---> job-cost.sh 22:14:56 lf-activate-venv: SKIPPING 22:14:56 INFO: No Stack... 22:14:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:57 INFO: Archiving Costs [Pipeline] sh 22:14:57 + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv 22:14:57 + cut -d, -f6 [Pipeline] lock 22:14:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] 22:14:57 Resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] did not exist. Created. 22:14:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:57 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:57 Stashed 1 file(s) [Pipeline] } 22:14:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:57 $ docker stop --time=1 b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 22:14:59 $ docker rm -f --volumes b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18178 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws 22:15:21 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 22:15:21 The recommended git tool is: git 22:15:27 using credential edgex-jenkins-ssh 22:15:27 Cloning the remote Git repository 22:15:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:15:27 > git init /w/workspace/device-rest-go/2 # timeout=10 22:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:15:27 > git --version # timeout=10 22:15:27 > git --version # 'git version 2.25.1' 22:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:15:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:31 Avoid second fetch 22:15:31 Checking out Revision 71bb43dbd033e4b79fac5b32175e59679d8e2e88 (napa) 22:15:31 > git config core.sparsecheckout # timeout=10 22:15:31 > git checkout -f 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 22:15:33 Commit message: "ci(lts-release): LTS release v3.1.0 @990d379" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:15:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:34 Dload Upload Total Spent Left Speed 22:15:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 22:15:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:15:35 + sudo tee /etc/docker/daemon.new 22:15:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:15:35 { 22:15:35 "registry-mirrors": [ 22:15:35 "https://nexus3.edgexfoundry.org:10001" 22:15:35 ], 22:15:35 "bip": "10.250.0.254/24", 22:15:35 "hosts": [ 22:15:35 "tcp://0.0.0.0:5555", 22:15:35 "unix:///var/run/docker.sock" 22:15:35 ], 22:15:35 "mtu": 1458, 22:15:35 "selinux-enabled": true, 22:15:35 "seccomp-profile": "/etc/docker/seccomp.json" 22:15:35 } [Pipeline] sh 22:15:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:15:35 + sudo service docker restart [Pipeline] sh 22:15:54 + git checkout 71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:15:54 HEAD is now at 71bb43d ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:54 provisioning config files... 22:15:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8389620573026819865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:55 ---> docker-login.sh 22:15:55 nexus3.edgexfoundry.org:10001 22:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:55 Configure a credential helper to remove this warning. See 22:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:55 22:15:55 Login Succeeded 22:15:55 nexus3.edgexfoundry.org:10002 22:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:56 Configure a credential helper to remove this warning. See 22:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:56 22:15:56 Login Succeeded 22:15:56 nexus3.edgexfoundry.org:10003 22:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:56 Configure a credential helper to remove this warning. See 22:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:56 22:15:56 Login Succeeded 22:15:56 nexus3.edgexfoundry.org:10004 22:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:57 Configure a credential helper to remove this warning. See 22:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:57 22:15:57 Login Succeeded 22:15:57 docker.io 22:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:57 Configure a credential helper to remove this warning. See 22:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:57 22:15:57 Login Succeeded 22:15:57 ---> docker-login.sh ends [Pipeline] } 22:15:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:57 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:15:58 + cut -d -f 2 22:15:58 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 22:15:58 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:15:58 ========================================================= 22:15:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:15:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:16:00 Sending build context to Docker daemon 27.26MB 22:16:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:16:01 Step 2/12 : FROM ${BASE} AS builder 22:16:01 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:01 9fda8d8052c6: Pulling fs layer 22:16:01 5d54e960e981: Pulling fs layer 22:16:01 c4a7e357bf2a: Pulling fs layer 22:16:01 f0e02332f6b5: Pulling fs layer 22:16:01 57b776a6bec4: Pulling fs layer 22:16:01 8b19151f9e34: Pulling fs layer 22:16:01 eb6a9f2d7ee3: Pulling fs layer 22:16:01 f0e02332f6b5: Waiting 22:16:01 57b776a6bec4: Waiting 22:16:01 8b19151f9e34: Waiting 22:16:01 eb6a9f2d7ee3: Waiting 22:16:01 5d54e960e981: Verifying Checksum 22:16:01 5d54e960e981: Download complete 22:16:01 f0e02332f6b5: Verifying Checksum 22:16:01 f0e02332f6b5: Download complete 22:16:01 57b776a6bec4: Verifying Checksum 22:16:01 57b776a6bec4: Download complete 22:16:01 9fda8d8052c6: Verifying Checksum 22:16:01 9fda8d8052c6: Download complete 22:16:01 eb6a9f2d7ee3: Verifying Checksum 22:16:01 eb6a9f2d7ee3: Download complete 22:16:02 9fda8d8052c6: Pull complete 22:16:03 5d54e960e981: Pull complete 22:16:03 c4a7e357bf2a: Verifying Checksum 22:16:03 c4a7e357bf2a: Download complete 22:16:04 8b19151f9e34: Verifying Checksum 22:16:04 8b19151f9e34: Download complete 22:16:20 c4a7e357bf2a: Pull complete 22:16:20 f0e02332f6b5: Pull complete 22:16:20 57b776a6bec4: Pull complete 22:16:28 8b19151f9e34: Pull complete 22:16:30 eb6a9f2d7ee3: Pull complete 22:16:30 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:16:30 ---> ca1e05e92614 22:16:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:16:32 ---> Running in 0b6ef2008e17 22:16:32 Removing intermediate container 0b6ef2008e17 22:16:32 ---> a384d90811ad 22:16:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:32 ---> Running in f88f61169b94 22:16:33 Removing intermediate container f88f61169b94 22:16:33 ---> ed0c905950b7 22:16:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:16:33 ---> Running in c711e90a17e4 22:16:33 Removing intermediate container c711e90a17e4 22:16:33 ---> 87edddcbc4be 22:16:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:16:33 ---> Running in 88f0837a1dc9 22:16:34 Removing intermediate container 88f0837a1dc9 22:16:34 ---> c956dacf69d7 22:16:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:34 ---> Running in 8d10279a8a6e 22:16:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:16:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:16:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:16:37 (2/4) Installing libedit (20221030.3.1-r1) 22:16:37 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:16:37 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:16:37 Executing busybox-1.36.1-r5.trigger 22:16:37 OK: 271 MiB in 56 packages 22:16:38 Removing intermediate container 8d10279a8a6e 22:16:38 ---> 461463e3e089 22:16:38 Step 8/12 : WORKDIR /device-rest-go 22:16:38 ---> Running in efb06a2855ab 22:16:38 Removing intermediate container efb06a2855ab 22:16:38 ---> 14ec9a8bc213 22:16:38 Step 9/12 : COPY go.mod vendor* ./ 22:16:51 ---> 6722ac4b5e53 22:16:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:51 ---> Running in 50ac955ad72b 22:18:12 Removing intermediate container 50ac955ad72b 22:18:12 ---> 759879524a9c 22:18:12 Step 11/12 : COPY . . 22:18:12 ---> 35a36be7a9ab 22:18:12 Step 12/12 : RUN $MAKE 22:18:12 ---> Running in 0bfa449d6e1a 22:18:12 noop 22:18:12 Removing intermediate container 0bfa449d6e1a 22:18:12 ---> 13160301736a 22:18:12 Successfully built 13160301736a 22:18:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:13 + docker inspect -f . ci-base-image-arm64 22:18:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:13 prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container 22:18:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:15 $ docker top bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:16 + go version 22:18:16 go version go1.21.0 linux/arm64 [Pipeline] } 22:18:16 $ docker stop --time=1 bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 22:18:17 $ docker rm -f --volumes bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:18 + docker inspect -f . ci-base-image-arm64 22:18:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:18 prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container 22:18:18 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:20 $ docker top 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:21 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 22:18:21 + make test 22:18:21 go test ./... -coverprofile=coverage.out ./... 22:18:25 ? github.com/edgexfoundry/device-rest-go [no test files] 22:21:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:21:02 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.2% of statements 22:21:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:02 go vet ./... 22:21:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:34 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:21:35 + go mod tidy [Pipeline] } 22:21:39 $ docker stop --time=1 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad 22:21:41 $ docker rm -f --volumes 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad [Pipeline] // withDockerContainer [Pipeline] sh 22:21:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:43 Warning: overwriting stash ‘coverage-report’ 22:21:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:45 + ls -al . 22:21:45 total 180 22:21:45 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:18 . 22:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:15 .. 22:21:45 -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 22:15 .dockerignore 22:21:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:15 .git 22:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 .github 22:21:45 -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:15 .gitignore 22:21:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:15 .golangci.yml 22:21:45 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 22:15 Attribution.txt 22:21:45 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 22:15 CHANGELOG.md 22:21:45 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 22:15 Dockerfile 22:21:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:15 GOVERNANCE.md 22:21:45 -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 22:15 Jenkinsfile 22:21:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:15 LICENSE 22:21:45 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 22:15 Makefile 22:21:45 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:15 OWNERS.md 22:21:45 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 22:15 README.md 22:21:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION 22:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:15 bin 22:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 cmd 22:21:45 -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 22:20 coverage.out 22:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:15 driver 22:21:45 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 22:15 go.mod 22:21:45 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:15 go.sum 22:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 openapi 22:21:45 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:15 vendor 22:21:45 -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:46 + 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=71bb43dbd033e4b79fac5b32175e59679d8e2e88 --label arch=arm64 --label version=3.1.0 . 22:21:48 Sending build context to Docker daemon 27.27MB 22:21:48 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:21:48 Step 2/26 : FROM ${BASE} AS builder 22:21:48 ---> 13160301736a 22:21:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:49 ---> Running in 4a2c1c5cafe9 22:21:49 Removing intermediate container 4a2c1c5cafe9 22:21:49 ---> 71bfc671de18 22:21:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:49 ---> Running in 9fa03b79d85f 22:21:50 Removing intermediate container 9fa03b79d85f 22:21:50 ---> 5866a10f6a95 22:21:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:21:50 ---> Running in 9247019f11e1 22:21:50 Removing intermediate container 9247019f11e1 22:21:50 ---> 9479c98727c0 22:21:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:51 ---> Running in 0e3168471146 22:21:51 Removing intermediate container 0e3168471146 22:21:51 ---> 532657589318 22:21:51 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:51 ---> Running in e2c5fdb32577 22:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:21:55 OK: 271 MiB in 56 packages 22:21:56 Removing intermediate container e2c5fdb32577 22:21:56 ---> 211e3a69062c 22:21:56 Step 8/26 : WORKDIR /device-rest-go 22:21:56 ---> Running in 2e84af5408e3 22:21:56 Removing intermediate container 2e84af5408e3 22:21:56 ---> 634c75ae74a2 22:21:56 Step 9/26 : COPY go.mod vendor* ./ 22:22:04 ---> 36db2b70e188 22:22:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:05 ---> Running in aba599ed5590 22:22:08 skipping... 22:22:08 Removing intermediate container aba599ed5590 22:22:08 ---> d514c0d0f56c 22:22:08 Step 11/26 : COPY . . 22:22:19 ---> 7774467dd11b 22:22:19 Step 12/26 : RUN $MAKE 22:22:19 ---> Running in 722f98c1dc38 22:22:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:24:55 Removing intermediate container 722f98c1dc38 22:24:55 ---> 8243d9a52597 22:24:55 Step 13/26 : FROM alpine:3.18 22:24:55 3.18: Pulling from library/alpine 22:24:55 579b34f0a95b: Pulling fs layer 22:24:55 579b34f0a95b: Verifying Checksum 22:24:55 579b34f0a95b: Download complete 22:24:55 579b34f0a95b: Pull complete 22:24:55 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:24:55 Status: Downloaded newer image for alpine:3.18 22:24:55 ---> 3cc203321400 22:24:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:24:55 ---> Running in 90e02a3d5d7d 22:24:55 Removing intermediate container 90e02a3d5d7d 22:24:55 ---> 240febc5cbb3 22:24:55 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:24:55 ---> Running in 1a3531b8d459 22:24:55 Removing intermediate container 1a3531b8d459 22:24:55 ---> 3745befa0257 22:24:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:55 ---> Running in eb0995365a5f 22:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:24:56 (1/1) Installing dumb-init (1.2.5-r2) 22:24:56 Executing busybox-1.36.1-r2.trigger 22:24:56 OK: 8 MiB in 16 packages 22:24:58 Removing intermediate container eb0995365a5f 22:24:58 ---> 87e875441237 22:24:58 Step 17/26 : RUN apk --no-cache upgrade 22:24:58 ---> Running in 0351883805db 22:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:25:01 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:25:01 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:25:01 Executing busybox-1.36.1-r5.post-upgrade 22:25:01 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:25:01 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:25:01 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:25:01 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:25:01 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:25:01 Executing busybox-1.36.1-r5.trigger 22:25:01 OK: 8 MiB in 16 packages 22:25:03 Removing intermediate container 0351883805db 22:25:03 ---> ccfbb08cddbc 22:25:03 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:25:05 ---> 34c7dd62c7dc 22:25:05 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:25:05 ---> 3b97320f6d7d 22:25:05 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:25:06 ---> 4eb9f8a10a86 22:25:06 Step 21/26 : EXPOSE 59986 22:25:06 ---> Running in 4ac81ac4d184 22:25:06 Removing intermediate container 4ac81ac4d184 22:25:06 ---> 239913fe3649 22:25:06 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:25:07 ---> Running in be8c8303c096 22:25:07 Removing intermediate container be8c8303c096 22:25:07 ---> fc7e2bac6bea 22:25:07 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:25:07 ---> Running in ddc39510d961 22:25:07 Removing intermediate container ddc39510d961 22:25:07 ---> 7179578d58d8 22:25:07 Step 24/26 : LABEL arch=arm64 22:25:07 ---> Running in 4eaac67ef820 22:25:08 Removing intermediate container 4eaac67ef820 22:25:08 ---> df1dd7274a4c 22:25:08 Step 25/26 : LABEL git_sha=71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:25:08 ---> Running in 714b3fc3cc18 22:25:08 Removing intermediate container 714b3fc3cc18 22:25:08 ---> 5f38471c9639 22:25:08 Step 26/26 : LABEL version=3.1.0 22:25:08 ---> Running in a6db6a62008f 22:25:09 Removing intermediate container a6db6a62008f 22:25:09 ---> b68d40b5eaea 22:25:09 [Warning] One or more build-args [ARCH] were not consumed 22:25:09 Successfully built b68d40b5eaea 22:25:09 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:09 provisioning config files... 22:25:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config15854202162652963040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:10 ---> docker-login.sh 22:25:10 nexus3.edgexfoundry.org:10001 22:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:10 Configure a credential helper to remove this warning. See 22:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:10 22:25:10 Login Succeeded 22:25:10 nexus3.edgexfoundry.org:10002 22:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:11 Configure a credential helper to remove this warning. See 22:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:11 22:25:11 Login Succeeded 22:25:11 nexus3.edgexfoundry.org:10003 22:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:11 Configure a credential helper to remove this warning. See 22:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:11 22:25:11 Login Succeeded 22:25:11 nexus3.edgexfoundry.org:10004 22:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:12 Configure a credential helper to remove this warning. See 22:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:12 22:25:12 Login Succeeded 22:25:12 docker.io 22:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:12 Configure a credential helper to remove this warning. See 22:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:12 22:25:12 Login Succeeded 22:25:12 ---> docker-login.sh ends [Pipeline] } 22:25:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:25:12 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:25:12 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:25:12 71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:25:12 3.1.0 22:25:12 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:25:12 napa 22:25:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:25:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:25:13 e47e4ecb15d8: Preparing 22:25:13 f7911c5be82b: Preparing 22:25:13 d5769afb4ade: Preparing 22:25:13 18e6492a4280: Preparing 22:25:13 68fb78429cff: Preparing 22:25:13 5f4d9fc4d98d: Preparing 22:25:13 5f4d9fc4d98d: Waiting 22:25:13 f7911c5be82b: Pushed 22:25:13 68fb78429cff: Pushed 22:25:13 e47e4ecb15d8: Pushed 22:25:13 5f4d9fc4d98d: Layer already exists 22:25:15 18e6492a4280: Pushed 22:25:21 d5769afb4ade: Pushed 22:25:21 71bb43dbd033e4b79fac5b32175e59679d8e2e88: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 22:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:25:21 e47e4ecb15d8: Preparing 22:25:21 f7911c5be82b: Preparing 22:25:21 d5769afb4ade: Preparing 22:25:21 18e6492a4280: Preparing 22:25:21 68fb78429cff: Preparing 22:25:21 5f4d9fc4d98d: Preparing 22:25:21 5f4d9fc4d98d: Waiting 22:25:21 f7911c5be82b: Layer already exists 22:25:21 18e6492a4280: Layer already exists 22:25:21 68fb78429cff: Layer already exists 22:25:21 e47e4ecb15d8: Layer already exists 22:25:21 d5769afb4ade: Layer already exists 22:25:22 5f4d9fc4d98d: Layer already exists 22:25:22 3.1.0: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:25:22 e47e4ecb15d8: Preparing 22:25:22 f7911c5be82b: Preparing 22:25:22 d5769afb4ade: Preparing 22:25:22 18e6492a4280: Preparing 22:25:22 68fb78429cff: Preparing 22:25:22 5f4d9fc4d98d: Preparing 22:25:22 5f4d9fc4d98d: Waiting 22:25:22 68fb78429cff: Layer already exists 22:25:22 18e6492a4280: Layer already exists 22:25:22 d5769afb4ade: Layer already exists 22:25:22 f7911c5be82b: Layer already exists 22:25:22 e47e4ecb15d8: Layer already exists 22:25:22 5f4d9fc4d98d: Layer already exists 22:25:23 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa 22:25:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:25:23 e47e4ecb15d8: Preparing 22:25:23 f7911c5be82b: Preparing 22:25:23 d5769afb4ade: Preparing 22:25:23 18e6492a4280: Preparing 22:25:23 68fb78429cff: Preparing 22:25:23 5f4d9fc4d98d: Preparing 22:25:23 5f4d9fc4d98d: Waiting 22:25:23 d5769afb4ade: Layer already exists 22:25:23 18e6492a4280: Layer already exists 22:25:23 e47e4ecb15d8: Layer already exists 22:25:23 68fb78429cff: Layer already exists 22:25:23 f7911c5be82b: Layer already exists 22:25:24 5f4d9fc4d98d: Layer already exists 22:25:24 napa: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:25:24 ===================================================== [Pipeline] echo 22:25:24 taggedImages: 22:25:24 - nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 22:25:24 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 22:25:24 - nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 22:25:24 - nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:24 22:25:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:25 arm64: Pulling from edgex-lftools-log-publisher 22:25:25 8998bd30e6a1: Pulling fs layer 22:25:25 04944245beec: Pulling fs layer 22:25:25 699f458cf7ca: Pulling fs layer 22:25:25 765212b225bb: Pulling fs layer 22:25:25 f23df028b6ca: Pulling fs layer 22:25:25 d65c8cfc05b1: Pulling fs layer 22:25:25 2437ff75d9bd: Pulling fs layer 22:25:25 f23df028b6ca: Waiting 22:25:25 d65c8cfc05b1: Waiting 22:25:25 765212b225bb: Waiting 22:25:25 2437ff75d9bd: Waiting 22:25:25 04944245beec: Verifying Checksum 22:25:25 04944245beec: Download complete 22:25:25 765212b225bb: Download complete 22:25:25 f23df028b6ca: Verifying Checksum 22:25:25 f23df028b6ca: Download complete 22:25:25 d65c8cfc05b1: Verifying Checksum 22:25:25 d65c8cfc05b1: Download complete 22:25:25 699f458cf7ca: Verifying Checksum 22:25:25 699f458cf7ca: Download complete 22:25:26 8998bd30e6a1: Download complete 22:25:28 2437ff75d9bd: Verifying Checksum 22:25:28 2437ff75d9bd: Download complete 22:25:30 8998bd30e6a1: Pull complete 22:25:31 04944245beec: Pull complete 22:25:33 699f458cf7ca: Pull complete 22:25:33 765212b225bb: Pull complete 22:25:34 f23df028b6ca: Pull complete 22:25:34 d65c8cfc05b1: Pull complete 22:25:56 2437ff75d9bd: Pull complete 22:25:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:57 prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container 22:25:57 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:26:00 $ docker top d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:01 ---> job-cost.sh 22:26:02 lf-activate-venv: SKIPPING 22:26:02 INFO: No Stack... 22:26:02 INFO: Retrieving Pricing Info for: v3-standard-4 22:26:03 INFO: Archiving Costs [Pipeline] sh 22:26:04 + + catcut /w/workspace/device-rest-go/2/archives/cost.csv -d, 22:26:04 -f6 [Pipeline] lock 22:26:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] 22:26:04 Resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] did not exist. Created. 22:26:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:04 /w/workspace/device-rest-go/2@tmp/durable-7813eeed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:26:05 + echo total: 0.10999999940395355 [Pipeline] stash 22:26:05 Warning: overwriting stash ‘stack-cost’ 22:26:06 Stashed 1 file(s) [Pipeline] } 22:26:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:26:06 $ docker stop --time=1 d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 22:26:07 $ docker rm -f --volumes d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:26:08 provisioning config files... 22:26:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config18051944062758585724tmp [Pipeline] { [Pipeline] sh 22:26:08 + set +x 22:26:08 + curl -s https://codecov.io/bash 22:26:08 + bash -s -- 22:26:08 22:26:08 _____ _ 22:26:08 / ____| | | 22:26:08 | | ___ __| | ___ ___ _____ __ 22:26:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:26:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:26:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:26:08 Bash-1.0.6 22:26:08 22:26:08 22:26:08 ==> git version 2.25.1 found 22:26:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:26:08 Release-Date: 2020-01-08 22:26:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:26:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:26:08 ==> Jenkins CI detected. 22:26:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_napa 22:26:08 project root: . 22:26:08 --> token set from env 22:26:08 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:26:08 ==> Running gcov in . (disable via -X gcov) 22:26:08 ==> Python coveragepy not found 22:26:08 ==> Searching for coverage reports in: 22:26:08 + . 22:26:08 -> Found 1 reports 22:26:08 ==> Detecting git/mercurial file structure 22:26:08 ==> Reading reports 22:26:08 + ./coverage.out bytes=14499 22:26:08 ==> Appending adjustments 22:26:08 https://docs.codecov.io/docs/fixing-reports 22:26:08 + Found adjustments 22:26:08 ==> Gzipping contents 22:26:08 16K /tmp/codecov.talToL.gz 22:26:08 ==> Uploading reports 22:26:08 url: https://codecov.io 22:26:08 query: branch=napa&commit=71bb43dbd033e4b79fac5b32175e59679d8e2e88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:26:08 -> Pinging Codecov 22:26:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=napa&commit=71bb43dbd033e4b79fac5b32175e59679d8e2e88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:26:09 -> Uploading to 22:26:09 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/4E5D53B4F1F92C436F7061BF334D961C/71bb43dbd033e4b79fac5b32175e59679d8e2e88/f5b7dfe8-2f22-41db-8f38-4db8d6b4b8c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T222608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ab9fc1dfdbf77ed7983c8ca41a4e0063e22b64ff5987c7c85e8c92ff4212a2b 22:26:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:26:09 Dload Upload Total Spent Left Speed 22:26:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14167 0 0 100 14167 0 69788 --:--:-- --:--:-- --:--:-- 69446 100 14167 0 0 100 14167 0 46297 --:--:-- --:--:-- --:--:-- 46146 22:26:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } 22:26:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:26:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:26:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:09 22:26:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:26:10 df9b9388f04a: Pulling fs layer 22:26:10 52dc419b0ee2: Pulling fs layer 22:26:10 25bc292e5bac: Pulling fs layer 22:26:10 114826534d7a: Pulling fs layer 22:26:10 4657fd5d0bcf: Pulling fs layer 22:26:10 6ad1cebc031e: Pulling fs layer 22:26:10 8a3aa393b2d8: Pulling fs layer 22:26:10 114826534d7a: Waiting 22:26:10 6ad1cebc031e: Waiting 22:26:10 8a3aa393b2d8: Waiting 22:26:10 25bc292e5bac: Verifying Checksum 22:26:10 25bc292e5bac: Download complete 22:26:10 52dc419b0ee2: Verifying Checksum 22:26:10 52dc419b0ee2: Download complete 22:26:10 4657fd5d0bcf: Verifying Checksum 22:26:10 4657fd5d0bcf: Download complete 22:26:10 df9b9388f04a: Download complete 22:26:10 df9b9388f04a: Pull complete 22:26:10 6ad1cebc031e: Verifying Checksum 22:26:10 6ad1cebc031e: Download complete 22:26:10 52dc419b0ee2: Pull complete 22:26:10 25bc292e5bac: Pull complete 22:26:10 114826534d7a: Verifying Checksum 22:26:10 114826534d7a: Download complete 22:26:10 8a3aa393b2d8: Verifying Checksum 22:26:10 8a3aa393b2d8: Download complete 22:26:14 114826534d7a: Pull complete 22:26:14 4657fd5d0bcf: Pull complete 22:26:14 6ad1cebc031e: Pull complete 22:26:16 8a3aa393b2d8: Pull complete 22:26:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:17 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:26:17 $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:26:25 $ docker top e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f -eo pid,comm [Pipeline] { [Pipeline] echo 22:26:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh 22:26:25 + set -o pipefail 22:26:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' 22:26:28 22:26:28 Monitoring /w/workspace/edgexfoundry_device-rest-go_napa (github.com/edgexfoundry/device-rest-go)... 22:26:28 22:26:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/beda9d0a-5fa3-42d4-aa43-7b5ca4c1c105/history/d1b736b4-989c-4ef7-a817-a74f83ed37e9 22:26:28 22:26:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:26:28 22:26:28 22:26:28 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:26:28 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:26:28 More details here: https://snyk.co/ue1NS [Pipeline] } 22:26:28 $ docker stop --time=1 e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f 22:26:29 $ docker rm -f --volumes e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:30 + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] sh 22:26:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:30 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:26:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:31 $ docker top bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 -eo pid,comm 22:26:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:31 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:31 + git semver [Pipeline] } 22:26:31 $ docker stop --time=1 bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 22:26:33 $ docker rm -f --volumes bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:33 22:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:33 0.23.1-centos7: Pulling from edgex-lftools 22:26:33 ab5ef0e58194: Pulling fs layer 22:26:33 9712f1f96733: Pulling fs layer 22:26:33 63f879dbbcfc: Pulling fs layer 22:26:33 0d9ebad4ef96: Pulling fs layer 22:26:33 e9a5061849ea: Pulling fs layer 22:26:33 d747dcd14b5f: Pulling fs layer 22:26:33 2de7ff778b66: Pulling fs layer 22:26:33 e9a5061849ea: Waiting 22:26:33 d747dcd14b5f: Waiting 22:26:33 2de7ff778b66: Waiting 22:26:33 0d9ebad4ef96: Waiting 22:26:33 9712f1f96733: Verifying Checksum 22:26:33 9712f1f96733: Download complete 22:26:33 63f879dbbcfc: Verifying Checksum 22:26:33 63f879dbbcfc: Download complete 22:26:34 0d9ebad4ef96: Verifying Checksum 22:26:34 0d9ebad4ef96: Download complete 22:26:34 e9a5061849ea: Verifying Checksum 22:26:34 e9a5061849ea: Download complete 22:26:34 d747dcd14b5f: Verifying Checksum 22:26:34 d747dcd14b5f: Download complete 22:26:34 ab5ef0e58194: Download complete 22:26:34 2de7ff778b66: Verifying Checksum 22:26:34 2de7ff778b66: Download complete 22:26:36 ab5ef0e58194: Pull complete 22:26:36 9712f1f96733: Pull complete 22:26:37 63f879dbbcfc: Pull complete 22:26:40 0d9ebad4ef96: Pull complete 22:26:41 e9a5061849ea: Pull complete 22:26:41 d747dcd14b5f: Pull complete 22:26:42 2de7ff778b66: Pull complete 22:26:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:42 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:26:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:26:50 $ docker top 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:26:50 provisioning config files... 22:26:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config9104755579075653519tmp 22:26:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config13413818435433421895tmp 22:26:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config1644260106995670859tmp [Pipeline] { [Pipeline] echo 22:26:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:26:50 ---> sigul-configuration.sh 22:26:50 gpg: directory `/root/.gnupg' created 22:26:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:26:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:26:50 gpg: keyring `/root/.gnupg/secring.gpg' created 22:26:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:26:50 gpg: CAST5 encrypted data 22:26:50 gpg: encrypted with 1 passphrase 22:26:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:26:51 + mkdir /home/jenkins 22:26:51 + mkdir /home/jenkins/sigul [Pipeline] sh 22:26:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:26:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:26:51 ---> sigul-install.sh 22:26:51 Sigul already installed; skipping installation. [Pipeline] sh 22:26:52 + git tag --list 22:26:52 v1.0.0 22:26:52 v1.1.0 22:26:52 v1.1.1 22:26:52 v1.1.2 22:26:52 v1.2.0 22:26:52 v1.2.1 22:26:52 v2.0.0 22:26:52 v2.1.0 22:26:52 v2.1.1 22:26:52 v2.2.0 22:26:52 v2.3.0 22:26:52 v3.0 22:26:52 v3.0.0 22:26:52 v3.1.0 22:26:52 v3.1.0-dev.1 22:26:52 v3.1.0-dev.10 22:26:52 v3.1.0-dev.11 22:26:52 v3.1.0-dev.12 22:26:52 v3.1.0-dev.13 22:26:52 v3.1.0-dev.14 22:26:52 v3.1.0-dev.15 22:26:52 v3.1.0-dev.16 22:26:52 v3.1.0-dev.17 22:26:52 v3.1.0-dev.18 22:26:52 v3.1.0-dev.19 22:26:52 v3.1.0-dev.2 22:26:52 v3.1.0-dev.20 22:26:52 v3.1.0-dev.21 22:26:52 v3.1.0-dev.22 22:26:52 v3.1.0-dev.23 22:26:52 v3.1.0-dev.24 22:26:52 v3.1.0-dev.25 22:26:52 v3.1.0-dev.26 22:26:52 v3.1.0-dev.27 22:26:52 v3.1.0-dev.28 22:26:52 v3.1.0-dev.29 22:26:52 v3.1.0-dev.3 22:26:52 v3.1.0-dev.30 22:26:52 v3.1.0-dev.31 22:26:52 v3.1.0-dev.32 22:26:52 v3.1.0-dev.4 22:26:52 v3.1.0-dev.5 22:26:52 v3.1.0-dev.6 22:26:52 v3.1.0-dev.7 22:26:52 v3.1.0-dev.8 22:26:52 v3.1.0-dev.9 [Pipeline] sh 22:26:52 + lftools sign git-tag v3.1.0 22:26:52 Signing Git tag with Sigul... 22:26:52 Signing v3.1.0 [Pipeline] echo 22:26:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:26:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:26:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:26:53 $ docker stop --time=1 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 22:26:54 $ docker rm -f --volumes 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:26:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:55 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:55 $ docker top 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 -eo pid,comm 22:26:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:55 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:56 + git semver [Pipeline] } 22:26:56 $ docker stop --time=1 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 22:26:57 $ docker rm -f --volumes 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:58 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:26:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:58 $ docker top 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:58 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:59 + git semver [Pipeline] } 22:26:59 $ docker stop --time=1 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c 22:27:00 $ docker rm -f --volumes 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:27:01 + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] 22:27:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 22:27:01 total 16 22:27:01 drwxr-xr-x 3 root root 4096 Nov 15 22:14 . 22:27:01 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:26 .. 22:27:01 drwxr-xr-x 2 root root 4096 Nov 15 22:14 cost 22:27:01 -rw-r--r-- 1 root root 84 Nov 15 22:14 cost.csv 22:27:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives 22:27:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 22:27:01 total 16 22:27:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:14 . 22:27:01 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:26 .. 22:27:01 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:14 cost 22:27:01 -rw-r--r-- 1 jenkins jenkins 84 Nov 15 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:27:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:27:02 ---> package-listing.sh 22:27:02 ++ facter osfamily 22:27:02 ++ tr '[:upper:]' '[:lower:]' 22:27:02 + OS_FAMILY=debian 22:27:02 + workspace=/w/workspace/edgexfoundry_device-rest-go_napa 22:27:02 + START_PACKAGES=/tmp/packages_start.txt 22:27:02 + END_PACKAGES=/tmp/packages_end.txt 22:27:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:27:02 + PACKAGES=/tmp/packages_start.txt 22:27:02 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 22:27:02 + PACKAGES=/tmp/packages_end.txt 22:27:02 + case "${OS_FAMILY}" in 22:27:02 + dpkg -l 22:27:02 + grep '^ii' 22:27:02 + '[' -f /tmp/packages_start.txt ']' 22:27:02 + '[' -f /tmp/packages_end.txt ']' 22:27:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:27:02 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 22:27:02 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ 22:27:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo 22:27:02 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:27:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:03 prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container 22:27:03 $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:27:03 $ docker top 5e8ba9a84ce22dc60d74f26b21b5eb69ed1a7223d2e5ddc76bcc440b0569a396 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:27:04 + mkdir -p /var/log/sysstat [Pipeline] sh 22:27:04 + ls /var/log/sa-host 22:27:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:04 provisioning config files... 22:27:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config9575252600171438546tmp [Pipeline] { [Pipeline] echo 22:27:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:27:05 ---> create-netrc.sh [Pipeline] } 22:27:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:27:05 ---> python-tools-install.sh [Pipeline] echo 22:27:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:27:05 ---> sudo-logs.sh 22:27:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:27:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:27:06 ---> job-cost.sh 22:27:06 lf-activate-venv: SKIPPING 22:27:06 DEBUG: total: 0.2199999988079071 22:27:06 INFO: Retrieving Stack Cost... 22:27:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:27:06 INFO: Archiving Costs [Pipeline] echo 22:27:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:27:07 ---> logs-deploy.sh 22:27:07 lf-activate-venv: SKIPPING 22:27:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/2 22:27:07 INFO: archiving workspace using pattern(s): 22:27:08 Archives upload complete. 22:27:08 INFO: archiving logs to Nexus