Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 848c7370e59f70b2b102dd5f15f8b033fa5e417d 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-ssh18438217756511802333.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4398317286894547270.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14757112704499710270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15421210594453766333.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-ssh17238497061257110974.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9185 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 848c7370e59f70b2b102dd5f15f8b033fa5e417d (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 > git config core.sparsecheckout # timeout=10 > git checkout -f 848c7370e59f70b2b102dd5f15f8b033fa5e417d # timeout=10 Commit message: "Merge pull request #633 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > git rev-list --no-walk d23214095485577aeb4dab86231955f0f4cb61d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:12:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:12:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:12:55 ========================================================= 03:12:55 EdgeX Global Pipelines Version Info 03:12:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:12:56 ------------------- 03:12:56 stable info: 03:12:56 ------------------- 03:12:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:12:56 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:12:56 Message: update stable to v1.0.254 03:12:57 ------------------- 03:12:57 experimental info: 03:12:57 ------------------- 03:12:57 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:12:57 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 848c737 [Pipeline] echo 03:12:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:57 provisioning config files... 03:12:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4757800128929984291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:58 ---> docker-login.sh 03:12:58 nexus3.edgexfoundry.org:10001 03:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:58 Configure a credential helper to remove this warning. See 03:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:58 03:12:58 Login Succeeded 03:12:58 nexus3.edgexfoundry.org:10002 03:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:58 Configure a credential helper to remove this warning. See 03:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:58 03:12:58 Login Succeeded 03:12:58 nexus3.edgexfoundry.org:10003 03:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:58 Configure a credential helper to remove this warning. See 03:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:58 03:12:58 Login Succeeded 03:12:58 nexus3.edgexfoundry.org:10004 03:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:58 Configure a credential helper to remove this warning. See 03:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:58 03:12:58 Login Succeeded 03:12:58 docker.io 03:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:59 Configure a credential helper to remove this warning. See 03:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:59 03:12:59 Login Succeeded 03:12:59 ---> docker-login.sh ends [Pipeline] } 03:12:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:59 + git rev-list -1 --merges 848c7370e59f70b2b102dd5f15f8b033fa5e417d~1..848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] echo 03:12:59 -----------> git rev-list -1 --merges 848c7370e59f70b2b102dd5f15f8b033fa5e417d~1..848c7370e59f70b2b102dd5f15f8b033fa5e417d 848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:12:59 848c7370e59f70b2b102dd5f15f8b033fa5e417d [false] [Pipeline] sh 03:13:00 + git log --format=format:%s -1 848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] echo 03:13:00 ========================================================= 03:13:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:13:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:00 + git log --format=format:%s -1 848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] echo 03:13:00 [semverPrep] GIT_COMMIT: 848c7370e59f70b2b102dd5f15f8b033fa5e417d, Commit Message: Merge pull request #633 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo 03:13:00 [semverPrep] This is not a build commit. [Pipeline] sh 03:13:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:13:00 + grep -v github /etc/ssh/ssh_known_hosts 03:13:00 + [ -e /tmp/ssh_known_hosts ] 03:13:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:13:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:13:00 + sudo tee -a /etc/ssh/ssh_known_hosts 03:13:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:01 03:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:01 0.1.4: Pulling from edgex-devops/py-git-semver 03:13:01 b85a868b505f: Pulling fs layer 03:13:01 e2be974225ed: Pulling fs layer 03:13:01 339a4e72a1f5: Pulling fs layer 03:13:01 988bab9f4d93: Pulling fs layer 03:13:01 1469e6f7b9e6: Pulling fs layer 03:13:01 eaf3925da568: Pulling fs layer 03:13:01 bab4dde63d76: Pulling fs layer 03:13:01 bde34c3a00c8: Pulling fs layer 03:13:01 b352a97aabf1: Pulling fs layer 03:13:01 4872d77fe225: Pulling fs layer 03:13:01 5851b861e8e6: Pulling fs layer 03:13:01 988bab9f4d93: Waiting 03:13:01 bab4dde63d76: Waiting 03:13:01 1469e6f7b9e6: Waiting 03:13:01 eaf3925da568: Waiting 03:13:01 b352a97aabf1: Waiting 03:13:01 4872d77fe225: Waiting 03:13:01 bde34c3a00c8: Waiting 03:13:01 e2be974225ed: Download complete 03:13:01 988bab9f4d93: Verifying Checksum 03:13:01 988bab9f4d93: Download complete 03:13:01 1469e6f7b9e6: Verifying Checksum 03:13:01 1469e6f7b9e6: Download complete 03:13:01 eaf3925da568: Verifying Checksum 03:13:01 eaf3925da568: Download complete 03:13:01 339a4e72a1f5: Verifying Checksum 03:13:01 339a4e72a1f5: Download complete 03:13:01 bde34c3a00c8: Verifying Checksum 03:13:01 bde34c3a00c8: Download complete 03:13:01 b352a97aabf1: Download complete 03:13:01 4872d77fe225: Download complete 03:13:01 5851b861e8e6: Download complete 03:13:01 b85a868b505f: Verifying Checksum 03:13:01 b85a868b505f: Download complete 03:13:02 bab4dde63d76: Verifying Checksum 03:13:02 bab4dde63d76: Download complete 03:13:02 b85a868b505f: Pull complete 03:13:03 e2be974225ed: Pull complete 03:13:03 339a4e72a1f5: Pull complete 03:13:03 988bab9f4d93: Pull complete 03:13:03 1469e6f7b9e6: Pull complete 03:13:03 eaf3925da568: Pull complete 03:13:05 bab4dde63d76: Pull complete 03:13:05 bde34c3a00c8: Pull complete 03:13:06 b352a97aabf1: Pull complete 03:13:06 4872d77fe225: Pull complete 03:13:06 5851b861e8e6: Pull complete 03:13:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:06 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:13:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:13:09 $ docker top c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c -eo pid,comm 03:13:09 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). 03:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:13:09 [ssh-agent] Looking for ssh-agent implementation... 03:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:13:09 $ docker exec c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c ssh-agent 03:13:09 SSH_AUTH_SOCK=/tmp/ssh-q5SxJ6XAurrZ/agent.32 03:13:09 SSH_AGENT_PID=38 03:13:09 Running ssh-add (command line suppressed) 03:13:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3002172308307473027.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3002172308307473027.key) 03:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:13:10 + git tag --points-at HEAD [Pipeline] } 03:13:10 $ docker exec --env ******** --env ******** c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c ssh-agent -k 03:13:10 unset SSH_AUTH_SOCK; 03:13:10 unset SSH_AGENT_PID; 03:13:10 echo Agent pid 38 killed; 03:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:13:10 [ssh-agent] Looking for ssh-agent implementation... 03:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:13:10 $ docker exec c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c ssh-agent 03:13:10 SSH_AUTH_SOCK=/tmp/ssh-FNqoKrJDpAev/agent.70 03:13:10 SSH_AGENT_PID=76 03:13:10 Running ssh-add (command line suppressed) 03:13:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8895133653839163195.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8895133653839163195.key) 03:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:13:11 + git semver init 03:13:11 2023-10-13 03:13:11,348 [run_init] DEBUG init version:0.0.0 force:False 03:13:11 2023-10-13 03:13:11,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:13:11 2023-10-13 03:13:11,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:13:11 2023-10-13 03:13:11,349 [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) 03:13:12 2023-10-13 03:13:12,255 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 03:13:12 2023-10-13 03:13:12,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 03:13:12 2023-10-13 03:13:12,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:13:12 2023-10-13 03:13:12,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:13:12 3.1.0-dev.17 [Pipeline] } 03:13:12 $ docker exec --env ******** --env ******** c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c ssh-agent -k 03:13:12 unset SSH_AUTH_SOCK; 03:13:12 unset SSH_AGENT_PID; 03:13:12 echo Agent pid 76 killed; 03:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:13:12 + git semver [Pipeline] } 03:13:13 $ docker stop --time=1 c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c 03:13:14 $ docker rm -f --volumes c0e96f944b244194f254bd7e38e47b824d298eefd44ea1a55af6288048679d1c [Pipeline] // withDockerContainer [Pipeline] sh 03:13:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:13:14 Stashed 1 file(s) [Pipeline] echo 03:13:14 [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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 03:13:15 provisioning config files... 03:13:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11308519838300953399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:15 ---> docker-login.sh 03:13:15 nexus3.edgexfoundry.org:10001 03:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:15 Configure a credential helper to remove this warning. See 03:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:15 03:13:15 Login Succeeded 03:13:15 nexus3.edgexfoundry.org:10002 03:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:15 Configure a credential helper to remove this warning. See 03:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:15 03:13:15 Login Succeeded 03:13:15 nexus3.edgexfoundry.org:10003 03:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:15 Configure a credential helper to remove this warning. See 03:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:15 03:13:15 Login Succeeded 03:13:15 nexus3.edgexfoundry.org:10004 03:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:15 Configure a credential helper to remove this warning. See 03:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:15 03:13:15 Login Succeeded 03:13:15 docker.io 03:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:16 Configure a credential helper to remove this warning. See 03:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:16 03:13:16 Login Succeeded 03:13:16 ---> docker-login.sh ends [Pipeline] } 03:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:13:16 ========================================================= 03:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:13:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:13:16 Sending build context to Docker daemon 6.526MB 03:13:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:13:16 Step 2/12 : FROM ${BASE} AS builder 03:13:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:13:16 7264a8db6415: Pulling fs layer 03:13:16 c4d48a809fc2: Pulling fs layer 03:13:16 4f1c88b9dad5: Pulling fs layer 03:13:16 ad3a456e5733: Pulling fs layer 03:13:16 33e27b845d1e: Pulling fs layer 03:13:16 c68163c4e522: Pulling fs layer 03:13:16 50da416c3ac9: Pulling fs layer 03:13:16 23d2d4c4bb30: Pulling fs layer 03:13:16 33e27b845d1e: Waiting 03:13:16 ad3a456e5733: Waiting 03:13:16 c68163c4e522: Waiting 03:13:16 50da416c3ac9: Waiting 03:13:16 23d2d4c4bb30: Waiting 03:13:16 c4d48a809fc2: Download complete 03:13:16 ad3a456e5733: Verifying Checksum 03:13:16 ad3a456e5733: Download complete 03:13:16 33e27b845d1e: Verifying Checksum 03:13:16 33e27b845d1e: Download complete 03:13:16 7264a8db6415: Verifying Checksum 03:13:16 7264a8db6415: Download complete 03:13:16 c68163c4e522: Verifying Checksum 03:13:16 c68163c4e522: Download complete 03:13:16 7264a8db6415: Pull complete 03:13:17 23d2d4c4bb30: Verifying Checksum 03:13:17 23d2d4c4bb30: Download complete 03:13:17 c4d48a809fc2: Pull complete 03:13:17 4f1c88b9dad5: Verifying Checksum 03:13:17 4f1c88b9dad5: Download complete 03:13:17 50da416c3ac9: Verifying Checksum 03:13:17 50da416c3ac9: Download complete 03:13:20 4f1c88b9dad5: Pull complete 03:13:20 ad3a456e5733: Pull complete 03:13:20 33e27b845d1e: Pull complete 03:13:20 c68163c4e522: Pull complete 03:13:22 50da416c3ac9: Pull complete 03:13:23 23d2d4c4bb30: Pull complete 03:13:23 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 03:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:13:23 ---> 0786185ac409 03:13:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:13:27 ---> Running in 200ac3ec66c7 03:13:27 Removing intermediate container 200ac3ec66c7 03:13:27 ---> eeb2894b394d 03:13:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:27 ---> Running in e46d9d5bf00d 03:13:27 Removing intermediate container e46d9d5bf00d 03:13:27 ---> 55f513983c61 03:13:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:13:27 ---> Running in fb808e27b932 03:13:27 Removing intermediate container fb808e27b932 03:13:27 ---> e583d316af86 03:13:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:13:27 ---> Running in 68ceed30c0ac 03:13:27 Removing intermediate container 68ceed30c0ac 03:13:27 ---> 1cb8349ddf1f 03:13:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:27 ---> Running in 6f41f9c05ce1 03:13:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:13:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:13:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:13:28 (2/4) Installing libedit (20221030.3.1-r1) 03:13:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:13:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:13:28 Executing busybox-1.36.1-r2.trigger 03:13:28 OK: 268 MiB in 56 packages 03:13:29 Removing intermediate container 6f41f9c05ce1 03:13:29 ---> c1992d90c0a7 03:13:29 Step 8/12 : WORKDIR /device-mqtt-go 03:13:29 ---> Running in c6e7296dcce2 03:13:29 Removing intermediate container c6e7296dcce2 03:13:29 ---> 5f6727ddb3aa 03:13:29 Step 9/12 : COPY go.mod vendor* ./ 03:13:29 ---> a2cce5157250 03:13:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:29 ---> Running in 86bbf26d2144 03:13:30 Still waiting to schedule task 03:13:30 ‘prd-centos7-blackbox-4c-2g-8677’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:13:30 ‘prd-centos7-blackbox-4c-2g-8678’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:13:30 ‘prd-centos7-builder-2c-1g-9179’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:13:30 ‘prd-centos7-docker-4c-2g-9178’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:13:30 ‘prd-ubuntu18.04-docker-8c-8g-9146’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:13:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9186’ is offline 03:14:25 Removing intermediate container 86bbf26d2144 03:14:25 ---> b32fa9459406 03:14:25 Step 11/12 : COPY . . 03:14:25 ---> d5c8cf636de6 03:14:25 Step 12/12 : RUN $MAKE 03:14:25 ---> Running in 9e289c04c154 03:14:25 noop 03:14:25 Removing intermediate container 9e289c04c154 03:14:25 ---> 0b3dadfb0ea4 03:14:25 Successfully built 0b3dadfb0ea4 03:14:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:25 + docker inspect -f . ci-base-image-x86_64 03:14:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:25 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:14:25 $ 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 ******** ci-base-image-x86_64 cat 03:14:26 $ docker top 36a2507f0bdc8354c7c45493e8ef9f076c70128bf0544ef516698c4107f153ba -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:26 + go version 03:14:26 go version go1.21.0 linux/amd64 [Pipeline] } 03:14:26 $ docker stop --time=1 36a2507f0bdc8354c7c45493e8ef9f076c70128bf0544ef516698c4107f153ba 03:14:27 $ docker rm -f --volumes 36a2507f0bdc8354c7c45493e8ef9f076c70128bf0544ef516698c4107f153ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:28 + docker inspect -f . ci-base-image-x86_64 03:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:28 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:14:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-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 ******** ci-base-image-x86_64 cat 03:14:28 $ docker top b7298ca567eb033fc5fbc11f2ba54918f5b8b69673b57f1b47f9deb5dca9f16d -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 03:14:29 + make test 03:14:29 go test ./... -coverprofile=coverage.out ./... 03:14:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:14:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:14:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:14:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 03:14:47 go vet ./... 03:14:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:14:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:14:50 ./bin/test-attribution-txt.sh [Pipeline] echo 03:14:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:14:50 $ docker stop --time=1 b7298ca567eb033fc5fbc11f2ba54918f5b8b69673b57f1b47f9deb5dca9f16d 03:14:54 $ docker rm -f --volumes b7298ca567eb033fc5fbc11f2ba54918f5b8b69673b57f1b47f9deb5dca9f16d [Pipeline] // withDockerContainer [Pipeline] sh 03:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:14:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:14:55 + ls -al . 03:14:55 total 188 03:14:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:14 . 03:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:12 .. 03:14:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 03:12 .dockerignore 03:14:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:14 .git 03:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:12 .github 03:14:55 -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:12 .gitignore 03:14:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:12 .golangci.yml 03:14:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:13 .semver 03:14:55 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 13 03:12 Attribution.txt 03:14:55 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 13 03:12 CHANGELOG.md 03:14:55 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 13 03:12 Dockerfile 03:14:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:12 GOVERNANCE.md 03:14:55 -rw-rw-r-- 1 jenkins jenkins 678 Oct 13 03:12 Jenkinsfile 03:14:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:12 LICENSE 03:14:55 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 13 03:12 Makefile 03:14:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:12 OWNERS.md 03:14:55 -rw-rw-r-- 1 jenkins jenkins 3695 Oct 13 03:12 README.md 03:14:55 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:13 VERSION 03:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:12 bin 03:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:12 cmd 03:14:55 -rw-r--r-- 1 jenkins jenkins 18506 Oct 13 03:14 coverage.out 03:14:55 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 13 03:12 go.mod 03:14:55 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:12 go.sum 03:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:12 internal 03:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:12 mock 03:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:12 snap 03:14:55 -rw-rw-r-- 1 jenkins jenkins 227 Oct 13 03:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:55 + 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=848c7370e59f70b2b102dd5f15f8b033fa5e417d --label arch=amd64 --label version=3.1.0-dev.17 . 03:14:55 Sending build context to Docker daemon 6.545MB 03:14:55 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:14:55 Step 2/24 : FROM ${BASE} AS builder 03:14:55 ---> 0b3dadfb0ea4 03:14:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:14:55 ---> Running in ec4fc36f7fc1 03:14:55 Removing intermediate container ec4fc36f7fc1 03:14:55 ---> 0305ba807688 03:14:55 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:14:55 ---> Running in fbe94ca23920 03:14:55 Removing intermediate container fbe94ca23920 03:14:55 ---> 61734f5ce1a5 03:14:55 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:14:55 ---> Running in 1b2d7bf42b3d 03:14:55 Removing intermediate container 1b2d7bf42b3d 03:14:55 ---> a87b9da7062a 03:14:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 03:14:56 ---> Running in b00b8b69ead9 03:14:56 Removing intermediate container b00b8b69ead9 03:14:56 ---> 629c481883f1 03:14:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:14:56 ---> Running in fd7645825352 03:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:14:56 OK: 268 MiB in 56 packages 03:14:56 Removing intermediate container fd7645825352 03:14:56 ---> 310d81aaac42 03:14:56 Step 8/24 : WORKDIR /device-mqtt-go 03:14:56 ---> Running in cfdcaba7bee0 03:14:56 Removing intermediate container cfdcaba7bee0 03:14:56 ---> 67d2e30900a7 03:14:56 Step 9/24 : COPY go.mod vendor* ./ 03:14:57 ---> fed2970ac8d9 03:14:57 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:57 ---> Running in b5a135eeb9fe 03:14:57 Removing intermediate container b5a135eeb9fe 03:14:57 ---> bf10fedb50f9 03:14:57 Step 11/24 : COPY . . 03:14:57 ---> 614081f20a5f 03:14:57 Step 12/24 : RUN $MAKE 03:14:57 ---> Running in 27749d17a208 03:14:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 03:15:16 Removing intermediate container 27749d17a208 03:15:16 ---> bacc45510832 03:15:16 Step 13/24 : FROM alpine:3.18 03:15:16 3.18: Pulling from library/alpine 03:15:17 96526aa774ef: Pulling fs layer 03:15:17 96526aa774ef: Download complete 03:15:17 96526aa774ef: Pull complete 03:15:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:15:17 Status: Downloaded newer image for alpine:3.18 03:15:17 ---> 8ca4688f4f35 03:15:17 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:15:17 ---> Running in 036f4a343836 03:15:17 Removing intermediate container 036f4a343836 03:15:17 ---> ee7ef6a6f620 03:15:17 Step 15/24 : RUN apk add --update --no-cache dumb-init 03:15:17 ---> Running in 185b1303b69e 03:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:15:18 (1/1) Installing dumb-init (1.2.5-r2) 03:15:18 Executing busybox-1.36.1-r2.trigger 03:15:18 OK: 7 MiB in 16 packages 03:15:18 Removing intermediate container 185b1303b69e 03:15:18 ---> e85209e8d3ff 03:15:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:15:19 ---> 70d1002af5ef 03:15:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:15:19 ---> d2f136138c76 03:15:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:15:19 ---> 90d241de1033 03:15:19 Step 19/24 : EXPOSE 59982 03:15:19 ---> Running in 9d50170da39e 03:15:19 Removing intermediate container 9d50170da39e 03:15:19 ---> 3c172bda0907 03:15:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:15:20 ---> Running in 18f48bd32407 03:15:20 Removing intermediate container 18f48bd32407 03:15:20 ---> bb7c60eba290 03:15:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:15:20 ---> Running in 748bffc1aae7 03:15:20 Removing intermediate container 748bffc1aae7 03:15:20 ---> e13dbb40ab69 03:15:20 Step 22/24 : LABEL arch=amd64 03:15:20 ---> Running in 775df9013764 03:15:20 Removing intermediate container 775df9013764 03:15:20 ---> 0b77f2a52e3a 03:15:20 Step 23/24 : LABEL git_sha=848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:15:20 ---> Running in 9cbab2d475e1 03:15:20 Removing intermediate container 9cbab2d475e1 03:15:20 ---> f7f30ffb7647 03:15:20 Step 24/24 : LABEL version=3.1.0-dev.17 03:15:20 ---> Running in 61a13bef1fba 03:15:20 Removing intermediate container 61a13bef1fba 03:15:20 ---> c57aa1e78d5b 03:15:20 [Warning] One or more build-args [ARCH] were not consumed 03:15:20 Successfully built c57aa1e78d5b 03:15:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:15:20 provisioning config files... 03:15:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11739310932190309510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:20 ---> docker-login.sh 03:15:20 nexus3.edgexfoundry.org:10001 03:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:20 Configure a credential helper to remove this warning. See 03:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:20 03:15:20 Login Succeeded 03:15:20 nexus3.edgexfoundry.org:10002 03:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:20 Configure a credential helper to remove this warning. See 03:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:20 03:15:20 Login Succeeded 03:15:20 nexus3.edgexfoundry.org:10003 03:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:21 Configure a credential helper to remove this warning. See 03:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:21 03:15:21 Login Succeeded 03:15:21 nexus3.edgexfoundry.org:10004 03:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:21 Configure a credential helper to remove this warning. See 03:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:21 03:15:21 Login Succeeded 03:15:21 docker.io 03:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:21 Configure a credential helper to remove this warning. See 03:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:21 03:15:21 Login Succeeded 03:15:21 ---> docker-login.sh ends [Pipeline] } 03:15:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:15:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:21 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:15:21 848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:15:21 latest 03:15:21 3.1.0-dev.17 03:15:21 848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:15:21 main 03:15:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:15:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:15:21 82f1029ed5c4: Preparing 03:15:21 a08bdc917dcf: Preparing 03:15:21 900f9d5dabf1: Preparing 03:15:21 7f5e42fd3ef4: Preparing 03:15:21 cc2447e1835a: Preparing 03:15:21 cc2447e1835a: Layer already exists 03:15:21 82f1029ed5c4: Pushed 03:15:21 a08bdc917dcf: Pushed 03:15:21 7f5e42fd3ef4: Pushed 03:15:25 900f9d5dabf1: Pushed 03:15:25 848c7370e59f70b2b102dd5f15f8b033fa5e417d: digest: sha256:ef88dc3cdab3d612412d3eac56b673f10eca03bc023c8ec0f23972987b19ddcf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:15:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:15:25 82f1029ed5c4: Preparing 03:15:25 a08bdc917dcf: Preparing 03:15:25 900f9d5dabf1: Preparing 03:15:25 7f5e42fd3ef4: Preparing 03:15:25 cc2447e1835a: Preparing 03:15:25 a08bdc917dcf: Layer already exists 03:15:25 7f5e42fd3ef4: Layer already exists 03:15:25 cc2447e1835a: Layer already exists 03:15:25 900f9d5dabf1: Layer already exists 03:15:25 82f1029ed5c4: Layer already exists 03:15:25 latest: digest: sha256:ef88dc3cdab3d612412d3eac56b673f10eca03bc023c8ec0f23972987b19ddcf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.17 03:15:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:15:26 82f1029ed5c4: Preparing 03:15:26 a08bdc917dcf: Preparing 03:15:26 900f9d5dabf1: Preparing 03:15:26 7f5e42fd3ef4: Preparing 03:15:26 cc2447e1835a: Preparing 03:15:26 900f9d5dabf1: Layer already exists 03:15:26 7f5e42fd3ef4: Layer already exists 03:15:26 82f1029ed5c4: Layer already exists 03:15:26 a08bdc917dcf: Layer already exists 03:15:26 cc2447e1835a: Layer already exists 03:15:26 3.1.0-dev.17: digest: sha256:ef88dc3cdab3d612412d3eac56b673f10eca03bc023c8ec0f23972987b19ddcf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:15:27 82f1029ed5c4: Preparing 03:15:27 a08bdc917dcf: Preparing 03:15:27 900f9d5dabf1: Preparing 03:15:27 7f5e42fd3ef4: Preparing 03:15:27 cc2447e1835a: Preparing 03:15:27 900f9d5dabf1: Layer already exists 03:15:27 82f1029ed5c4: Layer already exists 03:15:27 cc2447e1835a: Layer already exists 03:15:27 a08bdc917dcf: Layer already exists 03:15:27 7f5e42fd3ef4: Layer already exists 03:15:27 848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17: digest: sha256:ef88dc3cdab3d612412d3eac56b673f10eca03bc023c8ec0f23972987b19ddcf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:15:27 82f1029ed5c4: Preparing 03:15:27 a08bdc917dcf: Preparing 03:15:27 900f9d5dabf1: Preparing 03:15:27 7f5e42fd3ef4: Preparing 03:15:27 cc2447e1835a: Preparing 03:15:27 7f5e42fd3ef4: Layer already exists 03:15:27 900f9d5dabf1: Layer already exists 03:15:27 82f1029ed5c4: Layer already exists 03:15:27 a08bdc917dcf: Layer already exists 03:15:27 cc2447e1835a: Layer already exists 03:15:27 main: digest: sha256:ef88dc3cdab3d612412d3eac56b673f10eca03bc023c8ec0f23972987b19ddcf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:15:27 ===================================================== [Pipeline] echo 03:15:27 taggedImages: 03:15:27 - nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:15:27 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:15:27 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.17 03:15:27 - nexus3.edgexfoundry.org:10004/device-mqtt:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:15:27 - 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 03:15:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:28 03:15:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:28 latest: Pulling from edgex-lftools-log-publisher 03:15:28 5eb5b503b376: Pulling fs layer 03:15:28 5c69ac0246d0: Pulling fs layer 03:15:28 ec43610c2a17: Pulling fs layer 03:15:28 3a2ae6a8a46f: Pulling fs layer 03:15:28 33b1e0a273af: Pulling fs layer 03:15:28 5d3b04190fa2: Pulling fs layer 03:15:28 2f39f015ded8: Pulling fs layer 03:15:28 5d3b04190fa2: Waiting 03:15:28 33b1e0a273af: Waiting 03:15:28 3a2ae6a8a46f: Waiting 03:15:28 2f39f015ded8: Waiting 03:15:28 5c69ac0246d0: Verifying Checksum 03:15:28 3a2ae6a8a46f: Verifying Checksum 03:15:28 3a2ae6a8a46f: Download complete 03:15:28 33b1e0a273af: Verifying Checksum 03:15:28 33b1e0a273af: Download complete 03:15:28 ec43610c2a17: Verifying Checksum 03:15:28 ec43610c2a17: Download complete 03:15:28 5d3b04190fa2: Verifying Checksum 03:15:28 5d3b04190fa2: Download complete 03:15:28 5eb5b503b376: Verifying Checksum 03:15:28 5eb5b503b376: Download complete 03:15:29 2f39f015ded8: Verifying Checksum 03:15:29 2f39f015ded8: Download complete 03:15:30 5eb5b503b376: Pull complete 03:15:30 5c69ac0246d0: Pull complete 03:15:30 ec43610c2a17: Pull complete 03:15:30 3a2ae6a8a46f: Pull complete 03:15:30 33b1e0a273af: Pull complete 03:15:30 5d3b04190fa2: Pull complete 03:15:35 2f39f015ded8: Pull complete 03:15:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:35 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:15:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:15:44 $ docker top 7441f3f0c2b3104a1330f1dfee877662015b030e8934175255fbbe0a1e0664cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:46 ---> job-cost.sh 03:15:46 lf-activate-venv: SKIPPING 03:15:46 INFO: No Stack... 03:15:46 INFO: Retrieving Pricing Info for: v3-standard-8 03:15:47 INFO: Archiving Costs [Pipeline] sh 03:15:47 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:15:47 + cut -d, -f6 [Pipeline] lock 03:15:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] 03:15:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] did not exist. Created. 03:15:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:15:47 + echo total: 0.2199999988079071 [Pipeline] stash 03:15:47 Stashed 1 file(s) [Pipeline] } 03:15:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 03:15:47 $ docker stop --time=1 7441f3f0c2b3104a1330f1dfee877662015b030e8934175255fbbe0a1e0664cd 03:15:48 $ docker rm -f --volumes 7441f3f0c2b3104a1330f1dfee877662015b030e8934175255fbbe0a1e0664cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:16:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9189 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:16:13 Running in /w/workspace/device-mqtt-go/145 [Pipeline] { [Pipeline] checkout 03:16:13 The recommended git tool is: git 03:16:19 using credential edgex-jenkins-ssh 03:16:19 Cloning the remote Git repository 03:16:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:16:19 > git init /w/workspace/device-mqtt-go/145 # timeout=10 03:16:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:16:20 > git --version # timeout=10 03:16:20 > git --version # 'git version 2.25.1' 03:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:16:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:16:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:16:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:16:22 Avoid second fetch 03:16:22 Checking out Revision 848c7370e59f70b2b102dd5f15f8b033fa5e417d (main) 03:16:23 Commit message: "Merge pull request #633 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { 03:16:22 > git config core.sparsecheckout # timeout=10 03:16:22 > git checkout -f 848c7370e59f70b2b102dd5f15f8b033fa5e417d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:16:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:24 Dload Upload Total Spent Left Speed 03:16:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 03:16:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:16:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:16:25 + sudo tee /etc/docker/daemon.new 03:16:25 { 03:16:25 "registry-mirrors": [ 03:16:25 "https://nexus3.edgexfoundry.org:10001" 03:16:25 ], 03:16:25 "bip": "10.250.0.254/24", 03:16:25 "hosts": [ 03:16:25 "tcp://0.0.0.0:5555", 03:16:25 "unix:///var/run/docker.sock" 03:16:25 ], 03:16:25 "mtu": 1458, 03:16:25 "selinux-enabled": true, 03:16:25 "seccomp-profile": "/etc/docker/seccomp.json" 03:16:25 } [Pipeline] sh 03:16:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:16:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:44 provisioning config files... 03:16:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/145@tmp/config6596240203511326883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:44 ---> docker-login.sh 03:16:44 nexus3.edgexfoundry.org:10001 03:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:45 Configure a credential helper to remove this warning. See 03:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:45 03:16:45 Login Succeeded 03:16:45 nexus3.edgexfoundry.org:10002 03:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:45 Configure a credential helper to remove this warning. See 03:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:45 03:16:45 Login Succeeded 03:16:45 nexus3.edgexfoundry.org:10003 03:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:45 Configure a credential helper to remove this warning. See 03:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:45 03:16:45 Login Succeeded 03:16:45 nexus3.edgexfoundry.org:10004 03:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:46 Configure a credential helper to remove this warning. See 03:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:46 03:16:46 Login Succeeded 03:16:46 docker.io 03:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:47 Configure a credential helper to remove this warning. See 03:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:47 03:16:47 Login Succeeded 03:16:47 ---> docker-login.sh ends [Pipeline] } 03:16:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:47 ========================================================= 03:16:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:16:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:16:48 Sending build context to Docker daemon 3.366MB 03:16:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:16:48 Step 2/12 : FROM ${BASE} AS builder 03:16:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:16:48 9fda8d8052c6: Pulling fs layer 03:16:48 5d54e960e981: Pulling fs layer 03:16:48 c4a7e357bf2a: Pulling fs layer 03:16:48 f0e02332f6b5: Pulling fs layer 03:16:48 cefa15bbcfad: Pulling fs layer 03:16:48 17808c966233: Pulling fs layer 03:16:48 f4c1fc716caa: Pulling fs layer 03:16:48 cefa15bbcfad: Waiting 03:16:48 17808c966233: Waiting 03:16:48 f4c1fc716caa: Waiting 03:16:48 f0e02332f6b5: Waiting 03:16:48 5d54e960e981: Verifying Checksum 03:16:48 5d54e960e981: Download complete 03:16:48 f0e02332f6b5: Verifying Checksum 03:16:48 f0e02332f6b5: Download complete 03:16:48 cefa15bbcfad: Verifying Checksum 03:16:48 cefa15bbcfad: Download complete 03:16:48 9fda8d8052c6: Verifying Checksum 03:16:48 9fda8d8052c6: Download complete 03:16:48 f4c1fc716caa: Verifying Checksum 03:16:48 f4c1fc716caa: Download complete 03:16:49 9fda8d8052c6: Pull complete 03:16:50 5d54e960e981: Pull complete 03:16:50 c4a7e357bf2a: Verifying Checksum 03:16:50 c4a7e357bf2a: Download complete 03:16:51 17808c966233: Verifying Checksum 03:16:51 17808c966233: Download complete 03:17:03 c4a7e357bf2a: Pull complete 03:17:03 f0e02332f6b5: Pull complete 03:17:04 cefa15bbcfad: Pull complete 03:17:14 17808c966233: Pull complete 03:17:14 f4c1fc716caa: Pull complete 03:17:14 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 03:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:17:14 ---> ea914061e18c 03:17:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:17:16 ---> Running in dbaa32351335 03:17:16 Removing intermediate container dbaa32351335 03:17:16 ---> 4ececd6276d4 03:17:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:17:16 ---> Running in 53afe8356e3d 03:17:16 Removing intermediate container 53afe8356e3d 03:17:16 ---> a382df51746c 03:17:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:17:16 ---> Running in d7b917243ac1 03:17:17 Removing intermediate container d7b917243ac1 03:17:17 ---> 408ea099b353 03:17:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:17:17 ---> Running in 35e19abe89c7 03:17:17 Removing intermediate container 35e19abe89c7 03:17:17 ---> 4afb4dd55ad6 03:17:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:17 ---> Running in fbf0ec6d2bf7 03:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:20 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:17:20 (2/4) Installing libedit (20221030.3.1-r1) 03:17:20 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:17:20 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:17:20 Executing busybox-1.36.1-r2.trigger 03:17:20 OK: 270 MiB in 56 packages 03:17:22 Removing intermediate container fbf0ec6d2bf7 03:17:22 ---> a2ba7e735492 03:17:22 Step 8/12 : WORKDIR /device-mqtt-go 03:17:22 ---> Running in 4aa8cdf9f086 03:17:23 Removing intermediate container 4aa8cdf9f086 03:17:23 ---> 6460fb4223d0 03:17:23 Step 9/12 : COPY go.mod vendor* ./ 03:17:23 ---> f35f70e702f5 03:17:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:23 ---> Running in f9f5ca767dde 03:19:00 Removing intermediate container f9f5ca767dde 03:19:00 ---> 39fa90b434a3 03:19:00 Step 11/12 : COPY . . 03:19:00 ---> ff9f4760adb0 03:19:00 Step 12/12 : RUN $MAKE 03:19:00 ---> Running in 8590b53274fb 03:19:00 noop 03:19:00 Removing intermediate container 8590b53274fb 03:19:00 ---> fd158e4c5c66 03:19:00 Successfully built fd158e4c5c66 03:19:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:01 + docker inspect -f . ci-base-image-arm64 03:19:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:01 prd-ubuntu20.04-docker-arm64-4c-16g-9189 does not seem to be running inside a container 03:19:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/145 -v /w/workspace/device-mqtt-go/145:/w/workspace/device-mqtt-go/145:rw,z -v /w/workspace/device-mqtt-go/145@tmp:/w/workspace/device-mqtt-go/145@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 03:19:02 $ docker top 51ab6d93afb2696b8cacb6cdd4d47c5f9c5fb56b2469232401d8025c243c7a01 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:03 + go version 03:19:03 go version go1.21.0 linux/arm64 [Pipeline] } 03:19:03 $ docker stop --time=1 51ab6d93afb2696b8cacb6cdd4d47c5f9c5fb56b2469232401d8025c243c7a01 03:19:05 $ docker rm -f --volumes 51ab6d93afb2696b8cacb6cdd4d47c5f9c5fb56b2469232401d8025c243c7a01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:05 + docker inspect -f . ci-base-image-arm64 03:19:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:06 prd-ubuntu20.04-docker-arm64-4c-16g-9189 does not seem to be running inside a container 03:19:06 $ 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/145 -v /w/workspace/device-mqtt-go/145:/w/workspace/device-mqtt-go/145:rw,z -v /w/workspace/device-mqtt-go/145@tmp:/w/workspace/device-mqtt-go/145@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 03:19:07 $ docker top 5981ab5289763abe006a51cc91056fefa81ba85b897603d5923970950a3bfa73 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/145 [Pipeline] fileExists [Pipeline] sh 03:19:09 + make test 03:19:09 go test ./... -coverprofile=coverage.out ./... 03:19:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:21:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:21:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:21:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.8% of statements 03:21:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:21:20 go vet ./... 03:21:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:21:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:21:52 ./bin/test-attribution-txt.sh [Pipeline] echo 03:21:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:21:52 $ docker stop --time=1 5981ab5289763abe006a51cc91056fefa81ba85b897603d5923970950a3bfa73 03:21:55 $ docker rm -f --volumes 5981ab5289763abe006a51cc91056fefa81ba85b897603d5923970950a3bfa73 [Pipeline] // withDockerContainer [Pipeline] sh 03:21:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:21:56 Warning: overwriting stash ‘coverage-report’ 03:21:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:21:57 + ls -al . 03:21:57 total 184 03:21:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 03:19 . 03:21:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:16 .. 03:21:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 03:16 .dockerignore 03:21:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:16 .git 03:21:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:16 .github 03:21:57 -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:16 .gitignore 03:21:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:16 .golangci.yml 03:21:57 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 13 03:16 Attribution.txt 03:21:57 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 13 03:16 CHANGELOG.md 03:21:57 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 13 03:16 Dockerfile 03:21:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:16 GOVERNANCE.md 03:21:57 -rw-rw-r-- 1 jenkins jenkins 678 Oct 13 03:16 Jenkinsfile 03:21:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:16 LICENSE 03:21:57 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 13 03:16 Makefile 03:21:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:16 OWNERS.md 03:21:57 -rw-rw-r-- 1 jenkins jenkins 3695 Oct 13 03:16 README.md 03:21:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:13 VERSION 03:21:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:16 bin 03:21:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:16 cmd 03:21:57 -rw-r--r-- 1 jenkins jenkins 18506 Oct 13 03:21 coverage.out 03:21:57 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 13 03:16 go.mod 03:21:57 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:16 go.sum 03:21:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:16 internal 03:21:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:16 mock 03:21:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:16 snap 03:21:57 -rw-rw-r-- 1 jenkins jenkins 227 Oct 13 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:58 + 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=848c7370e59f70b2b102dd5f15f8b033fa5e417d --label arch=arm64 --label version=3.1.0-dev.17 . 03:21:58 Sending build context to Docker daemon 3.385MB 03:21:58 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:21:58 Step 2/24 : FROM ${BASE} AS builder 03:21:58 ---> fd158e4c5c66 03:21:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:21:58 ---> Running in e34fa14170f2 03:21:58 Removing intermediate container e34fa14170f2 03:21:58 ---> e61b582e21fe 03:21:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:21:58 ---> Running in 44425bd377fc 03:21:59 Removing intermediate container 44425bd377fc 03:21:59 ---> c0c4491a562a 03:21:59 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:21:59 ---> Running in a6f2c740e8d8 03:21:59 Removing intermediate container a6f2c740e8d8 03:21:59 ---> 5bec64082394 03:21:59 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 03:21:59 ---> Running in 360216b25f9d 03:22:00 Removing intermediate container 360216b25f9d 03:22:00 ---> 8b9cbf14417e 03:22:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:22:00 ---> Running in ea85b64150d1 03:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:22:02 OK: 270 MiB in 56 packages 03:22:03 Removing intermediate container ea85b64150d1 03:22:03 ---> 4c1d3afc2722 03:22:03 Step 8/24 : WORKDIR /device-mqtt-go 03:22:03 ---> Running in 9123a83e4460 03:22:04 Removing intermediate container 9123a83e4460 03:22:04 ---> da61d6e2ade6 03:22:04 Step 9/24 : COPY go.mod vendor* ./ 03:22:05 ---> 4226decaa6c0 03:22:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:05 ---> Running in b7e1978fb30e 03:22:07 Removing intermediate container b7e1978fb30e 03:22:07 ---> cd10dc16e0e4 03:22:07 Step 11/24 : COPY . . 03:22:08 ---> 4b1d62643a65 03:22:08 Step 12/24 : RUN $MAKE 03:22:08 ---> Running in d1c9ba460eb1 03:22:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 03:24:15 Removing intermediate container d1c9ba460eb1 03:24:15 ---> a11118172c35 03:24:15 Step 13/24 : FROM alpine:3.18 03:24:15 3.18: Pulling from library/alpine 03:24:15 579b34f0a95b: Pulling fs layer 03:24:15 579b34f0a95b: Verifying Checksum 03:24:15 579b34f0a95b: Download complete 03:24:15 579b34f0a95b: Pull complete 03:24:15 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:24:15 Status: Downloaded newer image for alpine:3.18 03:24:15 ---> 3cc203321400 03:24:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:24:15 ---> Running in c7f750b4919f 03:24:15 Removing intermediate container c7f750b4919f 03:24:15 ---> 7b597ba516cf 03:24:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 03:24:15 ---> Running in b80249a627ca 03:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:24:16 (1/1) Installing dumb-init (1.2.5-r2) 03:24:16 Executing busybox-1.36.1-r2.trigger 03:24:16 OK: 8 MiB in 16 packages 03:24:17 Removing intermediate container b80249a627ca 03:24:17 ---> 759b6a720053 03:24:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:24:19 ---> 5750cea87c26 03:24:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:24:19 ---> adf238e1d286 03:24:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:24:20 ---> ffe1a92142f5 03:24:20 Step 19/24 : EXPOSE 59982 03:24:20 ---> Running in 9a2cbac56abc 03:24:20 Removing intermediate container 9a2cbac56abc 03:24:20 ---> d528fe35ab63 03:24:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:24:20 ---> Running in 7f098b56a31b 03:24:20 Removing intermediate container 7f098b56a31b 03:24:20 ---> bd6cb07550a9 03:24:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:24:20 ---> Running in 10574ff88d91 03:24:21 Removing intermediate container 10574ff88d91 03:24:21 ---> 6ef598cff5ba 03:24:21 Step 22/24 : LABEL arch=arm64 03:24:21 ---> Running in c6a05015d48f 03:24:21 Removing intermediate container c6a05015d48f 03:24:21 ---> fb89c7858280 03:24:21 Step 23/24 : LABEL git_sha=848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:24:21 ---> Running in 95494eb27fa3 03:24:22 Removing intermediate container 95494eb27fa3 03:24:22 ---> d7d09835966e 03:24:22 Step 24/24 : LABEL version=3.1.0-dev.17 03:24:22 ---> Running in 77ca14e18849 03:24:22 Removing intermediate container 77ca14e18849 03:24:22 ---> 3c2a1bbf35a5 03:24:22 [Warning] One or more build-args [ARCH] were not consumed 03:24:22 Successfully built 3c2a1bbf35a5 03:24:22 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 03:24:22 provisioning config files... 03:24:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/145@tmp/config12817486258213394482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:23 ---> docker-login.sh 03:24:23 nexus3.edgexfoundry.org:10001 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 nexus3.edgexfoundry.org:10002 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 nexus3.edgexfoundry.org:10003 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:24 Configure a credential helper to remove this warning. See 03:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:24 03:24:24 Login Succeeded 03:24:24 nexus3.edgexfoundry.org:10004 03:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:24 Configure a credential helper to remove this warning. See 03:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:24 03:24:24 Login Succeeded 03:24:24 docker.io 03:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:24 Configure a credential helper to remove this warning. See 03:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:24 03:24:24 Login Succeeded 03:24:24 ---> docker-login.sh ends [Pipeline] } 03:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:24 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:24:24 848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:24:24 latest 03:24:24 3.1.0-dev.17 03:24:24 848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:24:24 main 03:24:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:24:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:24:25 c0a2cf81b544: Preparing 03:24:25 63451c106b00: Preparing 03:24:25 e4bef9e02190: Preparing 03:24:25 e035c8efe308: Preparing 03:24:25 5f4d9fc4d98d: Preparing 03:24:25 5f4d9fc4d98d: Layer already exists 03:24:25 c0a2cf81b544: Pushed 03:24:25 e035c8efe308: Pushed 03:24:25 63451c106b00: Pushed 03:24:32 e4bef9e02190: Pushed 03:24:32 848c7370e59f70b2b102dd5f15f8b033fa5e417d: digest: sha256:28035c7e35374c942ec78bdb8d224fa97de2d599dc5260bf4f196094cf266b78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:24:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:24:33 c0a2cf81b544: Preparing 03:24:33 63451c106b00: Preparing 03:24:33 e4bef9e02190: Preparing 03:24:33 e035c8efe308: Preparing 03:24:33 5f4d9fc4d98d: Preparing 03:24:33 e4bef9e02190: Layer already exists 03:24:33 e035c8efe308: Layer already exists 03:24:33 5f4d9fc4d98d: Layer already exists 03:24:33 63451c106b00: Layer already exists 03:24:33 c0a2cf81b544: Layer already exists 03:24:33 latest: digest: sha256:28035c7e35374c942ec78bdb8d224fa97de2d599dc5260bf4f196094cf266b78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.17 03:24:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:24:34 c0a2cf81b544: Preparing 03:24:34 63451c106b00: Preparing 03:24:34 e4bef9e02190: Preparing 03:24:34 e035c8efe308: Preparing 03:24:34 5f4d9fc4d98d: Preparing 03:24:34 5f4d9fc4d98d: Layer already exists 03:24:34 63451c106b00: Layer already exists 03:24:34 e4bef9e02190: Layer already exists 03:24:34 e035c8efe308: Layer already exists 03:24:34 c0a2cf81b544: Layer already exists 03:24:34 3.1.0-dev.17: digest: sha256:28035c7e35374c942ec78bdb8d224fa97de2d599dc5260bf4f196094cf266b78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:24:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:24:35 c0a2cf81b544: Preparing 03:24:35 63451c106b00: Preparing 03:24:35 e4bef9e02190: Preparing 03:24:35 e035c8efe308: Preparing 03:24:35 5f4d9fc4d98d: Preparing 03:24:35 c0a2cf81b544: Layer already exists 03:24:35 63451c106b00: Layer already exists 03:24:35 e035c8efe308: Layer already exists 03:24:35 e4bef9e02190: Layer already exists 03:24:35 5f4d9fc4d98d: Layer already exists 03:24:35 848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17: digest: sha256:28035c7e35374c942ec78bdb8d224fa97de2d599dc5260bf4f196094cf266b78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:24:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:24:38 c0a2cf81b544: Preparing 03:24:38 63451c106b00: Preparing 03:24:38 e4bef9e02190: Preparing 03:24:38 e035c8efe308: Preparing 03:24:38 5f4d9fc4d98d: Preparing 03:24:38 c0a2cf81b544: Layer already exists 03:24:38 63451c106b00: Layer already exists 03:24:38 e4bef9e02190: Layer already exists 03:24:38 e035c8efe308: Layer already exists 03:24:38 5f4d9fc4d98d: Layer already exists 03:24:38 main: digest: sha256:28035c7e35374c942ec78bdb8d224fa97de2d599dc5260bf4f196094cf266b78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:24:38 ===================================================== [Pipeline] echo 03:24:38 taggedImages: 03:24:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d 03:24:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:24:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.17 03:24:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848c7370e59f70b2b102dd5f15f8b033fa5e417d-3.1.0-dev.17 03:24:38 - 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 03:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:38 03:24:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:39 arm64: Pulling from edgex-lftools-log-publisher 03:24:39 8998bd30e6a1: Pulling fs layer 03:24:39 04944245beec: Pulling fs layer 03:24:39 699f458cf7ca: Pulling fs layer 03:24:39 765212b225bb: Pulling fs layer 03:24:39 f23df028b6ca: Pulling fs layer 03:24:39 d65c8cfc05b1: Pulling fs layer 03:24:39 2437ff75d9bd: Pulling fs layer 03:24:39 f23df028b6ca: Waiting 03:24:39 d65c8cfc05b1: Waiting 03:24:39 2437ff75d9bd: Waiting 03:24:39 765212b225bb: Waiting 03:24:39 04944245beec: Verifying Checksum 03:24:39 04944245beec: Download complete 03:24:39 765212b225bb: Verifying Checksum 03:24:39 765212b225bb: Download complete 03:24:39 f23df028b6ca: Verifying Checksum 03:24:39 f23df028b6ca: Download complete 03:24:39 d65c8cfc05b1: Verifying Checksum 03:24:39 d65c8cfc05b1: Download complete 03:24:39 699f458cf7ca: Verifying Checksum 03:24:39 699f458cf7ca: Download complete 03:24:40 8998bd30e6a1: Verifying Checksum 03:24:40 8998bd30e6a1: Download complete 03:24:42 2437ff75d9bd: Verifying Checksum 03:24:42 2437ff75d9bd: Download complete 03:24:44 8998bd30e6a1: Pull complete 03:24:45 04944245beec: Pull complete 03:24:46 699f458cf7ca: Pull complete 03:24:46 765212b225bb: Pull complete 03:24:47 f23df028b6ca: Pull complete 03:24:48 d65c8cfc05b1: Pull complete 03:25:06 2437ff75d9bd: Pull complete 03:25:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:06 prd-ubuntu20.04-docker-arm64-4c-16g-9189 does not seem to be running inside a container 03:25:06 $ 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/145 -v /w/workspace/device-mqtt-go/145:/w/workspace/device-mqtt-go/145:rw,z -v /w/workspace/device-mqtt-go/145@tmp:/w/workspace/device-mqtt-go/145@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 03:25:09 $ docker top de3be0b012144e663467576dbcde22cb410a7ec524bee48c2e6e4ba7dc2881d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:09 ---> job-cost.sh 03:25:09 lf-activate-venv: SKIPPING 03:25:09 INFO: No Stack... 03:25:10 INFO: Retrieving Pricing Info for: v3-standard-4 03:25:11 INFO: Archiving Costs [Pipeline] sh 03:25:11 + cat /w/workspace/device-mqtt-go/145/archives/cost.csv 03:25:11 + cut -d, -f6 [Pipeline] lock 03:25:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] 03:25:11 Resource [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] did not exist. Created. 03:25:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:12 /w/workspace/device-mqtt-go/145@tmp/durable-646a97da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:25:13 + echo total: 0.10999999940395355 [Pipeline] stash 03:25:13 Warning: overwriting stash ‘stack-cost’ 03:25:13 Stashed 1 file(s) [Pipeline] } 03:25:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:13 $ docker stop --time=1 de3be0b012144e663467576dbcde22cb410a7ec524bee48c2e6e4ba7dc2881d4 03:25:14 $ docker rm -f --volumes de3be0b012144e663467576dbcde22cb410a7ec524bee48c2e6e4ba7dc2881d4 [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 03:25:14 provisioning config files... 03:25:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3184895246121875170tmp [Pipeline] { [Pipeline] sh 03:25:15 + set +x 03:25:15 + bash -s -- 03:25:15 + curl -s https://codecov.io/bash 03:25:15 03:25:15 _____ _ 03:25:15 / ____| | | 03:25:15 | | ___ __| | ___ ___ _____ __ 03:25:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:25:15 | |___| (_) | (_| | __/ (_| (_) \ V / 03:25:15 \_____\___/ \__,_|\___|\___\___/ \_/ 03:25:15 Bash-1.0.6 03:25:15 03:25:15 03:25:15 ==> git version 2.25.1 found 03:25:15 ==> 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 03:25:15 Release-Date: 2020-01-08 03:25:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:25:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:25:15 ==> Jenkins CI detected. 03:25:15 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:25:15 project root: . 03:25:15 --> token set from env 03:25:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:25:15 ==> Running gcov in . (disable via -X gcov) 03:25:15 ==> Python coveragepy not found 03:25:15 ==> Searching for coverage reports in: 03:25:15 + . 03:25:15 -> Found 1 reports 03:25:15 ==> Detecting git/mercurial file structure 03:25:15 ==> Reading reports 03:25:15 + ./coverage.out bytes=18506 03:25:15 ==> Appending adjustments 03:25:15 https://docs.codecov.io/docs/fixing-reports 03:25:15 + Found adjustments 03:25:15 ==> Gzipping contents 03:25:15 4.0K /tmp/codecov.lfhcAv.gz 03:25:15 ==> Uploading reports 03:25:15 url: https://codecov.io 03:25:15 query: branch=main&commit=848c7370e59f70b2b102dd5f15f8b033fa5e417d&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:25:15 -> Pinging Codecov 03:25:15 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=848c7370e59f70b2b102dd5f15f8b033fa5e417d&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:25:15 -> Uploading to 03:25:15 https://storage.googleapis.com/codecov/v4/raw/2023-10-13/7D719EC7BBE17E464838252E33014C33/848c7370e59f70b2b102dd5f15f8b033fa5e417d/a54b77b1-b7fd-4bb0-be4e-28c8afee3796.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T032515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db5c6c3aa5738acc4f7004473502802c319769a301e78487a4154077506ea329 03:25:15 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:15 Dload Upload Total Spent Left Speed 03:25:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 11255 --:--:-- --:--:-- --:--:-- 11216 100 3219 0 0 100 3219 0 11255 --:--:-- --:--:-- --:--:-- 11216 03:25:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] } 03:25:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:25:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:25:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:16 03:25:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:25:16 df9b9388f04a: Pulling fs layer 03:25:16 52dc419b0ee2: Pulling fs layer 03:25:16 25bc292e5bac: Pulling fs layer 03:25:16 114826534d7a: Pulling fs layer 03:25:16 4657fd5d0bcf: Pulling fs layer 03:25:16 6ad1cebc031e: Pulling fs layer 03:25:16 8a3aa393b2d8: Pulling fs layer 03:25:16 4657fd5d0bcf: Waiting 03:25:16 6ad1cebc031e: Waiting 03:25:16 8a3aa393b2d8: Waiting 03:25:16 114826534d7a: Waiting 03:25:16 25bc292e5bac: Verifying Checksum 03:25:16 25bc292e5bac: Download complete 03:25:16 52dc419b0ee2: Verifying Checksum 03:25:16 52dc419b0ee2: Download complete 03:25:16 4657fd5d0bcf: Verifying Checksum 03:25:16 4657fd5d0bcf: Download complete 03:25:16 df9b9388f04a: Verifying Checksum 03:25:16 df9b9388f04a: Download complete 03:25:16 df9b9388f04a: Pull complete 03:25:16 6ad1cebc031e: Verifying Checksum 03:25:16 6ad1cebc031e: Download complete 03:25:16 52dc419b0ee2: Pull complete 03:25:16 25bc292e5bac: Pull complete 03:25:17 114826534d7a: Verifying Checksum 03:25:17 114826534d7a: Download complete 03:25:17 8a3aa393b2d8: Verifying Checksum 03:25:17 8a3aa393b2d8: Download complete 03:25:20 114826534d7a: Pull complete 03:25:20 4657fd5d0bcf: Pull complete 03:25:20 6ad1cebc031e: Pull complete 03:25:24 8a3aa393b2d8: Pull complete 03:25:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:24 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:25:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:25:28 $ docker top 196c5fc7d7fa8fae656358a9ea581752edb4688812847630ac2ea41431703168 -eo pid,comm [Pipeline] { [Pipeline] echo 03:25:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:25:29 + set -o pipefail 03:25:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:25:47 03:25:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:25:47 03:25:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/be3f5d36-eba4-4ff7-92eb-0a931fcd8e6f 03:25:47 03:25:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:25:47 03:25:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:25:47 03:25:47 03:25:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:25:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:25:47 More details here: https://snyk.co/ue1NS 03:25:47 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:25:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:25:47 $ docker stop --time=1 196c5fc7d7fa8fae656358a9ea581752edb4688812847630ac2ea41431703168 03:25:51 $ docker rm -f --volumes 196c5fc7d7fa8fae656358a9ea581752edb4688812847630ac2ea41431703168 [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 03:25:51 + git log --format=format:%s -1 848c7370e59f70b2b102dd5f15f8b033fa5e417d [Pipeline] sh 03:25:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:25:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:52 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:25:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:25:52 $ docker top 76a8d839e4104261d2eebf16a947e77a8ca976c6ca8144799837db7e0be96fc1 -eo pid,comm 03:25:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:25:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:25:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:53 [ssh-agent] Looking for ssh-agent implementation... 03:25:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:53 $ docker exec 76a8d839e4104261d2eebf16a947e77a8ca976c6ca8144799837db7e0be96fc1 ssh-agent 03:25:53 SSH_AUTH_SOCK=/tmp/ssh-anwlBr5vngyG/agent.32 03:25:53 SSH_AGENT_PID=38 03:25:53 Running ssh-add (command line suppressed) 03:25:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1506685027788379106.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1506685027788379106.key) 03:25:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:53 + git semver tag 03:25:53 2023-10-13 03:25:53,836 [run_tag] DEBUG tag force:False 03:25:53 2023-10-13 03:25:53,836 [check_head_tag] DEBUG check head tag 03:25:53 2023-10-13 03:25:53,837 [execute] INFO git cat-file --batch-check 03:25:53 2023-10-13 03:25:53,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:25:53 2023-10-13 03:25:53,842 [execute] INFO git cat-file --batch 03:25:53 2023-10-13 03:25:53,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:25:53 2023-10-13 03:25:53,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:25:53 2023-10-13 03:25:53,854 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 03:25:53 2023-10-13 03:25:53,854 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:25:53 2023-10-13 03:25:53,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:25:53 3.1.0-dev.17 [Pipeline] } 03:25:53 $ docker exec --env ******** --env ******** 76a8d839e4104261d2eebf16a947e77a8ca976c6ca8144799837db7e0be96fc1 ssh-agent -k 03:25:54 unset SSH_AUTH_SOCK; 03:25:54 unset SSH_AGENT_PID; 03:25:54 echo Agent pid 38 killed; 03:25:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:25:54 + git semver [Pipeline] } 03:25:54 $ docker stop --time=1 76a8d839e4104261d2eebf16a947e77a8ca976c6ca8144799837db7e0be96fc1 03:25:55 $ docker rm -f --volumes 76a8d839e4104261d2eebf16a947e77a8ca976c6ca8144799837db7e0be96fc1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:25:56 03:25:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:25:56 0.23.1-centos7: Pulling from edgex-lftools 03:25:56 ab5ef0e58194: Pulling fs layer 03:25:56 9712f1f96733: Pulling fs layer 03:25:56 63f879dbbcfc: Pulling fs layer 03:25:56 0d9ebad4ef96: Pulling fs layer 03:25:56 e9a5061849ea: Pulling fs layer 03:25:56 d747dcd14b5f: Pulling fs layer 03:25:56 2de7ff778b66: Pulling fs layer 03:25:56 0d9ebad4ef96: Waiting 03:25:56 e9a5061849ea: Waiting 03:25:56 2de7ff778b66: Waiting 03:25:56 d747dcd14b5f: Waiting 03:25:56 9712f1f96733: Verifying Checksum 03:25:56 9712f1f96733: Download complete 03:25:56 63f879dbbcfc: Verifying Checksum 03:25:56 63f879dbbcfc: Download complete 03:25:57 e9a5061849ea: Verifying Checksum 03:25:57 e9a5061849ea: Download complete 03:25:57 d747dcd14b5f: Download complete 03:25:57 ab5ef0e58194: Verifying Checksum 03:25:57 ab5ef0e58194: Download complete 03:25:57 0d9ebad4ef96: Verifying Checksum 03:25:57 0d9ebad4ef96: Download complete 03:25:57 2de7ff778b66: Verifying Checksum 03:25:59 ab5ef0e58194: Pull complete 03:25:59 9712f1f96733: Pull complete 03:26:00 63f879dbbcfc: Pull complete 03:26:03 0d9ebad4ef96: Pull complete 03:26:03 e9a5061849ea: Pull complete 03:26:03 d747dcd14b5f: Pull complete 03:26:04 2de7ff778b66: Pull complete 03:26:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:26:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:04 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:26:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:26:10 $ docker top 96fb981deb6b62a0db43fa91137ab5ee811c59c3f5b094e721b21d4d3a6760fb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:26:10 provisioning config files... 03:26:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13395175938565633232tmp 03:26:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7640593529548921888tmp 03:26:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7685635850038797653tmp [Pipeline] { [Pipeline] echo 03:26:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:26:11 ---> sigul-configuration.sh 03:26:11 gpg: directory `/root/.gnupg' created 03:26:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:26:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:26:11 gpg: keyring `/root/.gnupg/secring.gpg' created 03:26:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:26:11 gpg: CAST5 encrypted data 03:26:11 gpg: encrypted with 1 passphrase 03:26:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:26:11 + mkdir /home/jenkins 03:26:11 + mkdir /home/jenkins/sigul [Pipeline] sh 03:26:11 + 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 03:26:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:26:11 ---> sigul-install.sh 03:26:11 Sigul already installed; skipping installation. [Pipeline] sh 03:26:12 + git tag --list 03:26:12 0.7.1 03:26:12 v1.0.0 03:26:12 v1.1.0 03:26:12 v1.1.1 03:26:12 v1.2.2 03:26:12 v1.3.0 03:26:12 v1.3.1 03:26:12 v2.0.0 03:26:12 v2.1.0 03:26:12 v2.1.1 03:26:12 v2.2.0 03:26:12 v2.3.0 03:26:12 v3.0 03:26:12 v3.0.0 03:26:12 v3.1.0-dev.1 03:26:12 v3.1.0-dev.10 03:26:12 v3.1.0-dev.11 03:26:12 v3.1.0-dev.12 03:26:12 v3.1.0-dev.13 03:26:12 v3.1.0-dev.14 03:26:12 v3.1.0-dev.15 03:26:12 v3.1.0-dev.16 03:26:12 v3.1.0-dev.17 03:26:12 v3.1.0-dev.2 03:26:12 v3.1.0-dev.3 03:26:12 v3.1.0-dev.4 03:26:12 v3.1.0-dev.5 03:26:12 v3.1.0-dev.6 03:26:12 v3.1.0-dev.7 03:26:12 v3.1.0-dev.8 03:26:12 v3.1.0-dev.9 [Pipeline] sh 03:26:12 + lftools sign git-tag v3.1.0-dev.17 03:26:13 Signing Git tag with Sigul... 03:26:13 Signing v3.1.0-dev.17 [Pipeline] echo 03:26:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:26:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:26:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:26:13 $ docker stop --time=1 96fb981deb6b62a0db43fa91137ab5ee811c59c3f5b094e721b21d4d3a6760fb 03:26:14 $ docker rm -f --volumes 96fb981deb6b62a0db43fa91137ab5ee811c59c3f5b094e721b21d4d3a6760fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:26:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:26:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:26:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:15 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:26:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:26:15 $ docker top 8ae9a3af1bc429bfa1ed367ace382bc10c92cbf310813a6f687e3172fcd68bbd -eo pid,comm 03:26:16 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). 03:26:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:26:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:26:16 [ssh-agent] Looking for ssh-agent implementation... 03:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:26:16 $ docker exec 8ae9a3af1bc429bfa1ed367ace382bc10c92cbf310813a6f687e3172fcd68bbd ssh-agent 03:26:16 SSH_AUTH_SOCK=/tmp/ssh-YK2B076Xnfpc/agent.33 03:26:16 SSH_AGENT_PID=39 03:26:16 Running ssh-add (command line suppressed) 03:26:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8384507336348388843.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8384507336348388843.key) 03:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:26:16 + git semver bump pre 03:26:16 2023-10-13 03:26:16,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:26:16 2023-10-13 03:26:16,824 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev 03:26:16 2023-10-13 03:26:16,824 [bump_version] DEBUG bumped version:3.1.0-dev.18 03:26:16 2023-10-13 03:26:16,824 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:26:16 2023-10-13 03:26:16,824 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:26:16 2023-10-13 03:26:16,824 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:26:16 2023-10-13 03:26:16,826 [execute] INFO git cat-file --batch-check 03:26:16 2023-10-13 03:26:16,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:16 2023-10-13 03:26:16,834 [execute] INFO git cat-file --batch 03:26:16 2023-10-13 03:26:16,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:16 2023-10-13 03:26:16,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:26:16 3.1.0-dev.18 [Pipeline] } 03:26:16 $ docker exec --env ******** --env ******** 8ae9a3af1bc429bfa1ed367ace382bc10c92cbf310813a6f687e3172fcd68bbd ssh-agent -k 03:26:17 unset SSH_AUTH_SOCK; 03:26:17 unset SSH_AGENT_PID; 03:26:17 echo Agent pid 39 killed; 03:26:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:26:17 + git semver [Pipeline] } 03:26:17 $ docker stop --time=1 8ae9a3af1bc429bfa1ed367ace382bc10c92cbf310813a6f687e3172fcd68bbd 03:26:18 $ docker rm -f --volumes 8ae9a3af1bc429bfa1ed367ace382bc10c92cbf310813a6f687e3172fcd68bbd [Pipeline] // withDockerContainer [Pipeline] sh 03:26:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:26:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:19 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:26:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:26:19 $ docker top 243634a75b3a7b1624661542b3faa544523bfe084bdc9b4b587b85eb06054e3f -eo pid,comm 03:26:19 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). 03:26:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:26:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:26:20 [ssh-agent] Looking for ssh-agent implementation... 03:26:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:26:20 $ docker exec 243634a75b3a7b1624661542b3faa544523bfe084bdc9b4b587b85eb06054e3f ssh-agent 03:26:20 SSH_AUTH_SOCK=/tmp/ssh-cuwOFgBmYe1h/agent.32 03:26:20 SSH_AGENT_PID=38 03:26:20 Running ssh-add (command line suppressed) 03:26:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10745211341854484682.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10745211341854484682.key) 03:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:26:20 + git semver push 03:26:20 2023-10-13 03:26:20,810 [run_push] DEBUG push 03:26:20 2023-10-13 03:26:20,811 [execute] INFO git cat-file --batch-check 03:26:20 2023-10-13 03:26:20,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:20 2023-10-13 03:26:20,814 [execute] INFO git rev-list d75befe45bbb8a72123f40b71d47b56e55c3c1ca -- 03:26:20 2023-10-13 03:26:20,814 [execute] DEBUG Popen(['git', 'rev-list', 'd75befe45bbb8a72123f40b71d47b56e55c3c1ca', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:26:20 2023-10-13 03:26:20,823 [execute] INFO git fetch -v origin 03:26:20 2023-10-13 03:26:20,823 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:26:21 2023-10-13 03:26:21,353 [run_push] DEBUG no remote changes detected 03:26:21 2023-10-13 03:26:21,353 [execute] INFO git push origin semver 03:26:21 2023-10-13 03:26:21,354 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:26:22 2023-10-13 03:26:22,224 [run_push] DEBUG push all version tags 03:26:22 2023-10-13 03:26:22,225 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:26:22 2023-10-13 03:26:22,225 [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) 03:26:23 2023-10-13 03:26:22,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:26:23 3.1.0-dev.18 [Pipeline] } 03:26:23 $ docker exec --env ******** --env ******** 243634a75b3a7b1624661542b3faa544523bfe084bdc9b4b587b85eb06054e3f ssh-agent -k 03:26:23 unset SSH_AUTH_SOCK; 03:26:23 unset SSH_AGENT_PID; 03:26:23 echo Agent pid 38 killed; 03:26:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:26:23 + git semver [Pipeline] } 03:26:24 $ docker stop --time=1 243634a75b3a7b1624661542b3faa544523bfe084bdc9b4b587b85eb06054e3f 03:26:25 $ docker rm -f --volumes 243634a75b3a7b1624661542b3faa544523bfe084bdc9b4b587b85eb06054e3f [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 03:26:26 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:26:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:26:26 total 16 03:26:26 drwxr-xr-x 3 root root 4096 Oct 13 03:15 . 03:26:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 03:26 .. 03:26:26 drwxr-xr-x 2 root root 4096 Oct 13 03:15 cost 03:26:26 -rw-r--r-- 1 root root 86 Oct 13 03:15 cost.csv 03:26:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:26:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:26:26 total 16 03:26:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:15 . 03:26:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 03:26 .. 03:26:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 03:15 cost 03:26:26 -rw-r--r-- 1 jenkins jenkins 86 Oct 13 03:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:27 ---> package-listing.sh 03:26:27 ++ facter osfamily 03:26:27 ++ tr '[:upper:]' '[:lower:]' 03:26:27 + OS_FAMILY=debian 03:26:27 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:26:27 + START_PACKAGES=/tmp/packages_start.txt 03:26:27 + END_PACKAGES=/tmp/packages_end.txt 03:26:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:27 + PACKAGES=/tmp/packages_start.txt 03:26:27 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:26:27 + PACKAGES=/tmp/packages_end.txt 03:26:27 + case "${OS_FAMILY}" in 03:26:27 + dpkg -l 03:26:27 + grep '^ii' 03:26:27 + '[' -f /tmp/packages_start.txt ']' 03:26:27 + '[' -f /tmp/packages_end.txt ']' 03:26:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:27 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:26:27 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:26:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:26:27 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 03:26:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:28 prd-ubuntu20.04-docker-8c-8g-9185 does not seem to be running inside a container 03:26:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:28 $ docker top f3ef7950a5ae959f7064f6fde734a802ad1fbe3e635efac4ba0fdb9090439d4b -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:28 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:29 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:29 + ls /var/log/sa-host 03:26:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:29 provisioning config files... 03:26:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2874806352570108869tmp [Pipeline] { [Pipeline] echo 03:26:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:29 ---> create-netrc.sh [Pipeline] } 03:26:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:30 ---> python-tools-install.sh [Pipeline] echo 03:26:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:30 ---> sudo-logs.sh 03:26:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:30 ---> job-cost.sh 03:26:30 lf-activate-venv: SKIPPING 03:26:30 DEBUG: total: 0.2199999988079071 03:26:30 INFO: Retrieving Stack Cost... 03:26:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:31 INFO: Archiving Costs [Pipeline] echo 03:26:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:31 ---> logs-deploy.sh 03:26:31 lf-activate-venv: SKIPPING 03:26:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/145 03:26:31 INFO: archiving workspace using pattern(s): 03:26:32 Archives upload complete. 03:26:32 INFO: archiving logs to Nexus