Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 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-ssh9709310310613513098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6483968099093425732.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4084539675227294229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8033503879124816981.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-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6840503485419495539.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-mqtt-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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17540’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17547 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (main) Commit message: "fix: Address CVE in Alpine base image (#647)" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 > git rev-list --no-walk 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:47:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:47:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:47:02 ========================================================= 21:47:02 EdgeX Global Pipelines Version Info 21:47:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:47:03 ------------------- 21:47:03 stable info: 21:47:03 ------------------- 21:47:03 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:47:03 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:47:03 Message: update stable to v1.0.257 21:47:04 ------------------- 21:47:04 experimental info: 21:47:04 ------------------- 21:47:04 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:04 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:47:04 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e27f69 [Pipeline] echo 21:47:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:04 provisioning config files... 21:47:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3626125897641952566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:05 ---> docker-login.sh 21:47:05 nexus3.edgexfoundry.org:10001 21:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:06 Configure a credential helper to remove this warning. See 21:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:06 21:47:06 Login Succeeded 21:47:06 nexus3.edgexfoundry.org:10002 21:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:06 Configure a credential helper to remove this warning. See 21:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:06 21:47:06 Login Succeeded 21:47:06 nexus3.edgexfoundry.org:10003 21:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:06 Configure a credential helper to remove this warning. See 21:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:06 21:47:06 Login Succeeded 21:47:06 nexus3.edgexfoundry.org:10004 21:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:06 Configure a credential helper to remove this warning. See 21:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:06 21:47:06 Login Succeeded 21:47:06 docker.io 21:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:07 Configure a credential helper to remove this warning. See 21:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:07 21:47:07 Login Succeeded 21:47:07 ---> docker-login.sh ends [Pipeline] } 21:47:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:47:07 + git rev-list -1 --merges 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6~1..2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] echo 21:47:07 -----------> git rev-list -1 --merges 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6~1..2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [false] [Pipeline] sh 21:47:07 + git log --format=format:%s -1 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] echo 21:47:08 ========================================================= 21:47:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:47:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:08 + git log --format=format:%s -1 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] echo 21:47:08 [semverPrep] GIT_COMMIT: 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6, Commit Message: fix: Address CVE in Alpine base image (#647) [Pipeline] echo 21:47:08 [semverPrep] This is not a build commit. [Pipeline] sh 21:47:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:08 + grep -v github /etc/ssh/ssh_known_hosts 21:47:08 + [ -e /tmp/ssh_known_hosts ] 21:47:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:47:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:47:08 + sudo tee -a /etc/ssh/ssh_known_hosts 21:47:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:09 21:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:09 0.1.4: Pulling from edgex-devops/py-git-semver 21:47:09 b85a868b505f: Pulling fs layer 21:47:09 e2be974225ed: Pulling fs layer 21:47:09 339a4e72a1f5: Pulling fs layer 21:47:09 988bab9f4d93: Pulling fs layer 21:47:09 1469e6f7b9e6: Pulling fs layer 21:47:09 eaf3925da568: Pulling fs layer 21:47:09 bab4dde63d76: Pulling fs layer 21:47:09 bde34c3a00c8: Pulling fs layer 21:47:09 b352a97aabf1: Pulling fs layer 21:47:09 4872d77fe225: Pulling fs layer 21:47:09 5851b861e8e6: Pulling fs layer 21:47:09 988bab9f4d93: Waiting 21:47:09 bde34c3a00c8: Waiting 21:47:09 1469e6f7b9e6: Waiting 21:47:09 b352a97aabf1: Waiting 21:47:09 eaf3925da568: Waiting 21:47:09 4872d77fe225: Waiting 21:47:09 bab4dde63d76: Waiting 21:47:09 5851b861e8e6: Waiting 21:47:09 e2be974225ed: Verifying Checksum 21:47:09 e2be974225ed: Download complete 21:47:09 988bab9f4d93: Verifying Checksum 21:47:09 988bab9f4d93: Download complete 21:47:09 339a4e72a1f5: Verifying Checksum 21:47:09 339a4e72a1f5: Download complete 21:47:09 eaf3925da568: Verifying Checksum 21:47:09 eaf3925da568: Download complete 21:47:09 1469e6f7b9e6: Verifying Checksum 21:47:09 1469e6f7b9e6: Download complete 21:47:09 bde34c3a00c8: Download complete 21:47:09 b352a97aabf1: Download complete 21:47:09 4872d77fe225: Verifying Checksum 21:47:09 4872d77fe225: Download complete 21:47:09 5851b861e8e6: Verifying Checksum 21:47:09 5851b861e8e6: Download complete 21:47:09 b85a868b505f: Verifying Checksum 21:47:09 b85a868b505f: Download complete 21:47:10 bab4dde63d76: Verifying Checksum 21:47:10 bab4dde63d76: Download complete 21:47:11 b85a868b505f: Pull complete 21:47:11 e2be974225ed: Pull complete 21:47:11 339a4e72a1f5: Pull complete 21:47:11 988bab9f4d93: Pull complete 21:47:12 1469e6f7b9e6: Pull complete 21:47:12 eaf3925da568: Pull complete 21:47:14 bab4dde63d76: Pull complete 21:47:14 bde34c3a00c8: Pull complete 21:47:14 b352a97aabf1: Pull complete 21:47:14 4872d77fe225: Pull complete 21:47:14 5851b861e8e6: Pull complete 21:47:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:14 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 21:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:18 $ docker top da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 -eo pid,comm 21:47:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:47:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:18 [ssh-agent] Looking for ssh-agent implementation... 21:47:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:18 $ docker exec da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 ssh-agent 21:47:18 SSH_AUTH_SOCK=/tmp/ssh-z9fNwgWjqZxK/agent.32 21:47:18 SSH_AGENT_PID=38 21:47:18 Running ssh-add (command line suppressed) 21:47:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8128147617523857768.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8128147617523857768.key) 21:47:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:18 + git tag --points-at HEAD [Pipeline] } 21:47:18 $ docker exec --env ******** --env ******** da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 ssh-agent -k 21:47:19 unset SSH_AUTH_SOCK; 21:47:19 unset SSH_AGENT_PID; 21:47:19 echo Agent pid 38 killed; 21:47:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:19 [ssh-agent] Looking for ssh-agent implementation... 21:47:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:19 $ docker exec da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 ssh-agent 21:47:19 SSH_AUTH_SOCK=/tmp/ssh-cUyzk9GWaGRi/agent.70 21:47:19 SSH_AGENT_PID=76 21:47:19 Running ssh-add (command line suppressed) 21:47:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2457164675584568196.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2457164675584568196.key) 21:47:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:19 + git semver init 21:47:19 2023-11-14 21:47:19,911 [run_init] DEBUG init version:0.0.0 force:False 21:47:19 2023-11-14 21:47:19,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:47:19 2023-11-14 21:47:19,912 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:47:19 2023-11-14 21:47:19,912 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:47:20 2023-11-14 21:47:20,811 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 21:47:20 2023-11-14 21:47:20,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 21:47:20 2023-11-14 21:47:20,812 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:47:20 2023-11-14 21:47:20,812 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:47:20 3.1.0-dev.25 [Pipeline] } 21:47:20 $ docker exec --env ******** --env ******** da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 ssh-agent -k 21:47:21 unset SSH_AUTH_SOCK; 21:47:21 unset SSH_AGENT_PID; 21:47:21 echo Agent pid 76 killed; 21:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:21 + git semver [Pipeline] } 21:47:21 $ docker stop --time=1 da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 21:47:22 $ docker rm -f --volumes da3153fa973333222a87fab06def6741bde20ca7fb8d8d9cdece6083fb6eae77 [Pipeline] // withDockerContainer [Pipeline] sh 21:47:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:23 Stashed 1 file(s) [Pipeline] echo 21:47:23 [edgeXSemver]: initialized semver on version 3.1.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:23 provisioning config files... 21:47:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1115865908343033836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:23 ---> docker-login.sh 21:47:23 nexus3.edgexfoundry.org:10001 21:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:23 Configure a credential helper to remove this warning. See 21:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:23 21:47:23 Login Succeeded 21:47:23 nexus3.edgexfoundry.org:10002 21:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:24 Configure a credential helper to remove this warning. See 21:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:24 21:47:24 Login Succeeded 21:47:24 nexus3.edgexfoundry.org:10003 21:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:24 Configure a credential helper to remove this warning. See 21:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:24 21:47:24 Login Succeeded 21:47:24 nexus3.edgexfoundry.org:10004 21:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:24 Configure a credential helper to remove this warning. See 21:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:24 21:47:24 Login Succeeded 21:47:24 docker.io 21:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:24 Configure a credential helper to remove this warning. See 21:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:24 21:47:24 Login Succeeded 21:47:24 ---> docker-login.sh ends [Pipeline] } 21:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:47:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:24 ========================================================= 21:47:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:47:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:47:25 Sending build context to Docker daemon 6.569MB 21:47:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:47:25 Step 2/12 : FROM ${BASE} AS builder 21:47:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:47:25 7264a8db6415: Pulling fs layer 21:47:25 c4d48a809fc2: Pulling fs layer 21:47:25 4f1c88b9dad5: Pulling fs layer 21:47:25 ad3a456e5733: Pulling fs layer 21:47:25 69c7f0334f64: Pulling fs layer 21:47:25 1f1c1a5573a3: Pulling fs layer 21:47:25 ce7588e14bc9: Pulling fs layer 21:47:25 b5e4710f87ac: Pulling fs layer 21:47:25 ad3a456e5733: Waiting 21:47:25 69c7f0334f64: Waiting 21:47:25 1f1c1a5573a3: Waiting 21:47:25 ce7588e14bc9: Waiting 21:47:25 b5e4710f87ac: Waiting 21:47:25 c4d48a809fc2: Verifying Checksum 21:47:25 c4d48a809fc2: Download complete 21:47:25 ad3a456e5733: Download complete 21:47:25 7264a8db6415: Download complete 21:47:25 69c7f0334f64: Download complete 21:47:25 1f1c1a5573a3: Verifying Checksum 21:47:25 1f1c1a5573a3: Download complete 21:47:25 7264a8db6415: Pull complete 21:47:25 b5e4710f87ac: Verifying Checksum 21:47:25 b5e4710f87ac: Download complete 21:47:25 4f1c88b9dad5: Verifying Checksum 21:47:25 4f1c88b9dad5: Download complete 21:47:26 c4d48a809fc2: Pull complete 21:47:26 ce7588e14bc9: Verifying Checksum 21:47:26 ce7588e14bc9: Download complete 21:47:29 4f1c88b9dad5: Pull complete 21:47:29 ad3a456e5733: Pull complete 21:47:29 69c7f0334f64: Pull complete 21:47:29 1f1c1a5573a3: Pull complete 21:47:32 ce7588e14bc9: Pull complete 21:47:33 b5e4710f87ac: Pull complete 21:47:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:47:33 ---> 88b5674ff536 21:47:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:47:38 ---> Running in 84cbca8de07f 21:47:38 Removing intermediate container 84cbca8de07f 21:47:38 ---> 4ca49b00b737 21:47:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:38 ---> Running in bbb70d7c4a26 21:47:38 Removing intermediate container bbb70d7c4a26 21:47:38 ---> 28795e4e6d8b 21:47:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:47:38 ---> Running in cc1d0857a543 21:47:38 Removing intermediate container cc1d0857a543 21:47:38 ---> cb9cdff04c7d 21:47:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:47:38 ---> Running in 72990a5dbdfe 21:47:38 Removing intermediate container 72990a5dbdfe 21:47:38 ---> bc4618156e74 21:47:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:47:38 ---> Running in 9b3e7586a8f3 21:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:47:38 Still waiting to schedule task 21:47:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17549’ is offline 21:47:38 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:47:38 (2/4) Installing libedit (20221030.3.1-r1) 21:47:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:47:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:47:38 Executing busybox-1.36.1-r5.trigger 21:47:38 OK: 268 MiB in 56 packages 21:47:39 Removing intermediate container 9b3e7586a8f3 21:47:39 ---> 8617e2344efe 21:47:39 Step 8/12 : WORKDIR /device-mqtt-go 21:47:39 ---> Running in 2f4dc3faebfa 21:47:39 Removing intermediate container 2f4dc3faebfa 21:47:39 ---> 08ed146d6c19 21:47:39 Step 9/12 : COPY go.mod vendor* ./ 21:47:39 ---> 600c06460687 21:47:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:39 ---> Running in 667be5219460 21:48:27 Removing intermediate container 667be5219460 21:48:27 ---> 0c99f4322296 21:48:27 Step 11/12 : COPY . . 21:48:27 ---> 9ace03f4fea6 21:48:27 Step 12/12 : RUN $MAKE 21:48:27 ---> Running in 463c2594ec78 21:48:27 noop 21:48:27 Removing intermediate container 463c2594ec78 21:48:27 ---> 744edfd7ddc7 21:48:27 Successfully built 744edfd7ddc7 21:48:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:27 + docker inspect -f . ci-base-image-x86_64 21:48:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:28 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 21:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:28 $ docker top 5d953ac2ba827535068e2f6d8b7c74ad397154f69aedd84e904f413a8cf480d8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:28 + go version 21:48:28 go version go1.21.0 linux/amd64 [Pipeline] } 21:48:28 $ docker stop --time=1 5d953ac2ba827535068e2f6d8b7c74ad397154f69aedd84e904f413a8cf480d8 21:48:30 $ docker rm -f --volumes 5d953ac2ba827535068e2f6d8b7c74ad397154f69aedd84e904f413a8cf480d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:30 + docker inspect -f . ci-base-image-x86_64 21:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:30 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 21:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:30 $ docker top f337828011905794c4148922b270b330e69bdbac5fbbac75b7f6155875fa2f8a -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 21:48:31 + make test 21:48:31 go test ./... -coverprofile=coverage.out ./... 21:48:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:48:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:48:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:48:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 21:48:52 go vet ./... 21:48:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:48:54 $ docker stop --time=1 f337828011905794c4148922b270b330e69bdbac5fbbac75b7f6155875fa2f8a 21:48:58 $ docker rm -f --volumes f337828011905794c4148922b270b330e69bdbac5fbbac75b7f6155875fa2f8a [Pipeline] // withDockerContainer [Pipeline] sh 21:48:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:48:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:59 + ls -al . 21:48:59 total 184 21:48:59 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 21:48 . 21:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:47 .. 21:48:59 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 21:47 .dockerignore 21:48:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:48 .git 21:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:47 .github 21:48:59 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 21:47 .gitignore 21:48:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:47 .golangci.yml 21:48:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:47 .semver 21:48:59 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 21:47 Attribution.txt 21:48:59 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 21:47 CHANGELOG.md 21:48:59 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 21:47 Dockerfile 21:48:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:47 GOVERNANCE.md 21:48:59 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 21:47 Jenkinsfile 21:48:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:47 LICENSE 21:48:59 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 21:47 Makefile 21:48:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 21:47 OWNERS.md 21:48:59 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 21:47 README.md 21:48:59 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:47 bin 21:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:47 cmd 21:48:59 -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 21:48 coverage.out 21:48:59 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 21:47 go.mod 21:48:59 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 21:47 go.sum 21:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:47 internal 21:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:47 mock 21:48:59 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:59 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 --label arch=amd64 --label version=3.1.0-dev.25 . 21:48:59 Sending build context to Docker daemon 6.588MB 21:48:59 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:48:59 Step 2/25 : FROM ${BASE} AS builder 21:48:59 ---> 744edfd7ddc7 21:48:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:49:00 ---> Running in 16ae449c2df0 21:49:00 Removing intermediate container 16ae449c2df0 21:49:00 ---> d337de1775e6 21:49:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:00 ---> Running in 5897ebfb6792 21:49:00 Removing intermediate container 5897ebfb6792 21:49:00 ---> 235a2560241f 21:49:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:49:00 ---> Running in 95031874d4fb 21:49:00 Removing intermediate container 95031874d4fb 21:49:00 ---> c5e0437c6cb8 21:49:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:49:00 ---> Running in 8aa6c7338e68 21:49:00 Removing intermediate container 8aa6c7338e68 21:49:00 ---> 958a47058e53 21:49:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:49:00 ---> Running in 3425b345e920 21:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:01 OK: 268 MiB in 56 packages 21:49:02 Removing intermediate container 3425b345e920 21:49:02 ---> 7198d4d1bfd0 21:49:02 Step 8/25 : WORKDIR /device-mqtt-go 21:49:02 ---> Running in 05926a60aa85 21:49:02 Removing intermediate container 05926a60aa85 21:49:02 ---> 965f6430eb2f 21:49:02 Step 9/25 : COPY go.mod vendor* ./ 21:49:02 ---> afee7b0a4b7b 21:49:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:49:02 ---> Running in 54ef95d1061b 21:49:03 Removing intermediate container 54ef95d1061b 21:49:03 ---> 83c2897c4830 21:49:03 Step 11/25 : COPY . . 21:49:03 ---> 644074bd85cc 21:49:03 Step 12/25 : RUN $MAKE 21:49:03 ---> Running in a33d1905531d 21:49:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:49:30 Removing intermediate container a33d1905531d 21:49:30 ---> 7e7716177669 21:49:30 Step 13/25 : FROM alpine:3.18 21:49:30 3.18: Pulling from library/alpine 21:49:30 96526aa774ef: Pulling fs layer 21:49:30 96526aa774ef: Verifying Checksum 21:49:30 96526aa774ef: Download complete 21:49:30 96526aa774ef: Pull complete 21:49:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:49:30 Status: Downloaded newer image for alpine:3.18 21:49:30 ---> 8ca4688f4f35 21:49:30 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:49:30 ---> Running in ebbe04759236 21:49:30 Removing intermediate container ebbe04759236 21:49:30 ---> 575a834af491 21:49:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:49:30 ---> Running in 0acd6f6137e4 21:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:30 (1/1) Installing dumb-init (1.2.5-r2) 21:49:30 Executing busybox-1.36.1-r2.trigger 21:49:30 OK: 7 MiB in 16 packages 21:49:30 Removing intermediate container 0acd6f6137e4 21:49:30 ---> ee51508242a3 21:49:30 Step 16/25 : RUN apk --no-cache upgrade 21:49:30 ---> Running in 637af25984ac 21:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:30 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:49:30 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:49:30 Executing busybox-1.36.1-r5.post-upgrade 21:49:30 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:49:30 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:49:30 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:49:30 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:49:30 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:49:30 Executing busybox-1.36.1-r5.trigger 21:49:30 OK: 7 MiB in 16 packages 21:49:30 Removing intermediate container 637af25984ac 21:49:30 ---> 916c9939a851 21:49:30 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 21:49:31 ---> b7e59bff547a 21:49:31 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 21:49:31 ---> d468074ba49b 21:49:31 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:49:32 ---> b3838e044db0 21:49:32 Step 20/25 : EXPOSE 59982 21:49:32 ---> Running in a68e1696dbc0 21:49:32 Removing intermediate container a68e1696dbc0 21:49:32 ---> a600e46ae8e8 21:49:32 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 21:49:32 ---> Running in 872be2256f36 21:49:33 Removing intermediate container 872be2256f36 21:49:33 ---> b42e7705fd50 21:49:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:49:33 ---> Running in 9b01f75947d4 21:49:33 Removing intermediate container 9b01f75947d4 21:49:33 ---> 52914e7d7026 21:49:33 Step 23/25 : LABEL arch=amd64 21:49:33 ---> Running in 22202c900dcd 21:49:33 Removing intermediate container 22202c900dcd 21:49:33 ---> a2bb82af2ef1 21:49:33 Step 24/25 : LABEL git_sha=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:49:33 ---> Running in 910399b389b1 21:49:33 Removing intermediate container 910399b389b1 21:49:33 ---> 119dea51507b 21:49:33 Step 25/25 : LABEL version=3.1.0-dev.25 21:49:33 ---> Running in 1768ad7c212c 21:49:33 Removing intermediate container 1768ad7c212c 21:49:33 ---> 7a71bde77786 21:49:33 [Warning] One or more build-args [ARCH] were not consumed 21:49:33 Successfully built 7a71bde77786 21:49:33 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:33 provisioning config files... 21:49:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13235956895095503072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:34 ---> docker-login.sh 21:49:34 nexus3.edgexfoundry.org:10001 21:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:34 Configure a credential helper to remove this warning. See 21:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:34 21:49:34 Login Succeeded 21:49:34 nexus3.edgexfoundry.org:10002 21:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:34 Configure a credential helper to remove this warning. See 21:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:34 21:49:34 Login Succeeded 21:49:34 nexus3.edgexfoundry.org:10003 21:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:34 Configure a credential helper to remove this warning. See 21:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:34 21:49:34 Login Succeeded 21:49:34 nexus3.edgexfoundry.org:10004 21:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:34 Configure a credential helper to remove this warning. See 21:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:34 21:49:34 Login Succeeded 21:49:34 docker.io 21:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:35 Configure a credential helper to remove this warning. See 21:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:35 21:49:35 Login Succeeded 21:49:35 ---> docker-login.sh ends [Pipeline] } 21:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:49:35 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:49:35 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:49:35 latest 21:49:35 3.1.0-dev.25 21:49:35 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 21:49:35 main 21:49:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:49:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:49:35 23bc7767d58f: Preparing 21:49:35 d28829961e92: Preparing 21:49:35 8142344f0a3e: Preparing 21:49:35 642f4fcdde1c: Preparing 21:49:35 b5ed12174842: Preparing 21:49:35 cc2447e1835a: Preparing 21:49:35 cc2447e1835a: Waiting 21:49:35 23bc7767d58f: Pushed 21:49:35 d28829961e92: Pushed 21:49:35 b5ed12174842: Pushed 21:49:36 cc2447e1835a: Layer already exists 21:49:36 642f4fcdde1c: Pushed 21:49:39 8142344f0a3e: Pushed 21:49:39 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6: digest: sha256:35efec07f4c15fbbfe859a3e29e69e3d22fc64b1124c02e3854879b862fb063d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:49:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:49:39 23bc7767d58f: Preparing 21:49:39 d28829961e92: Preparing 21:49:39 8142344f0a3e: Preparing 21:49:39 642f4fcdde1c: Preparing 21:49:39 b5ed12174842: Preparing 21:49:39 cc2447e1835a: Preparing 21:49:39 cc2447e1835a: Waiting 21:49:39 642f4fcdde1c: Layer already exists 21:49:39 d28829961e92: Layer already exists 21:49:39 b5ed12174842: Layer already exists 21:49:39 8142344f0a3e: Layer already exists 21:49:39 23bc7767d58f: Layer already exists 21:49:39 cc2447e1835a: Layer already exists 21:49:39 latest: digest: sha256:35efec07f4c15fbbfe859a3e29e69e3d22fc64b1124c02e3854879b862fb063d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.25 21:49:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:49:40 23bc7767d58f: Preparing 21:49:40 d28829961e92: Preparing 21:49:40 8142344f0a3e: Preparing 21:49:40 642f4fcdde1c: Preparing 21:49:40 b5ed12174842: Preparing 21:49:40 cc2447e1835a: Preparing 21:49:40 cc2447e1835a: Waiting 21:49:40 d28829961e92: Layer already exists 21:49:40 b5ed12174842: Layer already exists 21:49:40 23bc7767d58f: Layer already exists 21:49:40 642f4fcdde1c: Layer already exists 21:49:40 8142344f0a3e: Layer already exists 21:49:40 cc2447e1835a: Layer already exists 21:49:40 3.1.0-dev.25: digest: sha256:35efec07f4c15fbbfe859a3e29e69e3d22fc64b1124c02e3854879b862fb063d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 21:49:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:49:41 23bc7767d58f: Preparing 21:49:41 d28829961e92: Preparing 21:49:41 8142344f0a3e: Preparing 21:49:41 642f4fcdde1c: Preparing 21:49:41 b5ed12174842: Preparing 21:49:41 cc2447e1835a: Preparing 21:49:41 cc2447e1835a: Waiting 21:49:41 b5ed12174842: Layer already exists 21:49:41 23bc7767d58f: Layer already exists 21:49:41 8142344f0a3e: Layer already exists 21:49:41 642f4fcdde1c: Layer already exists 21:49:41 d28829961e92: Layer already exists 21:49:41 cc2447e1835a: Layer already exists 21:49:41 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25: digest: sha256:35efec07f4c15fbbfe859a3e29e69e3d22fc64b1124c02e3854879b862fb063d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:49:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:49:41 23bc7767d58f: Preparing 21:49:41 d28829961e92: Preparing 21:49:41 8142344f0a3e: Preparing 21:49:41 642f4fcdde1c: Preparing 21:49:41 b5ed12174842: Preparing 21:49:41 cc2447e1835a: Preparing 21:49:41 cc2447e1835a: Waiting 21:49:41 d28829961e92: Layer already exists 21:49:41 23bc7767d58f: Layer already exists 21:49:41 b5ed12174842: Layer already exists 21:49:41 8142344f0a3e: Layer already exists 21:49:41 642f4fcdde1c: Layer already exists 21:49:41 cc2447e1835a: Layer already exists 21:49:41 main: digest: sha256:35efec07f4c15fbbfe859a3e29e69e3d22fc64b1124c02e3854879b862fb063d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:41 ===================================================== [Pipeline] echo 21:49:41 taggedImages: 21:49:41 - nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:49:41 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:49:41 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.25 21:49:41 - nexus3.edgexfoundry.org:10004/device-mqtt:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 21:49:41 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:42 21:49:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:42 latest: Pulling from edgex-lftools-log-publisher 21:49:42 5eb5b503b376: Pulling fs layer 21:49:42 5c69ac0246d0: Pulling fs layer 21:49:42 ec43610c2a17: Pulling fs layer 21:49:42 3a2ae6a8a46f: Pulling fs layer 21:49:42 33b1e0a273af: Pulling fs layer 21:49:42 5d3b04190fa2: Pulling fs layer 21:49:42 33b1e0a273af: Waiting 21:49:42 2f39f015ded8: Pulling fs layer 21:49:42 5d3b04190fa2: Waiting 21:49:42 2f39f015ded8: Waiting 21:49:42 3a2ae6a8a46f: Waiting 21:49:42 5c69ac0246d0: Verifying Checksum 21:49:42 5c69ac0246d0: Download complete 21:49:42 3a2ae6a8a46f: Verifying Checksum 21:49:42 3a2ae6a8a46f: Download complete 21:49:42 ec43610c2a17: Verifying Checksum 21:49:42 ec43610c2a17: Download complete 21:49:42 5d3b04190fa2: Verifying Checksum 21:49:42 5d3b04190fa2: Download complete 21:49:42 33b1e0a273af: Download complete 21:49:42 5eb5b503b376: Download complete 21:49:44 5eb5b503b376: Pull complete 21:49:44 5c69ac0246d0: Pull complete 21:49:44 ec43610c2a17: Pull complete 21:49:44 3a2ae6a8a46f: Pull complete 21:49:45 33b1e0a273af: Pull complete 21:49:45 5d3b04190fa2: Pull complete 21:49:50 2f39f015ded8: Pull complete 21:49:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:50 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 21:49: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-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:57 $ docker top c20d2996154cb96307497b342e22b37eb6883de7c6a0731051ecc440821b34e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:58 ---> job-cost.sh 21:49:58 lf-activate-venv: SKIPPING 21:49:58 INFO: No Stack... 21:49:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:58 INFO: Archiving Costs [Pipeline] sh 21:49:58 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:49:58 + cut -d, -f6 [Pipeline] lock 21:49:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] 21:49:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] did not exist. Created. 21:49:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:59 + echo total: 0.2199999988079071 [Pipeline] stash 21:49:59 Stashed 1 file(s) [Pipeline] } 21:49:59 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:59 $ docker stop --time=1 c20d2996154cb96307497b342e22b37eb6883de7c6a0731051ecc440821b34e1 21:50:00 $ docker rm -f --volumes c20d2996154cb96307497b342e22b37eb6883de7c6a0731051ecc440821b34e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:50:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17557 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 21:50:50 Running in /w/workspace/device-mqtt-go/153 [Pipeline] { [Pipeline] checkout 21:50:50 The recommended git tool is: git 21:50:57 using credential edgex-jenkins-ssh 21:50:57 Cloning the remote Git repository 21:50:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:50:57 > git init /w/workspace/device-mqtt-go/153 # timeout=10 21:50:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:50:57 > git --version # timeout=10 21:50:57 > git --version # 'git version 2.25.1' 21:50:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:00 Avoid second fetch 21:51:00 Checking out Revision 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (main) 21:50:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:50:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:01 Commit message: "fix: Address CVE in Alpine base image (#647)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:00 > git config core.sparsecheckout # timeout=10 21:51:00 > git checkout -f 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 21:51:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:02 Dload Upload Total Spent Left Speed 21:51:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh 21:51:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:03 + sudo tee /etc/docker/daemon.new 21:51:03 { 21:51:03 "registry-mirrors": [ 21:51:03 "https://nexus3.edgexfoundry.org:10001" 21:51:03 ], 21:51:03 "bip": "10.250.0.254/24", 21:51:03 "hosts": [ 21:51:03 "tcp://0.0.0.0:5555", 21:51:03 "unix:///var/run/docker.sock" 21:51:03 ], 21:51:03 "mtu": 1458, 21:51:03 "selinux-enabled": true, 21:51:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:03 } [Pipeline] sh 21:51:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:51:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:23 provisioning config files... 21:51:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/153@tmp/config4610415259094303976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:23 ---> docker-login.sh 21:51:23 nexus3.edgexfoundry.org:10001 21:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 nexus3.edgexfoundry.org:10002 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:25 Configure a credential helper to remove this warning. See 21:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:25 21:51:25 Login Succeeded 21:51:25 nexus3.edgexfoundry.org:10003 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:25 Configure a credential helper to remove this warning. See 21:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:25 21:51:25 Login Succeeded 21:51:25 nexus3.edgexfoundry.org:10004 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:26 Configure a credential helper to remove this warning. See 21:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:26 21:51:26 Login Succeeded 21:51:26 docker.io 21:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:28 Configure a credential helper to remove this warning. See 21:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:28 21:51:28 Login Succeeded 21:51:28 ---> docker-login.sh ends [Pipeline] } 21:51:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:28 ========================================================= 21:51:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:51:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:51:29 Sending build context to Docker daemon 3.383MB 21:51:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:51:29 Step 2/12 : FROM ${BASE} AS builder 21:51:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:29 9fda8d8052c6: Pulling fs layer 21:51:29 5d54e960e981: Pulling fs layer 21:51:29 c4a7e357bf2a: Pulling fs layer 21:51:29 f0e02332f6b5: Pulling fs layer 21:51:29 872ee5b61b7b: Pulling fs layer 21:51:29 0c6a40ed1a82: Pulling fs layer 21:51:29 94ae7d8d031c: Pulling fs layer 21:51:29 f0e02332f6b5: Waiting 21:51:29 872ee5b61b7b: Waiting 21:51:29 0c6a40ed1a82: Waiting 21:51:29 94ae7d8d031c: Waiting 21:51:29 5d54e960e981: Verifying Checksum 21:51:29 5d54e960e981: Download complete 21:51:29 f0e02332f6b5: Verifying Checksum 21:51:29 f0e02332f6b5: Download complete 21:51:30 872ee5b61b7b: Verifying Checksum 21:51:30 872ee5b61b7b: Download complete 21:51:30 9fda8d8052c6: Verifying Checksum 21:51:30 9fda8d8052c6: Download complete 21:51:30 94ae7d8d031c: Verifying Checksum 21:51:30 94ae7d8d031c: Download complete 21:51:31 9fda8d8052c6: Pull complete 21:51:31 5d54e960e981: Pull complete 21:51:32 c4a7e357bf2a: Verifying Checksum 21:51:32 c4a7e357bf2a: Download complete 21:51:33 0c6a40ed1a82: Verifying Checksum 21:51:33 0c6a40ed1a82: Download complete 21:51:48 c4a7e357bf2a: Pull complete 21:51:48 f0e02332f6b5: Pull complete 21:51:48 872ee5b61b7b: Pull complete 21:51:56 0c6a40ed1a82: Pull complete 21:51:57 94ae7d8d031c: Pull complete 21:51:57 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:51:57 ---> 86de565de09d 21:51:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:51:59 ---> Running in e9cc44db6608 21:51:59 Removing intermediate container e9cc44db6608 21:51:59 ---> ca139bd5682d 21:51:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:59 ---> Running in 4bb4633ccac2 21:52:00 Removing intermediate container 4bb4633ccac2 21:52:00 ---> 4904ecaf5702 21:52:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:52:00 ---> Running in 382cd1e24b23 21:52:00 Removing intermediate container 382cd1e24b23 21:52:00 ---> 3e6000f499fa 21:52:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:52:00 ---> Running in a9444427a9b1 21:52:01 Removing intermediate container a9444427a9b1 21:52:01 ---> 46bc07b09269 21:52:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:01 ---> Running in 37b574e7bd8b 21:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:52:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:52:04 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:52:04 (2/4) Installing libedit (20221030.3.1-r1) 21:52:04 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:52:04 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:52:04 Executing busybox-1.36.1-r5.trigger 21:52:04 OK: 271 MiB in 56 packages 21:52:06 Removing intermediate container 37b574e7bd8b 21:52:06 ---> dbec4a4cc375 21:52:06 Step 8/12 : WORKDIR /device-mqtt-go 21:52:06 ---> Running in b59596695a99 21:52:06 Removing intermediate container b59596695a99 21:52:06 ---> 37edf490b8e2 21:52:06 Step 9/12 : COPY go.mod vendor* ./ 21:52:07 ---> 5c5c17f83757 21:52:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:07 ---> Running in 7364af144a38 21:53:29 Removing intermediate container 7364af144a38 21:53:29 ---> efd0dafc2b42 21:53:29 Step 11/12 : COPY . . 21:53:29 ---> 36b4af88686e 21:53:29 Step 12/12 : RUN $MAKE 21:53:29 ---> Running in 3934b24f8efc 21:53:30 noop 21:53:30 Removing intermediate container 3934b24f8efc 21:53:30 ---> b6ab4247464f 21:53:30 Successfully built b6ab4247464f 21:53:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:31 + docker inspect -f . ci-base-image-arm64 21:53:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:31 prd-ubuntu20.04-docker-arm64-4c-16g-17557 does not seem to be running inside a container 21:53:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/153 -v /w/workspace/device-mqtt-go/153:/w/workspace/device-mqtt-go/153:rw,z -v /w/workspace/device-mqtt-go/153@tmp:/w/workspace/device-mqtt-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:33 $ docker top 0b23bf8e185698aa8762aec6562fd396a02c26325ad3cfea2ead69931e15c489 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:34 + go version 21:53:34 go version go1.21.0 linux/arm64 [Pipeline] } 21:53:34 $ docker stop --time=1 0b23bf8e185698aa8762aec6562fd396a02c26325ad3cfea2ead69931e15c489 21:53:35 $ docker rm -f --volumes 0b23bf8e185698aa8762aec6562fd396a02c26325ad3cfea2ead69931e15c489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:36 + docker inspect -f . ci-base-image-arm64 21:53:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:36 prd-ubuntu20.04-docker-arm64-4c-16g-17557 does not seem to be running inside a container 21:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/153 -v /w/workspace/device-mqtt-go/153:/w/workspace/device-mqtt-go/153:rw,z -v /w/workspace/device-mqtt-go/153@tmp:/w/workspace/device-mqtt-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:38 $ docker top 7f849ddbe4eb53263b3fc0ff6aebdfd6ad0837c4bdbe8208145820aa28d02bea -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:39 + git config --global --add safe.directory /w/workspace/device-mqtt-go/153 [Pipeline] fileExists [Pipeline] sh 21:53:40 + make test 21:53:40 go test ./... -coverprofile=coverage.out ./... 21:53:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:56:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:56:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:56:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements 21:56:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:56:22 go vet ./... 21:56:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:56:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:56:54 $ docker stop --time=1 7f849ddbe4eb53263b3fc0ff6aebdfd6ad0837c4bdbe8208145820aa28d02bea 21:56:56 $ docker rm -f --volumes 7f849ddbe4eb53263b3fc0ff6aebdfd6ad0837c4bdbe8208145820aa28d02bea [Pipeline] // withDockerContainer [Pipeline] sh 21:56:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:58 Warning: overwriting stash ‘coverage-report’ 21:56:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:59 + ls -al . 21:56:59 total 180 21:56:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 . 21:56:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:50 .. 21:56:59 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 21:51 .dockerignore 21:56:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:51 .git 21:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 .github 21:56:59 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 21:51 .gitignore 21:56:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:51 .golangci.yml 21:56:59 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 21:51 Attribution.txt 21:56:59 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 21:51 CHANGELOG.md 21:56:59 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 21:51 Dockerfile 21:56:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:51 GOVERNANCE.md 21:56:59 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 21:51 Jenkinsfile 21:56:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:51 LICENSE 21:56:59 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 21:51 Makefile 21:56:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 21:51 OWNERS.md 21:56:59 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 21:51 README.md 21:56:59 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:51 bin 21:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 cmd 21:56:59 -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 21:56 coverage.out 21:56:59 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 21:51 go.mod 21:56:59 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 21:51 go.sum 21:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 internal 21:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:51 mock 21:56:59 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:59 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 --label arch=arm64 --label version=3.1.0-dev.25 . 21:57:00 Sending build context to Docker daemon 3.403MB 21:57:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:57:00 Step 2/25 : FROM ${BASE} AS builder 21:57:00 ---> b6ab4247464f 21:57:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:57:00 ---> Running in 0fd914a30c7f 21:57:00 Removing intermediate container 0fd914a30c7f 21:57:00 ---> b51cb40be2f2 21:57:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:01 ---> Running in 87d86e792cfa 21:57:01 Removing intermediate container 87d86e792cfa 21:57:01 ---> dec8c49ed953 21:57:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:57:01 ---> Running in c383be148de0 21:57:01 Removing intermediate container c383be148de0 21:57:01 ---> 830e366643b8 21:57:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:57:02 ---> Running in ea9f572824be 21:57:02 Removing intermediate container ea9f572824be 21:57:02 ---> 9a19edfe0e66 21:57:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:57:02 ---> Running in 76ea3d6a5f2d 21:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:57:06 OK: 271 MiB in 56 packages 21:57:06 Removing intermediate container 76ea3d6a5f2d 21:57:06 ---> 7113c4fca54e 21:57:06 Step 8/25 : WORKDIR /device-mqtt-go 21:57:06 ---> Running in 58dccc5845de 21:57:07 Removing intermediate container 58dccc5845de 21:57:07 ---> 12ee0e3a4ef3 21:57:07 Step 9/25 : COPY go.mod vendor* ./ 21:57:07 ---> 7bc02a69ef7a 21:57:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:08 ---> Running in 62198ca9cd57 21:57:10 Removing intermediate container 62198ca9cd57 21:57:10 ---> 8081eaedf171 21:57:10 Step 11/25 : COPY . . 21:57:14 ---> 059a2f864d2f 21:57:14 Step 12/25 : RUN $MAKE 21:57:14 ---> Running in 54bd1c564a5c 21:57:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:59:52 Removing intermediate container 54bd1c564a5c 21:59:52 ---> f1661e129118 21:59:52 Step 13/25 : FROM alpine:3.18 21:59:52 3.18: Pulling from library/alpine 21:59:52 579b34f0a95b: Pulling fs layer 21:59:52 579b34f0a95b: Verifying Checksum 21:59:52 579b34f0a95b: Download complete 21:59:52 579b34f0a95b: Pull complete 21:59:52 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:59:52 Status: Downloaded newer image for alpine:3.18 21:59:52 ---> 3cc203321400 21:59:52 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:59:52 ---> Running in fca33bcdb9ae 21:59:52 Removing intermediate container fca33bcdb9ae 21:59:52 ---> 7663129d5616 21:59:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:59:52 ---> Running in 1c430d89aa18 21:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:52 (1/1) Installing dumb-init (1.2.5-r2) 21:59:52 Executing busybox-1.36.1-r2.trigger 21:59:52 OK: 8 MiB in 16 packages 21:59:52 Removing intermediate container 1c430d89aa18 21:59:52 ---> e78104bd0837 21:59:52 Step 16/25 : RUN apk --no-cache upgrade 21:59:52 ---> Running in 0837aefad33a 21:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:52 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:59:52 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:59:52 Executing busybox-1.36.1-r5.post-upgrade 21:59:52 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:59:52 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:59:52 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:59:52 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:59:52 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:59:52 Executing busybox-1.36.1-r5.trigger 21:59:52 OK: 8 MiB in 16 packages 21:59:52 Removing intermediate container 0837aefad33a 21:59:52 ---> af009df8b33f 21:59:52 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 21:59:52 ---> fc4655356356 21:59:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 21:59:53 ---> 9a2fac2b6401 21:59:53 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:59:54 ---> f819e8fecc9e 21:59:54 Step 20/25 : EXPOSE 59982 21:59:54 ---> Running in ced969144b38 21:59:54 Removing intermediate container ced969144b38 21:59:54 ---> 176c7ae11156 21:59:54 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 21:59:54 ---> Running in f99bd00de4e3 21:59:55 Removing intermediate container f99bd00de4e3 21:59:55 ---> eceb8df08b5e 21:59:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:59:55 ---> Running in 723abdd1d44e 21:59:55 Removing intermediate container 723abdd1d44e 21:59:55 ---> c9bce3ea92f3 21:59:55 Step 23/25 : LABEL arch=arm64 21:59:55 ---> Running in b2b91e63b773 21:59:55 Removing intermediate container b2b91e63b773 21:59:55 ---> 42fdc7978b3a 21:59:55 Step 24/25 : LABEL git_sha=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:59:55 ---> Running in 5406e9d5469f 21:59:56 Removing intermediate container 5406e9d5469f 21:59:56 ---> 1fdc285d74c3 21:59:56 Step 25/25 : LABEL version=3.1.0-dev.25 21:59:56 ---> Running in 2124c30e2d37 21:59:56 Removing intermediate container 2124c30e2d37 21:59:56 ---> e62c688de267 21:59:56 [Warning] One or more build-args [ARCH] were not consumed 21:59:56 Successfully built e62c688de267 21:59:56 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:56 provisioning config files... 21:59:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/153@tmp/config12774577003102530671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:57 ---> docker-login.sh 21:59:57 nexus3.edgexfoundry.org:10001 21:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:57 Configure a credential helper to remove this warning. See 21:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:57 21:59:57 Login Succeeded 21:59:57 nexus3.edgexfoundry.org:10002 21:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:58 Configure a credential helper to remove this warning. See 21:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:58 21:59:58 Login Succeeded 21:59:58 nexus3.edgexfoundry.org:10003 21:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:58 Configure a credential helper to remove this warning. See 21:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:58 21:59:58 Login Succeeded 21:59:58 nexus3.edgexfoundry.org:10004 21:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:58 Configure a credential helper to remove this warning. See 21:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:58 21:59:58 Login Succeeded 21:59:58 docker.io 21:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:59 Configure a credential helper to remove this warning. See 21:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:59 21:59:59 Login Succeeded 21:59:59 ---> docker-login.sh ends [Pipeline] } 21:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:59:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:59:59 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:59:59 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 21:59:59 latest 21:59:59 3.1.0-dev.25 21:59:59 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 21:59:59 main 21:59:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 22:00:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:00:00 82b65e4e7336: Preparing 22:00:00 0d195f0a780a: Preparing 22:00:00 29619ca7a2d4: Preparing 22:00:00 c38e328755c6: Preparing 22:00:00 21263ee1f984: Preparing 22:00:00 5f4d9fc4d98d: Preparing 22:00:00 5f4d9fc4d98d: Waiting 22:00:01 82b65e4e7336: Pushed 22:00:01 21263ee1f984: Pushed 22:00:01 0d195f0a780a: Pushed 22:00:01 5f4d9fc4d98d: Layer already exists 22:00:03 c38e328755c6: Pushed 22:00:07 29619ca7a2d4: Pushed 22:00:07 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6: digest: sha256:5045a0ad567beb0fd7e024a587c20857c81a2180b86ee6c1e7dcaa90ad323f2f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:00:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:00:08 82b65e4e7336: Preparing 22:00:08 0d195f0a780a: Preparing 22:00:08 29619ca7a2d4: Preparing 22:00:08 c38e328755c6: Preparing 22:00:08 21263ee1f984: Preparing 22:00:08 5f4d9fc4d98d: Preparing 22:00:08 29619ca7a2d4: Layer already exists 22:00:08 82b65e4e7336: Layer already exists 22:00:08 0d195f0a780a: Layer already exists 22:00:08 c38e328755c6: Layer already exists 22:00:08 21263ee1f984: Layer already exists 22:00:08 5f4d9fc4d98d: Layer already exists 22:00:08 latest: digest: sha256:5045a0ad567beb0fd7e024a587c20857c81a2180b86ee6c1e7dcaa90ad323f2f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.25 22:00:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:00:09 82b65e4e7336: Preparing 22:00:09 0d195f0a780a: Preparing 22:00:09 29619ca7a2d4: Preparing 22:00:09 c38e328755c6: Preparing 22:00:09 21263ee1f984: Preparing 22:00:09 5f4d9fc4d98d: Preparing 22:00:09 5f4d9fc4d98d: Waiting 22:00:09 29619ca7a2d4: Layer already exists 22:00:09 21263ee1f984: Layer already exists 22:00:09 c38e328755c6: Layer already exists 22:00:09 0d195f0a780a: Layer already exists 22:00:09 82b65e4e7336: Layer already exists 22:00:09 5f4d9fc4d98d: Layer already exists 22:00:09 3.1.0-dev.25: digest: sha256:5045a0ad567beb0fd7e024a587c20857c81a2180b86ee6c1e7dcaa90ad323f2f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 22:00:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:00:10 82b65e4e7336: Preparing 22:00:10 0d195f0a780a: Preparing 22:00:10 29619ca7a2d4: Preparing 22:00:10 c38e328755c6: Preparing 22:00:10 21263ee1f984: Preparing 22:00:10 5f4d9fc4d98d: Preparing 22:00:10 5f4d9fc4d98d: Waiting 22:00:10 29619ca7a2d4: Layer already exists 22:00:10 21263ee1f984: Layer already exists 22:00:10 0d195f0a780a: Layer already exists 22:00:10 c38e328755c6: Layer already exists 22:00:10 82b65e4e7336: Layer already exists 22:00:10 5f4d9fc4d98d: Layer already exists 22:00:10 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25: digest: sha256:5045a0ad567beb0fd7e024a587c20857c81a2180b86ee6c1e7dcaa90ad323f2f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 22:00:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:00:11 82b65e4e7336: Preparing 22:00:11 0d195f0a780a: Preparing 22:00:11 29619ca7a2d4: Preparing 22:00:11 c38e328755c6: Preparing 22:00:11 21263ee1f984: Preparing 22:00:11 5f4d9fc4d98d: Preparing 22:00:11 5f4d9fc4d98d: Waiting 22:00:11 82b65e4e7336: Layer already exists 22:00:11 0d195f0a780a: Layer already exists 22:00:11 29619ca7a2d4: Layer already exists 22:00:11 c38e328755c6: Layer already exists 22:00:11 21263ee1f984: Layer already exists 22:00:11 5f4d9fc4d98d: Layer already exists 22:00:11 main: digest: sha256:5045a0ad567beb0fd7e024a587c20857c81a2180b86ee6c1e7dcaa90ad323f2f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:00:11 ===================================================== [Pipeline] echo 22:00:11 taggedImages: 22:00:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 22:00:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:00:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.25 22:00:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e27f69eb295f4b29cb509ab7fedca7dd8db09a6-3.1.0-dev.25 22:00:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:12 22:00:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:12 arm64: Pulling from edgex-lftools-log-publisher 22:00:12 8998bd30e6a1: Pulling fs layer 22:00:12 04944245beec: Pulling fs layer 22:00:12 699f458cf7ca: Pulling fs layer 22:00:12 765212b225bb: Pulling fs layer 22:00:12 f23df028b6ca: Pulling fs layer 22:00:12 d65c8cfc05b1: Pulling fs layer 22:00:12 765212b225bb: Waiting 22:00:12 d65c8cfc05b1: Waiting 22:00:12 2437ff75d9bd: Pulling fs layer 22:00:12 2437ff75d9bd: Waiting 22:00:12 04944245beec: Verifying Checksum 22:00:12 04944245beec: Download complete 22:00:12 765212b225bb: Verifying Checksum 22:00:12 765212b225bb: Download complete 22:00:12 f23df028b6ca: Verifying Checksum 22:00:12 f23df028b6ca: Download complete 22:00:12 d65c8cfc05b1: Verifying Checksum 22:00:12 d65c8cfc05b1: Download complete 22:00:13 699f458cf7ca: Verifying Checksum 22:00:13 699f458cf7ca: Download complete 22:00:13 8998bd30e6a1: Verifying Checksum 22:00:13 8998bd30e6a1: Download complete 22:00:16 2437ff75d9bd: Verifying Checksum 22:00:16 2437ff75d9bd: Download complete 22:00:18 8998bd30e6a1: Pull complete 22:00:18 04944245beec: Pull complete 22:00:20 699f458cf7ca: Pull complete 22:00:20 765212b225bb: Pull complete 22:00:21 f23df028b6ca: Pull complete 22:00:21 d65c8cfc05b1: Pull complete 22:00:40 2437ff75d9bd: Pull complete 22:00:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:40 prd-ubuntu20.04-docker-arm64-4c-16g-17557 does not seem to be running inside a container 22:00:40 $ 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-mqtt-go/153 -v /w/workspace/device-mqtt-go/153:/w/workspace/device-mqtt-go/153:rw,z -v /w/workspace/device-mqtt-go/153@tmp:/w/workspace/device-mqtt-go/153@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:00:43 $ docker top 7b3f74ccd7c9b8962f39f64a1d80921881f588d4e5231b06b634a79fc1083ffc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:44 ---> job-cost.sh 22:00:44 lf-activate-venv: SKIPPING 22:00:44 INFO: No Stack... 22:00:44 INFO: Retrieving Pricing Info for: v3-standard-4 22:00:45 INFO: Archiving Costs [Pipeline] sh 22:00:45 + cat /w/workspace/device-mqtt-go/153/archives/cost.csv 22:00:45 + cut -d, -f6 [Pipeline] lock 22:00:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] 22:00:46 Resource [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] did not exist. Created. 22:00:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:46 /w/workspace/device-mqtt-go/153@tmp/durable-ce5a1010/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:00:47 + echo total: 0.10999999940395355 [Pipeline] stash 22:00:47 Warning: overwriting stash ‘stack-cost’ 22:00:47 Stashed 1 file(s) [Pipeline] } 22:00:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 22:00:47 $ docker stop --time=1 7b3f74ccd7c9b8962f39f64a1d80921881f588d4e5231b06b634a79fc1083ffc 22:00:51 $ docker rm -f --volumes 7b3f74ccd7c9b8962f39f64a1d80921881f588d4e5231b06b634a79fc1083ffc [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:00:51 provisioning config files... 22:00:51 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1265755600335067369tmp [Pipeline] { [Pipeline] sh 22:00:51 + set +x 22:00:51 + curl -s https://codecov.io/bash 22:00:51 + bash -s -- 22:00:51 22:00:51 _____ _ 22:00:51 / ____| | | 22:00:51 | | ___ __| | ___ ___ _____ __ 22:00:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:00:51 | |___| (_) | (_| | __/ (_| (_) \ V / 22:00:51 \_____\___/ \__,_|\___|\___\___/ \_/ 22:00:51 Bash-1.0.6 22:00:51 22:00:51 22:00:51 ==> git version 2.25.1 found 22:00:51 ==> 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:00:51 Release-Date: 2020-01-08 22:00:51 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:00:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:00:51 ==> Jenkins CI detected. 22:00:51 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 22:00:51 project root: . 22:00:51 --> token set from env 22:00:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:00:51 ==> Running gcov in . (disable via -X gcov) 22:00:51 ==> Python coveragepy not found 22:00:51 ==> Searching for coverage reports in: 22:00:51 + . 22:00:51 -> Found 1 reports 22:00:51 ==> Detecting git/mercurial file structure 22:00:51 ==> Reading reports 22:00:51 + ./coverage.out bytes=18506 22:00:51 ==> Appending adjustments 22:00:51 https://docs.codecov.io/docs/fixing-reports 22:00:52 + Found adjustments 22:00:52 ==> Gzipping contents 22:00:52 4.0K /tmp/codecov.ZwQi0m.gz 22:00:52 ==> Uploading reports 22:00:52 url: https://codecov.io 22:00:52 query: branch=main&commit=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:52 -> Pinging Codecov 22:00:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=2e27f69eb295f4b29cb509ab7fedca7dd8db09a6&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:52 -> Uploading to 22:00:52 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7D719EC7BBE17E464838252E33014C33/2e27f69eb295f4b29cb509ab7fedca7dd8db09a6/b73029aa-9f15-4d6f-9f57-55097be333c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T220052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82e2c82f7a428b90d58d751494e271417cf27bc407f1e19f9689257099be9286 22:00:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:00:52 Dload Upload Total Spent Left Speed 22:00:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12810 --:--:-- --:--:-- --:--:-- 12810 22:00:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] } 22:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:00:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:00:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:52 22:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:00:53 df9b9388f04a: Pulling fs layer 22:00:53 52dc419b0ee2: Pulling fs layer 22:00:53 25bc292e5bac: Pulling fs layer 22:00:53 114826534d7a: Pulling fs layer 22:00:53 4657fd5d0bcf: Pulling fs layer 22:00:53 6ad1cebc031e: Pulling fs layer 22:00:53 8a3aa393b2d8: Pulling fs layer 22:00:53 4657fd5d0bcf: Waiting 22:00:53 114826534d7a: Waiting 22:00:53 8a3aa393b2d8: Waiting 22:00:53 25bc292e5bac: Download complete 22:00:53 52dc419b0ee2: Verifying Checksum 22:00:53 52dc419b0ee2: Download complete 22:00:53 4657fd5d0bcf: Download complete 22:00:53 df9b9388f04a: Verifying Checksum 22:00:53 df9b9388f04a: Download complete 22:00:53 df9b9388f04a: Pull complete 22:00:53 6ad1cebc031e: Verifying Checksum 22:00:53 6ad1cebc031e: Download complete 22:00:53 52dc419b0ee2: Pull complete 22:00:53 25bc292e5bac: Pull complete 22:00:54 114826534d7a: Verifying Checksum 22:00:54 114826534d7a: Download complete 22:00:54 8a3aa393b2d8: Verifying Checksum 22:00:54 8a3aa393b2d8: Download complete 22:00:57 114826534d7a: Pull complete 22:00:57 4657fd5d0bcf: Pull complete 22:00:57 6ad1cebc031e: Pull complete 22:01:06 8a3aa393b2d8: Pull complete 22:01:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:01:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:06 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:01:06 $ 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-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:01:13 $ docker top f326a0c72c911ca9c81a20e0cb6ed303b37674f8a730cf9f4a4f5bfb69e04217 -eo pid,comm [Pipeline] { [Pipeline] echo 22:01:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 22:01:14 + set -o pipefail 22:01:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 22:01:19 22:01:19 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 22:01:19 22:01:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/8e79f707-1571-4f07-a72e-7ec868647539 22:01:19 22:01:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:01:19 22:01:19 22:01:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:01:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:01:19 More details here: https://snyk.co/ue1NS 22:01:19 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:01:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:01:19 $ docker stop --time=1 f326a0c72c911ca9c81a20e0cb6ed303b37674f8a730cf9f4a4f5bfb69e04217 22:01:24 $ docker rm -f --volumes f326a0c72c911ca9c81a20e0cb6ed303b37674f8a730cf9f4a4f5bfb69e04217 [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:01:25 + git log --format=format:%s -1 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 [Pipeline] sh 22:01:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:26 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:01:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:01:26 $ docker top f92b9d68ed5e0995495704185808b19f46495559d3fac0c1a06ed89c5c90a2ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:26 [ssh-agent] Looking for ssh-agent implementation... 22:01:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:26 $ docker exec f92b9d68ed5e0995495704185808b19f46495559d3fac0c1a06ed89c5c90a2ed ssh-agent 22:01:26 SSH_AUTH_SOCK=/tmp/ssh-FiN3o2SfjFL7/agent.32 22:01:26 SSH_AGENT_PID=38 22:01:26 Running ssh-add (command line suppressed) 22:01:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1945010753265700322.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1945010753265700322.key) 22:01:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:27 + git semver tag 22:01:27 2023-11-14 22:01:27,760 [run_tag] DEBUG tag force:False 22:01:27 2023-11-14 22:01:27,760 [check_head_tag] DEBUG check head tag 22:01:27 2023-11-14 22:01:27,762 [execute] INFO git cat-file --batch-check 22:01:27 2023-11-14 22:01:27,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:01:27 2023-11-14 22:01:27,769 [execute] INFO git cat-file --batch 22:01:27 2023-11-14 22:01:27,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:01:27 2023-11-14 22:01:27,784 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:27 2023-11-14 22:01:27,785 [execute] INFO git tag -a v3.1.0-dev.25 -m v3.1.0-dev.25 22:01:27 2023-11-14 22:01:27,785 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.25', '-m', 'v3.1.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 22:01:27 2023-11-14 22:01:27,790 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:27 3.1.0-dev.25 [Pipeline] } 22:01:27 $ docker exec --env ******** --env ******** f92b9d68ed5e0995495704185808b19f46495559d3fac0c1a06ed89c5c90a2ed ssh-agent -k 22:01:27 unset SSH_AUTH_SOCK; 22:01:27 unset SSH_AGENT_PID; 22:01:27 echo Agent pid 38 killed; 22:01:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:28 + git semver [Pipeline] } 22:01:28 $ docker stop --time=1 f92b9d68ed5e0995495704185808b19f46495559d3fac0c1a06ed89c5c90a2ed 22:01:30 $ docker rm -f --volumes f92b9d68ed5e0995495704185808b19f46495559d3fac0c1a06ed89c5c90a2ed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:30 22:01:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:31 0.23.1-centos7: Pulling from edgex-lftools 22:01:31 ab5ef0e58194: Pulling fs layer 22:01:31 9712f1f96733: Pulling fs layer 22:01:31 63f879dbbcfc: Pulling fs layer 22:01:31 0d9ebad4ef96: Pulling fs layer 22:01:31 e9a5061849ea: Pulling fs layer 22:01:31 d747dcd14b5f: Pulling fs layer 22:01:31 2de7ff778b66: Pulling fs layer 22:01:31 e9a5061849ea: Waiting 22:01:31 d747dcd14b5f: Waiting 22:01:31 2de7ff778b66: Waiting 22:01:31 0d9ebad4ef96: Waiting 22:01:31 9712f1f96733: Verifying Checksum 22:01:31 9712f1f96733: Download complete 22:01:31 63f879dbbcfc: Verifying Checksum 22:01:31 63f879dbbcfc: Download complete 22:01:31 e9a5061849ea: Verifying Checksum 22:01:31 e9a5061849ea: Download complete 22:01:31 0d9ebad4ef96: Verifying Checksum 22:01:31 0d9ebad4ef96: Download complete 22:01:31 d747dcd14b5f: Download complete 22:01:31 ab5ef0e58194: Verifying Checksum 22:01:31 ab5ef0e58194: Download complete 22:01:31 2de7ff778b66: Verifying Checksum 22:01:31 2de7ff778b66: Download complete 22:01:35 ab5ef0e58194: Pull complete 22:01:35 9712f1f96733: Pull complete 22:01:35 63f879dbbcfc: Pull complete 22:01:40 0d9ebad4ef96: Pull complete 22:01:40 e9a5061849ea: Pull complete 22:01:40 d747dcd14b5f: Pull complete 22:01:41 2de7ff778b66: Pull complete 22:01:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:41 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:01:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:01:47 $ docker top 32f20288adf14679f9927fbcd72793065db47318c0a437a9c2fdde37c4053d1d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:01:47 provisioning config files... 22:01:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15121252134803925952tmp 22:01:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17550951253575740371tmp 22:01:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8326012960274867554tmp [Pipeline] { [Pipeline] echo 22:01:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:01:48 ---> sigul-configuration.sh 22:01:48 gpg: directory `/root/.gnupg' created 22:01:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:01:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:01:48 gpg: keyring `/root/.gnupg/secring.gpg' created 22:01:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:01:48 gpg: CAST5 encrypted data 22:01:48 gpg: encrypted with 1 passphrase 22:01:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:01:48 + mkdir /home/jenkins 22:01:48 + mkdir /home/jenkins/sigul [Pipeline] sh 22:01:48 + 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:01:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:01:49 ---> sigul-install.sh 22:01:49 Sigul already installed; skipping installation. [Pipeline] sh 22:01:49 + git tag --list 22:01:49 0.7.1 22:01:49 v1.0.0 22:01:49 v1.1.0 22:01:49 v1.1.1 22:01:49 v1.2.2 22:01:49 v1.3.0 22:01:49 v1.3.1 22:01:49 v2.0.0 22:01:49 v2.1.0 22:01:49 v2.1.1 22:01:49 v2.2.0 22:01:49 v2.3.0 22:01:49 v3.0 22:01:49 v3.0.0 22:01:49 v3.1.0-dev.1 22:01:49 v3.1.0-dev.10 22:01:49 v3.1.0-dev.11 22:01:49 v3.1.0-dev.12 22:01:49 v3.1.0-dev.13 22:01:49 v3.1.0-dev.14 22:01:49 v3.1.0-dev.15 22:01:49 v3.1.0-dev.16 22:01:49 v3.1.0-dev.17 22:01:49 v3.1.0-dev.18 22:01:49 v3.1.0-dev.19 22:01:49 v3.1.0-dev.2 22:01:49 v3.1.0-dev.20 22:01:49 v3.1.0-dev.21 22:01:49 v3.1.0-dev.22 22:01:49 v3.1.0-dev.23 22:01:49 v3.1.0-dev.24 22:01:49 v3.1.0-dev.25 22:01:49 v3.1.0-dev.3 22:01:49 v3.1.0-dev.4 22:01:49 v3.1.0-dev.5 22:01:49 v3.1.0-dev.6 22:01:49 v3.1.0-dev.7 22:01:49 v3.1.0-dev.8 22:01:49 v3.1.0-dev.9 [Pipeline] sh 22:01:49 + lftools sign git-tag v3.1.0-dev.25 22:01:50 Signing Git tag with Sigul... 22:01:50 Signing v3.1.0-dev.25 [Pipeline] echo 22:01:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:01:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:01:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:01:50 $ docker stop --time=1 32f20288adf14679f9927fbcd72793065db47318c0a437a9c2fdde37c4053d1d 22:01:52 $ docker rm -f --volumes 32f20288adf14679f9927fbcd72793065db47318c0a437a9c2fdde37c4053d1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:01:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:52 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:01:53 $ docker top b5c0a71e01ecaba393cdfb9e50f27febe3c8b436cc3dce67a347d422b5fdc02d -eo pid,comm 22:01:53 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:01:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:53 [ssh-agent] Looking for ssh-agent implementation... 22:01:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:53 $ docker exec b5c0a71e01ecaba393cdfb9e50f27febe3c8b436cc3dce67a347d422b5fdc02d ssh-agent 22:01:53 SSH_AUTH_SOCK=/tmp/ssh-0GnaS4FEGg4R/agent.33 22:01:53 SSH_AGENT_PID=39 22:01:53 Running ssh-add (command line suppressed) 22:01:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040635206788790606.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040635206788790606.key) 22:01:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:53 + git semver bump pre 22:01:54 2023-11-14 22:01:54,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:54 2023-11-14 22:01:54,042 [bump_version] DEBUG bumping version:3.1.0-dev.25 on axis:pre with prefix:dev 22:01:54 2023-11-14 22:01:54,042 [bump_version] DEBUG bumped version:3.1.0-dev.26 22:01:54 2023-11-14 22:01:54,042 [write_version] DEBUG write version:3.1.0-dev.26 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 22:01:54 2023-11-14 22:01:54,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:54 2023-11-14 22:01:54,042 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:54 2023-11-14 22:01:54,044 [execute] INFO git cat-file --batch-check 22:01:54 2023-11-14 22:01:54,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:54 2023-11-14 22:01:54,048 [execute] INFO git cat-file --batch 22:01:54 2023-11-14 22:01:54,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:54 2023-11-14 22:01:54,053 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:01:54 3.1.0-dev.26 [Pipeline] } 22:01:54 $ docker exec --env ******** --env ******** b5c0a71e01ecaba393cdfb9e50f27febe3c8b436cc3dce67a347d422b5fdc02d ssh-agent -k 22:01:54 unset SSH_AUTH_SOCK; 22:01:54 unset SSH_AGENT_PID; 22:01:54 echo Agent pid 39 killed; 22:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:54 + git semver [Pipeline] } 22:01:54 $ docker stop --time=1 b5c0a71e01ecaba393cdfb9e50f27febe3c8b436cc3dce67a347d422b5fdc02d 22:01:56 $ docker rm -f --volumes b5c0a71e01ecaba393cdfb9e50f27febe3c8b436cc3dce67a347d422b5fdc02d [Pipeline] // withDockerContainer [Pipeline] sh 22:01:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:56 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:01:57 $ docker top 0ae190f87eaa3a13fb92f6497055bed9af89dc8097848fc53f36964af2e048f6 -eo pid,comm 22:01:57 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:01:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:57 [ssh-agent] Looking for ssh-agent implementation... 22:01:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:57 $ docker exec 0ae190f87eaa3a13fb92f6497055bed9af89dc8097848fc53f36964af2e048f6 ssh-agent 22:01:57 SSH_AUTH_SOCK=/tmp/ssh-fwWSmNYqsab0/agent.31 22:01:57 SSH_AGENT_PID=37 22:01:57 Running ssh-add (command line suppressed) 22:01:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16129867868832995683.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16129867868832995683.key) 22:01:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:57 + git semver push 22:01:58 2023-11-14 22:01:58,110 [run_push] DEBUG push 22:01:58 2023-11-14 22:01:58,111 [execute] INFO git cat-file --batch-check 22:01:58 2023-11-14 22:01:58,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:58 2023-11-14 22:01:58,115 [execute] INFO git rev-list b40e761271a4daa01a7f717af4ea5c5a6abf6021 -- 22:01:58 2023-11-14 22:01:58,116 [execute] DEBUG Popen(['git', 'rev-list', 'b40e761271a4daa01a7f717af4ea5c5a6abf6021', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:01:58 2023-11-14 22:01:58,126 [execute] INFO git fetch -v origin 22:01:58 2023-11-14 22:01:58,126 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:01:58 2023-11-14 22:01:58,672 [run_push] DEBUG no remote changes detected 22:01:58 2023-11-14 22:01:58,672 [execute] INFO git push origin semver 22:01:58 2023-11-14 22:01:58,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:01:59 2023-11-14 22:01:59,420 [run_push] DEBUG push all version tags 22:01:59 2023-11-14 22:01:59,420 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:01:59 2023-11-14 22:01:59,421 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 22:02:00 2023-11-14 22:02:00,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:02:00 3.1.0-dev.26 [Pipeline] } 22:02:00 $ docker exec --env ******** --env ******** 0ae190f87eaa3a13fb92f6497055bed9af89dc8097848fc53f36964af2e048f6 ssh-agent -k 22:02:00 unset SSH_AUTH_SOCK; 22:02:00 unset SSH_AGENT_PID; 22:02:00 echo Agent pid 37 killed; 22:02:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:00 + git semver [Pipeline] } 22:02:00 $ docker stop --time=1 0ae190f87eaa3a13fb92f6497055bed9af89dc8097848fc53f36964af2e048f6 22:02:02 $ docker rm -f --volumes 0ae190f87eaa3a13fb92f6497055bed9af89dc8097848fc53f36964af2e048f6 [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:02:02 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 22:02:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:02:02 total 16 22:02:02 drwxr-xr-x 3 root root 4096 Nov 14 21:49 . 22:02:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:01 .. 22:02:02 drwxr-xr-x 2 root root 4096 Nov 14 21:49 cost 22:02:02 -rw-r--r-- 1 root root 86 Nov 14 21:49 cost.csv 22:02:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:02:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:02:02 total 16 22:02:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:49 . 22:02:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:01 .. 22:02:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:49 cost 22:02:02 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:02:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:02:04 ---> package-listing.sh 22:02:04 ++ facter osfamily 22:02:04 ++ tr '[:upper:]' '[:lower:]' 22:02:04 + OS_FAMILY=debian 22:02:04 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 22:02:04 + START_PACKAGES=/tmp/packages_start.txt 22:02:04 + END_PACKAGES=/tmp/packages_end.txt 22:02:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:02:04 + PACKAGES=/tmp/packages_start.txt 22:02:04 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:02:04 + PACKAGES=/tmp/packages_end.txt 22:02:04 + case "${OS_FAMILY}" in 22:02:04 + dpkg -l 22:02:04 + grep '^ii' 22:02:04 + '[' -f /tmp/packages_start.txt ']' 22:02:04 + '[' -f /tmp/packages_end.txt ']' 22:02:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:02:04 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:02:04 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 22:02:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 22:02:04 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-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:02:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:05 prd-ubuntu20.04-docker-8c-8g-17547 does not seem to be running inside a container 22:02:05 $ 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-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:02:05 $ docker top 5f5e39c02e21e48094ef60b659eaefab846deaaa20ee182270a24829d0e469b9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:02:06 + mkdir -p /var/log/sysstat [Pipeline] sh 22:02:06 + ls /var/log/sa-host 22:02:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:02:06 provisioning config files... 22:02:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1694143929848367251tmp [Pipeline] { [Pipeline] echo 22:02:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:02:06 ---> create-netrc.sh [Pipeline] } 22:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:02:07 ---> python-tools-install.sh [Pipeline] echo 22:02:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:02:07 ---> sudo-logs.sh 22:02:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:02:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:02:07 ---> job-cost.sh 22:02:07 lf-activate-venv: SKIPPING 22:02:07 DEBUG: total: 0.2199999988079071 22:02:07 INFO: Retrieving Stack Cost... 22:02:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:02:08 INFO: Archiving Costs [Pipeline] echo 22:02:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:02:08 ---> logs-deploy.sh 22:02:08 lf-activate-venv: SKIPPING 22:02:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/153 22:02:08 INFO: archiving workspace using pattern(s): 22:02:09 Archives upload complete. 22:02:09 INFO: archiving logs to Nexus