Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aee7b0e7ef23d1e8502c68f930469c32112c0c09 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-ssh7035420321360984544.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-ssh16154347235972196634.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-ssh8917353496044127514.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-ssh3420988654733766530.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-ssh14084332877106259733.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-15164 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 aee7b0e7ef23d1e8502c68f930469c32112c0c09 (main) > 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 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#599)" > git config core.sparsecheckout # timeout=10 > git checkout -f aee7b0e7ef23d1e8502c68f930469c32112c0c09 # timeout=10 > git rev-list --no-walk dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:20:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:20:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:20:32 ========================================================= 04:20:32 EdgeX Global Pipelines Version Info 04:20:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:20:32 ------------------- 04:20:32 stable info: 04:20:32 ------------------- 04:20:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:20:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:20:32 Message: update stable to v1.0.249 04:20:33 ------------------- 04:20:33 experimental info: 04:20:33 ------------------- 04:20:33 Commited By: **** collab-it+edgex@linuxfoundation.org 04:20:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:20:33 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:20:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aee7b0e [Pipeline] echo 04:20:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:34 provisioning config files... 04:20:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12822829605183144711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:34 ---> docker-login.sh 04:20:34 nexus3.edgexfoundry.org:10001 04:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:34 Configure a credential helper to remove this warning. See 04:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:34 04:20:34 Login Succeeded 04:20:34 nexus3.edgexfoundry.org:10002 04:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:35 Configure a credential helper to remove this warning. See 04:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:35 04:20:35 Login Succeeded 04:20:35 nexus3.edgexfoundry.org:10003 04:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:35 Configure a credential helper to remove this warning. See 04:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:35 04:20:35 Login Succeeded 04:20:35 nexus3.edgexfoundry.org:10004 04:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:35 Configure a credential helper to remove this warning. See 04:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:35 04:20:35 Login Succeeded 04:20:35 docker.io 04:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:35 Configure a credential helper to remove this warning. See 04:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:35 04:20:35 Login Succeeded 04:20:35 ---> docker-login.sh ends [Pipeline] } 04:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:35 + git rev-list -1 --merges aee7b0e7ef23d1e8502c68f930469c32112c0c09~1..aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] echo 04:20:36 -----------> git rev-list -1 --merges aee7b0e7ef23d1e8502c68f930469c32112c0c09~1..aee7b0e7ef23d1e8502c68f930469c32112c0c09 aee7b0e7ef23d1e8502c68f930469c32112c0c09 [false] [Pipeline] sh 04:20:36 + git log --format=format:%s -1 aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] echo 04:20:36 ========================================================= 04:20:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:36 + git log --format=format:%s -1 aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] echo 04:20:36 [semverPrep] GIT_COMMIT: aee7b0e7ef23d1e8502c68f930469c32112c0c09, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#599) [Pipeline] echo 04:20:36 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:37 + grep -v github /etc/ssh/ssh_known_hosts 04:20:37 + [ -e /tmp/ssh_known_hosts ] 04:20:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:37 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:38 04:20:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:38 b85a868b505f: Pulling fs layer 04:20:38 e2be974225ed: Pulling fs layer 04:20:38 339a4e72a1f5: Pulling fs layer 04:20:38 988bab9f4d93: Pulling fs layer 04:20:38 1469e6f7b9e6: Pulling fs layer 04:20:38 eaf3925da568: Pulling fs layer 04:20:38 bab4dde63d76: Pulling fs layer 04:20:38 bde34c3a00c8: Pulling fs layer 04:20:38 b352a97aabf1: Pulling fs layer 04:20:38 4872d77fe225: Pulling fs layer 04:20:38 5851b861e8e6: Pulling fs layer 04:20:38 1469e6f7b9e6: Waiting 04:20:38 b352a97aabf1: Waiting 04:20:38 eaf3925da568: Waiting 04:20:38 4872d77fe225: Waiting 04:20:38 bab4dde63d76: Waiting 04:20:38 bde34c3a00c8: Waiting 04:20:38 5851b861e8e6: Waiting 04:20:38 988bab9f4d93: Waiting 04:20:38 e2be974225ed: Verifying Checksum 04:20:38 e2be974225ed: Download complete 04:20:38 988bab9f4d93: Download complete 04:20:40 1469e6f7b9e6: Verifying Checksum 04:20:40 1469e6f7b9e6: Download complete 04:20:40 eaf3925da568: Verifying Checksum 04:20:40 eaf3925da568: Download complete 04:20:40 339a4e72a1f5: Verifying Checksum 04:20:40 339a4e72a1f5: Download complete 04:20:40 bde34c3a00c8: Verifying Checksum 04:20:40 bde34c3a00c8: Download complete 04:20:40 b352a97aabf1: Download complete 04:20:40 4872d77fe225: Verifying Checksum 04:20:40 4872d77fe225: Download complete 04:20:40 5851b861e8e6: Download complete 04:20:40 b85a868b505f: Verifying Checksum 04:20:40 b85a868b505f: Download complete 04:20:41 bab4dde63d76: Verifying Checksum 04:20:42 b85a868b505f: Pull complete 04:20:42 e2be974225ed: Pull complete 04:20:42 339a4e72a1f5: Pull complete 04:20:42 988bab9f4d93: Pull complete 04:20:42 1469e6f7b9e6: Pull complete 04:20:42 eaf3925da568: Pull complete 04:20:44 bab4dde63d76: Pull complete 04:20:44 bde34c3a00c8: Pull complete 04:20:45 b352a97aabf1: Pull complete 04:20:45 4872d77fe225: Pull complete 04:20:45 5851b861e8e6: Pull complete 04:20:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:20:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:45 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:20:45 $ 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 04:20:47 $ docker top 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:47 [ssh-agent] Looking for ssh-agent implementation... 04:20:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:47 $ docker exec 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd ssh-agent 04:20:47 SSH_AUTH_SOCK=/tmp/ssh-wWkkplKRv5Bw/agent.32 04:20:47 SSH_AGENT_PID=38 04:20:47 Running ssh-add (command line suppressed) 04:20:47 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18001582813805634084.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18001582813805634084.key) 04:20:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:48 + git tag --points-at HEAD [Pipeline] } 04:20:48 $ docker exec --env ******** --env ******** 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd ssh-agent -k 04:20:48 unset SSH_AUTH_SOCK; 04:20:48 unset SSH_AGENT_PID; 04:20:48 echo Agent pid 38 killed; 04:20:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:48 [ssh-agent] Looking for ssh-agent implementation... 04:20:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:48 $ docker exec 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd ssh-agent 04:20:48 SSH_AUTH_SOCK=/tmp/ssh-ibmA5uTALsaf/agent.70 04:20:48 SSH_AGENT_PID=76 04:20:48 Running ssh-add (command line suppressed) 04:20:48 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8629182595608322509.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8629182595608322509.key) 04:20:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:48 + git semver init 04:20:49 2023-05-11 04:20:49,102 [run_init] DEBUG init version:0.0.0 force:False 04:20:49 2023-05-11 04:20:49,102 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:20:49 2023-05-11 04:20:49,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:20:49 2023-05-11 04:20:49,103 [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) 04:20:50 2023-05-11 04:20:49,845 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:20:50 2023-05-11 04:20:49,846 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:20:50 2023-05-11 04:20:49,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:20:50 2023-05-11 04:20:49,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:20:50 3.0.0-dev.35 [Pipeline] } 04:20:50 $ docker exec --env ******** --env ******** 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd ssh-agent -k 04:20:50 unset SSH_AUTH_SOCK; 04:20:50 unset SSH_AGENT_PID; 04:20:50 echo Agent pid 76 killed; 04:20:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:50 + git semver [Pipeline] } 04:20:50 $ docker stop --time=1 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd 04:20:52 $ docker rm -f --volumes 1d9016450e6250dfe5af71f85a13a4dd7ba53c19b87c1d9640dbbdf5c9fe98cd [Pipeline] // withDockerContainer [Pipeline] sh 04:20:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:53 Stashed 1 file(s) [Pipeline] echo 04:20:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [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 04:20:53 provisioning config files... 04:20:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config505031097882456342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:53 ---> docker-login.sh 04:20:53 nexus3.edgexfoundry.org:10001 04:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:53 Configure a credential helper to remove this warning. See 04:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:53 04:20:53 Login Succeeded 04:20:53 nexus3.edgexfoundry.org:10002 04:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:53 Configure a credential helper to remove this warning. See 04:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:53 04:20:53 Login Succeeded 04:20:53 nexus3.edgexfoundry.org:10003 04:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:54 Configure a credential helper to remove this warning. See 04:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:54 04:20:54 Login Succeeded 04:20:54 nexus3.edgexfoundry.org:10004 04:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:54 Configure a credential helper to remove this warning. See 04:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:54 04:20:54 Login Succeeded 04:20:54 docker.io 04:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:54 Configure a credential helper to remove this warning. See 04:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:54 04:20:54 Login Succeeded 04:20:54 ---> docker-login.sh ends [Pipeline] } 04:20:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:54 ========================================================= 04:20:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:20:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:55 + 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 . 04:20:55 Sending build context to Docker daemon 6.533MB 04:20:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:20:55 Step 2/12 : FROM ${BASE} AS builder 04:20:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:55 f56be85fc22e: Pulling fs layer 04:20:55 85791d961cd3: Pulling fs layer 04:20:55 d694b5ae8c79: Pulling fs layer 04:20:55 9f32a84ed3da: Pulling fs layer 04:20:55 4d19c01a9841: Pulling fs layer 04:20:55 9325e15d5711: Pulling fs layer 04:20:55 556b6ee489ea: Pulling fs layer 04:20:55 c5a4b2cf53e6: Pulling fs layer 04:20:55 9f32a84ed3da: Waiting 04:20:55 4d19c01a9841: Waiting 04:20:55 9325e15d5711: Waiting 04:20:55 556b6ee489ea: Waiting 04:20:55 c5a4b2cf53e6: Waiting 04:20:55 85791d961cd3: Verifying Checksum 04:20:55 85791d961cd3: Download complete 04:20:55 9f32a84ed3da: Verifying Checksum 04:20:55 9f32a84ed3da: Download complete 04:20:55 4d19c01a9841: Verifying Checksum 04:20:55 4d19c01a9841: Download complete 04:20:55 f56be85fc22e: Verifying Checksum 04:20:55 f56be85fc22e: Download complete 04:20:55 9325e15d5711: Verifying Checksum 04:20:55 9325e15d5711: Download complete 04:20:55 f56be85fc22e: Pull complete 04:20:55 85791d961cd3: Pull complete 04:20:56 c5a4b2cf53e6: Verifying Checksum 04:20:56 c5a4b2cf53e6: Download complete 04:20:56 d694b5ae8c79: Verifying Checksum 04:20:56 d694b5ae8c79: Download complete 04:20:56 556b6ee489ea: Verifying Checksum 04:20:56 556b6ee489ea: Download complete 04:20:59 d694b5ae8c79: Pull complete 04:20:59 9f32a84ed3da: Pull complete 04:20:59 4d19c01a9841: Pull complete 04:20:59 9325e15d5711: Pull complete 04:21:01 556b6ee489ea: Pull complete 04:21:02 c5a4b2cf53e6: Pull complete 04:21:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:21:02 ---> c4be618373d6 04:21:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:21:04 ---> Running in 278d2c87085e 04:21:04 Removing intermediate container 278d2c87085e 04:21:04 ---> 450b2acd075d 04:21:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:21:04 ---> Running in f45745c7c873 04:21:04 Removing intermediate container f45745c7c873 04:21:04 ---> 44fc73239da6 04:21:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:21:04 ---> Running in 6450f9ad5d0e 04:21:04 Removing intermediate container 6450f9ad5d0e 04:21:04 ---> 43facc36c1b3 04:21:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:21:04 ---> Running in 7c21b4d4895a 04:21:04 Removing intermediate container 7c21b4d4895a 04:21:04 ---> 3ea9fcd8c4ca 04:21:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:04 ---> Running in 5f8e4d39fda4 04:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:21:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:21:05 (2/4) Installing libedit (20221030.3.1-r0) 04:21:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:21:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:21:05 Executing busybox-1.35.0-r29.trigger 04:21:05 OK: 269 MiB in 57 packages 04:21:05 Removing intermediate container 5f8e4d39fda4 04:21:05 ---> ad20db9b0834 04:21:05 Step 8/12 : WORKDIR /device-mqtt-go 04:21:05 ---> Running in e4b6fe73fc34 04:21:06 Removing intermediate container e4b6fe73fc34 04:21:06 ---> 941275407f89 04:21:06 Step 9/12 : COPY go.mod vendor* ./ 04:21:06 ---> 68760cec3c8f 04:21:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:06 ---> Running in 6be0f1d919a2 04:21:08 Still waiting to schedule task 04:21:08 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:21:08 ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:21:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15166’ is offline 04:21:25 Removing intermediate container 6be0f1d919a2 04:21:25 ---> b7ddd90e17ed 04:21:25 Step 11/12 : COPY . . 04:21:25 ---> 4c6d278eeffb 04:21:25 Step 12/12 : RUN $MAKE 04:21:25 ---> Running in 80e7e8559ed0 04:21:26 noop 04:21:26 Removing intermediate container 80e7e8559ed0 04:21:26 ---> 98ffc00cc034 04:21:26 Successfully built 98ffc00cc034 04:21:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:28 + docker inspect -f . ci-base-image-x86_64 04:21:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:29 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:21:29 $ 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 04:21:29 $ docker top 4b35cbaa4c33c58973c55c53777af7922a8b713d2fc9d576da875056988dd6b2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:29 + go version 04:21:29 go version go1.20.2 linux/amd64 [Pipeline] } 04:21:29 $ docker stop --time=1 4b35cbaa4c33c58973c55c53777af7922a8b713d2fc9d576da875056988dd6b2 04:21:31 $ docker rm -f --volumes 4b35cbaa4c33c58973c55c53777af7922a8b713d2fc9d576da875056988dd6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:31 + docker inspect -f . ci-base-image-x86_64 04:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:31 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:21:31 $ 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 04:21:32 $ docker top 0c175c176bd94ac4ba7818b9944e1b1ab9bb72a57420d379a947683386318d34 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 04:21:32 + make test 04:21:32 go test ./... -coverprofile=coverage.out ./... 04:21:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:21:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:21:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:21:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 23.1% of statements 04:21:51 go vet ./... 04:21:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:54 ./bin/test-attribution-txt.sh [Pipeline] echo 04:21:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:54 $ docker stop --time=1 0c175c176bd94ac4ba7818b9944e1b1ab9bb72a57420d379a947683386318d34 04:21:56 $ docker rm -f --volumes 0c175c176bd94ac4ba7818b9944e1b1ab9bb72a57420d379a947683386318d34 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:58 + ls -al . 04:21:58 total 180 04:21:58 drwxrwxr-x 10 jenkins jenkins 4096 May 11 04:21 . 04:21:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:20 .. 04:21:58 -rw-rw-r-- 1 jenkins jenkins 140 May 11 04:20 .dockerignore 04:21:58 drwxrwxr-x 8 jenkins jenkins 4096 May 11 04:20 .git 04:21:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:20 .github 04:21:58 -rw-rw-r-- 1 jenkins jenkins 329 May 11 04:20 .gitignore 04:21:58 -rw-rw-r-- 1 jenkins jenkins 41 May 11 04:20 .golangci.yml 04:21:58 drwxr-xr-x 3 jenkins jenkins 4096 May 11 04:20 .semver 04:21:58 -rw-rw-r-- 1 jenkins jenkins 9417 May 11 04:20 Attribution.txt 04:21:58 -rw-rw-r-- 1 jenkins jenkins 13162 May 11 04:20 CHANGELOG.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 1689 May 11 04:20 Dockerfile 04:21:58 -rw-rw-r-- 1 jenkins jenkins 677 May 11 04:20 GOVERNANCE.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 678 May 11 04:20 Jenkinsfile 04:21:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 04:20 LICENSE 04:21:58 -rw-rw-r-- 1 jenkins jenkins 1732 May 11 04:20 Makefile 04:21:58 -rw-rw-r-- 1 jenkins jenkins 620 May 11 04:20 OWNERS.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 3165 May 11 04:20 README.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 12 May 11 04:20 VERSION 04:21:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:20 bin 04:21:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:20 cmd 04:21:58 -rw-r--r-- 1 jenkins jenkins 18144 May 11 04:21 coverage.out 04:21:58 -rw-rw-r-- 1 jenkins jenkins 3333 May 11 04:20 go.mod 04:21:58 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 04:20 go.sum 04:21:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:20 internal 04:21:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:20 mock 04:21:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:20 snap 04:21:58 -rw-rw-r-- 1 jenkins jenkins 227 May 11 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:58 + 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=aee7b0e7ef23d1e8502c68f930469c32112c0c09 --label arch=amd64 --label version=3.0.0-dev.35 . 04:21:58 Sending build context to Docker daemon 6.552MB 04:21:58 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:21:58 Step 2/24 : FROM ${BASE} AS builder 04:21:58 ---> 98ffc00cc034 04:21:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:21:59 ---> Running in 925a517bd57b 04:21:59 Removing intermediate container 925a517bd57b 04:21:59 ---> ef12a10f9f45 04:21:59 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:21:59 ---> Running in c4d92a4c84f1 04:21:59 Removing intermediate container c4d92a4c84f1 04:21:59 ---> 226cb48d02fc 04:21:59 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:21:59 ---> Running in f8a2b02ffbbd 04:21:59 Removing intermediate container f8a2b02ffbbd 04:21:59 ---> dc4951d8ac95 04:21:59 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:21:59 ---> Running in bc25ea6e5ccf 04:21:59 Removing intermediate container bc25ea6e5ccf 04:21:59 ---> 71c000ace593 04:21:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:59 ---> Running in 1a1924cc8ab5 04:22:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:22:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:22:00 OK: 269 MiB in 57 packages 04:22:00 Removing intermediate container 1a1924cc8ab5 04:22:00 ---> 5a60b52310c6 04:22:00 Step 8/24 : WORKDIR /device-mqtt-go 04:22:00 ---> Running in de39f56f3db5 04:22:00 Removing intermediate container de39f56f3db5 04:22:00 ---> f8db18892bff 04:22:00 Step 9/24 : COPY go.mod vendor* ./ 04:22:00 ---> e7125946cb98 04:22:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:01 ---> Running in 09d16c0083f7 04:22:03 Removing intermediate container 09d16c0083f7 04:22:03 ---> 3bea3a286519 04:22:03 Step 11/24 : COPY . . 04:22:03 ---> 4e4f87a3b9b6 04:22:03 Step 12/24 : RUN $MAKE 04:22:03 ---> Running in a1df5fe89b7b 04:22:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:22:20 Removing intermediate container a1df5fe89b7b 04:22:20 ---> 1a9278f30484 04:22:20 Step 13/24 : FROM alpine:3.17 04:22:20 3.17: Pulling from library/alpine 04:22:21 f56be85fc22e: Already exists 04:22:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:22:21 Status: Downloaded newer image for alpine:3.17 04:22:21 ---> 9ed4aefc74f6 04:22:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:22:21 ---> Running in a1f25e4e9269 04:22:21 Removing intermediate container a1f25e4e9269 04:22:21 ---> 53dd358553f6 04:22:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:22:21 ---> Running in 5635ed474882 04:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:22:22 (1/1) Installing dumb-init (1.2.5-r2) 04:22:22 Executing busybox-1.35.0-r29.trigger 04:22:22 OK: 7 MiB in 16 packages 04:22:22 Removing intermediate container 5635ed474882 04:22:22 ---> 30ba0cdc8ea5 04:22:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:22:23 ---> 4e33465bc111 04:22:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:22:23 ---> d09c230f2b79 04:22:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:22:23 ---> 7047384bc83b 04:22:23 Step 19/24 : EXPOSE 59982 04:22:23 ---> Running in 24d45c322ff3 04:22:23 Removing intermediate container 24d45c322ff3 04:22:23 ---> 4713c3be1f38 04:22:23 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:22:23 ---> Running in e24bc4fe8bdc 04:22:24 Removing intermediate container e24bc4fe8bdc 04:22:24 ---> 279ac9708dae 04:22:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:22:24 ---> Running in b1cbf7f06259 04:22:24 Removing intermediate container b1cbf7f06259 04:22:24 ---> d12e269af5a5 04:22:24 Step 22/24 : LABEL arch=amd64 04:22:24 ---> Running in 0aa96ba08776 04:22:24 Removing intermediate container 0aa96ba08776 04:22:24 ---> 9ec47d2e10e1 04:22:24 Step 23/24 : LABEL git_sha=aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:22:24 ---> Running in 80226c2e25f2 04:22:24 Removing intermediate container 80226c2e25f2 04:22:24 ---> 472f35c8eef3 04:22:24 Step 24/24 : LABEL version=3.0.0-dev.35 04:22:24 ---> Running in 7de37a808b97 04:22:24 Removing intermediate container 7de37a808b97 04:22:24 ---> ab064484f8eb 04:22:24 [Warning] One or more build-args [ARCH] were not consumed 04:22:24 Successfully built ab064484f8eb 04:22:24 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:24 provisioning config files... 04:22:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16479751941244709652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:26 ---> docker-login.sh 04:22:26 nexus3.edgexfoundry.org:10001 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:26 Configure a credential helper to remove this warning. See 04:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:26 04:22:26 Login Succeeded 04:22:26 nexus3.edgexfoundry.org:10002 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:26 Configure a credential helper to remove this warning. See 04:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:26 04:22:26 Login Succeeded 04:22:26 nexus3.edgexfoundry.org:10003 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:26 Configure a credential helper to remove this warning. See 04:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:26 04:22:26 Login Succeeded 04:22:26 nexus3.edgexfoundry.org:10004 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:26 Configure a credential helper to remove this warning. See 04:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:26 04:22:26 Login Succeeded 04:22:26 docker.io 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:27 Configure a credential helper to remove this warning. See 04:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:27 04:22:27 Login Succeeded 04:22:27 ---> docker-login.sh ends [Pipeline] } 04:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:27 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:22:27 aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:22:27 latest 04:22:27 3.0.0-dev.35 04:22:27 aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:22:27 main 04:22:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:22:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:22:27 6430509fe5e1: Preparing 04:22:27 0dae25245871: Preparing 04:22:27 1faab2ef0f35: Preparing 04:22:27 1a9929c5021a: Preparing 04:22:27 f1417ff83b31: Preparing 04:22:27 f1417ff83b31: Layer already exists 04:22:27 6430509fe5e1: Pushed 04:22:27 0dae25245871: Pushed 04:22:27 1a9929c5021a: Pushed 04:22:31 1faab2ef0f35: Pushed 04:22:31 aee7b0e7ef23d1e8502c68f930469c32112c0c09: digest: sha256:541f34cb3a95e3b841fe40f45d74ac55d27dc19be34b34f35f71ba7791ea03d5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:22:32 6430509fe5e1: Preparing 04:22:32 0dae25245871: Preparing 04:22:32 1faab2ef0f35: Preparing 04:22:32 1a9929c5021a: Preparing 04:22:32 f1417ff83b31: Preparing 04:22:32 f1417ff83b31: Layer already exists 04:22:32 1a9929c5021a: Layer already exists 04:22:32 0dae25245871: Layer already exists 04:22:32 6430509fe5e1: Layer already exists 04:22:32 1faab2ef0f35: Layer already exists 04:22:32 latest: digest: sha256:541f34cb3a95e3b841fe40f45d74ac55d27dc19be34b34f35f71ba7791ea03d5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.35 04:22:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:22:33 6430509fe5e1: Preparing 04:22:33 0dae25245871: Preparing 04:22:33 1faab2ef0f35: Preparing 04:22:33 1a9929c5021a: Preparing 04:22:33 f1417ff83b31: Preparing 04:22:33 1a9929c5021a: Layer already exists 04:22:33 f1417ff83b31: Layer already exists 04:22:33 0dae25245871: Layer already exists 04:22:33 6430509fe5e1: Layer already exists 04:22:33 1faab2ef0f35: Layer already exists 04:22:33 3.0.0-dev.35: digest: sha256:541f34cb3a95e3b841fe40f45d74ac55d27dc19be34b34f35f71ba7791ea03d5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:22:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:22:35 6430509fe5e1: Preparing 04:22:35 0dae25245871: Preparing 04:22:35 1faab2ef0f35: Preparing 04:22:35 1a9929c5021a: Preparing 04:22:35 f1417ff83b31: Preparing 04:22:35 1a9929c5021a: Layer already exists 04:22:35 1faab2ef0f35: Layer already exists 04:22:35 6430509fe5e1: Layer already exists 04:22:35 f1417ff83b31: Layer already exists 04:22:35 0dae25245871: Layer already exists 04:22:35 aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35: digest: sha256:541f34cb3a95e3b841fe40f45d74ac55d27dc19be34b34f35f71ba7791ea03d5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:22:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:22:35 6430509fe5e1: Preparing 04:22:35 0dae25245871: Preparing 04:22:35 1faab2ef0f35: Preparing 04:22:35 1a9929c5021a: Preparing 04:22:35 f1417ff83b31: Preparing 04:22:35 f1417ff83b31: Layer already exists 04:22:35 6430509fe5e1: Layer already exists 04:22:35 1a9929c5021a: Layer already exists 04:22:35 0dae25245871: Layer already exists 04:22:35 1faab2ef0f35: Layer already exists 04:22:35 main: digest: sha256:541f34cb3a95e3b841fe40f45d74ac55d27dc19be34b34f35f71ba7791ea03d5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:35 ===================================================== [Pipeline] echo 04:22:35 taggedImages: 04:22:35 - nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:22:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:22:35 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.35 04:22:35 - nexus3.edgexfoundry.org:10004/device-mqtt:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:22:35 - 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 04:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:36 04:22:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:36 latest: Pulling from edgex-lftools-log-publisher 04:22:36 5eb5b503b376: Pulling fs layer 04:22:36 5c69ac0246d0: Pulling fs layer 04:22:36 ec43610c2a17: Pulling fs layer 04:22:36 3a2ae6a8a46f: Pulling fs layer 04:22:36 33b1e0a273af: Pulling fs layer 04:22:36 5d3b04190fa2: Pulling fs layer 04:22:36 2f39f015ded8: Pulling fs layer 04:22:36 33b1e0a273af: Waiting 04:22:36 5d3b04190fa2: Waiting 04:22:36 2f39f015ded8: Waiting 04:22:36 5c69ac0246d0: Download complete 04:22:36 3a2ae6a8a46f: Verifying Checksum 04:22:36 3a2ae6a8a46f: Download complete 04:22:37 33b1e0a273af: Verifying Checksum 04:22:37 33b1e0a273af: Download complete 04:22:37 5d3b04190fa2: Verifying Checksum 04:22:37 5d3b04190fa2: Download complete 04:22:37 ec43610c2a17: Verifying Checksum 04:22:37 ec43610c2a17: Download complete 04:22:37 5eb5b503b376: Verifying Checksum 04:22:37 5eb5b503b376: Download complete 04:22:38 2f39f015ded8: Verifying Checksum 04:22:38 2f39f015ded8: Download complete 04:22:39 5eb5b503b376: Pull complete 04:22:39 5c69ac0246d0: Pull complete 04:22:39 ec43610c2a17: Pull complete 04:22:39 3a2ae6a8a46f: Pull complete 04:22:39 33b1e0a273af: Pull complete 04:22:40 5d3b04190fa2: Pull complete 04:22:44 2f39f015ded8: Pull complete 04:22:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:45 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:22:45 $ 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 04:22:49 $ docker top f56b72277d72314ed6500a8023d9537b23995ca68249234be6827e1208578350 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:49 ---> job-cost.sh 04:22:49 lf-activate-venv: SKIPPING 04:22:49 INFO: No Stack... 04:22:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:51 INFO: Archiving Costs [Pipeline] sh 04:22:52 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:22:52 + cut -d, -f6 [Pipeline] lock 04:22:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] 04:22:52 Resource [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] did not exist. Created. 04:22:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:52 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:52 Stashed 1 file(s) [Pipeline] } 04:22:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:52 $ docker stop --time=1 f56b72277d72314ed6500a8023d9537b23995ca68249234be6827e1208578350 04:22:53 $ docker rm -f --volumes f56b72277d72314ed6500a8023d9537b23995ca68249234be6827e1208578350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:23:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15167 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:23:19 Running in /w/workspace/device-mqtt-go/119 [Pipeline] { [Pipeline] checkout 04:23:19 Selected Git installation does not exist. Using Default 04:23:19 The recommended git tool is: NONE 04:23:26 using credential edgex-jenkins-ssh 04:23:26 Cloning the remote Git repository 04:23:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:23:26 > git init /w/workspace/device-mqtt-go/119 # timeout=10 04:23:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:23:26 > git --version # timeout=10 04:23:26 > git --version # 'git version 2.25.1' 04:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:23:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:29 Avoid second fetch 04:23:29 Checking out Revision aee7b0e7ef23d1e8502c68f930469c32112c0c09 (main) 04:23:29 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#599)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:29 > git config core.sparsecheckout # timeout=10 04:23:29 > git checkout -f aee7b0e7ef23d1e8502c68f930469c32112c0c09 # timeout=10 04:23:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:23:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:30 Dload Upload Total Spent Left Speed 04:23:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 04:23:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:23:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:23:31 + sudo tee /etc/docker/daemon.new 04:23:31 { 04:23:31 "registry-mirrors": [ 04:23:31 "https://nexus3.edgexfoundry.org:10001" 04:23:31 ], 04:23:31 "bip": "10.250.0.254/24", 04:23:31 "hosts": [ 04:23:31 "tcp://0.0.0.0:5555", 04:23:31 "unix:///var/run/docker.sock" 04:23:31 ], 04:23:31 "mtu": 1458, 04:23:31 "selinux-enabled": true, 04:23:31 "seccomp-profile": "/etc/docker/seccomp.json" 04:23:31 } [Pipeline] sh 04:23:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:23:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:50 provisioning config files... 04:23:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/119@tmp/config10076382644810297478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:51 ---> docker-login.sh 04:23:51 nexus3.edgexfoundry.org:10001 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 nexus3.edgexfoundry.org:10002 04:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:52 Configure a credential helper to remove this warning. See 04:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:52 04:23:52 Login Succeeded 04:23:52 nexus3.edgexfoundry.org:10003 04:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:52 Configure a credential helper to remove this warning. See 04:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:52 04:23:52 Login Succeeded 04:23:52 nexus3.edgexfoundry.org:10004 04:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:53 Configure a credential helper to remove this warning. See 04:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:53 04:23:53 Login Succeeded 04:23:53 docker.io 04:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:53 Configure a credential helper to remove this warning. See 04:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:53 04:23:53 Login Succeeded 04:23:53 ---> docker-login.sh ends [Pipeline] } 04:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:53 ========================================================= 04:23:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:23:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:54 + 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 . 04:23:54 Sending build context to Docker daemon 3.38MB 04:23:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:23:54 Step 2/12 : FROM ${BASE} AS builder 04:23:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:23:54 c41833b44d91: Pulling fs layer 04:23:54 ed15518f5707: Pulling fs layer 04:23:54 feae8fd75edb: Pulling fs layer 04:23:54 242c74f7c9fa: Pulling fs layer 04:23:54 3cdef696dda3: Pulling fs layer 04:23:54 2ced38df9373: Pulling fs layer 04:23:54 58f1dce35555: Pulling fs layer 04:23:54 3cdef696dda3: Waiting 04:23:54 242c74f7c9fa: Waiting 04:23:54 2ced38df9373: Waiting 04:23:54 58f1dce35555: Waiting 04:23:54 ed15518f5707: Verifying Checksum 04:23:54 ed15518f5707: Download complete 04:23:54 242c74f7c9fa: Verifying Checksum 04:23:54 242c74f7c9fa: Download complete 04:23:54 3cdef696dda3: Verifying Checksum 04:23:54 3cdef696dda3: Download complete 04:23:54 c41833b44d91: Download complete 04:23:56 c41833b44d91: Pull complete 04:23:56 58f1dce35555: Verifying Checksum 04:23:56 58f1dce35555: Download complete 04:23:56 ed15518f5707: Pull complete 04:23:57 feae8fd75edb: Verifying Checksum 04:23:57 feae8fd75edb: Download complete 04:23:57 2ced38df9373: Verifying Checksum 04:23:57 2ced38df9373: Download complete 04:24:10 feae8fd75edb: Pull complete 04:24:10 242c74f7c9fa: Pull complete 04:24:10 3cdef696dda3: Pull complete 04:24:16 2ced38df9373: Pull complete 04:24:19 58f1dce35555: Pull complete 04:24:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:24:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:24:19 ---> fadd8f120f05 04:24:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:24:21 ---> Running in abd0f30c4f6e 04:24:22 Removing intermediate container abd0f30c4f6e 04:24:22 ---> 4ae9239fa9ae 04:24:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:22 ---> Running in 80512776a0d6 04:24:22 Removing intermediate container 80512776a0d6 04:24:22 ---> f368b4a386a9 04:24:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:24:22 ---> Running in 41a11da7b2e4 04:24:22 Removing intermediate container 41a11da7b2e4 04:24:22 ---> 7cd796bd4c70 04:24:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:24:22 ---> Running in 0d4507038f42 04:24:23 Removing intermediate container 0d4507038f42 04:24:23 ---> ffc66bd4d87d 04:24:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:23 ---> Running in 1295c8841ab5 04:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:24:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:24:26 (2/4) Installing libedit (20221030.3.1-r0) 04:24:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:24:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:24:26 Executing busybox-1.35.0-r29.trigger 04:24:26 OK: 268 MiB in 57 packages 04:24:27 Removing intermediate container 1295c8841ab5 04:24:27 ---> 5b59cd4627cd 04:24:27 Step 8/12 : WORKDIR /device-mqtt-go 04:24:27 ---> Running in bd6afdfd21c9 04:24:28 Removing intermediate container bd6afdfd21c9 04:24:28 ---> 5e6a7d440af3 04:24:28 Step 9/12 : COPY go.mod vendor* ./ 04:24:28 ---> 4a273e1f9768 04:24:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:28 ---> Running in b18b333c8e40 04:25:36 Removing intermediate container b18b333c8e40 04:25:36 ---> 79fdafb79611 04:25:36 Step 11/12 : COPY . . 04:25:36 ---> 014ec3910eed 04:25:36 Step 12/12 : RUN $MAKE 04:25:36 ---> Running in 4f225eadf7f4 04:25:36 noop 04:25:36 Removing intermediate container 4f225eadf7f4 04:25:36 ---> 4490dbbd136c 04:25:36 Successfully built 4490dbbd136c 04:25:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:37 + docker inspect -f . ci-base-image-arm64 04:25:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:37 prd-ubuntu20.04-docker-arm64-4c-16g-15167 does not seem to be running inside a container 04:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/119 -v /w/workspace/device-mqtt-go/119:/w/workspace/device-mqtt-go/119:rw,z -v /w/workspace/device-mqtt-go/119@tmp:/w/workspace/device-mqtt-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:25:38 $ docker top 51cbc875c9d225a9df5813d815582585922edf382c58c45812bb871f0297ae7a -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:39 + go version 04:25:39 go version go1.20.2 linux/arm64 [Pipeline] } 04:25:39 $ docker stop --time=1 51cbc875c9d225a9df5813d815582585922edf382c58c45812bb871f0297ae7a 04:25:41 $ docker rm -f --volumes 51cbc875c9d225a9df5813d815582585922edf382c58c45812bb871f0297ae7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:41 + docker inspect -f . ci-base-image-arm64 04:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:42 prd-ubuntu20.04-docker-arm64-4c-16g-15167 does not seem to be running inside a container 04:25:42 $ 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/119 -v /w/workspace/device-mqtt-go/119:/w/workspace/device-mqtt-go/119:rw,z -v /w/workspace/device-mqtt-go/119@tmp:/w/workspace/device-mqtt-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:25:43 $ docker top 82ab2f2e207594c39ebfedb86cec84244fe23bdd069c5813c71d539951b569b2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/119 [Pipeline] fileExists [Pipeline] sh 04:25:44 + make test 04:25:44 go test ./... -coverprofile=coverage.out ./... 04:26:23 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:29:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:29:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:29:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.090s coverage: 23.1% of statements 04:29:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:29:00 go vet ./... 04:29:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:29:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:29:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:29:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:29:27 $ docker stop --time=1 82ab2f2e207594c39ebfedb86cec84244fe23bdd069c5813c71d539951b569b2 04:29:29 $ docker rm -f --volumes 82ab2f2e207594c39ebfedb86cec84244fe23bdd069c5813c71d539951b569b2 [Pipeline] // withDockerContainer [Pipeline] sh 04:29:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:29:30 Warning: overwriting stash ‘coverage-report’ 04:29:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:29:31 + ls -al . 04:29:31 total 176 04:29:31 drwxrwxr-x 9 jenkins jenkins 4096 May 11 04:25 . 04:29:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:23 .. 04:29:31 -rw-rw-r-- 1 jenkins jenkins 140 May 11 04:23 .dockerignore 04:29:31 drwxrwxr-x 8 jenkins jenkins 4096 May 11 04:23 .git 04:29:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:23 .github 04:29:31 -rw-rw-r-- 1 jenkins jenkins 329 May 11 04:23 .gitignore 04:29:31 -rw-rw-r-- 1 jenkins jenkins 41 May 11 04:23 .golangci.yml 04:29:31 -rw-rw-r-- 1 jenkins jenkins 9417 May 11 04:23 Attribution.txt 04:29:31 -rw-rw-r-- 1 jenkins jenkins 13162 May 11 04:23 CHANGELOG.md 04:29:31 -rw-rw-r-- 1 jenkins jenkins 1689 May 11 04:23 Dockerfile 04:29:31 -rw-rw-r-- 1 jenkins jenkins 677 May 11 04:23 GOVERNANCE.md 04:29:31 -rw-rw-r-- 1 jenkins jenkins 678 May 11 04:23 Jenkinsfile 04:29:31 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 04:23 LICENSE 04:29:31 -rw-rw-r-- 1 jenkins jenkins 1732 May 11 04:23 Makefile 04:29:31 -rw-rw-r-- 1 jenkins jenkins 620 May 11 04:23 OWNERS.md 04:29:31 -rw-rw-r-- 1 jenkins jenkins 3165 May 11 04:23 README.md 04:29:31 -rw-rw-r-- 1 jenkins jenkins 12 May 11 04:20 VERSION 04:29:31 drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:23 bin 04:29:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:23 cmd 04:29:31 -rw-r--r-- 1 jenkins jenkins 18144 May 11 04:28 coverage.out 04:29:31 -rw-rw-r-- 1 jenkins jenkins 3333 May 11 04:23 go.mod 04:29:31 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 04:23 go.sum 04:29:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:23 internal 04:29:31 drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:23 mock 04:29:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:23 snap 04:29:31 -rw-rw-r-- 1 jenkins jenkins 227 May 11 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:32 + 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=aee7b0e7ef23d1e8502c68f930469c32112c0c09 --label arch=arm64 --label version=3.0.0-dev.35 . 04:29:32 Sending build context to Docker daemon 3.399MB 04:29:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:29:32 Step 2/24 : FROM ${BASE} AS builder 04:29:32 ---> 4490dbbd136c 04:29:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:29:32 ---> Running in 1ae2114bd7c3 04:29:32 Removing intermediate container 1ae2114bd7c3 04:29:32 ---> f15cb1f33824 04:29:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:29:33 ---> Running in a466725e27b7 04:29:33 Removing intermediate container a466725e27b7 04:29:33 ---> c9e82b7d84c5 04:29:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:29:33 ---> Running in 9d40f4b05fa0 04:29:33 Removing intermediate container 9d40f4b05fa0 04:29:33 ---> 437ef19f434d 04:29:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:29:33 ---> Running in 59000d035c80 04:29:34 Removing intermediate container 59000d035c80 04:29:34 ---> bf39a4b6a9de 04:29:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:29:34 ---> Running in 72e8fb480bd5 04:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:29:37 OK: 268 MiB in 57 packages 04:29:38 Removing intermediate container 72e8fb480bd5 04:29:38 ---> e8fa9c5a66d8 04:29:38 Step 8/24 : WORKDIR /device-mqtt-go 04:29:38 ---> Running in 5806d311042b 04:29:38 Removing intermediate container 5806d311042b 04:29:38 ---> e5d376b33184 04:29:38 Step 9/24 : COPY go.mod vendor* ./ 04:29:39 ---> 1e3af1a1b09f 04:29:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:39 ---> Running in 08fc68d0463a 04:29:41 Removing intermediate container 08fc68d0463a 04:29:41 ---> caa7eadaf676 04:29:41 Step 11/24 : COPY . . 04:29:45 ---> 828bb175fda1 04:29:45 Step 12/24 : RUN $MAKE 04:29:45 ---> Running in 425f7c063bbd 04:29:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:32:07 Removing intermediate container 425f7c063bbd 04:32:07 ---> 2b24d067730d 04:32:07 Step 13/24 : FROM alpine:3.17 04:32:08 3.17: Pulling from library/alpine 04:32:08 c41833b44d91: Already exists 04:32:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:32:08 Status: Downloaded newer image for alpine:3.17 04:32:08 ---> 51e60588ff2c 04:32:08 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:32:08 ---> Running in 1d2bc4896769 04:32:08 Removing intermediate container 1d2bc4896769 04:32:08 ---> db2671336591 04:32:08 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:32:09 ---> Running in 65abe523b2d5 04:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:32:11 (1/1) Installing dumb-init (1.2.5-r2) 04:32:12 Executing busybox-1.35.0-r29.trigger 04:32:12 OK: 8 MiB in 16 packages 04:32:13 Removing intermediate container 65abe523b2d5 04:32:13 ---> 8f649fb02a11 04:32:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:32:14 ---> a3658059205f 04:32:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:32:15 ---> 7d9bba23f51b 04:32:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:32:15 ---> 577cfe813d43 04:32:15 Step 19/24 : EXPOSE 59982 04:32:15 ---> Running in 79a44ca14f73 04:32:16 Removing intermediate container 79a44ca14f73 04:32:16 ---> 3a81930271f2 04:32:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:32:16 ---> Running in efbb7fcf5e85 04:32:16 Removing intermediate container efbb7fcf5e85 04:32:16 ---> e75f4a20036e 04:32:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:32:16 ---> Running in 682ab30efe1a 04:32:16 Removing intermediate container 682ab30efe1a 04:32:16 ---> 98c9250ca2d2 04:32:16 Step 22/24 : LABEL arch=arm64 04:32:16 ---> Running in fbc777deb5e4 04:32:17 Removing intermediate container fbc777deb5e4 04:32:17 ---> 9456eca2786e 04:32:17 Step 23/24 : LABEL git_sha=aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:32:17 ---> Running in a8760fba06d7 04:32:17 Removing intermediate container a8760fba06d7 04:32:17 ---> 9338b91485e2 04:32:17 Step 24/24 : LABEL version=3.0.0-dev.35 04:32:17 ---> Running in 8cb618b0b8ed 04:32:18 Removing intermediate container 8cb618b0b8ed 04:32:18 ---> 880a4bc49852 04:32:18 [Warning] One or more build-args [ARCH] were not consumed 04:32:18 Successfully built 880a4bc49852 04:32:18 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 04:32:18 provisioning config files... 04:32:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/119@tmp/config17240846301012972021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:18 ---> docker-login.sh 04:32:18 nexus3.edgexfoundry.org:10001 04:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:18 Configure a credential helper to remove this warning. See 04:32:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:18 04:32:18 Login Succeeded 04:32:18 nexus3.edgexfoundry.org:10002 04:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:19 Configure a credential helper to remove this warning. See 04:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:19 04:32:19 Login Succeeded 04:32:19 nexus3.edgexfoundry.org:10003 04:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:19 Configure a credential helper to remove this warning. See 04:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:19 04:32:19 Login Succeeded 04:32:19 nexus3.edgexfoundry.org:10004 04:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:19 Configure a credential helper to remove this warning. See 04:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:19 04:32:19 Login Succeeded 04:32:19 docker.io 04:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:20 Configure a credential helper to remove this warning. See 04:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:20 04:32:20 Login Succeeded 04:32:20 ---> docker-login.sh ends [Pipeline] } 04:32:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:32:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:20 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:32:20 aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:32:20 latest 04:32:20 3.0.0-dev.35 04:32:20 aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:32:20 main 04:32:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:32:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:32:21 e8403e9774b8: Preparing 04:32:21 8cc0efdae17e: Preparing 04:32:21 d770a5d377f5: Preparing 04:32:21 dd7cd610804c: Preparing 04:32:21 26cbea5cba74: Preparing 04:32:21 26cbea5cba74: Layer already exists 04:32:21 8cc0efdae17e: Pushed 04:32:21 dd7cd610804c: Pushed 04:32:21 e8403e9774b8: Pushed 04:32:28 d770a5d377f5: Pushed 04:32:28 aee7b0e7ef23d1e8502c68f930469c32112c0c09: digest: sha256:33a524b31e3cf577f6271fddb254bafd6bc546c08c5899a11cd3e4c324c35b83 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:32:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:32:29 e8403e9774b8: Preparing 04:32:29 8cc0efdae17e: Preparing 04:32:29 d770a5d377f5: Preparing 04:32:29 dd7cd610804c: Preparing 04:32:29 26cbea5cba74: Preparing 04:32:29 dd7cd610804c: Layer already exists 04:32:29 d770a5d377f5: Layer already exists 04:32:29 e8403e9774b8: Layer already exists 04:32:29 26cbea5cba74: Layer already exists 04:32:29 8cc0efdae17e: Layer already exists 04:32:29 latest: digest: sha256:33a524b31e3cf577f6271fddb254bafd6bc546c08c5899a11cd3e4c324c35b83 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.35 04:32:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:32:30 e8403e9774b8: Preparing 04:32:30 8cc0efdae17e: Preparing 04:32:30 d770a5d377f5: Preparing 04:32:30 dd7cd610804c: Preparing 04:32:30 26cbea5cba74: Preparing 04:32:30 8cc0efdae17e: Layer already exists 04:32:30 dd7cd610804c: Layer already exists 04:32:30 d770a5d377f5: Layer already exists 04:32:30 26cbea5cba74: Layer already exists 04:32:30 e8403e9774b8: Layer already exists 04:32:30 3.0.0-dev.35: digest: sha256:33a524b31e3cf577f6271fddb254bafd6bc546c08c5899a11cd3e4c324c35b83 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:32:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:32:31 e8403e9774b8: Preparing 04:32:31 8cc0efdae17e: Preparing 04:32:31 d770a5d377f5: Preparing 04:32:31 dd7cd610804c: Preparing 04:32:31 26cbea5cba74: Preparing 04:32:31 8cc0efdae17e: Layer already exists 04:32:31 e8403e9774b8: Layer already exists 04:32:31 dd7cd610804c: Layer already exists 04:32:31 d770a5d377f5: Layer already exists 04:32:31 26cbea5cba74: Layer already exists 04:32:31 aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35: digest: sha256:33a524b31e3cf577f6271fddb254bafd6bc546c08c5899a11cd3e4c324c35b83 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:32:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:32:32 e8403e9774b8: Preparing 04:32:32 8cc0efdae17e: Preparing 04:32:32 d770a5d377f5: Preparing 04:32:32 dd7cd610804c: Preparing 04:32:32 26cbea5cba74: Preparing 04:32:32 26cbea5cba74: Layer already exists 04:32:32 d770a5d377f5: Layer already exists 04:32:32 dd7cd610804c: Layer already exists 04:32:32 e8403e9774b8: Layer already exists 04:32:32 8cc0efdae17e: Layer already exists 04:32:32 main: digest: sha256:33a524b31e3cf577f6271fddb254bafd6bc546c08c5899a11cd3e4c324c35b83 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:32:32 ===================================================== [Pipeline] echo 04:32:32 taggedImages: 04:32:32 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09 04:32:32 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:32:32 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.35 04:32:32 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:aee7b0e7ef23d1e8502c68f930469c32112c0c09-3.0.0-dev.35 04:32:32 - 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 04:32:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:32 04:32:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:33 arm64: Pulling from edgex-lftools-log-publisher 04:32:33 8998bd30e6a1: Pulling fs layer 04:32:33 04944245beec: Pulling fs layer 04:32:33 699f458cf7ca: Pulling fs layer 04:32:33 765212b225bb: Pulling fs layer 04:32:33 f23df028b6ca: Pulling fs layer 04:32:33 d65c8cfc05b1: Pulling fs layer 04:32:33 2437ff75d9bd: Pulling fs layer 04:32:33 f23df028b6ca: Waiting 04:32:33 d65c8cfc05b1: Waiting 04:32:33 765212b225bb: Waiting 04:32:33 2437ff75d9bd: Waiting 04:32:33 04944245beec: Verifying Checksum 04:32:33 04944245beec: Download complete 04:32:33 765212b225bb: Verifying Checksum 04:32:33 765212b225bb: Download complete 04:32:33 f23df028b6ca: Verifying Checksum 04:32:33 f23df028b6ca: Download complete 04:32:33 d65c8cfc05b1: Verifying Checksum 04:32:33 d65c8cfc05b1: Download complete 04:32:33 699f458cf7ca: Verifying Checksum 04:32:33 699f458cf7ca: Download complete 04:32:33 8998bd30e6a1: Verifying Checksum 04:32:33 8998bd30e6a1: Download complete 04:32:36 2437ff75d9bd: Download complete 04:32:37 8998bd30e6a1: Pull complete 04:32:38 04944245beec: Pull complete 04:32:41 699f458cf7ca: Pull complete 04:32:41 765212b225bb: Pull complete 04:32:42 f23df028b6ca: Pull complete 04:32:42 d65c8cfc05b1: Pull complete 04:32:54 2437ff75d9bd: Pull complete 04:32:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:54 prd-ubuntu20.04-docker-arm64-4c-16g-15167 does not seem to be running inside a container 04:32:54 $ 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/119 -v /w/workspace/device-mqtt-go/119:/w/workspace/device-mqtt-go/119:rw,z -v /w/workspace/device-mqtt-go/119@tmp:/w/workspace/device-mqtt-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:32:58 $ docker top 7278416e47d8c95f807a89cffb416c1c81aab8693843234b8bc1371914d0c8d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:59 ---> job-cost.sh 04:32:59 lf-activate-venv: SKIPPING 04:32:59 INFO: No Stack... 04:32:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:33:00 INFO: Archiving Costs [Pipeline] sh 04:33:01 + cut -d, -f6 04:33:01 + cat /w/workspace/device-mqtt-go/119/archives/cost.csv [Pipeline] lock 04:33:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] 04:33:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] did not exist. Created. 04:33:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:33:02 /w/workspace/device-mqtt-go/119@tmp/durable-40efb661/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:33:02 + echo total: 0.10999999940395355 [Pipeline] stash 04:33:02 Warning: overwriting stash ‘stack-cost’ 04:33:02 Stashed 1 file(s) [Pipeline] } 04:33:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 04:33:02 $ docker stop --time=1 7278416e47d8c95f807a89cffb416c1c81aab8693843234b8bc1371914d0c8d7 04:33:04 $ docker rm -f --volumes 7278416e47d8c95f807a89cffb416c1c81aab8693843234b8bc1371914d0c8d7 [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 04:33:04 provisioning config files... 04:33:04 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7039125288487404133tmp [Pipeline] { [Pipeline] sh 04:33:05 + set +x 04:33:05 + curl -s https://codecov.io/bash 04:33:05 + bash -s -- 04:33:05 04:33:05 _____ _ 04:33:05 / ____| | | 04:33:05 | | ___ __| | ___ ___ _____ __ 04:33:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:33:05 | |___| (_) | (_| | __/ (_| (_) \ V / 04:33:05 \_____\___/ \__,_|\___|\___\___/ \_/ 04:33:05 Bash-1.0.6 04:33:05 04:33:05 04:33:05 ==> git version 2.25.1 found 04:33:05 ==> 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 04:33:05 Release-Date: 2020-01-08 04:33:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:33:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:33:05 ==> Jenkins CI detected. 04:33:05 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:33:05 project root: . 04:33:05 --> token set from env 04:33:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:33:05 ==> Running gcov in . (disable via -X gcov) 04:33:05 ==> Python coveragepy not found 04:33:05 ==> Searching for coverage reports in: 04:33:05 + . 04:33:05 -> Found 1 reports 04:33:05 ==> Detecting git/mercurial file structure 04:33:05 ==> Reading reports 04:33:05 + ./coverage.out bytes=18144 04:33:05 ==> Appending adjustments 04:33:05 https://docs.codecov.io/docs/fixing-reports 04:33:05 + Found adjustments 04:33:05 ==> Gzipping contents 04:33:05 4.0K /tmp/codecov.S0xlpW.gz 04:33:05 ==> Uploading reports 04:33:05 url: https://codecov.io 04:33:05 query: branch=main&commit=aee7b0e7ef23d1e8502c68f930469c32112c0c09&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:33:05 -> Pinging Codecov 04:33:05 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=aee7b0e7ef23d1e8502c68f930469c32112c0c09&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:33:05 -> Uploading to 04:33:05 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/7D719EC7BBE17E464838252E33014C33/aee7b0e7ef23d1e8502c68f930469c32112c0c09/f085b88f-1f94-475f-94e1-3d04c9ed3aa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T043305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e895efd7bc35f7b7df16b343a6c82b51e810777ac3d8fcd18076101759e59065 04:33:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:33:05 Dload Upload Total Spent Left Speed 04:33:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 14878 --:--:-- --:--:-- --:--:-- 14878 04:33:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] } 04:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:33:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:33:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:33:06 04:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:33:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:33:06 df9b9388f04a: Pulling fs layer 04:33:06 52dc419b0ee2: Pulling fs layer 04:33:06 25bc292e5bac: Pulling fs layer 04:33:06 114826534d7a: Pulling fs layer 04:33:06 4657fd5d0bcf: Pulling fs layer 04:33:06 6ad1cebc031e: Pulling fs layer 04:33:06 8a3aa393b2d8: Pulling fs layer 04:33:06 114826534d7a: Waiting 04:33:06 4657fd5d0bcf: Waiting 04:33:06 6ad1cebc031e: Waiting 04:33:06 8a3aa393b2d8: Waiting 04:33:06 25bc292e5bac: Verifying Checksum 04:33:06 25bc292e5bac: Download complete 04:33:06 52dc419b0ee2: Verifying Checksum 04:33:06 52dc419b0ee2: Download complete 04:33:06 4657fd5d0bcf: Verifying Checksum 04:33:06 4657fd5d0bcf: Download complete 04:33:06 df9b9388f04a: Verifying Checksum 04:33:06 df9b9388f04a: Download complete 04:33:06 df9b9388f04a: Pull complete 04:33:06 6ad1cebc031e: Verifying Checksum 04:33:06 6ad1cebc031e: Download complete 04:33:06 52dc419b0ee2: Pull complete 04:33:06 25bc292e5bac: Pull complete 04:33:07 114826534d7a: Verifying Checksum 04:33:07 114826534d7a: Download complete 04:33:07 8a3aa393b2d8: Verifying Checksum 04:33:07 8a3aa393b2d8: Download complete 04:33:10 114826534d7a: Pull complete 04:33:10 4657fd5d0bcf: Pull complete 04:33:10 6ad1cebc031e: Pull complete 04:33:13 8a3aa393b2d8: Pull complete 04:33:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:33:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:33:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:13 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:13 $ 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 04:33:17 $ docker top d693f07e935da9ad83f047a4f9d83acd05f46b6790428ab3bc35786c764c8e65 -eo pid,comm [Pipeline] { [Pipeline] echo 04:33:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:33:17 + set -o pipefail 04:33:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:33:21 04:33:21 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:33:21 04:33:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/c7ce8eee-9bcc-4c58-bf7c-c7eaec9d6162 04:33:21 04:33:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:33:21 04:33:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:33:21 04:33:21 04:33:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:33:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:33:21 More details here: https://snyk.co/ue1NS 04:33:21 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:33:21 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:33:21 $ docker stop --time=1 d693f07e935da9ad83f047a4f9d83acd05f46b6790428ab3bc35786c764c8e65 04:33:24 $ docker rm -f --volumes d693f07e935da9ad83f047a4f9d83acd05f46b6790428ab3bc35786c764c8e65 [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 04:33:25 + git log --format=format:%s -1 aee7b0e7ef23d1e8502c68f930469c32112c0c09 [Pipeline] sh 04:33:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:25 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:25 $ 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 04:33:26 $ docker top ae2662d57a4b15b63e5f3734c3453f53cd8291d09745504a2496c9cbeff806de -eo pid,comm 04:33:26 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). 04:33:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:26 [ssh-agent] Looking for ssh-agent implementation... 04:33:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:26 $ docker exec ae2662d57a4b15b63e5f3734c3453f53cd8291d09745504a2496c9cbeff806de ssh-agent 04:33:26 SSH_AUTH_SOCK=/tmp/ssh-LEW7bKPh3sX8/agent.32 04:33:26 SSH_AGENT_PID=38 04:33:26 Running ssh-add (command line suppressed) 04:33:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17479272590043168244.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17479272590043168244.key) 04:33:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:26 + git semver tag 04:33:27 2023-05-11 04:33:27,166 [run_tag] DEBUG tag force:False 04:33:27 2023-05-11 04:33:27,166 [check_head_tag] DEBUG check head tag 04:33:27 2023-05-11 04:33:27,167 [execute] INFO git cat-file --batch-check 04:33:27 2023-05-11 04:33:27,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:33:27 2023-05-11 04:33:27,171 [execute] INFO git cat-file --batch 04:33:27 2023-05-11 04:33:27,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:33:27 2023-05-11 04:33:27,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:27 2023-05-11 04:33:27,202 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 04:33:27 2023-05-11 04:33:27,203 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:33:27 2023-05-11 04:33:27,208 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:27 3.0.0-dev.35 [Pipeline] } 04:33:27 $ docker exec --env ******** --env ******** ae2662d57a4b15b63e5f3734c3453f53cd8291d09745504a2496c9cbeff806de ssh-agent -k 04:33:27 unset SSH_AUTH_SOCK; 04:33:27 unset SSH_AGENT_PID; 04:33:27 echo Agent pid 38 killed; 04:33:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:27 + git semver [Pipeline] } 04:33:28 $ docker stop --time=1 ae2662d57a4b15b63e5f3734c3453f53cd8291d09745504a2496c9cbeff806de 04:33:29 $ docker rm -f --volumes ae2662d57a4b15b63e5f3734c3453f53cd8291d09745504a2496c9cbeff806de [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:29 04:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:30 0.23.1-centos7: Pulling from edgex-lftools 04:33:30 ab5ef0e58194: Pulling fs layer 04:33:30 9712f1f96733: Pulling fs layer 04:33:30 63f879dbbcfc: Pulling fs layer 04:33:30 0d9ebad4ef96: Pulling fs layer 04:33:30 0d9ebad4ef96: Waiting 04:33:30 e9a5061849ea: Pulling fs layer 04:33:30 d747dcd14b5f: Pulling fs layer 04:33:30 2de7ff778b66: Pulling fs layer 04:33:30 d747dcd14b5f: Waiting 04:33:30 2de7ff778b66: Waiting 04:33:30 e9a5061849ea: Waiting 04:33:30 9712f1f96733: Verifying Checksum 04:33:30 9712f1f96733: Download complete 04:33:30 63f879dbbcfc: Verifying Checksum 04:33:30 63f879dbbcfc: Download complete 04:33:30 0d9ebad4ef96: Verifying Checksum 04:33:30 0d9ebad4ef96: Download complete 04:33:30 e9a5061849ea: Verifying Checksum 04:33:30 e9a5061849ea: Download complete 04:33:30 ab5ef0e58194: Download complete 04:33:30 2de7ff778b66: Verifying Checksum 04:33:30 2de7ff778b66: Download complete 04:33:33 ab5ef0e58194: Pull complete 04:33:33 9712f1f96733: Pull complete 04:33:34 63f879dbbcfc: Pull complete 04:33:38 0d9ebad4ef96: Pull complete 04:33:38 e9a5061849ea: Pull complete 04:33:38 d747dcd14b5f: Pull complete 04:33:39 2de7ff778b66: Pull complete 04:33:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:39 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:39 $ 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 04:33:42 $ docker top a524f7e5b11858bb8c4befaca4c50dd39ea28b0527382ca3178c68b27d3d2df3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:33:42 provisioning config files... 04:33:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config269020216873611685tmp 04:33:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8402954503277368017tmp 04:33:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8025838745444822895tmp [Pipeline] { [Pipeline] echo 04:33:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:33:42 ---> sigul-configuration.sh 04:33:42 gpg: directory `/root/.gnupg' created 04:33:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:33:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:33:42 gpg: keyring `/root/.gnupg/secring.gpg' created 04:33:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:33:42 gpg: CAST5 encrypted data 04:33:42 gpg: encrypted with 1 passphrase 04:33:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:33:43 + mkdir /home/jenkins 04:33:43 + mkdir /home/jenkins/sigul [Pipeline] sh 04:33:43 + 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 04:33:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:33:43 ---> sigul-install.sh 04:33:43 Sigul already installed; skipping installation. [Pipeline] sh 04:33:44 + git tag --list 04:33:44 0.7.1 04:33:44 v1.0.0 04:33:44 v1.1.0 04:33:44 v1.1.1 04:33:44 v1.2.2 04:33:44 v1.3.0 04:33:44 v1.3.1 04:33:44 v2.0.0 04:33:44 v2.1.0 04:33:44 v2.1.1 04:33:44 v2.1.1-dev.1 04:33:44 v2.1.1-dev.2 04:33:44 v2.2.0 04:33:44 v2.2.1-dev.1 04:33:44 v2.2.1-dev.10 04:33:44 v2.2.1-dev.2 04:33:44 v2.2.1-dev.3 04:33:44 v2.2.1-dev.4 04:33:44 v2.2.1-dev.5 04:33:44 v2.2.1-dev.6 04:33:44 v2.2.1-dev.7 04:33:44 v2.2.1-dev.8 04:33:44 v2.2.1-dev.9 04:33:44 v2.3.0 04:33:44 v2.3.0-dev.10 04:33:44 v2.3.0-dev.11 04:33:44 v2.3.0-dev.12 04:33:44 v2.3.0-dev.13 04:33:44 v2.3.0-dev.14 04:33:44 v2.3.0-dev.15 04:33:44 v2.3.0-dev.16 04:33:44 v2.3.0-dev.17 04:33:44 v2.3.0-dev.18 04:33:44 v2.3.0-dev.19 04:33:44 v2.3.0-dev.20 04:33:44 v2.3.0-dev.21 04:33:44 v2.3.0-dev.22 04:33:44 v2.3.0-dev.23 04:33:44 v2.3.0-dev.24 04:33:44 v2.3.0-dev.25 04:33:44 v2.3.0-dev.26 04:33:44 v2.3.0-dev.27 04:33:44 v2.3.0-dev.28 04:33:44 v2.3.0-dev.29 04:33:44 v2.3.0-dev.30 04:33:44 v2.3.0-dev.31 04:33:44 v2.3.0-dev.32 04:33:44 v2.3.0-dev.33 04:33:44 v2.3.0-dev.34 04:33:44 v3.0.0-dev.1 04:33:44 v3.0.0-dev.10 04:33:44 v3.0.0-dev.11 04:33:44 v3.0.0-dev.12 04:33:44 v3.0.0-dev.13 04:33:44 v3.0.0-dev.14 04:33:44 v3.0.0-dev.15 04:33:44 v3.0.0-dev.16 04:33:44 v3.0.0-dev.17 04:33:44 v3.0.0-dev.18 04:33:44 v3.0.0-dev.19 04:33:44 v3.0.0-dev.2 04:33:44 v3.0.0-dev.20 04:33:44 v3.0.0-dev.21 04:33:44 v3.0.0-dev.22 04:33:44 v3.0.0-dev.23 04:33:44 v3.0.0-dev.24 04:33:44 v3.0.0-dev.25 04:33:44 v3.0.0-dev.26 04:33:44 v3.0.0-dev.27 04:33:44 v3.0.0-dev.28 04:33:44 v3.0.0-dev.29 04:33:44 v3.0.0-dev.3 04:33:44 v3.0.0-dev.30 04:33:44 v3.0.0-dev.31 04:33:44 v3.0.0-dev.32 04:33:44 v3.0.0-dev.33 04:33:44 v3.0.0-dev.34 04:33:44 v3.0.0-dev.35 04:33:44 v3.0.0-dev.4 04:33:44 v3.0.0-dev.5 04:33:44 v3.0.0-dev.6 04:33:44 v3.0.0-dev.7 04:33:44 v3.0.0-dev.8 04:33:44 v3.0.0-dev.9 [Pipeline] sh 04:33:44 + lftools sign git-tag v3.0.0-dev.35 04:33:44 Signing Git tag with Sigul... 04:33:44 Signing v3.0.0-dev.35 [Pipeline] echo 04:33:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:33:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:33:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:33:45 $ docker stop --time=1 a524f7e5b11858bb8c4befaca4c50dd39ea28b0527382ca3178c68b27d3d2df3 04:33:46 $ docker rm -f --volumes a524f7e5b11858bb8c4befaca4c50dd39ea28b0527382ca3178c68b27d3d2df3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:33:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:47 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:47 $ 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 04:33:47 $ docker top c3eae7de4c2d1d0c1b1155444fe59924901df0f13493aa00bb09b9c06dbea4e5 -eo pid,comm 04:33:48 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). 04:33:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:48 [ssh-agent] Looking for ssh-agent implementation... 04:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:48 $ docker exec c3eae7de4c2d1d0c1b1155444fe59924901df0f13493aa00bb09b9c06dbea4e5 ssh-agent 04:33:48 SSH_AUTH_SOCK=/tmp/ssh-rDMq4XyA6YHG/agent.32 04:33:48 SSH_AGENT_PID=39 04:33:48 Running ssh-add (command line suppressed) 04:33:48 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17033429826787166107.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17033429826787166107.key) 04:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:48 + git semver bump pre 04:33:48 2023-05-11 04:33:48,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:48 2023-05-11 04:33:48,808 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev 04:33:48 2023-05-11 04:33:48,808 [bump_version] DEBUG bumped version:3.0.0-dev.36 04:33:48 2023-05-11 04:33:48,808 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:33:48 2023-05-11 04:33:48,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:48 2023-05-11 04:33:48,808 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:48 2023-05-11 04:33:48,809 [execute] INFO git cat-file --batch-check 04:33:48 2023-05-11 04:33:48,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:33:48 2023-05-11 04:33:48,814 [execute] INFO git cat-file --batch 04:33:48 2023-05-11 04:33:48,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:33:48 2023-05-11 04:33:48,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:48 3.0.0-dev.36 [Pipeline] } 04:33:48 $ docker exec --env ******** --env ******** c3eae7de4c2d1d0c1b1155444fe59924901df0f13493aa00bb09b9c06dbea4e5 ssh-agent -k 04:33:49 unset SSH_AUTH_SOCK; 04:33:49 unset SSH_AGENT_PID; 04:33:49 echo Agent pid 39 killed; 04:33:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:49 + git semver [Pipeline] } 04:33:49 $ docker stop --time=1 c3eae7de4c2d1d0c1b1155444fe59924901df0f13493aa00bb09b9c06dbea4e5 04:33:50 $ docker rm -f --volumes c3eae7de4c2d1d0c1b1155444fe59924901df0f13493aa00bb09b9c06dbea4e5 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:51 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:51 $ 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 04:33:51 $ docker top 19c2b9e15e22742d6bfe97bf0ed4bc67cff2f6324ca9496c2f9f490fd20014b2 -eo pid,comm 04:33:52 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). 04:33:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:52 [ssh-agent] Looking for ssh-agent implementation... 04:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:52 $ docker exec 19c2b9e15e22742d6bfe97bf0ed4bc67cff2f6324ca9496c2f9f490fd20014b2 ssh-agent 04:33:52 SSH_AUTH_SOCK=/tmp/ssh-lEmNBanNzwie/agent.33 04:33:52 SSH_AGENT_PID=39 04:33:52 Running ssh-add (command line suppressed) 04:33:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16567111817995939865.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16567111817995939865.key) 04:33:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:52 + git semver push 04:33:53 2023-05-11 04:33:52,883 [run_push] DEBUG push 04:33:53 2023-05-11 04:33:52,884 [execute] INFO git cat-file --batch-check 04:33:53 2023-05-11 04:33:52,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:33:53 2023-05-11 04:33:52,888 [execute] INFO git rev-list c7f79eeb6143b7b59484fcd4fd57626c5eb9448b -- 04:33:53 2023-05-11 04:33:52,889 [execute] DEBUG Popen(['git', 'rev-list', 'c7f79eeb6143b7b59484fcd4fd57626c5eb9448b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:33:53 2023-05-11 04:33:52,897 [execute] INFO git fetch -v origin 04:33:53 2023-05-11 04:33:52,897 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:33:53 2023-05-11 04:33:53,371 [run_push] DEBUG no remote changes detected 04:33:53 2023-05-11 04:33:53,371 [execute] INFO git push origin semver 04:33:53 2023-05-11 04:33:53,371 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:33:54 2023-05-11 04:33:54,135 [run_push] DEBUG push all version tags 04:33:54 2023-05-11 04:33:54,136 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:33:54 2023-05-11 04:33:54,136 [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) 04:33:55 2023-05-11 04:33:54,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:33:55 3.0.0-dev.36 [Pipeline] } 04:33:55 $ docker exec --env ******** --env ******** 19c2b9e15e22742d6bfe97bf0ed4bc67cff2f6324ca9496c2f9f490fd20014b2 ssh-agent -k 04:33:55 unset SSH_AUTH_SOCK; 04:33:55 unset SSH_AGENT_PID; 04:33:55 echo Agent pid 39 killed; 04:33:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:55 + git semver [Pipeline] } 04:33:55 $ docker stop --time=1 19c2b9e15e22742d6bfe97bf0ed4bc67cff2f6324ca9496c2f9f490fd20014b2 04:33:57 $ docker rm -f --volumes 19c2b9e15e22742d6bfe97bf0ed4bc67cff2f6324ca9496c2f9f490fd20014b2 [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 04:33:57 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:33:57 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:33:57 total 16 04:33:57 drwxr-xr-x 3 root root 4096 May 11 04:22 . 04:33:57 drwxrwxr-x 11 jenkins jenkins 4096 May 11 04:33 .. 04:33:57 drwxr-xr-x 2 root root 4096 May 11 04:22 cost 04:33:57 -rw-r--r-- 1 root root 86 May 11 04:22 cost.csv 04:33:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:33:57 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:33:57 total 16 04:33:57 drwxr-xr-x 3 jenkins jenkins 4096 May 11 04:22 . 04:33:57 drwxrwxr-x 11 jenkins jenkins 4096 May 11 04:33 .. 04:33:57 drwxr-xr-x 2 jenkins jenkins 4096 May 11 04:22 cost 04:33:57 -rw-r--r-- 1 jenkins jenkins 86 May 11 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:33:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:33:59 ---> package-listing.sh 04:33:59 ++ facter osfamily 04:33:59 ++ tr '[:upper:]' '[:lower:]' 04:33:59 + OS_FAMILY=debian 04:33:59 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:33:59 + START_PACKAGES=/tmp/packages_start.txt 04:33:59 + END_PACKAGES=/tmp/packages_end.txt 04:33:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:33:59 + PACKAGES=/tmp/packages_start.txt 04:33:59 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:33:59 + PACKAGES=/tmp/packages_end.txt 04:33:59 + case "${OS_FAMILY}" in 04:33:59 + dpkg -l 04:33:59 + grep '^ii' 04:33:59 + '[' -f /tmp/packages_start.txt ']' 04:33:59 + '[' -f /tmp/packages_end.txt ']' 04:33:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:33:59 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:33:59 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:33:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:33:59 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 04:33:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:59 prd-ubuntu20.04-docker-8c-8g-15164 does not seem to be running inside a container 04:33:59 $ 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 04:34:00 $ docker top 66353bb5fe3be8a7f5096d2d882641647364b96fd9487a788b358479481a5cb5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:34:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:34:01 + ls /var/log/sa-host 04:34:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:01 provisioning config files... 04:34:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8550605971688838870tmp [Pipeline] { [Pipeline] echo 04:34:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:34:01 ---> create-netrc.sh [Pipeline] } 04:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:34:01 ---> python-tools-install.sh [Pipeline] echo 04:34:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:34:02 ---> sudo-logs.sh 04:34:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:34:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:34:02 ---> job-cost.sh 04:34:02 lf-activate-venv: SKIPPING 04:34:02 DEBUG: total: 0.2199999988079071 04:34:02 INFO: Retrieving Stack Cost... 04:34:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:03 INFO: Archiving Costs [Pipeline] echo 04:34:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:34:03 ---> logs-deploy.sh 04:34:03 lf-activate-venv: SKIPPING 04:34:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/119 04:34:03 INFO: archiving workspace using pattern(s): 04:34:04 Archives upload complete. 04:34:04 INFO: archiving logs to Nexus