Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9edf56c898603a6da7d069e5015abb4f1d1f30d1 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-ssh8671684184727316375.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-ssh5411834394580501221.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-ssh5372698955149562900.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-ssh6141404108351907281.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-ssh11099724190364881920.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6028 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9edf56c898603a6da7d069e5015abb4f1d1f30d1 (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#624)" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 > git rev-list --no-walk 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:04:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:04:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:04:22 ========================================================= 22:04:22 EdgeX Global Pipelines Version Info 22:04:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:04:23 ------------------- 22:04:23 stable info: 22:04:23 ------------------- 22:04:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:04:23 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:04:23 Message: update stable to v1.0.254 22:04:24 ------------------- 22:04:24 experimental info: 22:04:24 ------------------- 22:04:24 Commited By: **** collab-it+edgex@linuxfoundation.org 22:04:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:04:24 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9edf56c [Pipeline] echo 22:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:24 provisioning config files... 22:04:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6961146406239269417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:25 ---> docker-login.sh 22:04:25 nexus3.edgexfoundry.org:10001 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 nexus3.edgexfoundry.org:10002 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 nexus3.edgexfoundry.org:10003 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 nexus3.edgexfoundry.org:10004 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 docker.io 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 ---> docker-login.sh ends [Pipeline] } 22:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:04:26 + git rev-list -1 --merges 9edf56c898603a6da7d069e5015abb4f1d1f30d1~1..9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] echo 22:04:26 -----------> git rev-list -1 --merges 9edf56c898603a6da7d069e5015abb4f1d1f30d1~1..9edf56c898603a6da7d069e5015abb4f1d1f30d1 9edf56c898603a6da7d069e5015abb4f1d1f30d1 [false] [Pipeline] sh 22:04:26 + git log --format=format:%s -1 9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] echo 22:04:26 ========================================================= 22:04:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:04:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:26 + git log --format=format:%s -1 9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] echo 22:04:26 [semverPrep] GIT_COMMIT: 9edf56c898603a6da7d069e5015abb4f1d1f30d1, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#624) [Pipeline] echo 22:04:26 [semverPrep] This is not a build commit. [Pipeline] sh 22:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:27 + grep -v github /etc/ssh/ssh_known_hosts 22:04:27 + [ -e /tmp/ssh_known_hosts ] 22:04:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:04:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:04:27 + sudo tee -a /etc/ssh/ssh_known_hosts 22:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:27 22:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:27 0.1.4: Pulling from edgex-devops/py-git-semver 22:04:27 b85a868b505f: Pulling fs layer 22:04:27 e2be974225ed: Pulling fs layer 22:04:27 339a4e72a1f5: Pulling fs layer 22:04:27 988bab9f4d93: Pulling fs layer 22:04:27 988bab9f4d93: Waiting 22:04:27 1469e6f7b9e6: Pulling fs layer 22:04:27 eaf3925da568: Pulling fs layer 22:04:27 1469e6f7b9e6: Waiting 22:04:27 bab4dde63d76: Pulling fs layer 22:04:27 bde34c3a00c8: Pulling fs layer 22:04:27 b352a97aabf1: Pulling fs layer 22:04:27 bde34c3a00c8: Waiting 22:04:27 eaf3925da568: Waiting 22:04:27 bab4dde63d76: Waiting 22:04:27 b352a97aabf1: Waiting 22:04:27 4872d77fe225: Pulling fs layer 22:04:27 5851b861e8e6: Pulling fs layer 22:04:27 4872d77fe225: Waiting 22:04:27 5851b861e8e6: Waiting 22:04:27 e2be974225ed: Verifying Checksum 22:04:27 e2be974225ed: Download complete 22:04:27 988bab9f4d93: Verifying Checksum 22:04:27 988bab9f4d93: Download complete 22:04:27 1469e6f7b9e6: Download complete 22:04:27 eaf3925da568: Verifying Checksum 22:04:27 eaf3925da568: Download complete 22:04:28 339a4e72a1f5: Verifying Checksum 22:04:28 339a4e72a1f5: Download complete 22:04:28 bde34c3a00c8: Verifying Checksum 22:04:28 bde34c3a00c8: Download complete 22:04:28 b352a97aabf1: Verifying Checksum 22:04:28 b352a97aabf1: Download complete 22:04:28 4872d77fe225: Verifying Checksum 22:04:28 4872d77fe225: Download complete 22:04:28 5851b861e8e6: Verifying Checksum 22:04:28 5851b861e8e6: Download complete 22:04:28 b85a868b505f: Verifying Checksum 22:04:28 b85a868b505f: Download complete 22:04:28 bab4dde63d76: Verifying Checksum 22:04:28 bab4dde63d76: Download complete 22:04:29 b85a868b505f: Pull complete 22:04:29 e2be974225ed: Pull complete 22:04:30 339a4e72a1f5: Pull complete 22:04:30 988bab9f4d93: Pull complete 22:04:30 1469e6f7b9e6: Pull complete 22:04:30 eaf3925da568: Pull complete 22:04:32 bab4dde63d76: Pull complete 22:04:32 bde34c3a00c8: Pull complete 22:04:32 b352a97aabf1: Pull complete 22:04:32 4872d77fe225: Pull complete 22:04:32 5851b861e8e6: Pull complete 22:04:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:32 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:04:35 $ docker top 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a -eo pid,comm 22:04:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:04:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:35 [ssh-agent] Looking for ssh-agent implementation... 22:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:35 $ docker exec 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a ssh-agent 22:04:35 SSH_AUTH_SOCK=/tmp/ssh-wmxdK6TULDlD/agent.32 22:04:35 SSH_AGENT_PID=38 22:04:35 Running ssh-add (command line suppressed) 22:04:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15624277779007250318.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15624277779007250318.key) 22:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:36 + git tag --points-at HEAD [Pipeline] } 22:04:36 $ docker exec --env ******** --env ******** 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a ssh-agent -k 22:04:36 unset SSH_AUTH_SOCK; 22:04:36 unset SSH_AGENT_PID; 22:04:36 echo Agent pid 38 killed; 22:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:36 [ssh-agent] Looking for ssh-agent implementation... 22:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:36 $ docker exec 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a ssh-agent 22:04:36 SSH_AUTH_SOCK=/tmp/ssh-CrxqzdLsfncE/agent.70 22:04:36 SSH_AGENT_PID=76 22:04:36 Running ssh-add (command line suppressed) 22:04:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13109488254350598793.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13109488254350598793.key) 22:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:36 + git semver init 22:04:37 2023-09-12 22:04:37,015 [run_init] DEBUG init version:0.0.0 force:False 22:04:37 2023-09-12 22:04:37,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 22:04:37 2023-09-12 22:04:37,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 22:04:37 2023-09-12 22:04:37,017 [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) 22:04:38 2023-09-12 22:04:37,807 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 22:04:38 2023-09-12 22:04:37,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 22:04:38 2023-09-12 22:04:37,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:04:38 2023-09-12 22:04:37,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:04:38 3.1.0-dev.9 [Pipeline] } 22:04:38 $ docker exec --env ******** --env ******** 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a ssh-agent -k 22:04:38 unset SSH_AUTH_SOCK; 22:04:38 unset SSH_AGENT_PID; 22:04:38 echo Agent pid 76 killed; 22:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:38 + git semver [Pipeline] } 22:04:38 $ docker stop --time=1 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a 22:04:40 $ docker rm -f --volumes 5ac61ea81836e5e361b37b8c9672c5c84569c8e21012ae42bb40baa212391e1a [Pipeline] // withDockerContainer [Pipeline] sh 22:04:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:40 Stashed 1 file(s) [Pipeline] echo 22:04:40 [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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 22:04:40 provisioning config files... 22:04:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1681609520173396761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:41 ---> docker-login.sh 22:04:41 nexus3.edgexfoundry.org:10001 22:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:41 Configure a credential helper to remove this warning. See 22:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:41 22:04:41 Login Succeeded 22:04:41 nexus3.edgexfoundry.org:10002 22:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:41 Configure a credential helper to remove this warning. See 22:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:41 22:04:41 Login Succeeded 22:04:41 nexus3.edgexfoundry.org:10003 22:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:41 Configure a credential helper to remove this warning. See 22:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:41 22:04:41 Login Succeeded 22:04:41 nexus3.edgexfoundry.org:10004 22:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:41 Configure a credential helper to remove this warning. See 22:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:41 22:04:41 Login Succeeded 22:04:41 docker.io 22:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:41 Configure a credential helper to remove this warning. See 22:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:41 22:04:41 Login Succeeded 22:04:41 ---> docker-login.sh ends [Pipeline] } 22:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:41 ========================================================= 22:04:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:04:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:41 + 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 . 22:04:41 Sending build context to Docker daemon 6.486MB 22:04:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:04:41 Step 2/12 : FROM ${BASE} AS builder 22:04:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:04:41 7264a8db6415: Pulling fs layer 22:04:41 c4d48a809fc2: Pulling fs layer 22:04:41 4f1c88b9dad5: Pulling fs layer 22:04:41 ad3a456e5733: Pulling fs layer 22:04:41 9e4f439ed901: Pulling fs layer 22:04:41 feaf6a47b606: Pulling fs layer 22:04:41 5e8b037d7d82: Pulling fs layer 22:04:41 8ac70367396e: Pulling fs layer 22:04:41 6db16350a2e2: Pulling fs layer 22:04:41 9250d5d63582: Pulling fs layer 22:04:41 feaf6a47b606: Waiting 22:04:41 5e8b037d7d82: Waiting 22:04:41 8ac70367396e: Waiting 22:04:41 6db16350a2e2: Waiting 22:04:41 9250d5d63582: Waiting 22:04:41 ad3a456e5733: Waiting 22:04:41 9e4f439ed901: Waiting 22:04:41 c4d48a809fc2: Verifying Checksum 22:04:41 c4d48a809fc2: Download complete 22:04:41 ad3a456e5733: Download complete 22:04:41 9e4f439ed901: Verifying Checksum 22:04:41 9e4f439ed901: Download complete 22:04:42 7264a8db6415: Download complete 22:04:42 feaf6a47b606: Verifying Checksum 22:04:42 feaf6a47b606: Download complete 22:04:42 7264a8db6415: Pull complete 22:04:42 8ac70367396e: Verifying Checksum 22:04:42 8ac70367396e: Download complete 22:04:42 c4d48a809fc2: Pull complete 22:04:42 6db16350a2e2: Verifying Checksum 22:04:42 6db16350a2e2: Download complete 22:04:42 4f1c88b9dad5: Verifying Checksum 22:04:42 4f1c88b9dad5: Download complete 22:04:42 5e8b037d7d82: Verifying Checksum 22:04:42 5e8b037d7d82: Download complete 22:04:42 9250d5d63582: Verifying Checksum 22:04:46 4f1c88b9dad5: Pull complete 22:04:46 ad3a456e5733: Pull complete 22:04:46 9e4f439ed901: Pull complete 22:04:46 feaf6a47b606: Pull complete 22:04:47 5e8b037d7d82: Pull complete 22:04:48 8ac70367396e: Pull complete 22:04:49 6db16350a2e2: Pull complete 22:04:49 9250d5d63582: Pull complete 22:04:49 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 22:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:04:49 ---> fa269f55d9b9 22:04:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:04:53 ---> Running in 2917893b8fc1 22:04:54 Removing intermediate container 2917893b8fc1 22:04:54 ---> 75feed9b9068 22:04:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:54 ---> Running in 2e90d0b983f9 22:04:54 Removing intermediate container 2e90d0b983f9 22:04:54 ---> f1b448df89cf 22:04:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:04:54 ---> Running in 79e25b1c27a6 22:04:54 Removing intermediate container 79e25b1c27a6 22:04:54 ---> 601f20ade156 22:04:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:04:54 ---> Running in 2ef3361dcf7a 22:04:54 Removing intermediate container 2ef3361dcf7a 22:04:54 ---> 7206afaebb13 22:04:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:54 ---> Running in f33e9047c656 22:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:04:55 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:04:55 (2/4) Installing libedit (20221030.3.1-r1) 22:04:55 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:04:55 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:04:55 Executing busybox-1.36.1-r2.trigger 22:04:55 OK: 270 MiB in 60 packages 22:04:55 Removing intermediate container f33e9047c656 22:04:55 ---> 33e8bd92f98f 22:04:55 Step 8/12 : WORKDIR /device-mqtt-go 22:04:55 ---> Running in deda03646b5a 22:04:55 Removing intermediate container deda03646b5a 22:04:55 ---> 8b9507ab0b3b 22:04:55 Step 9/12 : COPY go.mod vendor* ./ 22:04:55 ---> 195442a77e9c 22:04:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:55 ---> Running in f98453ff9b5e 22:04:55 Still waiting to schedule task 22:04:55 ‘prd-centos7-blackbox-4c-2g-5675’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-centos7-blackbox-4c-2g-5676’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6006’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6007’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6008’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6010’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6011’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-8c-8g-6029’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6012’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6013’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6014’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6015’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6017’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6027’ is offline 22:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6030’ is offline 22:05:22 Removing intermediate container f98453ff9b5e 22:05:22 ---> 8d535cce7c23 22:05:22 Step 11/12 : COPY . . 22:05:22 ---> 229bd220462c 22:05:22 Step 12/12 : RUN $MAKE 22:05:22 ---> Running in 39436cbdb416 22:05:23 noop 22:05:23 Removing intermediate container 39436cbdb416 22:05:23 ---> 2a747e636385 22:05:23 Successfully built 2a747e636385 22:05:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:23 + docker inspect -f . ci-base-image-x86_64 22:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:23 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:24 $ docker top b167cc1cc6df79902208e271960b2524dee35e61e60e2d08cdd84926978b1f6a -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:24 + go version 22:05:24 go version go1.21.0 linux/amd64 [Pipeline] } 22:05:24 $ docker stop --time=1 b167cc1cc6df79902208e271960b2524dee35e61e60e2d08cdd84926978b1f6a 22:05:25 $ docker rm -f --volumes b167cc1cc6df79902208e271960b2524dee35e61e60e2d08cdd84926978b1f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:26 + docker inspect -f . ci-base-image-x86_64 22:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:26 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:26 $ docker top 603e3e296e3f237746258aafc48697d58318de0660dcb300c57e0b6f2d2f5245 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 22:05:27 + make test 22:05:27 go test ./... -coverprofile=coverage.out ./... 22:05:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:05:38 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:05:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:05:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 22:05:43 go vet ./... 22:05:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:05:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:05:47 $ docker stop --time=1 603e3e296e3f237746258aafc48697d58318de0660dcb300c57e0b6f2d2f5245 22:05:50 $ docker rm -f --volumes 603e3e296e3f237746258aafc48697d58318de0660dcb300c57e0b6f2d2f5245 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:05:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:05:51 + ls -al . 22:05:51 total 188 22:05:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:05 . 22:05:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:04 .. 22:05:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:04 .dockerignore 22:05:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:05 .git 22:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 .github 22:05:51 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:04 .gitignore 22:05:51 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:04 .golangci.yml 22:05:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:04 .semver 22:05:51 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 12 22:04 Attribution.txt 22:05:51 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 12 22:04 CHANGELOG.md 22:05:51 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 12 22:04 Dockerfile 22:05:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:04 GOVERNANCE.md 22:05:51 -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 22:04 Jenkinsfile 22:05:51 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:04 LICENSE 22:05:51 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 12 22:04 Makefile 22:05:51 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:04 OWNERS.md 22:05:51 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 12 22:04 README.md 22:05:51 -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:04 VERSION 22:05:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:04 bin 22:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 cmd 22:05:51 -rw-r--r-- 1 jenkins jenkins 18506 Sep 12 22:05 coverage.out 22:05:51 -rw-rw-r-- 1 jenkins jenkins 3820 Sep 12 22:04 go.mod 22:05:51 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:04 go.sum 22:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 internal 22:05:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:04 mock 22:05:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:04 snap 22:05:51 -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:51 + 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=9edf56c898603a6da7d069e5015abb4f1d1f30d1 --label arch=amd64 --label version=3.1.0-dev.9 . 22:05:51 Sending build context to Docker daemon 6.505MB 22:05:51 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 22:05:51 Step 2/24 : FROM ${BASE} AS builder 22:05:51 ---> 2a747e636385 22:05:51 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:05:51 ---> Running in f41e49821a19 22:05:51 Removing intermediate container f41e49821a19 22:05:51 ---> dfd491a28ed6 22:05:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:05:51 ---> Running in 5b8148ea1ddc 22:05:51 Removing intermediate container 5b8148ea1ddc 22:05:51 ---> 7ffd29b194dc 22:05:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:05:51 ---> Running in a8e9150bfbdf 22:05:51 Removing intermediate container a8e9150bfbdf 22:05:51 ---> 7e95d316c61d 22:05:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:05:51 ---> Running in 65120d3ec94d 22:05:52 Removing intermediate container 65120d3ec94d 22:05:52 ---> da927ace9016 22:05:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:52 ---> Running in 296ea5172708 22:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:05:52 OK: 270 MiB in 60 packages 22:05:53 Removing intermediate container 296ea5172708 22:05:53 ---> 054e1844f22e 22:05:53 Step 8/24 : WORKDIR /device-mqtt-go 22:05:53 ---> Running in f97537be73ad 22:05:53 Removing intermediate container f97537be73ad 22:05:53 ---> 2ad5c845d546 22:05:53 Step 9/24 : COPY go.mod vendor* ./ 22:05:53 ---> dfd657a5f582 22:05:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:53 ---> Running in 5ccf31272d44 22:05:53 Removing intermediate container 5ccf31272d44 22:05:53 ---> cdd26974b292 22:05:53 Step 11/24 : COPY . . 22:05:54 ---> 25572dcc508c 22:05:54 Step 12/24 : RUN $MAKE 22:05:54 ---> Running in b6dd1186a14f 22:05:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 22:05:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6031 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 22:05:59 Running in /w/workspace/device-mqtt-go/137 [Pipeline] { [Pipeline] checkout 22:05:59 The recommended git tool is: git 22:06:06 using credential edgex-jenkins-ssh 22:06:06 Cloning the remote Git repository 22:06:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:06:06 > git init /w/workspace/device-mqtt-go/137 # timeout=10 22:06:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:06:06 > git --version # timeout=10 22:06:06 > git --version # 'git version 2.25.1' 22:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:06:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:08 Avoid second fetch 22:06:08 Checking out Revision 9edf56c898603a6da7d069e5015abb4f1d1f30d1 (main) 22:06:09 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#624)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:08 > git config core.sparsecheckout # timeout=10 22:06:08 > git checkout -f 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 22:06:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:06:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:06:10 Dload Upload Total Spent Left Speed 22:06:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 22:06:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:06:11 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 22:06:11 /etc/docker/daemon.json 22:06:11 { 22:06:11 "registry-mirrors": [ 22:06:11 "https://nexus3.edgexfoundry.org:10001" 22:06:11 ], 22:06:11 "bip": "10.250.0.254/24", 22:06:11 "hosts": [ 22:06:11 "tcp://0.0.0.0:5555", 22:06:11 "unix:///var/run/docker.sock" 22:06:11 ], 22:06:11 "mtu": 1458, 22:06:11 "selinux-enabled": true, 22:06:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:06:11 } [Pipeline] sh 22:06:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:06:11 + sudo service docker restart 22:06:16 Removing intermediate container b6dd1186a14f 22:06:16 ---> bb76d65f5e45 22:06:16 Step 13/24 : FROM alpine:3.18 22:06:16 3.18: Pulling from library/alpine 22:06:16 7264a8db6415: Already exists 22:06:16 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:06:16 Status: Downloaded newer image for alpine:3.18 22:06:16 ---> 7e01a0d0a1dc 22:06:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:06:16 ---> Running in 93cc07871427 22:06:16 Removing intermediate container 93cc07871427 22:06:16 ---> 0645cfed3956 22:06:16 Step 15/24 : RUN apk add --update --no-cache dumb-init 22:06:16 ---> Running in 0a72b56e85d2 22:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:06:16 (1/1) Installing dumb-init (1.2.5-r2) 22:06:16 Executing busybox-1.36.1-r2.trigger 22:06:16 OK: 7 MiB in 16 packages 22:06:16 Removing intermediate container 0a72b56e85d2 22:06:16 ---> e9494211ac2e 22:06:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:06:16 ---> e78894fda0ec 22:06:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:06:16 ---> 69821c4ded2e 22:06:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:06:16 ---> a3a4d6da5695 22:06:16 Step 19/24 : EXPOSE 59982 22:06:16 ---> Running in 136faa295aca 22:06:16 Removing intermediate container 136faa295aca 22:06:16 ---> e1390e480590 22:06:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:06:16 ---> Running in 08aeb5296168 22:06:16 Removing intermediate container 08aeb5296168 22:06:16 ---> 9cea68befcc8 22:06:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:06:16 ---> Running in 4b4827f50ed8 22:06:16 Removing intermediate container 4b4827f50ed8 22:06:16 ---> d151152f99b5 22:06:16 Step 22/24 : LABEL arch=amd64 22:06:16 ---> Running in 8c468d744f23 22:06:16 Removing intermediate container 8c468d744f23 22:06:16 ---> 7fd790b61612 22:06:16 Step 23/24 : LABEL git_sha=9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:06:16 ---> Running in 582762bbcc3e 22:06:16 Removing intermediate container 582762bbcc3e 22:06:16 ---> 83980efa9c2d 22:06:16 Step 24/24 : LABEL version=3.1.0-dev.9 22:06:16 ---> Running in 577d1c3e81b6 22:06:16 Removing intermediate container 577d1c3e81b6 22:06:16 ---> c40ffeacd048 22:06:16 [Warning] One or more build-args [ARCH] were not consumed 22:06:16 Successfully built c40ffeacd048 22:06:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:16 provisioning config files... 22:06:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5428669445540051950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:17 ---> docker-login.sh 22:06:17 nexus3.edgexfoundry.org:10001 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 nexus3.edgexfoundry.org:10002 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 nexus3.edgexfoundry.org:10003 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 nexus3.edgexfoundry.org:10004 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 docker.io 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 ---> docker-login.sh ends [Pipeline] } 22:06:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:06:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:17 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 22:06:17 9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:06:17 latest 22:06:17 3.1.0-dev.9 22:06:17 9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:06:17 main 22:06:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:06:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:06:18 5f8373899efe: Preparing 22:06:18 6378e5a99581: Preparing 22:06:18 1c865743d3bf: Preparing 22:06:18 1196224195e3: Preparing 22:06:18 4693057ce236: Preparing 22:06:18 4693057ce236: Layer already exists 22:06:18 6378e5a99581: Pushed 22:06:18 5f8373899efe: Pushed 22:06:18 1196224195e3: Pushed 22:06:21 1c865743d3bf: Pushed 22:06:21 9edf56c898603a6da7d069e5015abb4f1d1f30d1: digest: sha256:a995e2b455574c1e115dd2032bf608424a719c911fcdc6b13cea4dc497493764 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:06:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:06:22 5f8373899efe: Preparing 22:06:22 6378e5a99581: Preparing 22:06:22 1c865743d3bf: Preparing 22:06:22 1196224195e3: Preparing 22:06:22 4693057ce236: Preparing 22:06:22 1c865743d3bf: Layer already exists 22:06:22 6378e5a99581: Layer already exists 22:06:22 4693057ce236: Layer already exists 22:06:22 1196224195e3: Layer already exists 22:06:22 5f8373899efe: Layer already exists 22:06:22 latest: digest: sha256:a995e2b455574c1e115dd2032bf608424a719c911fcdc6b13cea4dc497493764 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.9 22:06:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:06:22 5f8373899efe: Preparing 22:06:22 6378e5a99581: Preparing 22:06:22 1c865743d3bf: Preparing 22:06:22 1196224195e3: Preparing 22:06:22 4693057ce236: Preparing 22:06:22 6378e5a99581: Layer already exists 22:06:22 1c865743d3bf: Layer already exists 22:06:22 1196224195e3: Layer already exists 22:06:22 5f8373899efe: Layer already exists 22:06:22 4693057ce236: Layer already exists 22:06:22 3.1.0-dev.9: digest: sha256:a995e2b455574c1e115dd2032bf608424a719c911fcdc6b13cea4dc497493764 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:06:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:06:23 5f8373899efe: Preparing 22:06:23 6378e5a99581: Preparing 22:06:23 1c865743d3bf: Preparing 22:06:23 1196224195e3: Preparing 22:06:23 4693057ce236: Preparing 22:06:23 4693057ce236: Layer already exists 22:06:23 1196224195e3: Layer already exists 22:06:23 5f8373899efe: Layer already exists 22:06:23 6378e5a99581: Layer already exists 22:06:23 1c865743d3bf: Layer already exists 22:06:23 9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9: digest: sha256:a995e2b455574c1e115dd2032bf608424a719c911fcdc6b13cea4dc497493764 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 22:06:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:06:24 5f8373899efe: Preparing 22:06:24 6378e5a99581: Preparing 22:06:24 1c865743d3bf: Preparing 22:06:24 1196224195e3: Preparing 22:06:24 4693057ce236: Preparing 22:06:24 1196224195e3: Layer already exists 22:06:24 6378e5a99581: Layer already exists 22:06:24 4693057ce236: Layer already exists 22:06:24 1c865743d3bf: Layer already exists 22:06:24 5f8373899efe: Layer already exists 22:06:24 main: digest: sha256:a995e2b455574c1e115dd2032bf608424a719c911fcdc6b13cea4dc497493764 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:06:24 ===================================================== [Pipeline] echo 22:06:24 taggedImages: 22:06:24 - nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:06:24 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:06:24 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.9 22:06:24 - nexus3.edgexfoundry.org:10004/device-mqtt:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:06:24 - 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 22:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:24 22:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:24 latest: Pulling from edgex-lftools-log-publisher 22:06:24 5eb5b503b376: Pulling fs layer 22:06:24 5c69ac0246d0: Pulling fs layer 22:06:24 ec43610c2a17: Pulling fs layer 22:06:24 3a2ae6a8a46f: Pulling fs layer 22:06:24 33b1e0a273af: Pulling fs layer 22:06:24 5d3b04190fa2: Pulling fs layer 22:06:24 2f39f015ded8: Pulling fs layer 22:06:24 3a2ae6a8a46f: Waiting 22:06:24 33b1e0a273af: Waiting 22:06:24 5d3b04190fa2: Waiting 22:06:24 2f39f015ded8: Waiting 22:06:24 5c69ac0246d0: Verifying Checksum 22:06:24 5c69ac0246d0: Download complete 22:06:24 3a2ae6a8a46f: Verifying Checksum 22:06:24 3a2ae6a8a46f: Download complete 22:06:24 33b1e0a273af: Verifying Checksum 22:06:24 33b1e0a273af: Download complete 22:06:24 ec43610c2a17: Verifying Checksum 22:06:24 ec43610c2a17: Download complete 22:06:24 5d3b04190fa2: Verifying Checksum 22:06:24 5d3b04190fa2: Download complete 22:06:25 5eb5b503b376: Verifying Checksum 22:06:25 5eb5b503b376: Download complete 22:06:25 2f39f015ded8: Download complete 22:06:26 5eb5b503b376: Pull complete 22:06:26 5c69ac0246d0: Pull complete 22:06:26 ec43610c2a17: Pull complete 22:06:26 3a2ae6a8a46f: Pull complete 22:06:26 33b1e0a273af: Pull complete 22:06:26 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:30 provisioning config files... 22:06:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/137@tmp/config4539342986882632264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:30 ---> docker-login.sh 22:06:30 nexus3.edgexfoundry.org:10001 22:06:31 2f39f015ded8: Pull complete 22:06:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:06:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:31 Configure a credential helper to remove this warning. See 22:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:31 22:06:31 Login Succeeded 22:06:31 nexus3.edgexfoundry.org:10002 22:06:31 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:31 Configure a credential helper to remove this warning. See 22:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:31 22:06:31 Login Succeeded 22:06:31 nexus3.edgexfoundry.org:10003 22:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:32 Configure a credential helper to remove this warning. See 22:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:32 22:06:32 Login Succeeded 22:06:32 nexus3.edgexfoundry.org:10004 22:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:32 Configure a credential helper to remove this warning. See 22:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:32 22:06:32 Login Succeeded 22:06:32 docker.io 22:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:33 Configure a credential helper to remove this warning. See 22:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:33 22:06:33 Login Succeeded 22:06:33 ---> docker-login.sh ends 22:06:34 $ docker top b90ae11d81878ddd038336eb36b949ddf4f040d681b61e756d3b123df24f07a3 -eo pid,comm [Pipeline] { [Pipeline] } 22:06:35 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 22:06:35 ---> job-cost.sh 22:06:35 lf-activate-venv: SKIPPING 22:06:35 INFO: No Stack... [Pipeline] echo 22:06:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:35 ========================================================= 22:06:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:06:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:35 + 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 . 22:06:35 INFO: Archiving Costs [Pipeline] sh 22:06:36 Sending build context to Docker daemon 3.341MB 22:06:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:06:36 Step 2/12 : FROM ${BASE} AS builder 22:06:36 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 22:06:36 + cut -d, -f6 [Pipeline] lock 22:06:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] 22:06:36 Resource [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] did not exist. Created. 22:06:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:06:36 9fda8d8052c6: Pulling fs layer 22:06:36 5d54e960e981: Pulling fs layer 22:06:36 c4a7e357bf2a: Pulling fs layer 22:06:36 f0e02332f6b5: Pulling fs layer 22:06:36 66412af1f25a: Pulling fs layer 22:06:36 1baf3a5c0e64: Pulling fs layer 22:06:36 9a37bb91b891: Pulling fs layer 22:06:36 a29adfc67d43: Pulling fs layer 22:06:36 d5de9f91c1a4: Pulling fs layer 22:06:36 f0e02332f6b5: Waiting 22:06:36 9a37bb91b891: Waiting 22:06:36 a29adfc67d43: Waiting 22:06:36 66412af1f25a: Waiting 22:06:36 1baf3a5c0e64: Waiting 22:06:36 d5de9f91c1a4: Waiting 22:06:36 5d54e960e981: Download complete 22:06:36 f0e02332f6b5: Verifying Checksum 22:06:36 f0e02332f6b5: Download complete 22:06:36 66412af1f25a: Verifying Checksum 22:06:36 66412af1f25a: Download complete 22:06:36 + echo total: 0.2199999988079071 [Pipeline] stash 22:06:36 Stashed 1 file(s) [Pipeline] } 22:06:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:36 $ docker stop --time=1 b90ae11d81878ddd038336eb36b949ddf4f040d681b61e756d3b123df24f07a3 22:06:36 9fda8d8052c6: Download complete 22:06:36 9a37bb91b891: Verifying Checksum 22:06:36 9a37bb91b891: Download complete 22:06:37 9fda8d8052c6: Pull complete 22:06:37 a29adfc67d43: Verifying Checksum 22:06:37 a29adfc67d43: Download complete 22:06:37 $ docker rm -f --volumes b90ae11d81878ddd038336eb36b949ddf4f040d681b61e756d3b123df24f07a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:06:38 5d54e960e981: Pull complete 22:06:38 d5de9f91c1a4: Verifying Checksum 22:06:38 d5de9f91c1a4: Download complete 22:06:38 c4a7e357bf2a: Download complete 22:06:39 1baf3a5c0e64: Download complete 22:06:49 c4a7e357bf2a: Pull complete 22:06:49 f0e02332f6b5: Pull complete 22:06:49 66412af1f25a: Pull complete 22:06:56 1baf3a5c0e64: Pull complete 22:06:57 9a37bb91b891: Pull complete 22:06:58 a29adfc67d43: Pull complete 22:07:00 d5de9f91c1a4: Pull complete 22:07:00 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 22:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:07:00 ---> 746ca1b523b5 22:07:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:07:02 ---> Running in a6cf98f45c7f 22:07:02 Removing intermediate container a6cf98f45c7f 22:07:02 ---> da6a8c6f7e74 22:07:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:02 ---> Running in cd20178702fd 22:07:03 Removing intermediate container cd20178702fd 22:07:03 ---> 43e9f14c5a4e 22:07:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:07:03 ---> Running in 5048112f668b 22:07:03 Removing intermediate container 5048112f668b 22:07:03 ---> 22459ad59325 22:07:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:07:03 ---> Running in 421b90db76e1 22:07:03 Removing intermediate container 421b90db76e1 22:07:03 ---> 65c964214bbc 22:07:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:03 ---> Running in 4e3fe46d2f91 22:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:07:07 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:07:07 (2/4) Installing libedit (20221030.3.1-r1) 22:07:07 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:07:07 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:07:07 Executing busybox-1.36.1-r2.trigger 22:07:07 OK: 272 MiB in 60 packages 22:07:08 Removing intermediate container 4e3fe46d2f91 22:07:08 ---> 98e59a60b5bf 22:07:08 Step 8/12 : WORKDIR /device-mqtt-go 22:07:08 ---> Running in 964a50566973 22:07:09 Removing intermediate container 964a50566973 22:07:09 ---> f147616c13f3 22:07:09 Step 9/12 : COPY go.mod vendor* ./ 22:07:09 ---> 81eb71cd99b2 22:07:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:07:09 ---> Running in e0bb44f1ea9f 22:08:17 Removing intermediate container e0bb44f1ea9f 22:08:17 ---> 9f0ce2d1dc0d 22:08:17 Step 11/12 : COPY . . 22:08:18 ---> bd0c4242c62a 22:08:18 Step 12/12 : RUN $MAKE 22:08:18 ---> Running in 2df48681fed3 22:08:19 noop 22:08:20 Removing intermediate container 2df48681fed3 22:08:20 ---> 8647a0d11db3 22:08:20 Successfully built 8647a0d11db3 22:08:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:20 + docker inspect -f . ci-base-image-arm64 22:08:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:20 prd-ubuntu20.04-docker-arm64-4c-16g-6031 does not seem to be running inside a container 22:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/137 -v /w/workspace/device-mqtt-go/137:/w/workspace/device-mqtt-go/137:rw,z -v /w/workspace/device-mqtt-go/137@tmp:/w/workspace/device-mqtt-go/137@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 22:08:21 $ docker top e544bb767364746b7f6b8efaaace78f7ce88db4a39b3fd666c0c412ff0de0116 -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:22 + go version 22:08:22 go version go1.21.0 linux/arm64 [Pipeline] } 22:08:22 $ docker stop --time=1 e544bb767364746b7f6b8efaaace78f7ce88db4a39b3fd666c0c412ff0de0116 22:08:24 $ docker rm -f --volumes e544bb767364746b7f6b8efaaace78f7ce88db4a39b3fd666c0c412ff0de0116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:25 + docker inspect -f . ci-base-image-arm64 22:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:25 prd-ubuntu20.04-docker-arm64-4c-16g-6031 does not seem to be running inside a container 22:08:25 $ 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/137 -v /w/workspace/device-mqtt-go/137:/w/workspace/device-mqtt-go/137:rw,z -v /w/workspace/device-mqtt-go/137@tmp:/w/workspace/device-mqtt-go/137@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 22:08:28 $ docker top 671ff4bcbf2f0ce2dd8a67a4a9763ec06ce55719a69adc0f0f9d0762543b4c12 -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:29 + git config --global --add safe.directory /w/workspace/device-mqtt-go/137 [Pipeline] fileExists [Pipeline] sh 22:08:30 + make test 22:08:30 go test ./... -coverprofile=coverage.out ./... 22:08:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:10:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:10:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:10:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.095s coverage: 22.8% of statements 22:10:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:10:41 go vet ./... 22:11:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:20 ./bin/test-attribution-txt.sh [Pipeline] echo 22:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:11:20 $ docker stop --time=1 671ff4bcbf2f0ce2dd8a67a4a9763ec06ce55719a69adc0f0f9d0762543b4c12 22:11:22 $ docker rm -f --volumes 671ff4bcbf2f0ce2dd8a67a4a9763ec06ce55719a69adc0f0f9d0762543b4c12 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:24 Warning: overwriting stash ‘coverage-report’ 22:11:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:25 + ls -al . 22:11:25 total 184 22:11:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:08 . 22:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:06 .. 22:11:25 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:06 .dockerignore 22:11:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:06 .git 22:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:06 .github 22:11:25 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:06 .gitignore 22:11:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:06 .golangci.yml 22:11:25 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 12 22:06 Attribution.txt 22:11:25 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 12 22:06 CHANGELOG.md 22:11:25 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 12 22:06 Dockerfile 22:11:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:06 GOVERNANCE.md 22:11:25 -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 22:06 Jenkinsfile 22:11:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:06 LICENSE 22:11:25 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 12 22:06 Makefile 22:11:25 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:06 OWNERS.md 22:11:25 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 12 22:06 README.md 22:11:25 -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:04 VERSION 22:11:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:06 bin 22:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:06 cmd 22:11:25 -rw-r--r-- 1 jenkins jenkins 18506 Sep 12 22:10 coverage.out 22:11:25 -rw-rw-r-- 1 jenkins jenkins 3820 Sep 12 22:06 go.mod 22:11:25 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:06 go.sum 22:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:06 internal 22:11:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:06 mock 22:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:06 snap 22:11:25 -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 22:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:26 + 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=9edf56c898603a6da7d069e5015abb4f1d1f30d1 --label arch=arm64 --label version=3.1.0-dev.9 . 22:11:27 Sending build context to Docker daemon 3.36MB 22:11:27 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 22:11:27 Step 2/24 : FROM ${BASE} AS builder 22:11:27 ---> 8647a0d11db3 22:11:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:11:27 ---> Running in 3ee8d5e44caa 22:11:28 Removing intermediate container 3ee8d5e44caa 22:11:28 ---> 4e8451dd6e6a 22:11:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:28 ---> Running in aff3bf7dae35 22:11:29 Removing intermediate container aff3bf7dae35 22:11:29 ---> a17ec6ba36ec 22:11:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:11:29 ---> Running in b3af48a557d7 22:11:30 Removing intermediate container b3af48a557d7 22:11:30 ---> 9999a5543be6 22:11:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:11:30 ---> Running in 66503299487b 22:11:30 Removing intermediate container 66503299487b 22:11:30 ---> 603c679527ff 22:11:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:30 ---> Running in 52cca492b8f5 22:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:11:33 OK: 272 MiB in 60 packages 22:11:35 Removing intermediate container 52cca492b8f5 22:11:35 ---> 7318342fdd0c 22:11:35 Step 8/24 : WORKDIR /device-mqtt-go 22:11:35 ---> Running in 66ef66b110e6 22:11:35 Removing intermediate container 66ef66b110e6 22:11:35 ---> 6bd3d5c212b0 22:11:35 Step 9/24 : COPY go.mod vendor* ./ 22:11:35 ---> 8f2c7f4e87f6 22:11:35 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:35 ---> Running in 04187a5fbe25 22:11:37 Removing intermediate container 04187a5fbe25 22:11:37 ---> cb7e2a04abcf 22:11:37 Step 11/24 : COPY . . 22:11:38 ---> 3ee059b931b9 22:11:38 Step 12/24 : RUN $MAKE 22:11:38 ---> Running in 5d1d8165d323 22:11:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 22:13:46 Removing intermediate container 5d1d8165d323 22:13:46 ---> c809ddfdd5c8 22:13:46 Step 13/24 : FROM alpine:3.18 22:13:46 3.18: Pulling from library/alpine 22:13:46 9fda8d8052c6: Already exists 22:13:46 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:13:46 Status: Downloaded newer image for alpine:3.18 22:13:46 ---> f6648c04cd6c 22:13:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:13:46 ---> Running in 8a6fa7576522 22:13:46 Removing intermediate container 8a6fa7576522 22:13:46 ---> d39a39a33915 22:13:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 22:13:47 ---> Running in 8d814dc8f888 22:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:13:49 (1/1) Installing dumb-init (1.2.5-r2) 22:13:49 Executing busybox-1.36.1-r2.trigger 22:13:49 OK: 8 MiB in 16 packages 22:13:50 Removing intermediate container 8d814dc8f888 22:13:50 ---> ec0912ba4817 22:13:50 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:13:52 ---> 5e5b33f13778 22:13:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:13:53 ---> 998762eee39b 22:13:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:13:53 ---> 6dde46392d05 22:13:53 Step 19/24 : EXPOSE 59982 22:13:53 ---> Running in 4c4713bf58f3 22:13:54 Removing intermediate container 4c4713bf58f3 22:13:54 ---> f940d9c04755 22:13:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:13:54 ---> Running in 893094771c81 22:13:54 Removing intermediate container 893094771c81 22:13:54 ---> 9b2eff7a9193 22:13:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:13:54 ---> Running in 576bc2453c76 22:13:55 Removing intermediate container 576bc2453c76 22:13:55 ---> a129cc4426f8 22:13:55 Step 22/24 : LABEL arch=arm64 22:13:55 ---> Running in 6d9a7d8be5d2 22:13:55 Removing intermediate container 6d9a7d8be5d2 22:13:55 ---> bd43da67bb1f 22:13:55 Step 23/24 : LABEL git_sha=9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:13:55 ---> Running in 460b780cd1e3 22:13:55 Removing intermediate container 460b780cd1e3 22:13:55 ---> 6168fcd5348f 22:13:55 Step 24/24 : LABEL version=3.1.0-dev.9 22:13:56 ---> Running in 91b86829c4a5 22:13:56 Removing intermediate container 91b86829c4a5 22:13:56 ---> 15cbcbb381f2 22:13:56 [Warning] One or more build-args [ARCH] were not consumed 22:13:56 Successfully built 15cbcbb381f2 22:13:56 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:56 provisioning config files... 22:13:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/137@tmp/config15941532917704978313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:56 ---> docker-login.sh 22:13:56 nexus3.edgexfoundry.org:10001 22:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:57 Configure a credential helper to remove this warning. See 22:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:57 22:13:57 Login Succeeded 22:13:57 nexus3.edgexfoundry.org:10002 22:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:57 Configure a credential helper to remove this warning. See 22:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:57 22:13:57 Login Succeeded 22:13:57 nexus3.edgexfoundry.org:10003 22:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:57 Configure a credential helper to remove this warning. See 22:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:57 22:13:57 Login Succeeded 22:13:57 nexus3.edgexfoundry.org:10004 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 docker.io 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:59 Configure a credential helper to remove this warning. See 22:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:59 22:13:59 Login Succeeded 22:13:59 ---> docker-login.sh ends [Pipeline] } 22:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:59 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 22:13:59 9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:13:59 latest 22:13:59 3.1.0-dev.9 22:13:59 9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:13:59 main 22:13:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:13:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:13:59 982cb4fb1ee2: Preparing 22:13:59 b942316330bf: Preparing 22:13:59 9da26061fd5e: Preparing 22:13:59 21a7aeb4ef52: Preparing 22:13:59 b2191e2be29d: Preparing 22:13:59 b2191e2be29d: Layer already exists 22:14:00 982cb4fb1ee2: Pushed 22:14:00 b942316330bf: Pushed 22:14:00 21a7aeb4ef52: Pushed 22:14:06 9da26061fd5e: Pushed 22:14:06 9edf56c898603a6da7d069e5015abb4f1d1f30d1: digest: sha256:d468dcbb19350cb24ba79642b96662f60df461361d084026abc249e166176bc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:14:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:14:07 982cb4fb1ee2: Preparing 22:14:07 b942316330bf: Preparing 22:14:07 9da26061fd5e: Preparing 22:14:07 21a7aeb4ef52: Preparing 22:14:07 b2191e2be29d: Preparing 22:14:07 982cb4fb1ee2: Layer already exists 22:14:07 9da26061fd5e: Layer already exists 22:14:07 b2191e2be29d: Layer already exists 22:14:07 21a7aeb4ef52: Layer already exists 22:14:07 b942316330bf: Layer already exists 22:14:07 latest: digest: sha256:d468dcbb19350cb24ba79642b96662f60df461361d084026abc249e166176bc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.9 22:14:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:14:08 982cb4fb1ee2: Preparing 22:14:08 b942316330bf: Preparing 22:14:08 9da26061fd5e: Preparing 22:14:08 21a7aeb4ef52: Preparing 22:14:08 b2191e2be29d: Preparing 22:14:08 21a7aeb4ef52: Layer already exists 22:14:08 982cb4fb1ee2: Layer already exists 22:14:08 9da26061fd5e: Layer already exists 22:14:08 b942316330bf: Layer already exists 22:14:08 b2191e2be29d: Layer already exists 22:14:08 3.1.0-dev.9: digest: sha256:d468dcbb19350cb24ba79642b96662f60df461361d084026abc249e166176bc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:14:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:14:09 982cb4fb1ee2: Preparing 22:14:09 b942316330bf: Preparing 22:14:09 9da26061fd5e: Preparing 22:14:09 21a7aeb4ef52: Preparing 22:14:09 b2191e2be29d: Preparing 22:14:09 b942316330bf: Layer already exists 22:14:09 b2191e2be29d: Layer already exists 22:14:09 21a7aeb4ef52: Layer already exists 22:14:09 982cb4fb1ee2: Layer already exists 22:14:09 9da26061fd5e: Layer already exists 22:14:09 9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9: digest: sha256:d468dcbb19350cb24ba79642b96662f60df461361d084026abc249e166176bc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 22:14:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:14:10 982cb4fb1ee2: Preparing 22:14:10 b942316330bf: Preparing 22:14:10 9da26061fd5e: Preparing 22:14:10 21a7aeb4ef52: Preparing 22:14:10 b2191e2be29d: Preparing 22:14:10 21a7aeb4ef52: Layer already exists 22:14:10 9da26061fd5e: Layer already exists 22:14:10 b2191e2be29d: Layer already exists 22:14:10 b942316330bf: Layer already exists 22:14:10 982cb4fb1ee2: Layer already exists 22:14:10 main: digest: sha256:d468dcbb19350cb24ba79642b96662f60df461361d084026abc249e166176bc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:10 ===================================================== [Pipeline] echo 22:14:10 taggedImages: 22:14:10 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1 22:14:10 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:14:10 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.9 22:14:10 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9edf56c898603a6da7d069e5015abb4f1d1f30d1-3.1.0-dev.9 22:14:10 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:11 22:14:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:11 arm64: Pulling from edgex-lftools-log-publisher 22:14:11 8998bd30e6a1: Pulling fs layer 22:14:11 04944245beec: Pulling fs layer 22:14:11 699f458cf7ca: Pulling fs layer 22:14:11 765212b225bb: Pulling fs layer 22:14:11 f23df028b6ca: Pulling fs layer 22:14:11 d65c8cfc05b1: Pulling fs layer 22:14:11 2437ff75d9bd: Pulling fs layer 22:14:11 765212b225bb: Waiting 22:14:11 f23df028b6ca: Waiting 22:14:11 d65c8cfc05b1: Waiting 22:14:11 2437ff75d9bd: Waiting 22:14:11 04944245beec: Verifying Checksum 22:14:11 04944245beec: Download complete 22:14:11 765212b225bb: Verifying Checksum 22:14:11 765212b225bb: Download complete 22:14:11 f23df028b6ca: Verifying Checksum 22:14:11 f23df028b6ca: Download complete 22:14:11 d65c8cfc05b1: Verifying Checksum 22:14:11 d65c8cfc05b1: Download complete 22:14:11 699f458cf7ca: Verifying Checksum 22:14:11 699f458cf7ca: Download complete 22:14:12 8998bd30e6a1: Verifying Checksum 22:14:12 8998bd30e6a1: Download complete 22:14:14 2437ff75d9bd: Verifying Checksum 22:14:14 2437ff75d9bd: Download complete 22:14:16 8998bd30e6a1: Pull complete 22:14:16 04944245beec: Pull complete 22:14:18 699f458cf7ca: Pull complete 22:14:18 765212b225bb: Pull complete 22:14:19 f23df028b6ca: Pull complete 22:14:19 d65c8cfc05b1: Pull complete 22:14:34 2437ff75d9bd: Pull complete 22:14:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:34 prd-ubuntu20.04-docker-arm64-4c-16g-6031 does not seem to be running inside a container 22:14:34 $ 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/137 -v /w/workspace/device-mqtt-go/137:/w/workspace/device-mqtt-go/137:rw,z -v /w/workspace/device-mqtt-go/137@tmp:/w/workspace/device-mqtt-go/137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:14:37 $ docker top cd004b22a97c2c1b042c094390a37e23d5b86cd4f40f62175d9264da85abf256 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:37 ---> job-cost.sh 22:14:37 lf-activate-venv: SKIPPING 22:14:37 INFO: No Stack... 22:14:38 INFO: Retrieving Pricing Info for: v3-standard-4 22:14:39 INFO: Archiving Costs [Pipeline] sh 22:14:39 + cat /w/workspace/device-mqtt-go/137/archives/cost.csv 22:14:39 + cut -d, -f6 [Pipeline] lock 22:14:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] 22:14:39 Resource [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] did not exist. Created. 22:14:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:39 /w/workspace/device-mqtt-go/137@tmp/durable-a6aecd0e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:14:40 + echo total: 0.10999999940395355 [Pipeline] stash 22:14:40 Warning: overwriting stash ‘stack-cost’ 22:14:40 Stashed 1 file(s) [Pipeline] } 22:14:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:40 $ docker stop --time=1 cd004b22a97c2c1b042c094390a37e23d5b86cd4f40f62175d9264da85abf256 22:14:41 $ docker rm -f --volumes cd004b22a97c2c1b042c094390a37e23d5b86cd4f40f62175d9264da85abf256 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:14:42 provisioning config files... 22:14:42 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2198414092364786715tmp [Pipeline] { [Pipeline] sh 22:14:42 + set +x 22:14:42 + curl -s https://codecov.io/bash 22:14:42 + bash -s -- 22:14:42 22:14:42 _____ _ 22:14:42 / ____| | | 22:14:42 | | ___ __| | ___ ___ _____ __ 22:14:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:14:42 | |___| (_) | (_| | __/ (_| (_) \ V / 22:14:42 \_____\___/ \__,_|\___|\___\___/ \_/ 22:14:42 Bash-1.0.6 22:14:42 22:14:42 22:14:42 ==> git version 2.25.1 found 22:14:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:14:42 Release-Date: 2020-01-08 22:14:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:14:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:14:42 ==> Jenkins CI detected. 22:14:42 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 22:14:42 project root: . 22:14:42 --> token set from env 22:14:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:14:42 ==> Running gcov in . (disable via -X gcov) 22:14:42 ==> Python coveragepy not found 22:14:42 ==> Searching for coverage reports in: 22:14:42 + . 22:14:42 -> Found 1 reports 22:14:42 ==> Detecting git/mercurial file structure 22:14:42 ==> Reading reports 22:14:42 + ./coverage.out bytes=18506 22:14:42 ==> Appending adjustments 22:14:42 https://docs.codecov.io/docs/fixing-reports 22:14:42 + Found adjustments 22:14:42 ==> Gzipping contents 22:14:42 4.0K /tmp/codecov.vdUfpI.gz 22:14:42 ==> Uploading reports 22:14:42 url: https://codecov.io 22:14:42 query: branch=main&commit=9edf56c898603a6da7d069e5015abb4f1d1f30d1&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:14:42 -> Pinging Codecov 22:14:42 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=9edf56c898603a6da7d069e5015abb4f1d1f30d1&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:14:42 -> Uploading to 22:14:42 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7D719EC7BBE17E464838252E33014C33/9edf56c898603a6da7d069e5015abb4f1d1f30d1/f88c6378-1b08-49e9-aaae-5a498ac4425d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fd10922e956c44e38bfbc7ace539b35137272b23a0fdae405c9253f7d5b166b 22:14:42 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:42 Dload Upload Total Spent Left Speed 22:14:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16014 --:--:-- --:--:-- --:--:-- 16014 22:14:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] } 22:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:14:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:14:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:43 22:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:14:43 df9b9388f04a: Pulling fs layer 22:14:43 52dc419b0ee2: Pulling fs layer 22:14:43 25bc292e5bac: Pulling fs layer 22:14:43 114826534d7a: Pulling fs layer 22:14:43 4657fd5d0bcf: Pulling fs layer 22:14:43 6ad1cebc031e: Pulling fs layer 22:14:43 8a3aa393b2d8: Pulling fs layer 22:14:43 114826534d7a: Waiting 22:14:43 4657fd5d0bcf: Waiting 22:14:43 6ad1cebc031e: Waiting 22:14:43 8a3aa393b2d8: Waiting 22:14:43 25bc292e5bac: Verifying Checksum 22:14:43 25bc292e5bac: Download complete 22:14:43 52dc419b0ee2: Download complete 22:14:43 4657fd5d0bcf: Verifying Checksum 22:14:43 4657fd5d0bcf: Download complete 22:14:43 df9b9388f04a: Download complete 22:14:43 df9b9388f04a: Pull complete 22:14:43 6ad1cebc031e: Verifying Checksum 22:14:43 6ad1cebc031e: Download complete 22:14:43 52dc419b0ee2: Pull complete 22:14:43 25bc292e5bac: Pull complete 22:14:44 114826534d7a: Verifying Checksum 22:14:44 114826534d7a: Download complete 22:14:44 8a3aa393b2d8: Verifying Checksum 22:14:44 8a3aa393b2d8: Download complete 22:14:47 114826534d7a: Pull complete 22:14:47 4657fd5d0bcf: Pull complete 22:14:48 6ad1cebc031e: Pull complete 22:14:50 8a3aa393b2d8: Pull complete 22:14:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:50 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:14:54 $ docker top 5fb5f703445f09e6c9de5ef42648a09465675d9720aa1bdd1cb34969783229b8 -eo pid,comm [Pipeline] { [Pipeline] echo 22:14:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 22:14:55 + set -o pipefail 22:14:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 22:15:01 22:15:01 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 22:15:01 22:15:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/4d9b5f8c-e3a6-42b0-913b-ac496ddc60a9 22:15:01 22:15:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:15:01 22:15:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:15:01 22:15:01 22:15:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:15:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:15:01 More details here: https://snyk.co/ue1NS 22:15:01 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:15:01 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:15:01 $ docker stop --time=1 5fb5f703445f09e6c9de5ef42648a09465675d9720aa1bdd1cb34969783229b8 22:15:05 $ docker rm -f --volumes 5fb5f703445f09e6c9de5ef42648a09465675d9720aa1bdd1cb34969783229b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:05 + git log --format=format:%s -1 9edf56c898603a6da7d069e5015abb4f1d1f30d1 [Pipeline] sh 22:15:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:06 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:15:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:15:06 $ docker top babd2393d5c66d98fa6a11e657aa10a96096d33b3d4682663714e0bb9cd682cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:07 [ssh-agent] Looking for ssh-agent implementation... 22:15:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:07 $ docker exec babd2393d5c66d98fa6a11e657aa10a96096d33b3d4682663714e0bb9cd682cd ssh-agent 22:15:07 SSH_AUTH_SOCK=/tmp/ssh-FQ0HM04qystU/agent.32 22:15:07 SSH_AGENT_PID=38 22:15:07 Running ssh-add (command line suppressed) 22:15:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4311247321489086476.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4311247321489086476.key) 22:15:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:07 + git semver tag 22:15:07 2023-09-12 22:15:07,850 [run_tag] DEBUG tag force:False 22:15:07 2023-09-12 22:15:07,851 [check_head_tag] DEBUG check head tag 22:15:07 2023-09-12 22:15:07,851 [execute] INFO git cat-file --batch-check 22:15:07 2023-09-12 22:15:07,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:15:07 2023-09-12 22:15:07,855 [execute] INFO git cat-file --batch 22:15:07 2023-09-12 22:15:07,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:15:07 2023-09-12 22:15:07,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:07 2023-09-12 22:15:07,863 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 22:15:07 2023-09-12 22:15:07,863 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 22:15:07 2023-09-12 22:15:07,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:07 3.1.0-dev.9 [Pipeline] } 22:15:07 $ docker exec --env ******** --env ******** babd2393d5c66d98fa6a11e657aa10a96096d33b3d4682663714e0bb9cd682cd ssh-agent -k 22:15:08 unset SSH_AUTH_SOCK; 22:15:08 unset SSH_AGENT_PID; 22:15:08 echo Agent pid 38 killed; 22:15:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:08 + git semver [Pipeline] } 22:15:08 $ docker stop --time=1 babd2393d5c66d98fa6a11e657aa10a96096d33b3d4682663714e0bb9cd682cd 22:15:09 $ docker rm -f --volumes babd2393d5c66d98fa6a11e657aa10a96096d33b3d4682663714e0bb9cd682cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:10 22:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:10 0.23.1-centos7: Pulling from edgex-lftools 22:15:10 ab5ef0e58194: Pulling fs layer 22:15:10 9712f1f96733: Pulling fs layer 22:15:10 63f879dbbcfc: Pulling fs layer 22:15:10 0d9ebad4ef96: Pulling fs layer 22:15:10 e9a5061849ea: Pulling fs layer 22:15:10 d747dcd14b5f: Pulling fs layer 22:15:10 2de7ff778b66: Pulling fs layer 22:15:10 0d9ebad4ef96: Waiting 22:15:10 e9a5061849ea: Waiting 22:15:10 d747dcd14b5f: Waiting 22:15:10 2de7ff778b66: Waiting 22:15:10 9712f1f96733: Verifying Checksum 22:15:10 9712f1f96733: Download complete 22:15:10 63f879dbbcfc: Verifying Checksum 22:15:10 63f879dbbcfc: Download complete 22:15:11 0d9ebad4ef96: Verifying Checksum 22:15:11 0d9ebad4ef96: Download complete 22:15:11 d747dcd14b5f: Download complete 22:15:11 e9a5061849ea: Verifying Checksum 22:15:11 e9a5061849ea: Download complete 22:15:11 ab5ef0e58194: Verifying Checksum 22:15:11 ab5ef0e58194: Download complete 22:15:11 2de7ff778b66: Verifying Checksum 22:15:11 2de7ff778b66: Download complete 22:15:13 ab5ef0e58194: Pull complete 22:15:13 9712f1f96733: Pull complete 22:15:14 63f879dbbcfc: Pull complete 22:15:17 0d9ebad4ef96: Pull complete 22:15:17 e9a5061849ea: Pull complete 22:15:17 d747dcd14b5f: Pull complete 22:15:19 2de7ff778b66: Pull complete 22:15:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:19 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:15:25 $ docker top adf10059632490ccfef9a8c3d0e36e619c1bc779001121b81223394b20514d44 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:15:25 provisioning config files... 22:15:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10228294369230379783tmp 22:15:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9631247377996715437tmp 22:15:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16525109251259326087tmp [Pipeline] { [Pipeline] echo 22:15:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:15:25 ---> sigul-configuration.sh 22:15:25 gpg: directory `/root/.gnupg' created 22:15:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:15:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:15:25 gpg: keyring `/root/.gnupg/secring.gpg' created 22:15:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:15:25 gpg: CAST5 encrypted data 22:15:25 gpg: encrypted with 1 passphrase 22:15:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:15:25 + mkdir /home/jenkins 22:15:25 + mkdir /home/jenkins/sigul [Pipeline] sh 22:15:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:15:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:15:26 ---> sigul-install.sh 22:15:26 Sigul already installed; skipping installation. [Pipeline] sh 22:15:26 + git tag --list 22:15:26 0.7.1 22:15:26 v1.0.0 22:15:26 v1.1.0 22:15:26 v1.1.1 22:15:26 v1.2.2 22:15:26 v1.3.0 22:15:26 v1.3.1 22:15:26 v2.0.0 22:15:26 v2.1.0 22:15:26 v2.1.1 22:15:26 v2.2.0 22:15:26 v2.3.0 22:15:26 v3.0 22:15:26 v3.0.0 22:15:26 v3.1.0-dev.1 22:15:26 v3.1.0-dev.2 22:15:26 v3.1.0-dev.3 22:15:26 v3.1.0-dev.4 22:15:26 v3.1.0-dev.5 22:15:26 v3.1.0-dev.6 22:15:26 v3.1.0-dev.7 22:15:26 v3.1.0-dev.8 22:15:26 v3.1.0-dev.9 [Pipeline] sh 22:15:27 + lftools sign git-tag v3.1.0-dev.9 22:15:27 Signing Git tag with Sigul... 22:15:27 Signing v3.1.0-dev.9 [Pipeline] echo 22:15:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:15:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:15:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:15:28 $ docker stop --time=1 adf10059632490ccfef9a8c3d0e36e619c1bc779001121b81223394b20514d44 22:15:29 $ docker rm -f --volumes adf10059632490ccfef9a8c3d0e36e619c1bc779001121b81223394b20514d44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:15:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:30 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:15:30 $ docker top d456be102c73ce5f5c470a5e84ff71c77bd68d119af862cba1ae07ab79307835 -eo pid,comm 22:15:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:15:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:30 [ssh-agent] Looking for ssh-agent implementation... 22:15:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:30 $ docker exec d456be102c73ce5f5c470a5e84ff71c77bd68d119af862cba1ae07ab79307835 ssh-agent 22:15:30 SSH_AUTH_SOCK=/tmp/ssh-IZiRBtWSyxuf/agent.32 22:15:30 SSH_AGENT_PID=38 22:15:30 Running ssh-add (command line suppressed) 22:15:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5137484729957869484.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5137484729957869484.key) 22:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:31 + git semver bump pre 22:15:31 2023-09-12 22:15:31,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:31 2023-09-12 22:15:31,438 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev 22:15:31 2023-09-12 22:15:31,439 [bump_version] DEBUG bumped version:3.1.0-dev.10 22:15:31 2023-09-12 22:15:31,439 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 22:15:31 2023-09-12 22:15:31,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:31 2023-09-12 22:15:31,439 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:31 2023-09-12 22:15:31,441 [execute] INFO git cat-file --batch-check 22:15:31 2023-09-12 22:15:31,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:31 2023-09-12 22:15:31,445 [execute] INFO git cat-file --batch 22:15:31 2023-09-12 22:15:31,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:31 2023-09-12 22:15:31,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:31 3.1.0-dev.10 [Pipeline] } 22:15:31 $ docker exec --env ******** --env ******** d456be102c73ce5f5c470a5e84ff71c77bd68d119af862cba1ae07ab79307835 ssh-agent -k 22:15:31 unset SSH_AUTH_SOCK; 22:15:31 unset SSH_AGENT_PID; 22:15:31 echo Agent pid 38 killed; 22:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:31 + git semver [Pipeline] } 22:15:32 $ docker stop --time=1 d456be102c73ce5f5c470a5e84ff71c77bd68d119af862cba1ae07ab79307835 22:15:33 $ docker rm -f --volumes d456be102c73ce5f5c470a5e84ff71c77bd68d119af862cba1ae07ab79307835 [Pipeline] // withDockerContainer [Pipeline] sh 22:15:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:34 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:15:34 $ docker top ffc6c9dd8f1ba24fcff608721fcc6fc37bcdf07c0cd706df46ff5a43abd363b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:34 [ssh-agent] Looking for ssh-agent implementation... 22:15:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:34 $ docker exec ffc6c9dd8f1ba24fcff608721fcc6fc37bcdf07c0cd706df46ff5a43abd363b9 ssh-agent 22:15:34 SSH_AUTH_SOCK=/tmp/ssh-QqULdcCd6LM8/agent.32 22:15:34 SSH_AGENT_PID=38 22:15:34 Running ssh-add (command line suppressed) 22:15:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9615088093401742089.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9615088093401742089.key) 22:15:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:35 + git semver push 22:15:35 2023-09-12 22:15:35,433 [run_push] DEBUG push 22:15:35 2023-09-12 22:15:35,434 [execute] INFO git cat-file --batch-check 22:15:35 2023-09-12 22:15:35,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:35 2023-09-12 22:15:35,438 [execute] INFO git rev-list 0ef434c07098e616efb44e1c0cd4dc298b157954 -- 22:15:35 2023-09-12 22:15:35,438 [execute] DEBUG Popen(['git', 'rev-list', '0ef434c07098e616efb44e1c0cd4dc298b157954', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:15:35 2023-09-12 22:15:35,445 [execute] INFO git fetch -v origin 22:15:35 2023-09-12 22:15:35,446 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:15:36 2023-09-12 22:15:35,887 [run_push] DEBUG no remote changes detected 22:15:36 2023-09-12 22:15:35,887 [execute] INFO git push origin semver 22:15:36 2023-09-12 22:15:35,888 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:15:37 2023-09-12 22:15:36,808 [run_push] DEBUG push all version tags 22:15:37 2023-09-12 22:15:36,808 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:15:37 2023-09-12 22:15:36,809 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 22:15:37 2023-09-12 22:15:37,518 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:15:37 3.1.0-dev.10 [Pipeline] } 22:15:37 $ docker exec --env ******** --env ******** ffc6c9dd8f1ba24fcff608721fcc6fc37bcdf07c0cd706df46ff5a43abd363b9 ssh-agent -k 22:15:37 unset SSH_AUTH_SOCK; 22:15:37 unset SSH_AGENT_PID; 22:15:37 echo Agent pid 38 killed; 22:15:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:38 + git semver [Pipeline] } 22:15:38 $ docker stop --time=1 ffc6c9dd8f1ba24fcff608721fcc6fc37bcdf07c0cd706df46ff5a43abd363b9 22:15:39 $ docker rm -f --volumes ffc6c9dd8f1ba24fcff608721fcc6fc37bcdf07c0cd706df46ff5a43abd363b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:15:40 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 22:15:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:15:40 total 16 22:15:40 drwxr-xr-x 3 root root 4096 Sep 12 22:06 . 22:15:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:15 .. 22:15:40 drwxr-xr-x 2 root root 4096 Sep 12 22:06 cost 22:15:40 -rw-r--r-- 1 root root 86 Sep 12 22:06 cost.csv 22:15:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:15:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:15:40 total 16 22:15:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:06 . 22:15:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:15 .. 22:15:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:06 cost 22:15:40 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:15:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:15:41 ---> package-listing.sh 22:15:41 ++ facter osfamily 22:15:41 ++ tr '[:upper:]' '[:lower:]' 22:15:41 + OS_FAMILY=debian 22:15:41 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 22:15:41 + START_PACKAGES=/tmp/packages_start.txt 22:15:41 + END_PACKAGES=/tmp/packages_end.txt 22:15:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:15:41 + PACKAGES=/tmp/packages_start.txt 22:15:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:15:41 + PACKAGES=/tmp/packages_end.txt 22:15:41 + case "${OS_FAMILY}" in 22:15:41 + dpkg -l 22:15:41 + grep '^ii' 22:15:41 + '[' -f /tmp/packages_start.txt ']' 22:15:41 + '[' -f /tmp/packages_end.txt ']' 22:15:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:15:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:15:41 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 22:15:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 22:15:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:15:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:42 prd-ubuntu20.04-docker-8c-8g-6028 does not seem to be running inside a container 22:15:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:15:42 $ docker top fde05e57a88a46b5dc00652aba2cb513700d3412a631abfee77d87263cb010b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:43 + touch /tmp/pre-build-complete [Pipeline] sh 22:15:43 + mkdir -p /var/log/sysstat [Pipeline] sh 22:15:43 + ls /var/log/sa-host 22:15:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:43 provisioning config files... 22:15:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3329921036413006643tmp [Pipeline] { [Pipeline] echo 22:15:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:15:44 ---> create-netrc.sh [Pipeline] } 22:15:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:15:44 ---> python-tools-install.sh [Pipeline] echo 22:15:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:15:44 ---> sudo-logs.sh 22:15:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:15:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:15:45 ---> job-cost.sh 22:15:45 lf-activate-venv: SKIPPING 22:15:45 DEBUG: total: 0.2199999988079071 22:15:45 INFO: Retrieving Stack Cost... 22:15:45 INFO: Retrieving Pricing Info for: v3-standard-8 22:15:45 INFO: Archiving Costs [Pipeline] echo 22:15:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:15:46 ---> logs-deploy.sh 22:15:46 lf-activate-venv: SKIPPING 22:15:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/137 22:15:46 INFO: archiving workspace using pattern(s): 22:15:47 Archives upload complete. 22:15:47 INFO: archiving logs to Nexus