Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 546b5734ca37b76ffe84c7857d50ac45e183bb78 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-ssh3047892381637915533.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-ssh17182507670449225667.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-ssh9273491171231226059.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-ssh6044874829031966618.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-ssh14404202816513344963.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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7216’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7229’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7230’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7233 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 > 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 Avoid second fetch Checking out Revision 546b5734ca37b76ffe84c7857d50ac45e183bb78 (main) Commit message: "Merge pull request #627 from ernestojeda/create-release" > git config core.sparsecheckout # timeout=10 > git checkout -f 546b5734ca37b76ffe84c7857d50ac45e183bb78 # timeout=10 > git rev-list --no-walk fc5b9b67d26e6d46da136c9be928c2824f9c3aae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:06 ========================================================= 20:57:06 EdgeX Global Pipelines Version Info 20:57:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:07 ------------------- 20:57:07 stable info: 20:57:07 ------------------- 20:57:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:57:07 Message: update stable to v1.0.254 20:57:08 ------------------- 20:57:08 experimental info: 20:57:08 ------------------- 20:57:08 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:08 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:57:08 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 546b573 [Pipeline] echo 20:57:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:08 provisioning config files... 20:57:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4398015389949086486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:09 ---> docker-login.sh 20:57:09 nexus3.edgexfoundry.org:10001 20:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:11 Configure a credential helper to remove this warning. See 20:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:11 20:57:11 Login Succeeded 20:57:11 nexus3.edgexfoundry.org:10002 20:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:11 Configure a credential helper to remove this warning. See 20:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:11 20:57:11 Login Succeeded 20:57:11 nexus3.edgexfoundry.org:10003 20:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:11 Configure a credential helper to remove this warning. See 20:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:11 20:57:11 Login Succeeded 20:57:11 nexus3.edgexfoundry.org:10004 20:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:11 Configure a credential helper to remove this warning. See 20:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:11 20:57:11 Login Succeeded 20:57:11 docker.io 20:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:11 Configure a credential helper to remove this warning. See 20:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:11 20:57:11 Login Succeeded 20:57:11 ---> docker-login.sh ends [Pipeline] } 20:57:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:12 + git rev-list -1 --merges 546b5734ca37b76ffe84c7857d50ac45e183bb78~1..546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] echo 20:57:12 -----------> git rev-list -1 --merges 546b5734ca37b76ffe84c7857d50ac45e183bb78~1..546b5734ca37b76ffe84c7857d50ac45e183bb78 546b5734ca37b76ffe84c7857d50ac45e183bb78 20:57:12 546b5734ca37b76ffe84c7857d50ac45e183bb78 [false] [Pipeline] sh 20:57:12 + git log --format=format:%s -1 546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] echo 20:57:12 ========================================================= 20:57:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:12 + git log --format=format:%s -1 546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] echo 20:57:12 [semverPrep] GIT_COMMIT: 546b5734ca37b76ffe84c7857d50ac45e183bb78, Commit Message: Merge pull request #627 from ernestojeda/create-release [Pipeline] echo 20:57:12 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:13 + grep -v github /etc/ssh/ssh_known_hosts 20:57:13 + [ -e /tmp/ssh_known_hosts ] 20:57:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:57:13 sudo tee -a /etc/ssh/ssh_known_hosts 20:57:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:13 20:57:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:14 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:14 b85a868b505f: Pulling fs layer 20:57:14 e2be974225ed: Pulling fs layer 20:57:14 339a4e72a1f5: Pulling fs layer 20:57:14 988bab9f4d93: Pulling fs layer 20:57:14 1469e6f7b9e6: Pulling fs layer 20:57:14 eaf3925da568: Pulling fs layer 20:57:14 bab4dde63d76: Pulling fs layer 20:57:14 bde34c3a00c8: Pulling fs layer 20:57:14 b352a97aabf1: Pulling fs layer 20:57:14 988bab9f4d93: Waiting 20:57:14 1469e6f7b9e6: Waiting 20:57:14 eaf3925da568: Waiting 20:57:14 bab4dde63d76: Waiting 20:57:14 4872d77fe225: Pulling fs layer 20:57:14 bde34c3a00c8: Waiting 20:57:14 5851b861e8e6: Pulling fs layer 20:57:14 b352a97aabf1: Waiting 20:57:14 4872d77fe225: Waiting 20:57:14 5851b861e8e6: Waiting 20:57:14 e2be974225ed: Download complete 20:57:14 988bab9f4d93: Verifying Checksum 20:57:14 988bab9f4d93: Download complete 20:57:14 339a4e72a1f5: Verifying Checksum 20:57:14 339a4e72a1f5: Download complete 20:57:14 1469e6f7b9e6: Verifying Checksum 20:57:14 1469e6f7b9e6: Download complete 20:57:14 eaf3925da568: Verifying Checksum 20:57:14 eaf3925da568: Download complete 20:57:14 bde34c3a00c8: Verifying Checksum 20:57:14 bde34c3a00c8: Download complete 20:57:14 b352a97aabf1: Verifying Checksum 20:57:14 b352a97aabf1: Download complete 20:57:14 4872d77fe225: Verifying Checksum 20:57:14 4872d77fe225: Download complete 20:57:14 5851b861e8e6: Download complete 20:57:14 b85a868b505f: Verifying Checksum 20:57:14 b85a868b505f: Download complete 20:57:15 bab4dde63d76: Verifying Checksum 20:57:15 bab4dde63d76: Download complete 20:57:16 b85a868b505f: Pull complete 20:57:16 e2be974225ed: Pull complete 20:57:16 339a4e72a1f5: Pull complete 20:57:16 988bab9f4d93: Pull complete 20:57:17 1469e6f7b9e6: Pull complete 20:57:17 eaf3925da568: Pull complete 20:57:19 bab4dde63d76: Pull complete 20:57:19 bde34c3a00c8: Pull complete 20:57:19 b352a97aabf1: Pull complete 20:57:19 4872d77fe225: Pull complete 20:57:19 5851b861e8e6: Pull complete 20:57:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:19 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 20:57: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:57:28 $ docker top 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 -eo pid,comm 20:57:28 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). 20:57:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:28 [ssh-agent] Looking for ssh-agent implementation... 20:57:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:29 $ docker exec 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 ssh-agent 20:57:29 SSH_AUTH_SOCK=/tmp/ssh-t7QBpLua5tUr/agent.13 20:57:29 SSH_AGENT_PID=19 20:57:29 Running ssh-add (command line suppressed) 20:57:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15463822196697928690.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15463822196697928690.key) 20:57:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:29 + git tag --points-at HEAD [Pipeline] } 20:57:29 $ docker exec --env ******** --env ******** 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 ssh-agent -k 20:57:29 unset SSH_AUTH_SOCK; 20:57:29 unset SSH_AGENT_PID; 20:57:29 echo Agent pid 19 killed; 20:57:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:29 [ssh-agent] Looking for ssh-agent implementation... 20:57:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:30 $ docker exec 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 ssh-agent 20:57:30 SSH_AUTH_SOCK=/tmp/ssh-pQh3UQkuzAh8/agent.68 20:57:30 SSH_AGENT_PID=74 20:57:30 Running ssh-add (command line suppressed) 20:57:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16420070101575713021.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16420070101575713021.key) 20:57:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:30 + git semver init 20:57:31 2023-09-20 20:57:30,847 [run_init] DEBUG init version:0.0.0 force:False 20:57:31 2023-09-20 20:57:30,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:57:31 2023-09-20 20:57:30,849 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:57:31 2023-09-20 20:57:30,850 [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) 20:57:32 2023-09-20 20:57:32,048 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:57:32 2023-09-20 20:57:32,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:57:32 2023-09-20 20:57:32,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:57:32 2023-09-20 20:57:32,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:57:32 3.1.0-dev.12 [Pipeline] } 20:57:32 $ docker exec --env ******** --env ******** 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 ssh-agent -k 20:57:32 unset SSH_AUTH_SOCK; 20:57:32 unset SSH_AGENT_PID; 20:57:32 echo Agent pid 74 killed; 20:57:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:32 + git semver [Pipeline] } 20:57:33 $ docker stop --time=1 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 20:57:35 $ docker rm -f --volumes 9caae7dc72c80649caaaec6f3ee2d3189e0118314a3cce9c13f7dde3c2ecc7d8 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:36 Stashed 1 file(s) [Pipeline] echo 20:57:36 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 20:57:36 provisioning config files... 20:57:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16944097792857909365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:36 ---> docker-login.sh 20:57:36 nexus3.edgexfoundry.org:10001 20:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:36 Configure a credential helper to remove this warning. See 20:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:36 20:57:36 Login Succeeded 20:57:36 nexus3.edgexfoundry.org:10002 20:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:36 Configure a credential helper to remove this warning. See 20:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:36 20:57:36 Login Succeeded 20:57:36 nexus3.edgexfoundry.org:10003 20:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:36 Configure a credential helper to remove this warning. See 20:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:36 20:57:36 Login Succeeded 20:57:36 nexus3.edgexfoundry.org:10004 20:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:36 Configure a credential helper to remove this warning. See 20:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:36 20:57:36 Login Succeeded 20:57:36 docker.io 20:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:37 Configure a credential helper to remove this warning. See 20:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:37 20:57:37 Login Succeeded 20:57:37 ---> docker-login.sh ends [Pipeline] } 20:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:37 ========================================================= 20:57:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:57:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:37 + 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 . 20:57:37 Sending build context to Docker daemon 6.486MB 20:57:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:57:37 Step 2/12 : FROM ${BASE} AS builder 20:57:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:38 7264a8db6415: Pulling fs layer 20:57:38 c4d48a809fc2: Pulling fs layer 20:57:38 4f1c88b9dad5: Pulling fs layer 20:57:38 ad3a456e5733: Pulling fs layer 20:57:38 33e27b845d1e: Pulling fs layer 20:57:38 c68163c4e522: Pulling fs layer 20:57:38 50da416c3ac9: Pulling fs layer 20:57:38 23d2d4c4bb30: Pulling fs layer 20:57:38 ad3a456e5733: Waiting 20:57:38 c68163c4e522: Waiting 20:57:38 50da416c3ac9: Waiting 20:57:38 23d2d4c4bb30: Waiting 20:57:38 33e27b845d1e: Waiting 20:57:38 c4d48a809fc2: Verifying Checksum 20:57:38 c4d48a809fc2: Download complete 20:57:38 ad3a456e5733: Verifying Checksum 20:57:38 ad3a456e5733: Download complete 20:57:38 33e27b845d1e: Verifying Checksum 20:57:38 33e27b845d1e: Download complete 20:57:38 7264a8db6415: Verifying Checksum 20:57:38 7264a8db6415: Download complete 20:57:38 c68163c4e522: Verifying Checksum 20:57:38 c68163c4e522: Download complete 20:57:38 7264a8db6415: Pull complete 20:57:38 c4d48a809fc2: Pull complete 20:57:38 23d2d4c4bb30: Verifying Checksum 20:57:38 23d2d4c4bb30: Download complete 20:57:38 4f1c88b9dad5: Verifying Checksum 20:57:38 4f1c88b9dad5: Download complete 20:57:38 50da416c3ac9: Verifying Checksum 20:57:38 50da416c3ac9: Download complete 20:57:42 4f1c88b9dad5: Pull complete 20:57:42 ad3a456e5733: Pull complete 20:57:42 33e27b845d1e: Pull complete 20:57:42 c68163c4e522: Pull complete 20:57:44 50da416c3ac9: Pull complete 20:57:44 23d2d4c4bb30: Pull complete 20:57:44 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:57:44 ---> 0786185ac409 20:57:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:51 Still waiting to schedule task 20:57:51 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-ubuntu20.04-docker-8c-8g-7244’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-ubuntu20.04-docker-8c-8g-7245’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-ubuntu20.04-docker-8c-8g-7247’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7237’ is offline 20:57:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7240’ is offline 20:57:53 ---> Running in e92c614c97a9 20:57:53 Removing intermediate container e92c614c97a9 20:57:53 ---> e018792b37f0 20:57:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:53 ---> Running in ab1915684dba 20:57:53 Removing intermediate container ab1915684dba 20:57:53 ---> dc6d86a18c56 20:57:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:57:53 ---> Running in 801b428d3376 20:57:53 Removing intermediate container 801b428d3376 20:57:53 ---> a6f14ee8fbf4 20:57:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:53 ---> Running in 77dbeb97d30d 20:57:53 Removing intermediate container 77dbeb97d30d 20:57:53 ---> c69e5a009c47 20:57:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:53 ---> Running in 7ba623b3be51 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:57:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:57:53 (2/4) Installing libedit (20221030.3.1-r1) 20:57:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:57:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:57:53 Executing busybox-1.36.1-r2.trigger 20:57:53 OK: 268 MiB in 56 packages 20:57:53 Removing intermediate container 7ba623b3be51 20:57:53 ---> 17ee50878ad1 20:57:53 Step 8/12 : WORKDIR /device-mqtt-go 20:57:53 ---> Running in 74e1ea1c020c 20:57:53 Removing intermediate container 74e1ea1c020c 20:57:53 ---> 4e2e9f60ac5c 20:57:53 Step 9/12 : COPY go.mod vendor* ./ 20:57:53 ---> 78e1b42debaf 20:57:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:53 ---> Running in 53cb9beb8afa 20:58:50 Removing intermediate container 53cb9beb8afa 20:58:50 ---> e035fae14e2e 20:58:50 Step 11/12 : COPY . . 20:58:50 ---> 60b7364bb36e 20:58:50 Step 12/12 : RUN $MAKE 20:58:50 ---> Running in 167d45cdc358 20:58:50 noop 20:58:50 Removing intermediate container 167d45cdc358 20:58:50 ---> 07101c6c7655 20:58:50 Successfully built 07101c6c7655 20:58:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:50 + docker inspect -f . ci-base-image-x86_64 20:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:50 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 20:58:50 $ 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 20:58:51 $ docker top 99d0e5ee0b4d5eda9e59bb6a40ad469304285ffb348c5387e794b1547815a0c1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:51 + go version 20:58:51 go version go1.21.0 linux/amd64 [Pipeline] } 20:58:51 $ docker stop --time=1 99d0e5ee0b4d5eda9e59bb6a40ad469304285ffb348c5387e794b1547815a0c1 20:58:55 $ docker rm -f --volumes 99d0e5ee0b4d5eda9e59bb6a40ad469304285ffb348c5387e794b1547815a0c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:56 + docker inspect -f . ci-base-image-x86_64 20:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:56 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 20:58:56 $ 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 20:58:59 $ docker top 5575b971facb496e7224977d3ece102f0bc3c8ee9b86aee9fb97af6bf82912b8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 20:59:00 + make test 20:59:00 go test ./... -coverprofile=coverage.out ./... 20:59:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:59:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:59:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:59:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 20:59:24 go vet ./... 20:59:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:28 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:28 $ docker stop --time=1 5575b971facb496e7224977d3ece102f0bc3c8ee9b86aee9fb97af6bf82912b8 20:59:37 $ docker rm -f --volumes 5575b971facb496e7224977d3ece102f0bc3c8ee9b86aee9fb97af6bf82912b8 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:39 + ls -al . 20:59:39 total 188 20:59:39 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:59 . 20:59:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 .. 20:59:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:57 .dockerignore 20:59:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git 20:59:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 .github 20:59:39 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:57 .gitignore 20:59:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:57 .golangci.yml 20:59:39 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:57 .semver 20:59:39 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 20:57 Attribution.txt 20:59:39 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 20:57 CHANGELOG.md 20:59:39 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 20:57 Dockerfile 20:59:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:57 GOVERNANCE.md 20:59:39 -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 20:57 Jenkinsfile 20:59:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:57 LICENSE 20:59:39 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 20:57 Makefile 20:59:39 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:57 OWNERS.md 20:59:39 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 20:57 README.md 20:59:39 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION 20:59:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 bin 20:59:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 cmd 20:59:39 -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 20:59 coverage.out 20:59:39 -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 20:57 go.mod 20:59:39 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:57 go.sum 20:59:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 internal 20:59:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 mock 20:59:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 snap 20:59:39 -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:39 + 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=546b5734ca37b76ffe84c7857d50ac45e183bb78 --label arch=amd64 --label version=3.1.0-dev.12 . 20:59:39 Sending build context to Docker daemon 6.505MB 20:59:39 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 20:59:39 Step 2/24 : FROM ${BASE} AS builder 20:59:39 ---> 07101c6c7655 20:59:39 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:59:41 ---> Running in b63744b1cac5 20:59:41 Removing intermediate container b63744b1cac5 20:59:41 ---> cbeddc6c67b4 20:59:41 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:41 ---> Running in 28fc5af6e63f 20:59:42 Removing intermediate container 28fc5af6e63f 20:59:42 ---> 51d4af0eefb2 20:59:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:42 ---> Running in ffa0ec62e18b 20:59:42 Removing intermediate container ffa0ec62e18b 20:59:42 ---> 108836d4cc58 20:59:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:59:42 ---> Running in 949eedf49a48 20:59:42 Removing intermediate container 949eedf49a48 20:59:42 ---> 46b353d66938 20:59:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:42 ---> Running in dc85ef9e0b95 20:59:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:43 OK: 268 MiB in 56 packages 20:59:43 Removing intermediate container dc85ef9e0b95 20:59:43 ---> e7a2237f8090 20:59:43 Step 8/24 : WORKDIR /device-mqtt-go 20:59:43 ---> Running in 648e48a9375b 20:59:43 Removing intermediate container 648e48a9375b 20:59:43 ---> 03cc477fcc5d 20:59:43 Step 9/24 : COPY go.mod vendor* ./ 20:59:43 ---> d806d5c01b83 20:59:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:43 ---> Running in 7644449b8e98 20:59:44 Removing intermediate container 7644449b8e98 20:59:44 ---> ac3c500a8745 20:59:44 Step 11/24 : COPY . . 20:59:44 ---> c4535ed1902d 20:59:44 Step 12/24 : RUN $MAKE 20:59:44 ---> Running in 03c565553418 20:59:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:00:11 Removing intermediate container 03c565553418 21:00:11 ---> 3e2c87702060 21:00:11 Step 13/24 : FROM alpine:3.18 21:00:11 3.18: Pulling from library/alpine 21:00:11 7264a8db6415: Already exists 21:00:11 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:00:11 Status: Downloaded newer image for alpine:3.18 21:00:11 ---> 7e01a0d0a1dc 21:00:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:00:11 ---> Running in f92e2d9bd59d 21:00:11 Removing intermediate container f92e2d9bd59d 21:00:11 ---> e0bbaa7b86d8 21:00:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:00:11 ---> Running in ab56d93674ca 21:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:00:11 (1/1) Installing dumb-init (1.2.5-r2) 21:00:11 Executing busybox-1.36.1-r2.trigger 21:00:11 OK: 7 MiB in 16 packages 21:00:11 Removing intermediate container ab56d93674ca 21:00:11 ---> 68ab9db899d2 21:00:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:00:11 ---> ae860592934b 21:00:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:00:11 ---> 8ee48974a658 21:00:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:00:11 ---> eb26e1537904 21:00:11 Step 19/24 : EXPOSE 59982 21:00:11 ---> Running in c265d0231f8f 21:00:11 Removing intermediate container c265d0231f8f 21:00:11 ---> f26306b71a88 21:00:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:00:11 ---> Running in a9f31429b162 21:00:11 Removing intermediate container a9f31429b162 21:00:11 ---> 82828672c296 21:00:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:11 ---> Running in 38c7b1efcd4c 21:00:11 Removing intermediate container 38c7b1efcd4c 21:00:11 ---> 5d232feed37e 21:00:11 Step 22/24 : LABEL arch=amd64 21:00:11 ---> Running in 5a411cacb43a 21:00:11 Removing intermediate container 5a411cacb43a 21:00:11 ---> 9360e0880f8a 21:00:11 Step 23/24 : LABEL git_sha=546b5734ca37b76ffe84c7857d50ac45e183bb78 21:00:11 ---> Running in a6e85ec6eff6 21:00:12 Removing intermediate container a6e85ec6eff6 21:00:12 ---> aef4e2fa5bec 21:00:12 Step 24/24 : LABEL version=3.1.0-dev.12 21:00:12 ---> Running in f6873e92e9e7 21:00:12 Removing intermediate container f6873e92e9e7 21:00:12 ---> 70a68441f5ce 21:00:12 [Warning] One or more build-args [ARCH] were not consumed 21:00:12 Successfully built 70a68441f5ce 21:00:12 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:12 provisioning config files... 21:00:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8626634686823395291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:12 ---> docker-login.sh 21:00:12 nexus3.edgexfoundry.org:10001 21:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:12 Configure a credential helper to remove this warning. See 21:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:12 21:00:12 Login Succeeded 21:00:12 nexus3.edgexfoundry.org:10002 21:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:12 Configure a credential helper to remove this warning. See 21:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:12 21:00:12 Login Succeeded 21:00:12 nexus3.edgexfoundry.org:10003 21:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:12 Configure a credential helper to remove this warning. See 21:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:12 21:00:12 Login Succeeded 21:00:12 nexus3.edgexfoundry.org:10004 21:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:12 Configure a credential helper to remove this warning. See 21:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:12 21:00:12 Login Succeeded 21:00:12 docker.io 21:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:13 Configure a credential helper to remove this warning. See 21:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:13 21:00:13 Login Succeeded 21:00:13 ---> docker-login.sh ends [Pipeline] } 21:00:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:13 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:00:13 546b5734ca37b76ffe84c7857d50ac45e183bb78 21:00:13 latest 21:00:13 3.1.0-dev.12 21:00:13 546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:00:13 main 21:00:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78 21:00:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:00:14 c5b544df92ef: Preparing 21:00:14 7de186faaa38: Preparing 21:00:14 e01a98439a2f: Preparing 21:00:14 f5710dfceedd: Preparing 21:00:14 4693057ce236: Preparing 21:00:14 4693057ce236: Layer already exists 21:00:14 f5710dfceedd: Pushed 21:00:14 c5b544df92ef: Pushed 21:00:14 7de186faaa38: Pushed 21:00:17 e01a98439a2f: Pushed 21:00:17 546b5734ca37b76ffe84c7857d50ac45e183bb78: digest: sha256:9289e9c57903b318d04332b8c354ad0093c3f2bbdbc3500eafc80c24e79f5d6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:00:18 c5b544df92ef: Preparing 21:00:18 7de186faaa38: Preparing 21:00:18 e01a98439a2f: Preparing 21:00:18 f5710dfceedd: Preparing 21:00:18 4693057ce236: Preparing 21:00:18 c5b544df92ef: Layer already exists 21:00:18 f5710dfceedd: Layer already exists 21:00:18 7de186faaa38: Layer already exists 21:00:18 4693057ce236: Layer already exists 21:00:18 e01a98439a2f: Layer already exists 21:00:18 latest: digest: sha256:9289e9c57903b318d04332b8c354ad0093c3f2bbdbc3500eafc80c24e79f5d6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.12 21:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:00:18 c5b544df92ef: Preparing 21:00:18 7de186faaa38: Preparing 21:00:18 e01a98439a2f: Preparing 21:00:18 f5710dfceedd: Preparing 21:00:18 4693057ce236: Preparing 21:00:18 e01a98439a2f: Layer already exists 21:00:18 f5710dfceedd: Layer already exists 21:00:18 7de186faaa38: Layer already exists 21:00:18 4693057ce236: Layer already exists 21:00:18 c5b544df92ef: Layer already exists 21:00:18 3.1.0-dev.12: digest: sha256:9289e9c57903b318d04332b8c354ad0093c3f2bbdbc3500eafc80c24e79f5d6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:00:19 c5b544df92ef: Preparing 21:00:19 7de186faaa38: Preparing 21:00:19 e01a98439a2f: Preparing 21:00:19 f5710dfceedd: Preparing 21:00:19 4693057ce236: Preparing 21:00:19 4693057ce236: Layer already exists 21:00:19 c5b544df92ef: Layer already exists 21:00:19 e01a98439a2f: Layer already exists 21:00:19 f5710dfceedd: Layer already exists 21:00:19 7de186faaa38: Layer already exists 21:00:19 546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12: digest: sha256:9289e9c57903b318d04332b8c354ad0093c3f2bbdbc3500eafc80c24e79f5d6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:00:19 c5b544df92ef: Preparing 21:00:19 7de186faaa38: Preparing 21:00:19 e01a98439a2f: Preparing 21:00:19 f5710dfceedd: Preparing 21:00:19 4693057ce236: Preparing 21:00:19 e01a98439a2f: Layer already exists 21:00:19 4693057ce236: Layer already exists 21:00:19 7de186faaa38: Layer already exists 21:00:19 f5710dfceedd: Layer already exists 21:00:19 c5b544df92ef: Layer already exists 21:00:19 main: digest: sha256:9289e9c57903b318d04332b8c354ad0093c3f2bbdbc3500eafc80c24e79f5d6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:00:19 ===================================================== [Pipeline] echo 21:00:19 taggedImages: 21:00:19 - nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78 21:00:19 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:00:19 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.12 21:00:19 - nexus3.edgexfoundry.org:10004/device-mqtt:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:00:19 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:20 21:00:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:20 latest: Pulling from edgex-lftools-log-publisher 21:00:20 5eb5b503b376: Pulling fs layer 21:00:20 5c69ac0246d0: Pulling fs layer 21:00:20 ec43610c2a17: Pulling fs layer 21:00:20 3a2ae6a8a46f: Pulling fs layer 21:00:20 33b1e0a273af: Pulling fs layer 21:00:20 5d3b04190fa2: Pulling fs layer 21:00:20 2f39f015ded8: Pulling fs layer 21:00:20 33b1e0a273af: Waiting 21:00:20 5d3b04190fa2: Waiting 21:00:20 2f39f015ded8: Waiting 21:00:20 3a2ae6a8a46f: Waiting 21:00:20 5c69ac0246d0: Verifying Checksum 21:00:20 5c69ac0246d0: Download complete 21:00:20 3a2ae6a8a46f: Verifying Checksum 21:00:20 3a2ae6a8a46f: Download complete 21:00:20 33b1e0a273af: Verifying Checksum 21:00:20 33b1e0a273af: Download complete 21:00:20 ec43610c2a17: Verifying Checksum 21:00:20 ec43610c2a17: Download complete 21:00:20 5d3b04190fa2: Download complete 21:00:20 5eb5b503b376: Verifying Checksum 21:00:20 5eb5b503b376: Download complete 21:00:21 2f39f015ded8: Download complete 21:00:22 5eb5b503b376: Pull complete 21:00:22 5c69ac0246d0: Pull complete 21:00:23 ec43610c2a17: Pull complete 21:00:23 3a2ae6a8a46f: Pull complete 21:00:23 33b1e0a273af: Pull complete 21:00:24 5d3b04190fa2: Pull complete 21:00:28 2f39f015ded8: Pull complete 21:00:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:28 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:00:28 $ 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 21:00:37 $ docker top c939324dc54b86115265901232e0485635cccb681bb58e70a06233f9d6d0dc05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:37 ---> job-cost.sh 21:00:37 lf-activate-venv: SKIPPING 21:00:37 INFO: No Stack... 21:00:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:38 INFO: Archiving Costs [Pipeline] sh 21:00:38 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:00:38 + cut -d, -f6 [Pipeline] lock 21:00:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] 21:00:38 Resource [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] did not exist. Created. 21:00:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:38 Stashed 1 file(s) [Pipeline] } 21:00:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:39 $ docker stop --time=1 c939324dc54b86115265901232e0485635cccb681bb58e70a06233f9d6d0dc05 21:00:40 $ docker rm -f --volumes c939324dc54b86115265901232e0485635cccb681bb58e70a06233f9d6d0dc05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:07:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7327 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 21:07:59 Running in /w/workspace/device-mqtt-go/140 [Pipeline] { [Pipeline] checkout 21:08:00 The recommended git tool is: git 21:08:09 using credential edgex-jenkins-ssh 21:08:09 Cloning the remote Git repository 21:08:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:08:09 > git init /w/workspace/device-mqtt-go/140 # timeout=10 21:08:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:08:10 > git --version # timeout=10 21:08:10 > git --version # 'git version 2.25.1' 21:08:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:08:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:15 Avoid second fetch 21:08:15 Checking out Revision 546b5734ca37b76ffe84c7857d50ac45e183bb78 (main) 21:08:15 > git config core.sparsecheckout # timeout=10 21:08:16 Commit message: "Merge pull request #627 from ernestojeda/create-release" 21:08:15 > git checkout -f 546b5734ca37b76ffe84c7857d50ac45e183bb78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:18 Dload Upload Total Spent Left Speed 21:08:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 46199 0 --:--:-- --:--:-- --:--:-- 46199 [Pipeline] sh 21:08:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:19 + sudo tee /etc/docker/daemon.new 21:08:19 { 21:08:19 "registry-mirrors": [ 21:08:19 "https://nexus3.edgexfoundry.org:10001" 21:08:19 ], 21:08:19 "bip": "10.250.0.254/24", 21:08:19 "hosts": [ 21:08:19 "tcp://0.0.0.0:5555", 21:08:19 "unix:///var/run/docker.sock" 21:08:19 ], 21:08:19 "mtu": 1458, 21:08:19 "selinux-enabled": true, 21:08:19 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:19 } [Pipeline] sh 21:08:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:38 provisioning config files... 21:08:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/140@tmp/config8457207856257289703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:39 ---> docker-login.sh 21:08:39 nexus3.edgexfoundry.org:10001 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:39 Configure a credential helper to remove this warning. See 21:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:39 21:08:39 Login Succeeded 21:08:39 nexus3.edgexfoundry.org:10002 21:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:40 Configure a credential helper to remove this warning. See 21:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:40 21:08:40 Login Succeeded 21:08:40 nexus3.edgexfoundry.org:10003 21:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:40 Configure a credential helper to remove this warning. See 21:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:40 21:08:40 Login Succeeded 21:08:40 nexus3.edgexfoundry.org:10004 21:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:41 Configure a credential helper to remove this warning. See 21:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:41 21:08:41 Login Succeeded 21:08:41 docker.io 21:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:41 Configure a credential helper to remove this warning. See 21:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:41 21:08:41 Login Succeeded 21:08:41 ---> docker-login.sh ends [Pipeline] } 21:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:42 ========================================================= 21:08:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:08:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:08:42 Sending build context to Docker daemon 3.343MB 21:08:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:08:42 Step 2/12 : FROM ${BASE} AS builder 21:08:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:08:43 9fda8d8052c6: Pulling fs layer 21:08:43 5d54e960e981: Pulling fs layer 21:08:43 c4a7e357bf2a: Pulling fs layer 21:08:43 f0e02332f6b5: Pulling fs layer 21:08:43 cefa15bbcfad: Pulling fs layer 21:08:43 17808c966233: Pulling fs layer 21:08:43 f4c1fc716caa: Pulling fs layer 21:08:43 f0e02332f6b5: Waiting 21:08:43 cefa15bbcfad: Waiting 21:08:43 17808c966233: Waiting 21:08:43 f4c1fc716caa: Waiting 21:08:43 5d54e960e981: Download complete 21:08:43 f0e02332f6b5: Verifying Checksum 21:08:43 f0e02332f6b5: Download complete 21:08:43 cefa15bbcfad: Verifying Checksum 21:08:43 cefa15bbcfad: Download complete 21:08:43 9fda8d8052c6: Verifying Checksum 21:08:43 9fda8d8052c6: Download complete 21:08:43 f4c1fc716caa: Verifying Checksum 21:08:43 f4c1fc716caa: Download complete 21:08:44 9fda8d8052c6: Pull complete 21:08:44 5d54e960e981: Pull complete 21:08:45 c4a7e357bf2a: Verifying Checksum 21:08:45 c4a7e357bf2a: Download complete 21:08:46 17808c966233: Verifying Checksum 21:08:46 17808c966233: Download complete 21:08:56 c4a7e357bf2a: Pull complete 21:08:56 f0e02332f6b5: Pull complete 21:08:56 cefa15bbcfad: Pull complete 21:09:05 17808c966233: Pull complete 21:09:06 f4c1fc716caa: Pull complete 21:09:06 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:06 ---> ea914061e18c 21:09:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:08 ---> Running in b590aa003cbb 21:09:08 Removing intermediate container b590aa003cbb 21:09:08 ---> c7d225ec3d29 21:09:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:08 ---> Running in 8ecd9bd6a327 21:09:08 Removing intermediate container 8ecd9bd6a327 21:09:08 ---> f1e6e3d1780a 21:09:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:09 ---> Running in 8d8b53f85dfd 21:09:09 Removing intermediate container 8d8b53f85dfd 21:09:09 ---> 4b1eff86aab0 21:09:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:09 ---> Running in 364156ddf782 21:09:09 Removing intermediate container 364156ddf782 21:09:09 ---> f0f54fbc45fc 21:09:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:09 ---> Running in 385a06278ea4 21:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:09:13 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:09:13 (2/4) Installing libedit (20221030.3.1-r1) 21:09:13 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:09:13 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:09:13 Executing busybox-1.36.1-r2.trigger 21:09:13 OK: 270 MiB in 56 packages 21:09:14 Removing intermediate container 385a06278ea4 21:09:14 ---> db75198a0f3f 21:09:14 Step 8/12 : WORKDIR /device-mqtt-go 21:09:14 ---> Running in b9e14bb492ac 21:09:14 Removing intermediate container b9e14bb492ac 21:09:14 ---> ae64ed40ff15 21:09:14 Step 9/12 : COPY go.mod vendor* ./ 21:09:15 ---> 0c4b376cd554 21:09:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:15 ---> Running in b1521c4c2aa8 21:10:37 Removing intermediate container b1521c4c2aa8 21:10:37 ---> ef6b652410d3 21:10:37 Step 11/12 : COPY . . 21:10:37 ---> a96b653def79 21:10:37 Step 12/12 : RUN $MAKE 21:10:37 ---> Running in 58ced881fcc5 21:10:37 noop 21:10:37 Removing intermediate container 58ced881fcc5 21:10:37 ---> 23029a90b60d 21:10:37 Successfully built 23029a90b60d 21:10:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:37 + docker inspect -f . ci-base-image-arm64 21:10:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:37 prd-ubuntu20.04-docker-arm64-4c-16g-7327 does not seem to be running inside a container 21:10:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/140 -v /w/workspace/device-mqtt-go/140:/w/workspace/device-mqtt-go/140:rw,z -v /w/workspace/device-mqtt-go/140@tmp:/w/workspace/device-mqtt-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:38 $ docker top 015f8f1737811cd88deedd434f140cef765582ff11cbd1ecd1596af93bee0c00 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:39 + go version 21:10:39 go version go1.21.0 linux/arm64 [Pipeline] } 21:10:39 $ docker stop --time=1 015f8f1737811cd88deedd434f140cef765582ff11cbd1ecd1596af93bee0c00 21:10:41 $ docker rm -f --volumes 015f8f1737811cd88deedd434f140cef765582ff11cbd1ecd1596af93bee0c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:41 + docker inspect -f . ci-base-image-arm64 21:10:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:42 prd-ubuntu20.04-docker-arm64-4c-16g-7327 does not seem to be running inside a container 21:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/140 -v /w/workspace/device-mqtt-go/140:/w/workspace/device-mqtt-go/140:rw,z -v /w/workspace/device-mqtt-go/140@tmp:/w/workspace/device-mqtt-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:43 $ docker top 9e698fc730f0f3b16c0b1627e9758f01915382a2403d2cd13ab1f5697634a10f -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:43 + git config --global --add safe.directory /w/workspace/device-mqtt-go/140 [Pipeline] fileExists [Pipeline] sh 21:10:44 + make test 21:10:44 go test ./... -coverprofile=coverage.out ./... 21:10:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:12:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:12:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:12:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 22.8% of statements 21:12:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:41 go vet ./... 21:12:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:12:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:53 $ docker stop --time=1 9e698fc730f0f3b16c0b1627e9758f01915382a2403d2cd13ab1f5697634a10f 21:12:56 $ docker rm -f --volumes 9e698fc730f0f3b16c0b1627e9758f01915382a2403d2cd13ab1f5697634a10f [Pipeline] // withDockerContainer [Pipeline] sh 21:12:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:57 Warning: overwriting stash ‘coverage-report’ 21:12:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:58 + ls -al . 21:12:58 total 184 21:12:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 21:10 . 21:12:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 .. 21:12:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 21:08 .dockerignore 21:12:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:08 .git 21:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 .github 21:12:58 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 21:08 .gitignore 21:12:58 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 21:08 .golangci.yml 21:12:58 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 21:08 Attribution.txt 21:12:58 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 21:08 CHANGELOG.md 21:12:58 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 21:08 Dockerfile 21:12:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 21:08 GOVERNANCE.md 21:12:58 -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 21:08 Jenkinsfile 21:12:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 21:08 LICENSE 21:12:58 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 21:08 Makefile 21:12:58 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 21:08 OWNERS.md 21:12:58 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 21:08 README.md 21:12:58 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION 21:12:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 bin 21:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 cmd 21:12:58 -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 21:12 coverage.out 21:12:58 -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 21:08 go.mod 21:12:58 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 21:08 go.sum 21:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:08 internal 21:12:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:08 mock 21:12:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:08 snap 21:12:58 -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12: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=546b5734ca37b76ffe84c7857d50ac45e183bb78 --label arch=arm64 --label version=3.1.0-dev.12 . 21:12:59 Sending build context to Docker daemon 3.363MB 21:12:59 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:12:59 Step 2/24 : FROM ${BASE} AS builder 21:12:59 ---> 23029a90b60d 21:12:59 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:12:59 ---> Running in ec51e89a7259 21:12:59 Removing intermediate container ec51e89a7259 21:12:59 ---> 54e71db982fa 21:12:59 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:59 ---> Running in f030e3d773b0 21:12:59 Removing intermediate container f030e3d773b0 21:12:59 ---> b5bafc0cd477 21:12:59 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:13:00 ---> Running in a8157a62ec2a 21:13:00 Removing intermediate container a8157a62ec2a 21:13:00 ---> 6d49c478df65 21:13:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:13:00 ---> Running in a5e4dec08f38 21:13:00 Removing intermediate container a5e4dec08f38 21:13:00 ---> 9604445344f9 21:13:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:00 ---> Running in a80fd8c4eb31 21:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:13:03 OK: 270 MiB in 56 packages 21:13:04 Removing intermediate container a80fd8c4eb31 21:13:04 ---> 4fde2760568d 21:13:04 Step 8/24 : WORKDIR /device-mqtt-go 21:13:04 ---> Running in bbaea6332c84 21:13:04 Removing intermediate container bbaea6332c84 21:13:04 ---> 3cec845bfe6c 21:13:04 Step 9/24 : COPY go.mod vendor* ./ 21:13:05 ---> 4fb8307d3e96 21:13:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:05 ---> Running in e45359bcf81f 21:13:07 Removing intermediate container e45359bcf81f 21:13:07 ---> c396bf481567 21:13:07 Step 11/24 : COPY . . 21:13:08 ---> 4be7572df63d 21:13:08 Step 12/24 : RUN $MAKE 21:13:08 ---> Running in 95c6b7ab7d0c 21:13:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:15:00 Removing intermediate container 95c6b7ab7d0c 21:15:00 ---> ed451421f329 21:15:00 Step 13/24 : FROM alpine:3.18 21:15:00 3.18: Pulling from library/alpine 21:15:00 9fda8d8052c6: Already exists 21:15:00 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:15:00 Status: Downloaded newer image for alpine:3.18 21:15:00 ---> f6648c04cd6c 21:15:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:15:00 ---> Running in d9926c1abaad 21:15:00 Removing intermediate container d9926c1abaad 21:15:00 ---> d8812bfb6bbb 21:15:00 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:15:00 ---> Running in 9d285a7e4d25 21:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:00 (1/1) Installing dumb-init (1.2.5-r2) 21:15:00 Executing busybox-1.36.1-r2.trigger 21:15:00 OK: 8 MiB in 16 packages 21:15:00 Removing intermediate container 9d285a7e4d25 21:15:00 ---> c090e40acdcf 21:15:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:15:00 ---> f15a6c5ae2f4 21:15:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:15:01 ---> ead8c91d438c 21:15:01 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:15:02 ---> 615c6c7c096e 21:15:02 Step 19/24 : EXPOSE 59982 21:15:02 ---> Running in e124967f4e21 21:15:02 Removing intermediate container e124967f4e21 21:15:02 ---> 22ce60e2c480 21:15:02 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:15:02 ---> Running in 0994631700be 21:15:02 Removing intermediate container 0994631700be 21:15:02 ---> 1d20529b15dd 21:15:02 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:15:02 ---> Running in e73bef09a663 21:15:03 Removing intermediate container e73bef09a663 21:15:03 ---> e2e9edfcef18 21:15:03 Step 22/24 : LABEL arch=arm64 21:15:03 ---> Running in 79bed2cea724 21:15:03 Removing intermediate container 79bed2cea724 21:15:03 ---> cb52c3ecea91 21:15:03 Step 23/24 : LABEL git_sha=546b5734ca37b76ffe84c7857d50ac45e183bb78 21:15:03 ---> Running in ed8bf2364282 21:15:03 Removing intermediate container ed8bf2364282 21:15:03 ---> 9127a91d3f12 21:15:03 Step 24/24 : LABEL version=3.1.0-dev.12 21:15:03 ---> Running in d7f01f133d62 21:15:03 Removing intermediate container d7f01f133d62 21:15:03 ---> 04c9a280b602 21:15:03 [Warning] One or more build-args [ARCH] were not consumed 21:15:04 Successfully built 04c9a280b602 21:15:04 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:04 provisioning config files... 21:15:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/140@tmp/config4396421196037997892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:04 ---> docker-login.sh 21:15:04 nexus3.edgexfoundry.org:10001 21:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:04 Configure a credential helper to remove this warning. See 21:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:04 21:15:04 Login Succeeded 21:15:04 nexus3.edgexfoundry.org:10002 21:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:05 Configure a credential helper to remove this warning. See 21:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:05 21:15:05 Login Succeeded 21:15:05 nexus3.edgexfoundry.org:10003 21:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:05 Configure a credential helper to remove this warning. See 21:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:05 21:15:05 Login Succeeded 21:15:05 nexus3.edgexfoundry.org:10004 21:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:06 Configure a credential helper to remove this warning. See 21:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:06 21:15:06 Login Succeeded 21:15:06 docker.io 21:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:06 Configure a credential helper to remove this warning. See 21:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:06 21:15:06 Login Succeeded 21:15:06 ---> docker-login.sh ends [Pipeline] } 21:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:06 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:15:06 546b5734ca37b76ffe84c7857d50ac45e183bb78 21:15:06 latest 21:15:06 3.1.0-dev.12 21:15:06 546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:15:06 main 21:15:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78 21:15:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:15:07 5d2720938450: Preparing 21:15:07 1dd57e92485f: Preparing 21:15:07 f35b76476659: Preparing 21:15:07 175f45e85eb3: Preparing 21:15:07 b2191e2be29d: Preparing 21:15:07 b2191e2be29d: Layer already exists 21:15:08 5d2720938450: Pushed 21:15:08 175f45e85eb3: Pushed 21:15:08 1dd57e92485f: Pushed 21:15:13 f35b76476659: Pushed 21:15:13 546b5734ca37b76ffe84c7857d50ac45e183bb78: digest: sha256:80d06d988a076c97c8807402214b570cb81a5b6010c63dac6131f598aeeda149 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:15:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:15:14 5d2720938450: Preparing 21:15:14 1dd57e92485f: Preparing 21:15:14 f35b76476659: Preparing 21:15:14 175f45e85eb3: Preparing 21:15:14 b2191e2be29d: Preparing 21:15:14 f35b76476659: Layer already exists 21:15:14 1dd57e92485f: Layer already exists 21:15:14 b2191e2be29d: Layer already exists 21:15:14 5d2720938450: Layer already exists 21:15:14 175f45e85eb3: Layer already exists 21:15:14 latest: digest: sha256:80d06d988a076c97c8807402214b570cb81a5b6010c63dac6131f598aeeda149 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.12 21:15:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:15:14 5d2720938450: Preparing 21:15:14 1dd57e92485f: Preparing 21:15:14 f35b76476659: Preparing 21:15:14 175f45e85eb3: Preparing 21:15:14 b2191e2be29d: Preparing 21:15:14 5d2720938450: Layer already exists 21:15:14 175f45e85eb3: Layer already exists 21:15:14 f35b76476659: Layer already exists 21:15:14 b2191e2be29d: Layer already exists 21:15:14 1dd57e92485f: Layer already exists 21:15:14 3.1.0-dev.12: digest: sha256:80d06d988a076c97c8807402214b570cb81a5b6010c63dac6131f598aeeda149 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:15:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:15:15 5d2720938450: Preparing 21:15:15 1dd57e92485f: Preparing 21:15:15 f35b76476659: Preparing 21:15:15 175f45e85eb3: Preparing 21:15:15 b2191e2be29d: Preparing 21:15:15 b2191e2be29d: Layer already exists 21:15:15 f35b76476659: Layer already exists 21:15:15 1dd57e92485f: Layer already exists 21:15:15 175f45e85eb3: Layer already exists 21:15:15 5d2720938450: Layer already exists 21:15:15 546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12: digest: sha256:80d06d988a076c97c8807402214b570cb81a5b6010c63dac6131f598aeeda149 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:15:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:15:16 5d2720938450: Preparing 21:15:16 1dd57e92485f: Preparing 21:15:16 f35b76476659: Preparing 21:15:16 175f45e85eb3: Preparing 21:15:16 b2191e2be29d: Preparing 21:15:16 1dd57e92485f: Layer already exists 21:15:16 f35b76476659: Layer already exists 21:15:16 b2191e2be29d: Layer already exists 21:15:16 5d2720938450: Layer already exists 21:15:16 175f45e85eb3: Layer already exists 21:15:16 main: digest: sha256:80d06d988a076c97c8807402214b570cb81a5b6010c63dac6131f598aeeda149 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:16 ===================================================== [Pipeline] echo 21:15:16 taggedImages: 21:15:16 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78 21:15:16 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:15:16 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.12 21:15:16 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:546b5734ca37b76ffe84c7857d50ac45e183bb78-3.1.0-dev.12 21:15:16 - 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 21:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:16 21:15:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:17 arm64: Pulling from edgex-lftools-log-publisher 21:15:17 8998bd30e6a1: Pulling fs layer 21:15:17 04944245beec: Pulling fs layer 21:15:17 699f458cf7ca: Pulling fs layer 21:15:17 765212b225bb: Pulling fs layer 21:15:17 f23df028b6ca: Pulling fs layer 21:15:17 d65c8cfc05b1: Pulling fs layer 21:15:17 2437ff75d9bd: Pulling fs layer 21:15:17 765212b225bb: Waiting 21:15:17 f23df028b6ca: Waiting 21:15:17 d65c8cfc05b1: Waiting 21:15:17 2437ff75d9bd: Waiting 21:15:17 04944245beec: Verifying Checksum 21:15:17 04944245beec: Download complete 21:15:17 765212b225bb: Verifying Checksum 21:15:17 765212b225bb: Download complete 21:15:17 f23df028b6ca: Verifying Checksum 21:15:17 f23df028b6ca: Download complete 21:15:17 d65c8cfc05b1: Verifying Checksum 21:15:17 d65c8cfc05b1: Download complete 21:15:17 699f458cf7ca: Verifying Checksum 21:15:17 699f458cf7ca: Download complete 21:15:18 8998bd30e6a1: Verifying Checksum 21:15:18 8998bd30e6a1: Download complete 21:15:20 2437ff75d9bd: Verifying Checksum 21:15:20 2437ff75d9bd: Download complete 21:15:21 8998bd30e6a1: Pull complete 21:15:21 04944245beec: Pull complete 21:15:23 699f458cf7ca: Pull complete 21:15:23 765212b225bb: Pull complete 21:15:24 f23df028b6ca: Pull complete 21:15:24 d65c8cfc05b1: Pull complete 21:15:39 2437ff75d9bd: Pull complete 21:15:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:39 prd-ubuntu20.04-docker-arm64-4c-16g-7327 does not seem to be running inside a container 21:15:39 $ 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/140 -v /w/workspace/device-mqtt-go/140:/w/workspace/device-mqtt-go/140:rw,z -v /w/workspace/device-mqtt-go/140@tmp:/w/workspace/device-mqtt-go/140@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 21:15:42 $ docker top 3ad4fc4644703a6abcbe834c6a62a25df2cab6103b9edb6b289231d3fe254878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:43 ---> job-cost.sh 21:15:43 lf-activate-venv: SKIPPING 21:15:43 INFO: No Stack... 21:15:43 INFO: Retrieving Pricing Info for: v3-standard-4 21:15:44 INFO: Archiving Costs [Pipeline] sh 21:15:45 + cat /w/workspace/device-mqtt-go/140/archives/cost.csv 21:15:45 + cut -d, -f6 [Pipeline] lock 21:15:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] 21:15:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] did not exist. Created. 21:15:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:46 /w/workspace/device-mqtt-go/140@tmp/durable-86938f4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:15:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:15:46 Warning: overwriting stash ‘stack-cost’ 21:15:47 Stashed 1 file(s) [Pipeline] } 21:15:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 21:15:47 $ docker stop --time=1 3ad4fc4644703a6abcbe834c6a62a25df2cab6103b9edb6b289231d3fe254878 21:15:48 $ docker rm -f --volumes 3ad4fc4644703a6abcbe834c6a62a25df2cab6103b9edb6b289231d3fe254878 [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 21:15:48 provisioning config files... 21:15:48 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18114702479462493424tmp [Pipeline] { [Pipeline] sh 21:15:49 + set +x 21:15:49 + curl -s https://codecov.io/bash 21:15:49 + bash -s -- 21:15:49 21:15:49 _____ _ 21:15:49 / ____| | | 21:15:49 | | ___ __| | ___ ___ _____ __ 21:15:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:15:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:15:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:15:49 Bash-1.0.6 21:15:49 21:15:49 21:15:49 ==> git version 2.25.1 found 21:15:49 ==> 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 21:15:49 Release-Date: 2020-01-08 21:15:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:15:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:15:49 ==> Jenkins CI detected. 21:15:49 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:15:49 project root: . 21:15:49 --> token set from env 21:15:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:15:49 ==> Running gcov in . (disable via -X gcov) 21:15:49 ==> Python coveragepy not found 21:15:49 ==> Searching for coverage reports in: 21:15:49 + . 21:15:49 -> Found 1 reports 21:15:49 ==> Detecting git/mercurial file structure 21:15:49 ==> Reading reports 21:15:49 + ./coverage.out bytes=18506 21:15:49 ==> Appending adjustments 21:15:49 https://docs.codecov.io/docs/fixing-reports 21:15:49 + Found adjustments 21:15:49 ==> Gzipping contents 21:15:49 4.0K /tmp/codecov.mviy2F.gz 21:15:49 ==> Uploading reports 21:15:49 url: https://codecov.io 21:15:49 query: branch=main&commit=546b5734ca37b76ffe84c7857d50ac45e183bb78&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:49 -> Pinging Codecov 21:15:49 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=546b5734ca37b76ffe84c7857d50ac45e183bb78&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:49 -> Uploading to 21:15:49 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7D719EC7BBE17E464838252E33014C33/546b5734ca37b76ffe84c7857d50ac45e183bb78/151eaa3b-a4cd-4c46-acf3-720c4db1cc98.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T211549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55478df338db23b8ad1e94a51d61b6918b4f0e31a926504ee7eb988063716600 21:15:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:49 Dload Upload Total Spent Left Speed 21:15:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16014 --:--:-- --:--:-- --:--:-- 15935 21:15:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] } 21:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:15:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:15:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:50 21:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:15:50 df9b9388f04a: Pulling fs layer 21:15:50 52dc419b0ee2: Pulling fs layer 21:15:50 25bc292e5bac: Pulling fs layer 21:15:50 114826534d7a: Pulling fs layer 21:15:50 4657fd5d0bcf: Pulling fs layer 21:15:50 6ad1cebc031e: Pulling fs layer 21:15:50 8a3aa393b2d8: Pulling fs layer 21:15:50 114826534d7a: Waiting 21:15:50 4657fd5d0bcf: Waiting 21:15:50 8a3aa393b2d8: Waiting 21:15:50 6ad1cebc031e: Waiting 21:15:50 25bc292e5bac: Verifying Checksum 21:15:50 25bc292e5bac: Download complete 21:15:50 52dc419b0ee2: Verifying Checksum 21:15:50 52dc419b0ee2: Download complete 21:15:50 4657fd5d0bcf: Verifying Checksum 21:15:50 4657fd5d0bcf: Download complete 21:15:50 df9b9388f04a: Download complete 21:15:50 df9b9388f04a: Pull complete 21:15:50 6ad1cebc031e: Verifying Checksum 21:15:50 6ad1cebc031e: Download complete 21:15:50 52dc419b0ee2: Pull complete 21:15:51 25bc292e5bac: Pull complete 21:15:51 114826534d7a: Verifying Checksum 21:15:51 114826534d7a: Download complete 21:15:51 8a3aa393b2d8: Verifying Checksum 21:15:51 8a3aa393b2d8: Download complete 21:15:54 114826534d7a: Pull complete 21:15:54 4657fd5d0bcf: Pull complete 21:15:54 6ad1cebc031e: Pull complete 21:15:57 8a3aa393b2d8: Pull complete 21:15:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:57 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:15:57 $ 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 21:16:04 $ docker top 451c5e0a39d7b37cfe2e957e9f655ee9cba0a95a37f26d0de5fdcc338e339419 -eo pid,comm [Pipeline] { [Pipeline] echo 21:16:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:16:04 + set -o pipefail 21:16:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:16:09 21:16:09 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:16:09 21:16:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/ec96d843-6b91-4ae6-b428-e323ca1aa39a 21:16:09 21:16:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:16:09 21:16:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:16:09 21:16:09 21:16:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:16:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:16:09 More details here: https://snyk.co/ue1NS [Pipeline] } 21:16:09 $ docker stop --time=1 451c5e0a39d7b37cfe2e957e9f655ee9cba0a95a37f26d0de5fdcc338e339419 21:16:16 $ docker rm -f --volumes 451c5e0a39d7b37cfe2e957e9f655ee9cba0a95a37f26d0de5fdcc338e339419 [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 21:16:17 + git log --format=format:%s -1 546b5734ca37b76ffe84c7857d50ac45e183bb78 [Pipeline] sh 21:16:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:17 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:16:17 $ 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 21:16:19 $ docker top 232110b394b1267be394acf0df4d5c0649db47ea0a82eb0b933c9089cb75307a -eo pid,comm 21:16: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). 21:16:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:19 [ssh-agent] Looking for ssh-agent implementation... 21:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:19 $ docker exec 232110b394b1267be394acf0df4d5c0649db47ea0a82eb0b933c9089cb75307a ssh-agent 21:16:19 SSH_AUTH_SOCK=/tmp/ssh-c4QgQYBRPpKI/agent.13 21:16:19 SSH_AGENT_PID=19 21:16:19 Running ssh-add (command line suppressed) 21:16:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11781622091392660156.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11781622091392660156.key) 21:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:19 + git semver tag 21:16:20 2023-09-20 21:16:20,091 [run_tag] DEBUG tag force:False 21:16:20 2023-09-20 21:16:20,091 [check_head_tag] DEBUG check head tag 21:16:20 2023-09-20 21:16:20,092 [execute] INFO git cat-file --batch-check 21:16:20 2023-09-20 21:16:20,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:16:20 2023-09-20 21:16:20,096 [execute] INFO git cat-file --batch 21:16:20 2023-09-20 21:16:20,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:16:20 2023-09-20 21:16:20,107 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:20 2023-09-20 21:16:20,107 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 21:16:20 2023-09-20 21:16:20,108 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:16:20 2023-09-20 21:16:20,112 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:20 3.1.0-dev.12 [Pipeline] } 21:16:20 $ docker exec --env ******** --env ******** 232110b394b1267be394acf0df4d5c0649db47ea0a82eb0b933c9089cb75307a ssh-agent -k 21:16:20 unset SSH_AUTH_SOCK; 21:16:20 unset SSH_AGENT_PID; 21:16:20 echo Agent pid 19 killed; 21:16:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:20 + git semver [Pipeline] } 21:16:20 $ docker stop --time=1 232110b394b1267be394acf0df4d5c0649db47ea0a82eb0b933c9089cb75307a 21:16:22 $ docker rm -f --volumes 232110b394b1267be394acf0df4d5c0649db47ea0a82eb0b933c9089cb75307a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:22 21:16:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:22 0.23.1-centos7: Pulling from edgex-lftools 21:16:22 ab5ef0e58194: Pulling fs layer 21:16:22 9712f1f96733: Pulling fs layer 21:16:22 63f879dbbcfc: Pulling fs layer 21:16:22 0d9ebad4ef96: Pulling fs layer 21:16:22 e9a5061849ea: Pulling fs layer 21:16:22 d747dcd14b5f: Pulling fs layer 21:16:22 2de7ff778b66: Pulling fs layer 21:16:22 0d9ebad4ef96: Waiting 21:16:22 e9a5061849ea: Waiting 21:16:22 d747dcd14b5f: Waiting 21:16:22 2de7ff778b66: Waiting 21:16:22 9712f1f96733: Verifying Checksum 21:16:22 9712f1f96733: Download complete 21:16:23 63f879dbbcfc: Verifying Checksum 21:16:23 63f879dbbcfc: Download complete 21:16:23 0d9ebad4ef96: Verifying Checksum 21:16:23 0d9ebad4ef96: Download complete 21:16:23 e9a5061849ea: Verifying Checksum 21:16:23 e9a5061849ea: Download complete 21:16:23 d747dcd14b5f: Verifying Checksum 21:16:23 ab5ef0e58194: Verifying Checksum 21:16:23 ab5ef0e58194: Download complete 21:16:23 2de7ff778b66: Verifying Checksum 21:16:23 2de7ff778b66: Download complete 21:16:25 ab5ef0e58194: Pull complete 21:16:25 9712f1f96733: Pull complete 21:16:26 63f879dbbcfc: Pull complete 21:16:30 0d9ebad4ef96: Pull complete 21:16:30 e9a5061849ea: Pull complete 21:16:30 d747dcd14b5f: Pull complete 21:16:31 2de7ff778b66: Pull complete 21:16:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:16:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:31 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:16:31 $ 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 21:16:40 $ docker top 089003e6b79e465442b0c20f23fea866775e21ce8eda3c168cd4e7d8a38d68ba -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:16:41 provisioning config files... 21:16:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17526529599736553951tmp 21:16:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9120096538105683280tmp 21:16:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11281301370590049383tmp [Pipeline] { [Pipeline] echo 21:16:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:16:41 ---> sigul-configuration.sh 21:16:41 gpg: directory `/root/.gnupg' created 21:16:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:16:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:16:41 gpg: keyring `/root/.gnupg/secring.gpg' created 21:16:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:16:41 gpg: CAST5 encrypted data 21:16:41 gpg: encrypted with 1 passphrase 21:16:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:16:41 + mkdir /home/jenkins 21:16:41 + mkdir /home/jenkins/sigul [Pipeline] sh 21:16:41 + 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 21:16:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:16:42 ---> sigul-install.sh 21:16:42 Sigul already installed; skipping installation. [Pipeline] sh 21:16:42 + git tag --list 21:16:42 0.7.1 21:16:42 v1.0.0 21:16:42 v1.1.0 21:16:42 v1.1.1 21:16:42 v1.2.2 21:16:42 v1.3.0 21:16:42 v1.3.1 21:16:42 v2.0.0 21:16:42 v2.1.0 21:16:42 v2.1.1 21:16:42 v2.2.0 21:16:42 v2.3.0 21:16:42 v3.0 21:16:42 v3.0.0 21:16:42 v3.1.0-dev.1 21:16:42 v3.1.0-dev.10 21:16:42 v3.1.0-dev.11 21:16:42 v3.1.0-dev.12 21:16:42 v3.1.0-dev.2 21:16:42 v3.1.0-dev.3 21:16:42 v3.1.0-dev.4 21:16:42 v3.1.0-dev.5 21:16:42 v3.1.0-dev.6 21:16:42 v3.1.0-dev.7 21:16:42 v3.1.0-dev.8 21:16:42 v3.1.0-dev.9 [Pipeline] sh 21:16:42 + lftools sign git-tag v3.1.0-dev.12 21:16:43 Signing Git tag with Sigul... 21:16:43 Signing v3.1.0-dev.12 [Pipeline] echo 21:16:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:16:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:16:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:16:43 $ docker stop --time=1 089003e6b79e465442b0c20f23fea866775e21ce8eda3c168cd4e7d8a38d68ba 21:16:45 $ docker rm -f --volumes 089003e6b79e465442b0c20f23fea866775e21ce8eda3c168cd4e7d8a38d68ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:16:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:45 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:16:46 $ 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 21:16:46 $ docker top 2a7534defbdc7bce3ada0bd27eee5371884a1bb018ce09caa25117ffa64e1c94 -eo pid,comm 21:16:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:46 [ssh-agent] Looking for ssh-agent implementation... 21:16:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:46 $ docker exec 2a7534defbdc7bce3ada0bd27eee5371884a1bb018ce09caa25117ffa64e1c94 ssh-agent 21:16:46 SSH_AUTH_SOCK=/tmp/ssh-mfsCiaiW7GIo/agent.33 21:16:46 SSH_AGENT_PID=40 21:16:46 Running ssh-add (command line suppressed) 21:16:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13659447012676960598.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13659447012676960598.key) 21:16:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:47 + git semver bump pre 21:16:47 2023-09-20 21:16:47,194 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,195 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev 21:16:47 2023-09-20 21:16:47,195 [bump_version] DEBUG bumped version:3.1.0-dev.13 21:16:47 2023-09-20 21:16:47,195 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:16:47 2023-09-20 21:16:47,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,196 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:47 2023-09-20 21:16:47,200 [execute] INFO git cat-file --batch-check 21:16:47 2023-09-20 21:16:47,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:47 2023-09-20 21:16:47,206 [execute] INFO git cat-file --batch 21:16:47 2023-09-20 21:16:47,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:47 2023-09-20 21:16:47,213 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:47 3.1.0-dev.13 [Pipeline] } 21:16:47 $ docker exec --env ******** --env ******** 2a7534defbdc7bce3ada0bd27eee5371884a1bb018ce09caa25117ffa64e1c94 ssh-agent -k 21:16:47 unset SSH_AUTH_SOCK; 21:16:47 unset SSH_AGENT_PID; 21:16:47 echo Agent pid 40 killed; 21:16:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:47 + git semver [Pipeline] } 21:16:47 $ docker stop --time=1 2a7534defbdc7bce3ada0bd27eee5371884a1bb018ce09caa25117ffa64e1c94 21:16:49 $ docker rm -f --volumes 2a7534defbdc7bce3ada0bd27eee5371884a1bb018ce09caa25117ffa64e1c94 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:49 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:16:49 $ 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 21:16:50 $ docker top 7b570b81bb66a8a8f02fd4ba69798d9a7e0ec499d300a67884a5f773053cfcd4 -eo pid,comm 21:16:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:50 [ssh-agent] Looking for ssh-agent implementation... 21:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:50 $ docker exec 7b570b81bb66a8a8f02fd4ba69798d9a7e0ec499d300a67884a5f773053cfcd4 ssh-agent 21:16:50 SSH_AUTH_SOCK=/tmp/ssh-Weco2eBrBKwn/agent.32 21:16:50 SSH_AGENT_PID=38 21:16:50 Running ssh-add (command line suppressed) 21:16:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9009253061879616401.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9009253061879616401.key) 21:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:51 + git semver push 21:16:51 2023-09-20 21:16:51,222 [run_push] DEBUG push 21:16:51 2023-09-20 21:16:51,222 [execute] INFO git cat-file --batch-check 21:16:51 2023-09-20 21:16:51,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:51 2023-09-20 21:16:51,226 [execute] INFO git rev-list ab8196e8d4e2de938ff339b3ded7d14b78f8afbc -- 21:16:51 2023-09-20 21:16:51,226 [execute] DEBUG Popen(['git', 'rev-list', 'ab8196e8d4e2de938ff339b3ded7d14b78f8afbc', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:51 2023-09-20 21:16:51,234 [execute] INFO git fetch -v origin 21:16:51 2023-09-20 21:16:51,234 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:16:51 2023-09-20 21:16:51,705 [run_push] DEBUG no remote changes detected 21:16:51 2023-09-20 21:16:51,706 [execute] INFO git push origin semver 21:16:51 2023-09-20 21:16:51,706 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:52 2023-09-20 21:16:52,428 [run_push] DEBUG push all version tags 21:16:52 2023-09-20 21:16:52,429 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:16:52 2023-09-20 21:16:52,429 [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) 21:16:53 2023-09-20 21:16:53,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:16:53 3.1.0-dev.13 [Pipeline] } 21:16:53 $ docker exec --env ******** --env ******** 7b570b81bb66a8a8f02fd4ba69798d9a7e0ec499d300a67884a5f773053cfcd4 ssh-agent -k 21:16:53 unset SSH_AUTH_SOCK; 21:16:53 unset SSH_AGENT_PID; 21:16:53 echo Agent pid 38 killed; 21:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:53 + git semver [Pipeline] } 21:16:54 $ docker stop --time=1 7b570b81bb66a8a8f02fd4ba69798d9a7e0ec499d300a67884a5f773053cfcd4 21:16:56 $ docker rm -f --volumes 7b570b81bb66a8a8f02fd4ba69798d9a7e0ec499d300a67884a5f773053cfcd4 [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 21:16:56 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:16:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:16:56 total 16 21:16:56 drwxr-xr-x 3 root root 4096 Sep 20 21:00 . 21:16:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 21:16 .. 21:16:56 drwxr-xr-x 2 root root 4096 Sep 20 21:00 cost 21:16:56 -rw-r--r-- 1 root root 86 Sep 20 21:00 cost.csv 21:16:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:16:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:16:56 total 16 21:16:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 21:00 . 21:16:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 21:16 .. 21:16:56 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 21:00 cost 21:16:56 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:57 ---> package-listing.sh 21:16:57 ++ facter osfamily 21:16:57 ++ tr '[:upper:]' '[:lower:]' 21:16:58 + OS_FAMILY=debian 21:16:58 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:16:58 + START_PACKAGES=/tmp/packages_start.txt 21:16:58 + END_PACKAGES=/tmp/packages_end.txt 21:16:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:58 + PACKAGES=/tmp/packages_start.txt 21:16:58 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:16:58 + PACKAGES=/tmp/packages_end.txt 21:16:58 + case "${OS_FAMILY}" in 21:16:58 + dpkg -l 21:16:58 + grep '^ii' 21:16:58 + '[' -f /tmp/packages_start.txt ']' 21:16:58 + '[' -f /tmp/packages_end.txt ']' 21:16:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:58 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:16:58 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:16:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:16:58 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 21:16:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:59 prd-ubuntu20.04-docker-8c-8g-7233 does not seem to be running inside a container 21:16:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:17:00 $ docker top 24452e79c6bd5371d582ff00cfcefcbde8f99f97b6a0fba8925553a6fe1b6742 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:00 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:00 + ls /var/log/sa-host 21:17:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:01 provisioning config files... 21:17:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1752285295142808066tmp [Pipeline] { [Pipeline] echo 21:17:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> create-netrc.sh [Pipeline] } 21:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> python-tools-install.sh [Pipeline] echo 21:17:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> sudo-logs.sh 21:17:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:02 ---> job-cost.sh 21:17:02 lf-activate-venv: SKIPPING 21:17:02 DEBUG: total: 0.2199999988079071 21:17:02 INFO: Retrieving Stack Cost... 21:17:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:03 INFO: Archiving Costs [Pipeline] echo 21:17:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:03 ---> logs-deploy.sh 21:17:03 lf-activate-venv: SKIPPING 21:17:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/140 21:17:03 INFO: archiving workspace using pattern(s): 21:17:04 Archives upload complete. 21:17:04 INFO: archiving logs to Nexus