Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57e3d53da137a61fe75c45ca6235a80f80bfde57 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-ssh1857452217919614925.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4025585698161765547.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh149179538584734812.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3612552931502052019.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-ssh5673461753854593357.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, buildSnap:false] ========================================================= [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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13852 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 57e3d53da137a61fe75c45ca6235a80f80bfde57 (main) Commit message: "Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" > 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 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 > git rev-list --no-walk 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:24:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:24:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:24:04 ========================================================= 06:24:04 EdgeX Global Pipelines Version Info 06:24:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:24:05 ------------------- 06:24:05 stable info: 06:24:05 ------------------- 06:24:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:24:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:24:05 Message: update stable to v1.0.249 06:24:06 ------------------- 06:24:06 experimental info: 06:24:06 ------------------- 06:24:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:24:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:24:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57e3d53 [Pipeline] echo 06:24:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:06 provisioning config files... 06:24:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13303986040041603496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:07 ---> docker-login.sh 06:24:07 nexus3.edgexfoundry.org:10001 06:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:07 Configure a credential helper to remove this warning. See 06:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:07 06:24:07 Login Succeeded 06:24:07 nexus3.edgexfoundry.org:10002 06:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:07 Configure a credential helper to remove this warning. See 06:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:07 06:24:07 Login Succeeded 06:24:07 nexus3.edgexfoundry.org:10003 06:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:07 Configure a credential helper to remove this warning. See 06:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:07 06:24:07 Login Succeeded 06:24:07 nexus3.edgexfoundry.org:10004 06:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:07 Configure a credential helper to remove this warning. See 06:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:07 06:24:07 Login Succeeded 06:24:07 docker.io 06:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:07 Configure a credential helper to remove this warning. See 06:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:07 06:24:07 Login Succeeded 06:24:07 ---> docker-login.sh ends [Pipeline] } 06:24:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:24:08 + git rev-list -1 --merges 57e3d53da137a61fe75c45ca6235a80f80bfde57~1..57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] echo 06:24:08 -----------> git rev-list -1 --merges 57e3d53da137a61fe75c45ca6235a80f80bfde57~1..57e3d53da137a61fe75c45ca6235a80f80bfde57 57e3d53da137a61fe75c45ca6235a80f80bfde57 06:24:08 57e3d53da137a61fe75c45ca6235a80f80bfde57 [false] [Pipeline] sh 06:24:08 + git log --format=format:%s -1 57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] echo 06:24:08 ========================================================= 06:24:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:24:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:08 + git log --format=format:%s -1 57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] echo 06:24:08 [semverPrep] GIT_COMMIT: 57e3d53da137a61fe75c45ca6235a80f80bfde57, Commit Message: Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82 [Pipeline] echo 06:24:08 [semverPrep] This is not a build commit. [Pipeline] sh 06:24:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:09 + grep -v github /etc/ssh/ssh_known_hosts 06:24:09 + [ -e /tmp/ssh_known_hosts ] 06:24:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:24:09 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:24:09 sudo tee -a /etc/ssh/ssh_known_hosts 06:24:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:09 06:24:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:10 0.1.4: Pulling from edgex-devops/py-git-semver 06:24:10 b85a868b505f: Pulling fs layer 06:24:10 e2be974225ed: Pulling fs layer 06:24:10 339a4e72a1f5: Pulling fs layer 06:24:10 988bab9f4d93: Pulling fs layer 06:24:10 1469e6f7b9e6: Pulling fs layer 06:24:10 eaf3925da568: Pulling fs layer 06:24:10 bab4dde63d76: Pulling fs layer 06:24:10 bde34c3a00c8: Pulling fs layer 06:24:10 b352a97aabf1: Pulling fs layer 06:24:10 4872d77fe225: Pulling fs layer 06:24:10 5851b861e8e6: Pulling fs layer 06:24:10 bde34c3a00c8: Waiting 06:24:10 b352a97aabf1: Waiting 06:24:10 4872d77fe225: Waiting 06:24:10 988bab9f4d93: Waiting 06:24:10 1469e6f7b9e6: Waiting 06:24:10 eaf3925da568: Waiting 06:24:10 5851b861e8e6: Waiting 06:24:10 bab4dde63d76: Waiting 06:24:10 e2be974225ed: Verifying Checksum 06:24:10 e2be974225ed: Download complete 06:24:10 988bab9f4d93: Download complete 06:24:10 1469e6f7b9e6: Verifying Checksum 06:24:10 1469e6f7b9e6: Download complete 06:24:10 339a4e72a1f5: Verifying Checksum 06:24:10 339a4e72a1f5: Download complete 06:24:10 eaf3925da568: Verifying Checksum 06:24:10 eaf3925da568: Download complete 06:24:10 bde34c3a00c8: Download complete 06:24:10 b352a97aabf1: Verifying Checksum 06:24:10 b352a97aabf1: Download complete 06:24:10 4872d77fe225: Verifying Checksum 06:24:10 4872d77fe225: Download complete 06:24:10 5851b861e8e6: Verifying Checksum 06:24:10 5851b861e8e6: Download complete 06:24:10 b85a868b505f: Verifying Checksum 06:24:10 b85a868b505f: Download complete 06:24:10 bab4dde63d76: Verifying Checksum 06:24:10 bab4dde63d76: Download complete 06:24:11 b85a868b505f: Pull complete 06:24:11 e2be974225ed: Pull complete 06:24:12 339a4e72a1f5: Pull complete 06:24:12 988bab9f4d93: Pull complete 06:24:12 1469e6f7b9e6: Pull complete 06:24:12 eaf3925da568: Pull complete 06:24:14 bab4dde63d76: Pull complete 06:24:14 bde34c3a00c8: Pull complete 06:24:14 b352a97aabf1: Pull complete 06:24:14 4872d77fe225: Pull complete 06:24:14 5851b861e8e6: Pull complete 06:24:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:14 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:24: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 06:24:18 $ docker top ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f -eo pid,comm 06:24: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). 06:24:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:18 [ssh-agent] Looking for ssh-agent implementation... 06:24:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:18 $ docker exec ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f ssh-agent 06:24:18 SSH_AUTH_SOCK=/tmp/ssh-2f64wEYb1e7M/agent.32 06:24:18 SSH_AGENT_PID=38 06:24:18 Running ssh-add (command line suppressed) 06:24:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7776898642055388332.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7776898642055388332.key) 06:24:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:18 + git tag --points-at HEAD [Pipeline] } 06:24:18 $ docker exec --env ******** --env ******** ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f ssh-agent -k 06:24:18 unset SSH_AUTH_SOCK; 06:24:18 unset SSH_AGENT_PID; 06:24:18 echo Agent pid 38 killed; 06:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:24:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:18 [ssh-agent] Looking for ssh-agent implementation... 06:24:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:19 $ docker exec ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f ssh-agent 06:24:19 SSH_AUTH_SOCK=/tmp/ssh-CcIBvjKgCrcr/agent.70 06:24:19 SSH_AGENT_PID=76 06:24:19 Running ssh-add (command line suppressed) 06:24:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6516315852489435631.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6516315852489435631.key) 06:24:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:19 + git semver init 06:24:19 2023-05-05 06:24:19,753 [run_init] DEBUG init version:0.0.0 force:False 06:24:19 2023-05-05 06:24:19,753 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:24:19 2023-05-05 06:24:19,754 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:24:19 2023-05-05 06:24:19,754 [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) 06:24:20 2023-05-05 06:24:20,551 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:24:20 2023-05-05 06:24:20,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 06:24:20 2023-05-05 06:24:20,552 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:20 2023-05-05 06:24:20,552 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:20 3.0.0-dev.32 [Pipeline] } 06:24:20 $ docker exec --env ******** --env ******** ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f ssh-agent -k 06:24:20 unset SSH_AUTH_SOCK; 06:24:20 unset SSH_AGENT_PID; 06:24:20 echo Agent pid 76 killed; 06:24:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:21 + git semver [Pipeline] } 06:24:21 $ docker stop --time=1 ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f 06:24:22 $ docker rm -f --volumes ff432276de583220140bc057560642dc7648a884687e039ca9bdb6c35e92368f [Pipeline] // withDockerContainer [Pipeline] sh 06:24:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:24:23 Stashed 1 file(s) [Pipeline] echo 06:24:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [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 06:24:23 provisioning config files... 06:24:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4302767186681085639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:23 ---> docker-login.sh 06:24:23 nexus3.edgexfoundry.org:10001 06:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:23 Configure a credential helper to remove this warning. See 06:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:23 06:24:23 Login Succeeded 06:24:23 nexus3.edgexfoundry.org:10002 06:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:23 Configure a credential helper to remove this warning. See 06:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:23 06:24:23 Login Succeeded 06:24:23 nexus3.edgexfoundry.org:10003 06:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:24 Configure a credential helper to remove this warning. See 06:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:24 06:24:24 Login Succeeded 06:24:24 nexus3.edgexfoundry.org:10004 06:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:24 Configure a credential helper to remove this warning. See 06:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:24 06:24:24 Login Succeeded 06:24:24 docker.io 06:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:24 Configure a credential helper to remove this warning. See 06:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:24 06:24:24 Login Succeeded 06:24:24 ---> docker-login.sh ends [Pipeline] } 06:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:24:24 ========================================================= 06:24:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:24:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:24:24 Sending build context to Docker daemon 6.497MB 06:24:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:24:24 Step 2/12 : FROM ${BASE} AS builder 06:24:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:24:24 f56be85fc22e: Pulling fs layer 06:24:24 85791d961cd3: Pulling fs layer 06:24:24 d694b5ae8c79: Pulling fs layer 06:24:24 9f32a84ed3da: Pulling fs layer 06:24:24 4d19c01a9841: Pulling fs layer 06:24:24 9325e15d5711: Pulling fs layer 06:24:24 9f32a84ed3da: Waiting 06:24:24 4d19c01a9841: Waiting 06:24:24 556b6ee489ea: Pulling fs layer 06:24:24 9325e15d5711: Waiting 06:24:24 c5a4b2cf53e6: Pulling fs layer 06:24:24 556b6ee489ea: Waiting 06:24:24 c5a4b2cf53e6: Waiting 06:24:24 85791d961cd3: Download complete 06:24:24 9f32a84ed3da: Download complete 06:24:24 4d19c01a9841: Verifying Checksum 06:24:24 4d19c01a9841: Download complete 06:24:24 f56be85fc22e: Download complete 06:24:24 9325e15d5711: Verifying Checksum 06:24:24 9325e15d5711: Download complete 06:24:24 f56be85fc22e: Pull complete 06:24:25 85791d961cd3: Pull complete 06:24:25 d694b5ae8c79: Verifying Checksum 06:24:25 d694b5ae8c79: Download complete 06:24:25 c5a4b2cf53e6: Verifying Checksum 06:24:25 c5a4b2cf53e6: Download complete 06:24:25 556b6ee489ea: Verifying Checksum 06:24:25 556b6ee489ea: Download complete 06:24:28 d694b5ae8c79: Pull complete 06:24:28 9f32a84ed3da: Pull complete 06:24:28 4d19c01a9841: Pull complete 06:24:28 9325e15d5711: Pull complete 06:24:31 556b6ee489ea: Pull complete 06:24:31 c5a4b2cf53e6: Pull complete 06:24:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:24:31 ---> c4be618373d6 06:24:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:24:36 ---> Running in 2e84bcc9dc06 06:24:36 Removing intermediate container 2e84bcc9dc06 06:24:36 ---> 5af864d62e8c 06:24:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:24:36 ---> Running in 65d0c04a6c01 06:24:36 Removing intermediate container 65d0c04a6c01 06:24:36 ---> 909fac021681 06:24:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:24:36 ---> Running in 7297c4be1b8b 06:24:37 Removing intermediate container 7297c4be1b8b 06:24:37 ---> d80e0e13bfc9 06:24:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:24:37 ---> Running in 34d42e2b5d3b 06:24:37 Removing intermediate container 34d42e2b5d3b 06:24:37 ---> 92d1ad135ea8 06:24:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:24:37 ---> Running in 10d461911e17 06:24:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:24:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:24:38 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:24:38 (2/4) Installing libedit (20221030.3.1-r0) 06:24:38 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:24:38 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:24:38 Executing busybox-1.35.0-r29.trigger 06:24:38 OK: 269 MiB in 57 packages 06:24:38 Still waiting to schedule task 06:24:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:24:38 Removing intermediate container 10d461911e17 06:24:38 ---> cecd7ddfd2b2 06:24:38 Step 8/12 : WORKDIR /device-mqtt-go 06:24:38 ---> Running in d3c4abe2754e 06:24:38 Removing intermediate container d3c4abe2754e 06:24:38 ---> 4b06080efcff 06:24:38 Step 9/12 : COPY go.mod vendor* ./ 06:24:38 ---> c47e7188a589 06:24:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:38 ---> Running in a0b2d167a00c 06:25:05 Removing intermediate container a0b2d167a00c 06:25:05 ---> cfbbe2aad475 06:25:05 Step 11/12 : COPY . . 06:25:06 ---> 364f0a97c5a1 06:25:06 Step 12/12 : RUN $MAKE 06:25:06 ---> Running in e1502ea0c59d 06:25:06 noop 06:25:06 Removing intermediate container e1502ea0c59d 06:25:06 ---> 59c5a70069a4 06:25:06 Successfully built 59c5a70069a4 06:25:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:07 + docker inspect -f . ci-base-image-x86_64 06:25:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:07 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:25:07 $ 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 06:25:07 $ docker top abe3d1c8b5e6a856ef71ae5450cb31900498b351bb4c03d6d67534f11414b71a -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:07 + go version 06:25:07 go version go1.20.2 linux/amd64 [Pipeline] } 06:25:07 $ docker stop --time=1 abe3d1c8b5e6a856ef71ae5450cb31900498b351bb4c03d6d67534f11414b71a 06:25:09 $ docker rm -f --volumes abe3d1c8b5e6a856ef71ae5450cb31900498b351bb4c03d6d67534f11414b71a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:09 + docker inspect -f . ci-base-image-x86_64 06:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:09 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:25:09 $ 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 06:25:10 $ docker top baca4ccd9adf9b9bdfc78b266049d46bb73aa8e9c5964a9222e9db9658b73af0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 06:25:10 + make test 06:25:10 go test ./... -coverprofile=coverage.out ./... 06:25:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:25:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:25:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:25:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 06:25:32 go vet ./... 06:25:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:25:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:25:35 ./bin/test-attribution-txt.sh [Pipeline] echo 06:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:25:35 $ docker stop --time=1 baca4ccd9adf9b9bdfc78b266049d46bb73aa8e9c5964a9222e9db9658b73af0 06:25:39 $ docker rm -f --volumes baca4ccd9adf9b9bdfc78b266049d46bb73aa8e9c5964a9222e9db9658b73af0 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:25:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:25:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:25:40 + ls -al . 06:25:40 total 180 06:25:40 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:25 . 06:25:40 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:24 .. 06:25:40 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:24 .dockerignore 06:25:40 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:24 .git 06:25:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 .github 06:25:40 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:24 .gitignore 06:25:40 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:24 .golangci.yml 06:25:40 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:24 .semver 06:25:40 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 06:24 Attribution.txt 06:25:40 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 06:24 CHANGELOG.md 06:25:40 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 06:24 Dockerfile 06:25:40 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:24 GOVERNANCE.md 06:25:40 -rw-rw-r-- 1 jenkins jenkins 678 May 5 06:24 Jenkinsfile 06:25:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:24 LICENSE 06:25:40 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 06:24 Makefile 06:25:40 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:24 OWNERS.md 06:25:40 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 06:24 README.md 06:25:40 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:24 VERSION 06:25:40 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:24 bin 06:25:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 cmd 06:25:40 -rw-r--r-- 1 jenkins jenkins 18144 May 5 06:25 coverage.out 06:25:40 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 06:24 go.mod 06:25:40 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:24 go.sum 06:25:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 internal 06:25:40 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:24 mock 06:25:40 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:24 snap 06:25:40 -rw-rw-r-- 1 jenkins jenkins 227 May 5 06:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:40 + 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=57e3d53da137a61fe75c45ca6235a80f80bfde57 --label arch=amd64 --label version=3.0.0-dev.32 . 06:25:40 Sending build context to Docker daemon 6.516MB 06:25:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:25:40 Step 2/24 : FROM ${BASE} AS builder 06:25:40 ---> 59c5a70069a4 06:25:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:25:41 ---> Running in 2f38a8b9c849 06:25:41 Removing intermediate container 2f38a8b9c849 06:25:41 ---> f126ca7c4ea0 06:25:41 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:25:41 ---> Running in f798cb6c7f64 06:25:41 Removing intermediate container f798cb6c7f64 06:25:41 ---> e70e05f2323d 06:25:41 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:25:41 ---> Running in deeccb02597c 06:25:41 Removing intermediate container deeccb02597c 06:25:41 ---> 2712cc982dfc 06:25:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:25:41 ---> Running in 565c1178c00c 06:25:41 Removing intermediate container 565c1178c00c 06:25:41 ---> a03fbfaa65e8 06:25:41 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:25:41 ---> Running in 28b25d2e083d 06:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:25:41 OK: 269 MiB in 57 packages 06:25:42 Removing intermediate container 28b25d2e083d 06:25:42 ---> 60bdf0d6e2e1 06:25:42 Step 8/24 : WORKDIR /device-mqtt-go 06:25:42 ---> Running in 0356e2df2c03 06:25:42 Removing intermediate container 0356e2df2c03 06:25:42 ---> 5d894f2663b4 06:25:42 Step 9/24 : COPY go.mod vendor* ./ 06:25:42 ---> 7df478f1b1af 06:25:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:25:42 ---> Running in bd6a9fbb879e 06:25:43 Removing intermediate container bd6a9fbb879e 06:25:43 ---> 45409d3b2136 06:25:43 Step 11/24 : COPY . . 06:25:43 ---> 7d0a0c317a31 06:25:43 Step 12/24 : RUN $MAKE 06:25:43 ---> Running in 666c85bb7f26 06:25:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:26:05 Removing intermediate container 666c85bb7f26 06:26:05 ---> 15e6f22b9b37 06:26:05 Step 13/24 : FROM alpine:3.17 06:26:05 3.17: Pulling from library/alpine 06:26:05 f56be85fc22e: Already exists 06:26:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:26:05 Status: Downloaded newer image for alpine:3.17 06:26:05 ---> 9ed4aefc74f6 06:26:05 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:26:05 ---> Running in 5154f2de1d4d 06:26:05 Removing intermediate container 5154f2de1d4d 06:26:05 ---> eea867533e92 06:26:05 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:26:05 ---> Running in 135317d0a252 06:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:26:05 (1/1) Installing dumb-init (1.2.5-r2) 06:26:05 Executing busybox-1.35.0-r29.trigger 06:26:05 OK: 7 MiB in 16 packages 06:26:05 Removing intermediate container 135317d0a252 06:26:05 ---> 7cb5ce01fe86 06:26:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:26:05 ---> 45c60bf2721e 06:26:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:26:05 ---> 6d5d861430a1 06:26:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:26:05 ---> b522b33b7c7e 06:26:05 Step 19/24 : EXPOSE 59982 06:26:05 ---> Running in 2cde86a4c6ee 06:26:05 Removing intermediate container 2cde86a4c6ee 06:26:05 ---> 929b0e4fbdbf 06:26:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:26:05 ---> Running in 2e925f9a512f 06:26:05 Removing intermediate container 2e925f9a512f 06:26:05 ---> 8512206eaf79 06:26:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:26:05 ---> Running in a058af3a16c7 06:26:05 Removing intermediate container a058af3a16c7 06:26:05 ---> 1e2bddcc163b 06:26:05 Step 22/24 : LABEL arch=amd64 06:26:05 ---> Running in 2314d25d0930 06:26:05 Removing intermediate container 2314d25d0930 06:26:05 ---> 8697282cf150 06:26:05 Step 23/24 : LABEL git_sha=57e3d53da137a61fe75c45ca6235a80f80bfde57 06:26:05 ---> Running in 0b2424c63b1a 06:26:05 Removing intermediate container 0b2424c63b1a 06:26:05 ---> d4325b6da225 06:26:05 Step 24/24 : LABEL version=3.0.0-dev.32 06:26:05 ---> Running in 7fe3aabb3dea 06:26:05 Removing intermediate container 7fe3aabb3dea 06:26:05 ---> d7f9894aa0af 06:26:05 [Warning] One or more build-args [ARCH] were not consumed 06:26:05 Successfully built d7f9894aa0af 06:26:05 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:06 provisioning config files... 06:26:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8063555640598145115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:06 ---> docker-login.sh 06:26:06 nexus3.edgexfoundry.org:10001 06:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:06 Configure a credential helper to remove this warning. See 06:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:06 06:26:06 Login Succeeded 06:26:06 nexus3.edgexfoundry.org:10002 06:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:06 Configure a credential helper to remove this warning. See 06:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:06 06:26:06 Login Succeeded 06:26:06 nexus3.edgexfoundry.org:10003 06:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:06 Configure a credential helper to remove this warning. See 06:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:06 06:26:06 Login Succeeded 06:26:06 nexus3.edgexfoundry.org:10004 06:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:06 Configure a credential helper to remove this warning. See 06:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:06 06:26:06 Login Succeeded 06:26:06 docker.io 06:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:06 Configure a credential helper to remove this warning. See 06:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:06 06:26:06 Login Succeeded 06:26:06 ---> docker-login.sh ends [Pipeline] } 06:26:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:26:06 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:26:06 57e3d53da137a61fe75c45ca6235a80f80bfde57 06:26:06 latest 06:26:06 3.0.0-dev.32 06:26:06 57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:26:06 main 06:26:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57 06:26:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:26:07 c28130d0d9a5: Preparing 06:26:07 7306c8ed016c: Preparing 06:26:07 013ae23b1d7b: Preparing 06:26:07 ae6132ca3d4c: Preparing 06:26:07 f1417ff83b31: Preparing 06:26:07 f1417ff83b31: Layer already exists 06:26:07 ae6132ca3d4c: Pushed 06:26:07 c28130d0d9a5: Pushed 06:26:07 7306c8ed016c: Pushed 06:26:10 013ae23b1d7b: Pushed 06:26:10 57e3d53da137a61fe75c45ca6235a80f80bfde57: digest: sha256:2ca68a01cf73293df0a0ecad30ddb4a67f803e4fdfae4e34803fd30b1883783b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:26:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:26:10 c28130d0d9a5: Preparing 06:26:10 7306c8ed016c: Preparing 06:26:10 013ae23b1d7b: Preparing 06:26:10 ae6132ca3d4c: Preparing 06:26:10 f1417ff83b31: Preparing 06:26:10 013ae23b1d7b: Layer already exists 06:26:10 ae6132ca3d4c: Layer already exists 06:26:10 7306c8ed016c: Layer already exists 06:26:10 f1417ff83b31: Layer already exists 06:26:10 c28130d0d9a5: Layer already exists 06:26:10 latest: digest: sha256:2ca68a01cf73293df0a0ecad30ddb4a67f803e4fdfae4e34803fd30b1883783b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.32 06:26:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:26:11 c28130d0d9a5: Preparing 06:26:11 7306c8ed016c: Preparing 06:26:11 013ae23b1d7b: Preparing 06:26:11 ae6132ca3d4c: Preparing 06:26:11 f1417ff83b31: Preparing 06:26:11 7306c8ed016c: Layer already exists 06:26:11 c28130d0d9a5: Layer already exists 06:26:11 ae6132ca3d4c: Layer already exists 06:26:11 f1417ff83b31: Layer already exists 06:26:11 013ae23b1d7b: Layer already exists 06:26:11 3.0.0-dev.32: digest: sha256:2ca68a01cf73293df0a0ecad30ddb4a67f803e4fdfae4e34803fd30b1883783b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:26:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:26:11 c28130d0d9a5: Preparing 06:26:11 7306c8ed016c: Preparing 06:26:11 013ae23b1d7b: Preparing 06:26:11 ae6132ca3d4c: Preparing 06:26:11 f1417ff83b31: Preparing 06:26:11 c28130d0d9a5: Layer already exists 06:26:11 013ae23b1d7b: Layer already exists 06:26:11 f1417ff83b31: Layer already exists 06:26:11 ae6132ca3d4c: Layer already exists 06:26:11 7306c8ed016c: Layer already exists 06:26:11 57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32: digest: sha256:2ca68a01cf73293df0a0ecad30ddb4a67f803e4fdfae4e34803fd30b1883783b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:26:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:26:12 c28130d0d9a5: Preparing 06:26:12 7306c8ed016c: Preparing 06:26:12 013ae23b1d7b: Preparing 06:26:12 ae6132ca3d4c: Preparing 06:26:12 f1417ff83b31: Preparing 06:26:12 ae6132ca3d4c: Layer already exists 06:26:12 013ae23b1d7b: Layer already exists 06:26:12 c28130d0d9a5: Layer already exists 06:26:12 7306c8ed016c: Layer already exists 06:26:12 f1417ff83b31: Layer already exists 06:26:12 main: digest: sha256:2ca68a01cf73293df0a0ecad30ddb4a67f803e4fdfae4e34803fd30b1883783b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:26:12 ===================================================== [Pipeline] echo 06:26:12 taggedImages: 06:26:12 - nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57 06:26:12 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:26:12 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.32 06:26:12 - nexus3.edgexfoundry.org:10004/device-mqtt:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:26:12 - 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 06:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:12 06:26:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:14 latest: Pulling from edgex-lftools-log-publisher 06:26:14 5eb5b503b376: Pulling fs layer 06:26:14 5c69ac0246d0: Pulling fs layer 06:26:14 ec43610c2a17: Pulling fs layer 06:26:14 3a2ae6a8a46f: Pulling fs layer 06:26:14 33b1e0a273af: Pulling fs layer 06:26:14 5d3b04190fa2: Pulling fs layer 06:26:14 2f39f015ded8: Pulling fs layer 06:26:14 33b1e0a273af: Waiting 06:26:14 5d3b04190fa2: Waiting 06:26:14 3a2ae6a8a46f: Waiting 06:26:14 5c69ac0246d0: Verifying Checksum 06:26:14 5c69ac0246d0: Download complete 06:26:14 3a2ae6a8a46f: Verifying Checksum 06:26:14 3a2ae6a8a46f: Download complete 06:26:14 ec43610c2a17: Verifying Checksum 06:26:14 ec43610c2a17: Download complete 06:26:14 33b1e0a273af: Verifying Checksum 06:26:14 33b1e0a273af: Download complete 06:26:14 5d3b04190fa2: Verifying Checksum 06:26:14 5d3b04190fa2: Download complete 06:26:14 5eb5b503b376: Verifying Checksum 06:26:14 5eb5b503b376: Download complete 06:26:15 2f39f015ded8: Verifying Checksum 06:26:15 2f39f015ded8: Download complete 06:26:16 5eb5b503b376: Pull complete 06:26:16 5c69ac0246d0: Pull complete 06:26:16 ec43610c2a17: Pull complete 06:26:16 3a2ae6a8a46f: Pull complete 06:26:16 33b1e0a273af: Pull complete 06:26:17 5d3b04190fa2: Pull complete 06:26:21 2f39f015ded8: Pull complete 06:26:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:21 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:26:21 $ 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 06:26:25 $ docker top 865accdecb5cd2ae32c702ebc9ec21278b53c62f7f034a5d00c6d7532db935b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:25 ---> job-cost.sh 06:26:25 lf-activate-venv: SKIPPING 06:26:25 INFO: No Stack... 06:26:26 INFO: Retrieving Pricing Info for: v3-standard-8 06:26:26 INFO: Archiving Costs [Pipeline] sh 06:26:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13854 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:26:26 Running in /w/workspace/device-mqtt-go/116 [Pipeline] { [Pipeline] checkout 06:26:26 Selected Git installation does not exist. Using Default 06:26:26 The recommended git tool is: NONE 06:26:26 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:26:26 + cut -d, -f6 [Pipeline] lock 06:26:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] 06:26:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] did not exist. Created. 06:26:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:26 + echo total: 0.2199999988079071 [Pipeline] stash 06:26:26 Stashed 1 file(s) [Pipeline] } 06:26:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:26 $ docker stop --time=1 865accdecb5cd2ae32c702ebc9ec21278b53c62f7f034a5d00c6d7532db935b5 06:26:28 $ docker rm -f --volumes 865accdecb5cd2ae32c702ebc9ec21278b53c62f7f034a5d00c6d7532db935b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:26:32 using credential edgex-jenkins-ssh 06:26:32 Cloning the remote Git repository 06:26:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:26:32 > git init /w/workspace/device-mqtt-go/116 # timeout=10 06:26:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:26:32 > git --version # timeout=10 06:26:32 > git --version # 'git version 2.25.1' 06:26:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:35 Avoid second fetch 06:26:35 Checking out Revision 57e3d53da137a61fe75c45ca6235a80f80bfde57 (main) 06:26:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:26:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:35 > git config core.sparsecheckout # timeout=10 06:26:35 Commit message: "Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:35 > git checkout -f 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 06:26:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:26:36 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:36 Dload Upload Total Spent Left Speed 06:26:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 06:26:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:26:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:26:37 + sudo tee /etc/docker/daemon.new 06:26:37 { 06:26:37 "registry-mirrors": [ 06:26:37 "https://nexus3.edgexfoundry.org:10001" 06:26:37 ], 06:26:37 "bip": "10.250.0.254/24", 06:26:37 "hosts": [ 06:26:37 "tcp://0.0.0.0:5555", 06:26:37 "unix:///var/run/docker.sock" 06:26:37 ], 06:26:37 "mtu": 1458, 06:26:37 "selinux-enabled": true, 06:26:37 "seccomp-profile": "/etc/docker/seccomp.json" 06:26:37 } [Pipeline] sh 06:26:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:26:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:56 provisioning config files... 06:26:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/116@tmp/config13474820835466612277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:57 ---> docker-login.sh 06:26:57 nexus3.edgexfoundry.org:10001 06:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:57 Configure a credential helper to remove this warning. See 06:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:57 06:26:57 Login Succeeded 06:26:57 nexus3.edgexfoundry.org:10002 06:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:58 Configure a credential helper to remove this warning. See 06:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:58 06:26:58 Login Succeeded 06:26:58 nexus3.edgexfoundry.org:10003 06:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:58 Configure a credential helper to remove this warning. See 06:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:58 06:26:58 Login Succeeded 06:26:58 nexus3.edgexfoundry.org:10004 06:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:59 Configure a credential helper to remove this warning. See 06:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:59 06:26:59 Login Succeeded 06:26:59 docker.io 06:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:59 Configure a credential helper to remove this warning. See 06:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:59 06:26:59 Login Succeeded 06:26:59 ---> docker-login.sh ends [Pipeline] } 06:26:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:27:00 ========================================================= 06:27:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:27:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:27:00 Sending build context to Docker daemon 3.383MB 06:27:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:27:00 Step 2/12 : FROM ${BASE} AS builder 06:27:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:00 c41833b44d91: Pulling fs layer 06:27:00 ed15518f5707: Pulling fs layer 06:27:00 feae8fd75edb: Pulling fs layer 06:27:00 242c74f7c9fa: Pulling fs layer 06:27:00 3cdef696dda3: Pulling fs layer 06:27:00 2ced38df9373: Pulling fs layer 06:27:00 58f1dce35555: Pulling fs layer 06:27:00 242c74f7c9fa: Waiting 06:27:00 3cdef696dda3: Waiting 06:27:00 2ced38df9373: Waiting 06:27:00 58f1dce35555: Waiting 06:27:00 ed15518f5707: Verifying Checksum 06:27:00 ed15518f5707: Download complete 06:27:00 242c74f7c9fa: Verifying Checksum 06:27:00 242c74f7c9fa: Download complete 06:27:00 3cdef696dda3: Verifying Checksum 06:27:00 3cdef696dda3: Download complete 06:27:00 c41833b44d91: Verifying Checksum 06:27:02 c41833b44d91: Pull complete 06:27:02 58f1dce35555: Verifying Checksum 06:27:02 58f1dce35555: Download complete 06:27:03 ed15518f5707: Pull complete 06:27:04 feae8fd75edb: Download complete 06:27:04 2ced38df9373: Verifying Checksum 06:27:04 2ced38df9373: Download complete 06:27:17 feae8fd75edb: Pull complete 06:27:17 242c74f7c9fa: Pull complete 06:27:17 3cdef696dda3: Pull complete 06:27:24 2ced38df9373: Pull complete 06:27:26 58f1dce35555: Pull complete 06:27:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:27:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:27:26 ---> fadd8f120f05 06:27:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:27:28 ---> Running in 988fa1b9af8d 06:27:28 Removing intermediate container 988fa1b9af8d 06:27:28 ---> 57380f82ecec 06:27:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:27:29 ---> Running in f981b4acb67f 06:27:29 Removing intermediate container f981b4acb67f 06:27:29 ---> 473c3d909c1c 06:27:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:27:29 ---> Running in d43d4c77699d 06:27:29 Removing intermediate container d43d4c77699d 06:27:29 ---> bb91e45dc66c 06:27:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:27:29 ---> Running in 926be6199733 06:27:30 Removing intermediate container 926be6199733 06:27:30 ---> 45a53baf2be3 06:27:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:27:30 ---> Running in d5d4bff5a81b 06:27:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:27:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:27:33 (2/4) Installing libedit (20221030.3.1-r0) 06:27:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:27:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:27:33 Executing busybox-1.35.0-r29.trigger 06:27:33 OK: 268 MiB in 57 packages 06:27:36 Removing intermediate container d5d4bff5a81b 06:27:36 ---> 4a39dd7e15d7 06:27:36 Step 8/12 : WORKDIR /device-mqtt-go 06:27:36 ---> Running in 484bafeaad38 06:27:36 Removing intermediate container 484bafeaad38 06:27:36 ---> c3783a7dfa49 06:27:36 Step 9/12 : COPY go.mod vendor* ./ 06:27:37 ---> 93d4be1021f5 06:27:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:27:37 ---> Running in 87c174543212 06:28:45 Removing intermediate container 87c174543212 06:28:45 ---> edc64359f271 06:28:45 Step 11/12 : COPY . . 06:28:45 ---> 989cbddcb038 06:28:45 Step 12/12 : RUN $MAKE 06:28:45 ---> Running in 91129f76564b 06:28:45 noop 06:28:46 Removing intermediate container 91129f76564b 06:28:46 ---> e120ce469e97 06:28:46 Successfully built e120ce469e97 06:28:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:46 + docker inspect -f . ci-base-image-arm64 06:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:46 prd-ubuntu20.04-docker-arm64-4c-16g-13854 does not seem to be running inside a container 06:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/116 -v /w/workspace/device-mqtt-go/116:/w/workspace/device-mqtt-go/116:rw,z -v /w/workspace/device-mqtt-go/116@tmp:/w/workspace/device-mqtt-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:28:48 $ docker top 26d7f19a7e8e20d96e0e27519135f949b65ea6d951db3d3509eff5d55da81030 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:49 + go version 06:28:49 go version go1.20.2 linux/arm64 [Pipeline] } 06:28:49 $ docker stop --time=1 26d7f19a7e8e20d96e0e27519135f949b65ea6d951db3d3509eff5d55da81030 06:28:51 $ docker rm -f --volumes 26d7f19a7e8e20d96e0e27519135f949b65ea6d951db3d3509eff5d55da81030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:51 + docker inspect -f . ci-base-image-arm64 06:28:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:51 prd-ubuntu20.04-docker-arm64-4c-16g-13854 does not seem to be running inside a container 06:28:52 $ 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/116 -v /w/workspace/device-mqtt-go/116:/w/workspace/device-mqtt-go/116:rw,z -v /w/workspace/device-mqtt-go/116@tmp:/w/workspace/device-mqtt-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:28:53 $ docker top 644cb859093faa54f1fb5d9ecfd12db9414c4bdc061a5a55222c4690b8d743fa -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:54 + git config --global --add safe.directory /w/workspace/device-mqtt-go/116 [Pipeline] fileExists [Pipeline] sh 06:28:54 + make test 06:28:54 go test ./... -coverprofile=coverage.out ./... 06:29:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:31:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:31:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:31:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.090s coverage: 23.1% of statements 06:31:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:31:59 go vet ./... 06:32:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:32:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:32:32 ./bin/test-attribution-txt.sh [Pipeline] echo 06:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:32:32 $ docker stop --time=1 644cb859093faa54f1fb5d9ecfd12db9414c4bdc061a5a55222c4690b8d743fa 06:32:34 $ docker rm -f --volumes 644cb859093faa54f1fb5d9ecfd12db9414c4bdc061a5a55222c4690b8d743fa [Pipeline] // withDockerContainer [Pipeline] sh 06:32:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:32:35 Warning: overwriting stash ‘coverage-report’ 06:32:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:37 + ls -al . 06:32:37 total 176 06:32:37 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:28 . 06:32:37 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:26 .. 06:32:37 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:26 .dockerignore 06:32:37 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:26 .git 06:32:37 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 .github 06:32:37 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:26 .gitignore 06:32:37 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:26 .golangci.yml 06:32:37 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 06:26 Attribution.txt 06:32:37 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 06:26 CHANGELOG.md 06:32:37 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 06:26 Dockerfile 06:32:37 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:26 GOVERNANCE.md 06:32:37 -rw-rw-r-- 1 jenkins jenkins 678 May 5 06:26 Jenkinsfile 06:32:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:26 LICENSE 06:32:37 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 06:26 Makefile 06:32:37 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:26 OWNERS.md 06:32:37 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 06:26 README.md 06:32:37 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:24 VERSION 06:32:37 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:26 bin 06:32:37 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 cmd 06:32:37 -rw-r--r-- 1 jenkins jenkins 18144 May 5 06:31 coverage.out 06:32:37 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 06:26 go.mod 06:32:37 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:26 go.sum 06:32:37 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:26 internal 06:32:37 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:26 mock 06:32:37 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:26 snap 06:32:37 -rw-rw-r-- 1 jenkins jenkins 227 May 5 06:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:37 + 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=57e3d53da137a61fe75c45ca6235a80f80bfde57 --label arch=arm64 --label version=3.0.0-dev.32 . 06:32:37 Sending build context to Docker daemon 3.402MB 06:32:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:32:37 Step 2/24 : FROM ${BASE} AS builder 06:32:37 ---> e120ce469e97 06:32:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:32:37 ---> Running in 711c4200b607 06:32:38 Removing intermediate container 711c4200b607 06:32:38 ---> 2e3b70b6f28a 06:32:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:32:38 ---> Running in 2431d8d063ec 06:32:38 Removing intermediate container 2431d8d063ec 06:32:38 ---> 721608efdd3b 06:32:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:32:38 ---> Running in fb4d59ac71d8 06:32:39 Removing intermediate container fb4d59ac71d8 06:32:39 ---> f9f5232fa5b6 06:32:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:32:39 ---> Running in 1f75c6122cec 06:32:39 Removing intermediate container 1f75c6122cec 06:32:39 ---> bee9e325e3ab 06:32:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:39 ---> Running in 2c04e6d4285e 06:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:32:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:32:43 OK: 268 MiB in 57 packages 06:32:44 Removing intermediate container 2c04e6d4285e 06:32:44 ---> da1a2804eb33 06:32:44 Step 8/24 : WORKDIR /device-mqtt-go 06:32:44 ---> Running in a21e1a9e89fb 06:32:45 Removing intermediate container a21e1a9e89fb 06:32:45 ---> 19bf533f1d63 06:32:45 Step 9/24 : COPY go.mod vendor* ./ 06:32:45 ---> 5340f7d367d3 06:32:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:45 ---> Running in 6b4cadcc5278 06:32:49 Removing intermediate container 6b4cadcc5278 06:32:49 ---> 575507ab2fae 06:32:49 Step 11/24 : COPY . . 06:32:49 ---> 1fac88264d85 06:32:49 Step 12/24 : RUN $MAKE 06:32:50 ---> Running in 5972340c587c 06:32:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:35:27 Removing intermediate container 5972340c587c 06:35:27 ---> d70bcbda7099 06:35:27 Step 13/24 : FROM alpine:3.17 06:35:27 3.17: Pulling from library/alpine 06:35:27 c41833b44d91: Already exists 06:35:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:35:27 Status: Downloaded newer image for alpine:3.17 06:35:27 ---> 51e60588ff2c 06:35:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:35:27 ---> Running in e5750a032bc2 06:35:27 Removing intermediate container e5750a032bc2 06:35:27 ---> e170cac90853 06:35:27 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:35:27 ---> Running in f678f2058558 06:35:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:35:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:35:29 (1/1) Installing dumb-init (1.2.5-r2) 06:35:29 Executing busybox-1.35.0-r29.trigger 06:35:29 OK: 8 MiB in 16 packages 06:35:30 Removing intermediate container f678f2058558 06:35:30 ---> 317b47b46d05 06:35:30 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:35:31 ---> 7bfddcfd0cf0 06:35:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:35:32 ---> 448d8386b81f 06:35:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:35:32 ---> 67cd688c6a21 06:35:32 Step 19/24 : EXPOSE 59982 06:35:32 ---> Running in 3ddb85407d39 06:35:33 Removing intermediate container 3ddb85407d39 06:35:33 ---> fa84c33f0fdb 06:35:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:35:33 ---> Running in af7575fd7cea 06:35:33 Removing intermediate container af7575fd7cea 06:35:33 ---> 07b87e7883d6 06:35:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:35:33 ---> Running in 47a3b608dfa3 06:35:34 Removing intermediate container 47a3b608dfa3 06:35:34 ---> cb1f200e895a 06:35:34 Step 22/24 : LABEL arch=arm64 06:35:34 ---> Running in 970f6cb65802 06:35:34 Removing intermediate container 970f6cb65802 06:35:34 ---> f451c48d9946 06:35:34 Step 23/24 : LABEL git_sha=57e3d53da137a61fe75c45ca6235a80f80bfde57 06:35:34 ---> Running in 1fa3a8df61e8 06:35:34 Removing intermediate container 1fa3a8df61e8 06:35:34 ---> d8d81c6e501c 06:35:34 Step 24/24 : LABEL version=3.0.0-dev.32 06:35:35 ---> Running in 8ef57b2b2065 06:35:35 Removing intermediate container 8ef57b2b2065 06:35:35 ---> 3e48c560002f 06:35:35 [Warning] One or more build-args [ARCH] were not consumed 06:35:35 Successfully built 3e48c560002f 06:35:35 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 06:35:35 provisioning config files... 06:35:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/116@tmp/config17482038695402865672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:35 ---> docker-login.sh 06:35:35 nexus3.edgexfoundry.org:10001 06:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:36 Configure a credential helper to remove this warning. See 06:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:36 06:35:36 Login Succeeded 06:35:36 nexus3.edgexfoundry.org:10002 06:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:36 Configure a credential helper to remove this warning. See 06:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:36 06:35:36 Login Succeeded 06:35:36 nexus3.edgexfoundry.org:10003 06:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:37 Configure a credential helper to remove this warning. See 06:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:37 06:35:37 Login Succeeded 06:35:37 nexus3.edgexfoundry.org:10004 06:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:37 Configure a credential helper to remove this warning. See 06:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:37 06:35:37 Login Succeeded 06:35:37 docker.io 06:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:38 Configure a credential helper to remove this warning. See 06:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:38 06:35:38 Login Succeeded 06:35:38 ---> docker-login.sh ends [Pipeline] } 06:35:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:38 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:35:38 57e3d53da137a61fe75c45ca6235a80f80bfde57 06:35:38 latest 06:35:38 3.0.0-dev.32 06:35:38 57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:35:38 main 06:35:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57 06:35:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:35:38 fd2e5ea29203: Preparing 06:35:38 9c72628d3589: Preparing 06:35:38 fc7a5272ec74: Preparing 06:35:38 f3f7d8487acd: Preparing 06:35:38 26cbea5cba74: Preparing 06:35:38 26cbea5cba74: Layer already exists 06:35:39 fd2e5ea29203: Pushed 06:35:39 9c72628d3589: Pushed 06:35:39 f3f7d8487acd: Pushed 06:35:44 fc7a5272ec74: Pushed 06:35:44 57e3d53da137a61fe75c45ca6235a80f80bfde57: digest: sha256:27f43ab9dbac6cd9187e7fe6845d7157782c0d24d2f4b3ef10171bb1d627f15f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:35:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:35:47 fd2e5ea29203: Preparing 06:35:47 9c72628d3589: Preparing 06:35:47 fc7a5272ec74: Preparing 06:35:47 f3f7d8487acd: Preparing 06:35:47 26cbea5cba74: Preparing 06:35:47 fd2e5ea29203: Layer already exists 06:35:47 26cbea5cba74: Layer already exists 06:35:47 fc7a5272ec74: Layer already exists 06:35:47 9c72628d3589: Layer already exists 06:35:47 f3f7d8487acd: Layer already exists 06:35:47 latest: digest: sha256:27f43ab9dbac6cd9187e7fe6845d7157782c0d24d2f4b3ef10171bb1d627f15f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.32 06:35:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:35:48 fd2e5ea29203: Preparing 06:35:48 9c72628d3589: Preparing 06:35:48 fc7a5272ec74: Preparing 06:35:48 f3f7d8487acd: Preparing 06:35:48 26cbea5cba74: Preparing 06:35:48 9c72628d3589: Layer already exists 06:35:48 26cbea5cba74: Layer already exists 06:35:48 fd2e5ea29203: Layer already exists 06:35:48 fc7a5272ec74: Layer already exists 06:35:48 f3f7d8487acd: Layer already exists 06:35:48 3.0.0-dev.32: digest: sha256:27f43ab9dbac6cd9187e7fe6845d7157782c0d24d2f4b3ef10171bb1d627f15f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:35:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:35:49 fd2e5ea29203: Preparing 06:35:49 9c72628d3589: Preparing 06:35:49 fc7a5272ec74: Preparing 06:35:49 f3f7d8487acd: Preparing 06:35:49 26cbea5cba74: Preparing 06:35:49 f3f7d8487acd: Layer already exists 06:35:49 fd2e5ea29203: Layer already exists 06:35:49 26cbea5cba74: Layer already exists 06:35:49 fc7a5272ec74: Layer already exists 06:35:49 9c72628d3589: Layer already exists 06:35:49 57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32: digest: sha256:27f43ab9dbac6cd9187e7fe6845d7157782c0d24d2f4b3ef10171bb1d627f15f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:35:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:35:50 fd2e5ea29203: Preparing 06:35:50 9c72628d3589: Preparing 06:35:50 fc7a5272ec74: Preparing 06:35:50 f3f7d8487acd: Preparing 06:35:50 26cbea5cba74: Preparing 06:35:50 26cbea5cba74: Layer already exists 06:35:50 fd2e5ea29203: Layer already exists 06:35:50 fc7a5272ec74: Layer already exists 06:35:50 f3f7d8487acd: Layer already exists 06:35:50 9c72628d3589: Layer already exists 06:35:50 main: digest: sha256:27f43ab9dbac6cd9187e7fe6845d7157782c0d24d2f4b3ef10171bb1d627f15f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:50 ===================================================== [Pipeline] echo 06:35:50 taggedImages: 06:35:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57 06:35:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:35:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.32 06:35:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57e3d53da137a61fe75c45ca6235a80f80bfde57-3.0.0-dev.32 06:35:50 - 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 06:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:50 06:35:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:51 arm64: Pulling from edgex-lftools-log-publisher 06:35:51 8998bd30e6a1: Pulling fs layer 06:35:51 04944245beec: Pulling fs layer 06:35:51 699f458cf7ca: Pulling fs layer 06:35:51 765212b225bb: Pulling fs layer 06:35:51 f23df028b6ca: Pulling fs layer 06:35:51 d65c8cfc05b1: Pulling fs layer 06:35:51 2437ff75d9bd: Pulling fs layer 06:35:51 765212b225bb: Waiting 06:35:51 f23df028b6ca: Waiting 06:35:51 d65c8cfc05b1: Waiting 06:35:51 2437ff75d9bd: Waiting 06:35:51 04944245beec: Verifying Checksum 06:35:51 04944245beec: Download complete 06:35:51 765212b225bb: Verifying Checksum 06:35:51 765212b225bb: Download complete 06:35:51 f23df028b6ca: Verifying Checksum 06:35:51 f23df028b6ca: Download complete 06:35:51 d65c8cfc05b1: Verifying Checksum 06:35:51 d65c8cfc05b1: Download complete 06:35:51 699f458cf7ca: Verifying Checksum 06:35:51 699f458cf7ca: Download complete 06:35:51 8998bd30e6a1: Download complete 06:35:54 2437ff75d9bd: Verifying Checksum 06:35:54 2437ff75d9bd: Download complete 06:35:56 8998bd30e6a1: Pull complete 06:35:57 04944245beec: Pull complete 06:35:59 699f458cf7ca: Pull complete 06:35:59 765212b225bb: Pull complete 06:36:00 f23df028b6ca: Pull complete 06:36:00 d65c8cfc05b1: Pull complete 06:36:15 2437ff75d9bd: Pull complete 06:36:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:15 prd-ubuntu20.04-docker-arm64-4c-16g-13854 does not seem to be running inside a container 06:36:15 $ 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/116 -v /w/workspace/device-mqtt-go/116:/w/workspace/device-mqtt-go/116:rw,z -v /w/workspace/device-mqtt-go/116@tmp:/w/workspace/device-mqtt-go/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:36:18 $ docker top ffa805340ced033ec962df6e02544794a97c57c2759b4e63631fe66e6237a2f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:19 ---> job-cost.sh 06:36:19 lf-activate-venv: SKIPPING 06:36:19 INFO: No Stack... 06:36:19 INFO: Retrieving Pricing Info for: v3-standard-4 06:36:20 INFO: Archiving Costs [Pipeline] sh 06:36:20 + cut -d, -f6 06:36:20 + cat /w/workspace/device-mqtt-go/116/archives/cost.csv [Pipeline] lock 06:36:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] 06:36:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] did not exist. Created. 06:36:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:21 /w/workspace/device-mqtt-go/116@tmp/durable-6dbace87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:36:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:36:22 Warning: overwriting stash ‘stack-cost’ 06:36:22 Stashed 1 file(s) [Pipeline] } 06:36:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:22 $ docker stop --time=1 ffa805340ced033ec962df6e02544794a97c57c2759b4e63631fe66e6237a2f8 06:36:23 $ docker rm -f --volumes ffa805340ced033ec962df6e02544794a97c57c2759b4e63631fe66e6237a2f8 [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 06:36:24 provisioning config files... 06:36:24 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5187597525313098615tmp [Pipeline] { [Pipeline] sh 06:36:24 + set +x 06:36:24 + curl -s https://codecov.io/bash 06:36:24 + bash -s -- 06:36:24 06:36:24 _____ _ 06:36:24 / ____| | | 06:36:24 | | ___ __| | ___ ___ _____ __ 06:36:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:24 Bash-1.0.6 06:36:24 06:36:24 06:36:24 ==> git version 2.25.1 found 06:36:24 ==> 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 06:36:24 Release-Date: 2020-01-08 06:36:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:36:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:36:24 ==> Jenkins CI detected. 06:36:24 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:36:24 project root: . 06:36:24 --> token set from env 06:36:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:25 ==> Running gcov in . (disable via -X gcov) 06:36:25 ==> Python coveragepy not found 06:36:25 ==> Searching for coverage reports in: 06:36:25 + . 06:36:25 -> Found 1 reports 06:36:25 ==> Detecting git/mercurial file structure 06:36:25 ==> Reading reports 06:36:25 + ./coverage.out bytes=18144 06:36:25 ==> Appending adjustments 06:36:25 https://docs.codecov.io/docs/fixing-reports 06:36:25 + Found adjustments 06:36:25 ==> Gzipping contents 06:36:25 4.0K /tmp/codecov.W9XWwN.gz 06:36:25 ==> Uploading reports 06:36:25 url: https://codecov.io 06:36:25 query: branch=main&commit=57e3d53da137a61fe75c45ca6235a80f80bfde57&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:25 -> Pinging Codecov 06:36:25 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=57e3d53da137a61fe75c45ca6235a80f80bfde57&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:25 -> Uploading to 06:36:25 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/7D719EC7BBE17E464838252E33014C33/57e3d53da137a61fe75c45ca6235a80f80bfde57/3a9649c7-e839-4b37-9ba0-a0dd9be8c731.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T063625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=763da3ebc0b4d910bd7990182e6806ed7a77d2d8d10e44ffb4d61e98271c31e1 06:36:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:25 Dload Upload Total Spent Left Speed 06:36:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 15762 --:--:-- --:--:-- --:--:-- 15684 100 3184 0 0 100 3184 0 14878 --:--:-- --:--:-- --:--:-- 14809 06:36:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] } 06:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:36:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:36:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:26 06:36:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:36:26 df9b9388f04a: Pulling fs layer 06:36:26 52dc419b0ee2: Pulling fs layer 06:36:26 25bc292e5bac: Pulling fs layer 06:36:26 114826534d7a: Pulling fs layer 06:36:26 4657fd5d0bcf: Pulling fs layer 06:36:26 6ad1cebc031e: Pulling fs layer 06:36:26 8a3aa393b2d8: Pulling fs layer 06:36:26 114826534d7a: Waiting 06:36:26 4657fd5d0bcf: Waiting 06:36:26 8a3aa393b2d8: Waiting 06:36:26 25bc292e5bac: Verifying Checksum 06:36:26 25bc292e5bac: Download complete 06:36:26 52dc419b0ee2: Verifying Checksum 06:36:26 52dc419b0ee2: Download complete 06:36:26 4657fd5d0bcf: Verifying Checksum 06:36:26 4657fd5d0bcf: Download complete 06:36:26 df9b9388f04a: Download complete 06:36:26 6ad1cebc031e: Verifying Checksum 06:36:26 6ad1cebc031e: Download complete 06:36:26 df9b9388f04a: Pull complete 06:36:27 52dc419b0ee2: Pull complete 06:36:27 25bc292e5bac: Pull complete 06:36:27 114826534d7a: Download complete 06:36:27 8a3aa393b2d8: Verifying Checksum 06:36:27 8a3aa393b2d8: Download complete 06:36:31 114826534d7a: Pull complete 06:36:31 4657fd5d0bcf: Pull complete 06:36:31 6ad1cebc031e: Pull complete 06:36:34 8a3aa393b2d8: Pull complete 06:36:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:36:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:34 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:36:34 $ 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 06:36:40 $ docker top 7dc436c18b0319a82c1ae9a03577cba4ba9a78a87d7ae0e8bbb25bfe3b7920a6 -eo pid,comm [Pipeline] { [Pipeline] echo 06:36:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:36:40 + set -o pipefail 06:36:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:36:45 06:36:45 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:36:45 06:36:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/4df20fc4-29b4-4f8d-9224-86fac93fa684 06:36:45 06:36:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:36:45 06:36:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:36:45 06:36:45 06:36:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:36:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:36:45 More details here: https://snyk.co/ue1NS 06:36:45 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:36:45 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:36:45 $ docker stop --time=1 7dc436c18b0319a82c1ae9a03577cba4ba9a78a87d7ae0e8bbb25bfe3b7920a6 06:36:48 $ docker rm -f --volumes 7dc436c18b0319a82c1ae9a03577cba4ba9a78a87d7ae0e8bbb25bfe3b7920a6 [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 06:36:49 + git log --format=format:%s -1 57e3d53da137a61fe75c45ca6235a80f80bfde57 [Pipeline] sh 06:36:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:36:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:50 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:36:50 $ 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 06:36:50 $ docker top 3a0f46bfdbfa345b5e7a1272b56c996e8e94dd9fe0ea4666a16d4fd429eca6b0 -eo pid,comm 06:36:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:36:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:50 [ssh-agent] Looking for ssh-agent implementation... 06:36:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:50 $ docker exec 3a0f46bfdbfa345b5e7a1272b56c996e8e94dd9fe0ea4666a16d4fd429eca6b0 ssh-agent 06:36:50 SSH_AUTH_SOCK=/tmp/ssh-kjytAhyPs7y5/agent.31 06:36:50 SSH_AGENT_PID=37 06:36:50 Running ssh-add (command line suppressed) 06:36:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15057347103333479894.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15057347103333479894.key) 06:36:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:51 + git semver tag 06:36:51 2023-05-05 06:36:51,401 [run_tag] DEBUG tag force:False 06:36:51 2023-05-05 06:36:51,401 [check_head_tag] DEBUG check head tag 06:36:51 2023-05-05 06:36:51,402 [execute] INFO git cat-file --batch-check 06:36:51 2023-05-05 06:36:51,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:36:51 2023-05-05 06:36:51,405 [execute] INFO git cat-file --batch 06:36:51 2023-05-05 06:36:51,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:36:51 2023-05-05 06:36:51,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:36:51 2023-05-05 06:36:51,428 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 06:36:51 2023-05-05 06:36:51,428 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:36:51 2023-05-05 06:36:51,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:36:51 3.0.0-dev.32 [Pipeline] } 06:36:51 $ docker exec --env ******** --env ******** 3a0f46bfdbfa345b5e7a1272b56c996e8e94dd9fe0ea4666a16d4fd429eca6b0 ssh-agent -k 06:36:51 unset SSH_AUTH_SOCK; 06:36:51 unset SSH_AGENT_PID; 06:36:51 echo Agent pid 37 killed; 06:36:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:36:51 + git semver [Pipeline] } 06:36:52 $ docker stop --time=1 3a0f46bfdbfa345b5e7a1272b56c996e8e94dd9fe0ea4666a16d4fd429eca6b0 06:36:53 $ docker rm -f --volumes 3a0f46bfdbfa345b5e7a1272b56c996e8e94dd9fe0ea4666a16d4fd429eca6b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:36:53 06:36:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:36:54 0.23.1-centos7: Pulling from edgex-lftools 06:36:54 ab5ef0e58194: Pulling fs layer 06:36:54 9712f1f96733: Pulling fs layer 06:36:54 63f879dbbcfc: Pulling fs layer 06:36:54 0d9ebad4ef96: Pulling fs layer 06:36:54 e9a5061849ea: Pulling fs layer 06:36:54 d747dcd14b5f: Pulling fs layer 06:36:54 0d9ebad4ef96: Waiting 06:36:54 e9a5061849ea: Waiting 06:36:54 2de7ff778b66: Pulling fs layer 06:36:54 d747dcd14b5f: Waiting 06:36:54 2de7ff778b66: Waiting 06:36:54 9712f1f96733: Verifying Checksum 06:36:54 9712f1f96733: Download complete 06:36:54 63f879dbbcfc: Verifying Checksum 06:36:54 63f879dbbcfc: Download complete 06:36:54 0d9ebad4ef96: Verifying Checksum 06:36:54 0d9ebad4ef96: Download complete 06:36:54 d747dcd14b5f: Verifying Checksum 06:36:54 d747dcd14b5f: Download complete 06:36:54 e9a5061849ea: Verifying Checksum 06:36:54 e9a5061849ea: Download complete 06:36:54 ab5ef0e58194: Verifying Checksum 06:36:54 ab5ef0e58194: Download complete 06:36:54 2de7ff778b66: Verifying Checksum 06:36:54 2de7ff778b66: Download complete 06:36:57 ab5ef0e58194: Pull complete 06:36:57 9712f1f96733: Pull complete 06:36:57 63f879dbbcfc: Pull complete 06:37:01 0d9ebad4ef96: Pull complete 06:37:01 e9a5061849ea: Pull complete 06:37:01 d747dcd14b5f: Pull complete 06:37:02 2de7ff778b66: Pull complete 06:37:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:02 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:37:02 $ 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 06:37:09 $ docker top 1f51930d82c9e56d72d3500e07f33842f5dd25617cbe16efccc263c5c551604c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:37:09 provisioning config files... 06:37:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17737447642311095634tmp 06:37:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18104065465966528619tmp 06:37:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6278728532617420207tmp [Pipeline] { [Pipeline] echo 06:37:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:37:10 ---> sigul-configuration.sh 06:37:10 gpg: directory `/root/.gnupg' created 06:37:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:37:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:37:10 gpg: keyring `/root/.gnupg/secring.gpg' created 06:37:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:37:10 gpg: CAST5 encrypted data 06:37:10 gpg: encrypted with 1 passphrase 06:37:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:37:10 + mkdir /home/jenkins 06:37:10 + mkdir /home/jenkins/sigul [Pipeline] sh 06:37:10 + 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 06:37:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:37:11 ---> sigul-install.sh 06:37:11 Sigul already installed; skipping installation. [Pipeline] sh 06:37:11 + git tag --list 06:37:11 0.7.1 06:37:11 v1.0.0 06:37:11 v1.1.0 06:37:11 v1.1.1 06:37:11 v1.2.2 06:37:11 v1.3.0 06:37:11 v1.3.1 06:37:11 v2.0.0 06:37:11 v2.1.0 06:37:11 v2.1.1 06:37:11 v2.1.1-dev.1 06:37:11 v2.1.1-dev.2 06:37:11 v2.2.0 06:37:11 v2.2.1-dev.1 06:37:11 v2.2.1-dev.10 06:37:11 v2.2.1-dev.2 06:37:11 v2.2.1-dev.3 06:37:11 v2.2.1-dev.4 06:37:11 v2.2.1-dev.5 06:37:11 v2.2.1-dev.6 06:37:11 v2.2.1-dev.7 06:37:11 v2.2.1-dev.8 06:37:11 v2.2.1-dev.9 06:37:11 v2.3.0 06:37:11 v2.3.0-dev.10 06:37:11 v2.3.0-dev.11 06:37:11 v2.3.0-dev.12 06:37:11 v2.3.0-dev.13 06:37:11 v2.3.0-dev.14 06:37:11 v2.3.0-dev.15 06:37:11 v2.3.0-dev.16 06:37:11 v2.3.0-dev.17 06:37:11 v2.3.0-dev.18 06:37:11 v2.3.0-dev.19 06:37:11 v2.3.0-dev.20 06:37:11 v2.3.0-dev.21 06:37:11 v2.3.0-dev.22 06:37:11 v2.3.0-dev.23 06:37:11 v2.3.0-dev.24 06:37:11 v2.3.0-dev.25 06:37:11 v2.3.0-dev.26 06:37:11 v2.3.0-dev.27 06:37:11 v2.3.0-dev.28 06:37:11 v2.3.0-dev.29 06:37:11 v2.3.0-dev.30 06:37:11 v2.3.0-dev.31 06:37:11 v2.3.0-dev.32 06:37:11 v2.3.0-dev.33 06:37:11 v2.3.0-dev.34 06:37:11 v3.0.0-dev.1 06:37:11 v3.0.0-dev.10 06:37:11 v3.0.0-dev.11 06:37:11 v3.0.0-dev.12 06:37:11 v3.0.0-dev.13 06:37:11 v3.0.0-dev.14 06:37:11 v3.0.0-dev.15 06:37:11 v3.0.0-dev.16 06:37:11 v3.0.0-dev.17 06:37:11 v3.0.0-dev.18 06:37:11 v3.0.0-dev.19 06:37:11 v3.0.0-dev.2 06:37:11 v3.0.0-dev.20 06:37:11 v3.0.0-dev.21 06:37:11 v3.0.0-dev.22 06:37:11 v3.0.0-dev.23 06:37:11 v3.0.0-dev.24 06:37:11 v3.0.0-dev.25 06:37:11 v3.0.0-dev.26 06:37:11 v3.0.0-dev.27 06:37:11 v3.0.0-dev.28 06:37:11 v3.0.0-dev.29 06:37:11 v3.0.0-dev.3 06:37:11 v3.0.0-dev.30 06:37:11 v3.0.0-dev.31 06:37:11 v3.0.0-dev.32 06:37:11 v3.0.0-dev.4 06:37:11 v3.0.0-dev.5 06:37:11 v3.0.0-dev.6 06:37:11 v3.0.0-dev.7 06:37:11 v3.0.0-dev.8 06:37:11 v3.0.0-dev.9 [Pipeline] sh 06:37:11 + lftools sign git-tag v3.0.0-dev.32 06:37:12 Signing Git tag with Sigul... 06:37:12 Signing v3.0.0-dev.32 06:39:03 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:39:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:39:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:39:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:39:04 $ docker stop --time=1 1f51930d82c9e56d72d3500e07f33842f5dd25617cbe16efccc263c5c551604c 06:39:05 $ docker rm -f --volumes 1f51930d82c9e56d72d3500e07f33842f5dd25617cbe16efccc263c5c551604c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:39:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:39:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:06 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:39:06 $ 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 06:39:06 $ docker top f6458214b029c7ff2b06c3b767adac7488c99f2ce7f088ff23657038aac1ee4f -eo pid,comm 06:39:06 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). 06:39:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:39:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:06 [ssh-agent] Looking for ssh-agent implementation... 06:39:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:06 $ docker exec f6458214b029c7ff2b06c3b767adac7488c99f2ce7f088ff23657038aac1ee4f ssh-agent 06:39:06 SSH_AUTH_SOCK=/tmp/ssh-NxmiHtbcGlSB/agent.32 06:39:06 SSH_AGENT_PID=38 06:39:06 Running ssh-add (command line suppressed) 06:39:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_762250675545764942.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_762250675545764942.key) 06:39:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:07 + git semver bump pre 06:39:07 2023-05-05 06:39:07,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:39:07 2023-05-05 06:39:07,513 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev 06:39:07 2023-05-05 06:39:07,514 [bump_version] DEBUG bumped version:3.0.0-dev.33 06:39:07 2023-05-05 06:39:07,514 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:39:07 2023-05-05 06:39:07,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:39:07 2023-05-05 06:39:07,514 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:39:07 2023-05-05 06:39:07,516 [execute] INFO git cat-file --batch-check 06:39:07 2023-05-05 06:39:07,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:39:07 2023-05-05 06:39:07,521 [execute] INFO git cat-file --batch 06:39:07 2023-05-05 06:39:07,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:39:07 2023-05-05 06:39:07,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:39:07 3.0.0-dev.33 [Pipeline] } 06:39:07 $ docker exec --env ******** --env ******** f6458214b029c7ff2b06c3b767adac7488c99f2ce7f088ff23657038aac1ee4f ssh-agent -k 06:39:07 unset SSH_AUTH_SOCK; 06:39:07 unset SSH_AGENT_PID; 06:39:07 echo Agent pid 38 killed; 06:39:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:39:08 + git semver [Pipeline] } 06:39:08 $ docker stop --time=1 f6458214b029c7ff2b06c3b767adac7488c99f2ce7f088ff23657038aac1ee4f 06:39:09 $ docker rm -f --volumes f6458214b029c7ff2b06c3b767adac7488c99f2ce7f088ff23657038aac1ee4f [Pipeline] // withDockerContainer [Pipeline] sh 06:39:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:39:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:10 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:39:10 $ 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 06:39:10 $ docker top 7eed69cd4830a49811bfe9949544d71677e1c484419e88f6b924b9947522afb6 -eo pid,comm 06:39:10 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). 06:39:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:39:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:10 [ssh-agent] Looking for ssh-agent implementation... 06:39:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:10 $ docker exec 7eed69cd4830a49811bfe9949544d71677e1c484419e88f6b924b9947522afb6 ssh-agent 06:39:10 SSH_AUTH_SOCK=/tmp/ssh-Bgh5qzbAgx8D/agent.32 06:39:10 SSH_AGENT_PID=38 06:39:11 Running ssh-add (command line suppressed) 06:39:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14074366375441795850.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14074366375441795850.key) 06:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:11 + git semver push 06:39:11 2023-05-05 06:39:11,579 [run_push] DEBUG push 06:39:11 2023-05-05 06:39:11,579 [execute] INFO git cat-file --batch-check 06:39:11 2023-05-05 06:39:11,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:39:11 2023-05-05 06:39:11,583 [execute] INFO git rev-list cb101f5a51ac3509b501802140001069266a47fb -- 06:39:11 2023-05-05 06:39:11,583 [execute] DEBUG Popen(['git', 'rev-list', 'cb101f5a51ac3509b501802140001069266a47fb', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:39:11 2023-05-05 06:39:11,592 [execute] INFO git fetch -v origin 06:39:11 2023-05-05 06:39:11,592 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:39:12 2023-05-05 06:39:12,060 [run_push] DEBUG no remote changes detected 06:39:12 2023-05-05 06:39:12,060 [execute] INFO git push origin semver 06:39:12 2023-05-05 06:39:12,060 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:39:13 2023-05-05 06:39:12,800 [run_push] DEBUG push all version tags 06:39:13 2023-05-05 06:39:12,801 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:39:13 2023-05-05 06:39:12,801 [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) 06:39:13 2023-05-05 06:39:13,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:39:13 3.0.0-dev.33 [Pipeline] } 06:39:13 $ docker exec --env ******** --env ******** 7eed69cd4830a49811bfe9949544d71677e1c484419e88f6b924b9947522afb6 ssh-agent -k 06:39:13 unset SSH_AUTH_SOCK; 06:39:13 unset SSH_AGENT_PID; 06:39:13 echo Agent pid 38 killed; 06:39:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:39:14 + git semver [Pipeline] } 06:39:14 $ docker stop --time=1 7eed69cd4830a49811bfe9949544d71677e1c484419e88f6b924b9947522afb6 06:39:15 $ docker rm -f --volumes 7eed69cd4830a49811bfe9949544d71677e1c484419e88f6b924b9947522afb6 [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 06:39:16 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:39:16 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:39:16 total 16 06:39:16 drwxr-xr-x 3 root root 4096 May 5 06:26 . 06:39:16 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:37 .. 06:39:16 drwxr-xr-x 2 root root 4096 May 5 06:26 cost 06:39:16 -rw-r--r-- 1 root root 86 May 5 06:26 cost.csv 06:39:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:39:16 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:39:16 total 16 06:39:16 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:26 . 06:39:16 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:37 .. 06:39:16 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:26 cost 06:39:16 -rw-r--r-- 1 jenkins jenkins 86 May 5 06:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:39:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:39:17 ---> package-listing.sh 06:39:17 ++ facter osfamily 06:39:17 ++ tr '[:upper:]' '[:lower:]' 06:39:17 + OS_FAMILY=debian 06:39:17 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:39:17 + START_PACKAGES=/tmp/packages_start.txt 06:39:17 + END_PACKAGES=/tmp/packages_end.txt 06:39:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:39:17 + PACKAGES=/tmp/packages_start.txt 06:39:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:39:17 + PACKAGES=/tmp/packages_end.txt 06:39:17 + case "${OS_FAMILY}" in 06:39:17 + dpkg -l 06:39:17 + grep '^ii' 06:39:17 + '[' -f /tmp/packages_start.txt ']' 06:39:17 + '[' -f /tmp/packages_end.txt ']' 06:39:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:39:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:39:17 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:39:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:39:17 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 06:39:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:18 prd-ubuntu20.04-docker-8c-8g-13852 does not seem to be running inside a container 06:39:18 $ 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 06:39:18 $ docker top 4971e9e2686c6cafbe79364f463cb6912b9d54742f1c78f0854e76039b6aaad4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:19 + touch /tmp/pre-build-complete [Pipeline] sh 06:39:19 + mkdir -p /var/log/sysstat [Pipeline] sh 06:39:19 + ls /var/log/sa-host 06:39:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:19 provisioning config files... 06:39:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3002581799912180866tmp [Pipeline] { [Pipeline] echo 06:39:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:39:20 ---> create-netrc.sh [Pipeline] } 06:39:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:39:20 ---> python-tools-install.sh [Pipeline] echo 06:39:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:39:20 ---> sudo-logs.sh 06:39:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:39:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:39:21 ---> job-cost.sh 06:39:21 lf-activate-venv: SKIPPING 06:39:21 DEBUG: total: 0.2199999988079071 06:39:21 INFO: Retrieving Stack Cost... 06:39:21 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:22 INFO: Archiving Costs [Pipeline] echo 06:39:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:39:22 ---> logs-deploy.sh 06:39:22 lf-activate-venv: SKIPPING 06:39:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/116 06:39:22 INFO: archiving workspace using pattern(s): 06:39:23 Archives upload complete. 06:39:23 INFO: archiving logs to Nexus