Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f31dc60183bea012cbe15166dadf947b4e0fce38 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-ssh17065527620423000316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4966337078297491206.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7639018796105975780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11643818442519532071.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-ssh17711057042253556603.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] ========================================================= [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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-241 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 f31dc60183bea012cbe15166dadf947b4e0fce38 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31dc60183bea012cbe15166dadf947b4e0fce38 # timeout=10 Commit message: "Merge pull request #668 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" > git rev-list --no-walk cece63dbd868ba4ffecf5f739a16bcebc59408bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:21 ========================================================= 02:41:21 EdgeX Global Pipelines Version Info 02:41:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:22 ------------------- 02:41:22 stable info: 02:41:22 ------------------- 02:41:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:41:22 Message: update stable to v1.0.258 02:41:22 ------------------- 02:41:22 experimental info: 02:41:22 ------------------- 02:41:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:41:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:41:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f31dc60 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:41:23 provisioning config files... 02:41:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9794790415998960608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:23 ---> ****-login.sh 02:41:23 nexus3.edgexfoundry.org:10001 02:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:24 Configure a credential helper to remove this warning. See 02:41:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:24 02:41:24 Login Succeeded 02:41:24 nexus3.edgexfoundry.org:10002 02:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:24 Configure a credential helper to remove this warning. See 02:41:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:24 02:41:24 Login Succeeded 02:41:24 nexus3.edgexfoundry.org:10003 02:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:24 Configure a credential helper to remove this warning. See 02:41:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:24 02:41:24 Login Succeeded 02:41:24 nexus3.edgexfoundry.org:10004 02:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:24 Configure a credential helper to remove this warning. See 02:41:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:24 02:41:24 Login Succeeded 02:41:24 ****.io 02:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:24 Configure a credential helper to remove this warning. See 02:41:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:24 02:41:24 Login Succeeded 02:41:24 ---> ****-login.sh ends [Pipeline] } 02:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:41:25 + git rev-list -1 --merges f31dc60183bea012cbe15166dadf947b4e0fce38~1..f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] echo 02:41:25 -----------> git rev-list -1 --merges f31dc60183bea012cbe15166dadf947b4e0fce38~1..f31dc60183bea012cbe15166dadf947b4e0fce38 f31dc60183bea012cbe15166dadf947b4e0fce38 02:41:25 f31dc60183bea012cbe15166dadf947b4e0fce38 [false] [Pipeline] sh 02:41:25 + git log --format=format:%s -1 f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] echo 02:41:25 ========================================================= 02:41:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:41:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:25 + git log --format=format:%s -1 f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] echo 02:41:25 [semverPrep] GIT_COMMIT: f31dc60183bea012cbe15166dadf947b4e0fce38, Commit Message: Merge pull request #668 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11 [Pipeline] echo 02:41:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:41:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:41:26 + grep -v github /etc/ssh/ssh_known_hosts 02:41:26 + [ -e /tmp/ssh_known_hosts ] 02:41:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:41:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:41:26 + sudo tee -a /etc/ssh/ssh_known_hosts 02:41:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:26 02:41:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:27 0.1.4: Pulling from edgex-devops/py-git-semver 02:41:27 b85a868b505f: Pulling fs layer 02:41:27 e2be974225ed: Pulling fs layer 02:41:27 339a4e72a1f5: Pulling fs layer 02:41:27 988bab9f4d93: Pulling fs layer 02:41:27 1469e6f7b9e6: Pulling fs layer 02:41:27 eaf3925da568: Pulling fs layer 02:41:27 bab4dde63d76: Pulling fs layer 02:41:27 bde34c3a00c8: Pulling fs layer 02:41:27 b352a97aabf1: Pulling fs layer 02:41:27 4872d77fe225: Pulling fs layer 02:41:27 5851b861e8e6: Pulling fs layer 02:41:27 988bab9f4d93: Waiting 02:41:27 bab4dde63d76: Waiting 02:41:27 bde34c3a00c8: Waiting 02:41:27 b352a97aabf1: Waiting 02:41:27 eaf3925da568: Waiting 02:41:27 4872d77fe225: Waiting 02:41:27 5851b861e8e6: Waiting 02:41:27 1469e6f7b9e6: Waiting 02:41:27 e2be974225ed: Verifying Checksum 02:41:27 e2be974225ed: Download complete 02:41:27 988bab9f4d93: Download complete 02:41:27 339a4e72a1f5: Verifying Checksum 02:41:27 339a4e72a1f5: Download complete 02:41:27 eaf3925da568: Verifying Checksum 02:41:27 eaf3925da568: Download complete 02:41:27 1469e6f7b9e6: Verifying Checksum 02:41:27 1469e6f7b9e6: Download complete 02:41:27 b352a97aabf1: Verifying Checksum 02:41:27 b352a97aabf1: Download complete 02:41:27 4872d77fe225: Download complete 02:41:27 5851b861e8e6: Verifying Checksum 02:41:27 5851b861e8e6: Download complete 02:41:27 b85a868b505f: Verifying Checksum 02:41:27 b85a868b505f: Download complete 02:41:27 bab4dde63d76: Verifying Checksum 02:41:27 bab4dde63d76: Download complete 02:41:28 b85a868b505f: Pull complete 02:41:28 e2be974225ed: Pull complete 02:41:29 339a4e72a1f5: Pull complete 02:41:29 988bab9f4d93: Pull complete 02:41:29 1469e6f7b9e6: Pull complete 02:41:29 eaf3925da568: Pull complete 02:41:31 bab4dde63d76: Pull complete 02:41:31 bde34c3a00c8: Pull complete 02:41:31 b352a97aabf1: Pull complete 02:41:31 4872d77fe225: Pull complete 02:41:31 5851b861e8e6: Pull complete 02:41:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:31 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:41:31 $ 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 02:41:35 $ docker top 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c -eo pid,comm 02:41: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). 02:41:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:35 [ssh-agent] Looking for ssh-agent implementation... 02:41:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:35 $ docker exec 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c ssh-agent 02:41:36 SSH_AUTH_SOCK=/tmp/ssh-DdIv5jJXsCFB/agent.32 02:41:36 SSH_AGENT_PID=39 02:41:36 Running ssh-add (command line suppressed) 02:41:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16577935231348444299.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16577935231348444299.key) 02:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:36 + git tag --points-at HEAD [Pipeline] } 02:41:36 $ docker exec --env ******** --env ******** 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c ssh-agent -k 02:41:36 unset SSH_AUTH_SOCK; 02:41:36 unset SSH_AGENT_PID; 02:41:36 echo Agent pid 39 killed; 02:41:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:36 [ssh-agent] Looking for ssh-agent implementation... 02:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:36 $ docker exec 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c ssh-agent 02:41:36 SSH_AUTH_SOCK=/tmp/ssh-rNy6XSC0lu05/agent.72 02:41:36 SSH_AGENT_PID=78 02:41:36 Running ssh-add (command line suppressed) 02:41:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14995371650821697827.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14995371650821697827.key) 02:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:37 + git semver init 02:41:37 2024-03-18 02:41:37,420 [run_init] DEBUG init version:0.0.0 force:False 02:41:37 2024-03-18 02:41:37,421 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:41:37 2024-03-18 02:41:37,421 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:41:37 2024-03-18 02:41:37,421 [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) 02:41:38 2024-03-18 02:41:38,381 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:41:38 2024-03-18 02:41:38,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:41:38 2024-03-18 02:41:38,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:41:38 2024-03-18 02:41:38,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:41:38 3.2.0-dev.10 [Pipeline] } 02:41:38 $ docker exec --env ******** --env ******** 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c ssh-agent -k 02:41:38 unset SSH_AUTH_SOCK; 02:41:38 unset SSH_AGENT_PID; 02:41:38 echo Agent pid 78 killed; 02:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:38 + git semver [Pipeline] } 02:41:39 $ docker stop --time=1 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c 02:41:40 $ docker rm -f --volumes 4adedb683529b75f57a3a6c978f5419f29a479c171afebf4bb9f65ce0c32425c [Pipeline] // withDockerContainer [Pipeline] sh 02:41:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:41 Stashed 1 file(s) [Pipeline] echo 02:41:41 [edgeXSemver]: initialized semver on version 3.2.0-dev.10 [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 02:41:41 provisioning config files... 02:41:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7888304856538222585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:41 ---> ****-login.sh 02:41:41 nexus3.edgexfoundry.org:10001 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 nexus3.edgexfoundry.org:10002 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 nexus3.edgexfoundry.org:10003 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 nexus3.edgexfoundry.org:10004 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 ****.io 02:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:42 Configure a credential helper to remove this warning. See 02:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:42 02:41:42 Login Succeeded 02:41:42 ---> ****-login.sh ends [Pipeline] } 02:41:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:42 ========================================================= 02:41:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:41:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:42 + 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 . 02:41:42 Sending build context to Docker daemon 14.94MB 02:41:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:41:42 Step 2/12 : FROM ${BASE} AS builder 02:41:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:41:42 7264a8db6415: Pulling fs layer 02:41:42 c4d48a809fc2: Pulling fs layer 02:41:42 4f1c88b9dad5: Pulling fs layer 02:41:42 ad3a456e5733: Pulling fs layer 02:41:42 69c7f0334f64: Pulling fs layer 02:41:42 1f1c1a5573a3: Pulling fs layer 02:41:42 ce7588e14bc9: Pulling fs layer 02:41:42 b5e4710f87ac: Pulling fs layer 02:41:42 1f1c1a5573a3: Waiting 02:41:42 ce7588e14bc9: Waiting 02:41:42 b5e4710f87ac: Waiting 02:41:42 ad3a456e5733: Waiting 02:41:42 c4d48a809fc2: Download complete 02:41:42 ad3a456e5733: Verifying Checksum 02:41:42 ad3a456e5733: Download complete 02:41:42 69c7f0334f64: Download complete 02:41:42 7264a8db6415: Download complete 02:41:42 1f1c1a5573a3: Verifying Checksum 02:41:42 1f1c1a5573a3: Download complete 02:41:42 7264a8db6415: Pull complete 02:41:43 b5e4710f87ac: Verifying Checksum 02:41:43 b5e4710f87ac: Download complete 02:41:43 c4d48a809fc2: Pull complete 02:41:43 4f1c88b9dad5: Verifying Checksum 02:41:43 4f1c88b9dad5: Download complete 02:41:43 ce7588e14bc9: Verifying Checksum 02:41:43 ce7588e14bc9: Download complete 02:41:46 4f1c88b9dad5: Pull complete 02:41:46 ad3a456e5733: Pull complete 02:41:46 69c7f0334f64: Pull complete 02:41:46 1f1c1a5573a3: Pull complete 02:41:49 ce7588e14bc9: Pull complete 02:41:49 b5e4710f87ac: Pull complete 02:41:49 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:41:49 ---> 88b5674ff536 02:41:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:41:54 ---> Running in 7378e8a58fca 02:41:54 Removing intermediate container 7378e8a58fca 02:41:54 ---> 7d5d2e945914 02:41:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:54 ---> Running in b45f34fcddf7 02:41:54 Removing intermediate container b45f34fcddf7 02:41:54 ---> b41d42bbf32e 02:41:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:41:54 ---> Running in 17ab50c59721 02:41:54 Removing intermediate container 17ab50c59721 02:41:54 ---> 7ceca953a542 02:41:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:41:54 ---> Running in f4c564bab36f 02:41:54 Removing intermediate container f4c564bab36f 02:41:54 ---> 141691826b07 02:41:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:41:54 ---> Running in dbda42757e56 02:41:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:41:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:41:55 (1/4) Installing openssh-keygen (9.3_p2-r1) 02:41:55 (2/4) Installing libedit (20221030.3.1-r1) 02:41:55 (3/4) Installing openssh-client-common (9.3_p2-r1) 02:41:55 (4/4) Installing openssh-client-default (9.3_p2-r1) 02:41:55 Executing busybox-1.36.1-r5.trigger 02:41:55 OK: 268 MiB in 56 packages 02:41:55 Removing intermediate container dbda42757e56 02:41:55 ---> d8ec2732b2a5 02:41:55 Step 8/12 : WORKDIR /device-mqtt-go 02:41:55 ---> Running in 22bb3d92c9dc 02:41:55 Removing intermediate container 22bb3d92c9dc 02:41:55 ---> 39f8b7267afa 02:41:55 Step 9/12 : COPY go.mod vendor* ./ 02:41:55 ---> d45746ce69d8 02:41:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:56 ---> Running in 6c136fe8a6b9 02:41:56 Still waiting to schedule task 02:41:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-243’ is offline 02:42:28 Removing intermediate container 6c136fe8a6b9 02:42:28 ---> 12a32636ca59 02:42:28 Step 11/12 : COPY . . 02:42:28 ---> 3f4fae372841 02:42:28 Step 12/12 : RUN $MAKE 02:42:28 ---> Running in e80ff0503ab6 02:42:28 noop 02:42:28 Removing intermediate container e80ff0503ab6 02:42:28 ---> c2503e7d8a2a 02:42:28 Successfully built c2503e7d8a2a 02:42:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:28 + docker inspect -f . ci-base-image-x86_64 02:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:28 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:42:28 $ 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 02:42:28 $ docker top 040ab4b5fffff1f3d012f366270d8c44cddf1631788a0a14263e3b687abab338 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:29 + go version 02:42:29 go version go1.21.0 linux/amd64 [Pipeline] } 02:42:29 $ docker stop --time=1 040ab4b5fffff1f3d012f366270d8c44cddf1631788a0a14263e3b687abab338 02:42:30 $ docker rm -f --volumes 040ab4b5fffff1f3d012f366270d8c44cddf1631788a0a14263e3b687abab338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:30 + docker inspect -f . ci-base-image-x86_64 02:42:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:31 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:42:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:42:31 $ docker top 88ec931e79de8a9798e19bb40fb2d1da0119d32fa8bb12909d10db83433083ee -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:42:32 + make test 02:42:32 go test ./... -coverprofile=coverage.out ./... 02:42:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:42:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:42:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:42:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 02:42:51 go vet ./... 02:42:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:42:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:42:54 ./bin/test-attribution-txt.sh 02:42:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 02:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:42:54 $ docker stop --time=1 88ec931e79de8a9798e19bb40fb2d1da0119d32fa8bb12909d10db83433083ee 02:42:57 $ docker rm -f --volumes 88ec931e79de8a9798e19bb40fb2d1da0119d32fa8bb12909d10db83433083ee [Pipeline] // withDockerContainer [Pipeline] sh 02:42:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:42:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:59 + ls -al . 02:42:59 total 184 02:42:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 02:42 . 02:42:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:41 .. 02:42:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 02:41 .dockerignore 02:42:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 02:42 .git 02:42:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:41 .github 02:42:59 -rw-rw-r-- 1 jenkins jenkins 264 Mar 18 02:41 .gitignore 02:42:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 02:41 .golangci.yml 02:42:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 02:41 .semver 02:42:59 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 18 02:41 Attribution.txt 02:42:59 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 18 02:41 CHANGELOG.md 02:42:59 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 18 02:41 Dockerfile 02:42:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 02:41 GOVERNANCE.md 02:42:59 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 02:41 Jenkinsfile 02:42:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 02:41 LICENSE 02:42:59 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 18 02:41 Makefile 02:42:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 02:41 OWNERS.md 02:42:59 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 18 02:41 README.md 02:42:59 -rw-rw-r-- 1 jenkins jenkins 12 Mar 18 02:41 VERSION 02:42:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:41 bin 02:42:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:41 cmd 02:42:59 -rw-r--r-- 1 jenkins jenkins 18506 Mar 18 02:42 coverage.out 02:42:59 -rw-rw-r-- 1 jenkins jenkins 3867 Mar 18 02:41 go.mod 02:42:59 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 18 02:41 go.sum 02:42:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:41 internal 02:42:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:41 mock 02:42:59 -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 02:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:59 + 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=f31dc60183bea012cbe15166dadf947b4e0fce38 --label arch=amd64 --label version=3.2.0-dev.10 . 02:42:59 Sending build context to Docker daemon 14.96MB 02:42:59 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:42:59 Step 2/25 : FROM ${BASE} AS builder 02:42:59 ---> c2503e7d8a2a 02:42:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:42:59 ---> Running in 474d865906a6 02:42:59 Removing intermediate container 474d865906a6 02:42:59 ---> 619083fd636d 02:42:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:00 ---> Running in d4667dac1f78 02:43:00 Removing intermediate container d4667dac1f78 02:43:00 ---> b83f269fee81 02:43:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:00 ---> Running in 3e9c5b370c3f 02:43:00 Removing intermediate container 3e9c5b370c3f 02:43:00 ---> 80a26f7e2145 02:43:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:43:00 ---> Running in b50fc8dedc32 02:43:00 Removing intermediate container b50fc8dedc32 02:43:00 ---> 1b55f3c89db1 02:43:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:00 ---> Running in 156e7dd213b4 02:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:43:01 OK: 268 MiB in 56 packages 02:43:01 Removing intermediate container 156e7dd213b4 02:43:01 ---> 92cfaa01d926 02:43:01 Step 8/25 : WORKDIR /device-mqtt-go 02:43:01 ---> Running in 33b7199c4477 02:43:01 Removing intermediate container 33b7199c4477 02:43:01 ---> 0b578659b49f 02:43:01 Step 9/25 : COPY go.mod vendor* ./ 02:43:01 ---> 177643a0de1e 02:43:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:02 ---> Running in 3cfc9f9eff99 02:43:03 Removing intermediate container 3cfc9f9eff99 02:43:03 ---> a9d90c02ba4f 02:43:03 Step 11/25 : COPY . . 02:43:03 ---> ee33562593cf 02:43:03 Step 12/25 : RUN $MAKE 02:43:03 ---> Running in fcdff761d85e 02:43:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:43:26 Removing intermediate container fcdff761d85e 02:43:26 ---> 9e79df9b5cd3 02:43:26 Step 13/25 : FROM alpine:3.18 02:43:26 3.18: Pulling from library/alpine 02:43:26 619be1103602: Pulling fs layer 02:43:26 619be1103602: Verifying Checksum 02:43:26 619be1103602: Download complete 02:43:26 619be1103602: Pull complete 02:43:26 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 02:43:26 Status: Downloaded newer image for alpine:3.18 02:43:26 ---> d3782b16ccc9 02:43:26 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:43:26 ---> Running in bc871c9c9b78 02:43:26 Removing intermediate container bc871c9c9b78 02:43:26 ---> 4937cb4a4fc9 02:43:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:43:26 ---> Running in 83e5be8ae61b 02:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:43:26 (1/1) Installing dumb-init (1.2.5-r2) 02:43:26 Executing busybox-1.36.1-r5.trigger 02:43:26 OK: 7 MiB in 16 packages 02:43:27 Removing intermediate container 83e5be8ae61b 02:43:27 ---> 7098bca081c3 02:43:27 Step 16/25 : RUN apk --no-cache upgrade 02:43:27 ---> Running in a121f20ee90b 02:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:43:27 OK: 7 MiB in 16 packages 02:43:28 Removing intermediate container a121f20ee90b 02:43:28 ---> 967cf73a3366 02:43:28 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:43:29 ---> 3883b2fcf326 02:43:29 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:43:29 ---> de7be3b6e31b 02:43:29 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:43:29 ---> 56db34c1dd55 02:43:29 Step 20/25 : EXPOSE 59982 02:43:29 ---> Running in c03d3ec59685 02:43:30 Removing intermediate container c03d3ec59685 02:43:30 ---> cb500bf47df2 02:43:30 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:43:30 ---> Running in 9d2ee5231c8d 02:43:30 Removing intermediate container 9d2ee5231c8d 02:43:30 ---> aec52ac30cfb 02:43:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:43:30 ---> Running in a01ae9ad9ee6 02:43:30 Removing intermediate container a01ae9ad9ee6 02:43:30 ---> fd2df12cbd26 02:43:30 Step 23/25 : LABEL arch=amd64 02:43:30 ---> Running in e17aaf252a23 02:43:30 Removing intermediate container e17aaf252a23 02:43:30 ---> eb607b0ae7cc 02:43:30 Step 24/25 : LABEL git_sha=f31dc60183bea012cbe15166dadf947b4e0fce38 02:43:30 ---> Running in a95cfc33500c 02:43:30 Removing intermediate container a95cfc33500c 02:43:30 ---> b5c60b651876 02:43:30 Step 25/25 : LABEL version=3.2.0-dev.10 02:43:30 ---> Running in 0e2bf94c5829 02:43:30 Removing intermediate container 0e2bf94c5829 02:43:30 ---> b5739be56fb4 02:43:30 [Warning] One or more build-args [ARCH] were not consumed 02:43:30 Successfully built b5739be56fb4 02:43:30 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:30 provisioning config files... 02:43:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1638314173450937456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:30 ---> ****-login.sh 02:43:30 nexus3.edgexfoundry.org:10001 02:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:30 Configure a credential helper to remove this warning. See 02:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:30 02:43:30 Login Succeeded 02:43:30 nexus3.edgexfoundry.org:10002 02:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:30 Configure a credential helper to remove this warning. See 02:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:30 02:43:30 Login Succeeded 02:43:30 nexus3.edgexfoundry.org:10003 02:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:31 Configure a credential helper to remove this warning. See 02:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:31 02:43:31 Login Succeeded 02:43:31 nexus3.edgexfoundry.org:10004 02:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:31 Configure a credential helper to remove this warning. See 02:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:31 02:43:31 Login Succeeded 02:43:31 ****.io 02:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:31 Configure a credential helper to remove this warning. See 02:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:31 02:43:31 Login Succeeded 02:43:31 ---> ****-login.sh ends [Pipeline] } 02:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:43:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:43:31 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:43:31 f31dc60183bea012cbe15166dadf947b4e0fce38 02:43:31 latest 02:43:31 3.2.0-dev.10 02:43:31 f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:43:31 main 02:43:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38 02:43:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:43:32 b9c7dcf8aa69: Preparing 02:43:32 d5091c1db47c: Preparing 02:43:32 7a9a14abe407: Preparing 02:43:32 ae6bc980a983: Preparing 02:43:32 1348b257bf1c: Preparing 02:43:32 aedc3bda2944: Preparing 02:43:32 aedc3bda2944: Waiting 02:43:32 d5091c1db47c: Pushed 02:43:32 aedc3bda2944: Layer already exists 02:43:32 1348b257bf1c: Pushed 02:43:32 b9c7dcf8aa69: Pushed 02:43:32 ae6bc980a983: Pushed 02:43:34 7a9a14abe407: Pushed 02:43:34 f31dc60183bea012cbe15166dadf947b4e0fce38: digest: sha256:2bae82ebb5de43f5b44db2c1f8ea8edf96aca7f21ede3d1516a065b66d8780f5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:43:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:43:35 b9c7dcf8aa69: Preparing 02:43:35 d5091c1db47c: Preparing 02:43:35 7a9a14abe407: Preparing 02:43:35 ae6bc980a983: Preparing 02:43:35 1348b257bf1c: Preparing 02:43:35 aedc3bda2944: Preparing 02:43:35 aedc3bda2944: Waiting 02:43:35 ae6bc980a983: Layer already exists 02:43:35 1348b257bf1c: Layer already exists 02:43:35 d5091c1db47c: Layer already exists 02:43:35 b9c7dcf8aa69: Layer already exists 02:43:35 aedc3bda2944: Layer already exists 02:43:35 7a9a14abe407: Layer already exists 02:43:35 latest: digest: sha256:2bae82ebb5de43f5b44db2c1f8ea8edf96aca7f21ede3d1516a065b66d8780f5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.10 02:43:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:43:36 b9c7dcf8aa69: Preparing 02:43:36 d5091c1db47c: Preparing 02:43:36 7a9a14abe407: Preparing 02:43:36 ae6bc980a983: Preparing 02:43:36 1348b257bf1c: Preparing 02:43:36 aedc3bda2944: Preparing 02:43:36 aedc3bda2944: Waiting 02:43:36 1348b257bf1c: Layer already exists 02:43:36 ae6bc980a983: Layer already exists 02:43:36 d5091c1db47c: Layer already exists 02:43:36 b9c7dcf8aa69: Layer already exists 02:43:36 aedc3bda2944: Layer already exists 02:43:36 7a9a14abe407: Layer already exists 02:43:36 3.2.0-dev.10: digest: sha256:2bae82ebb5de43f5b44db2c1f8ea8edf96aca7f21ede3d1516a065b66d8780f5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:43:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:43:37 b9c7dcf8aa69: Preparing 02:43:37 d5091c1db47c: Preparing 02:43:37 7a9a14abe407: Preparing 02:43:37 ae6bc980a983: Preparing 02:43:37 1348b257bf1c: Preparing 02:43:37 aedc3bda2944: Preparing 02:43:37 aedc3bda2944: Waiting 02:43:37 ae6bc980a983: Layer already exists 02:43:37 b9c7dcf8aa69: Layer already exists 02:43:37 1348b257bf1c: Layer already exists 02:43:37 7a9a14abe407: Layer already exists 02:43:37 d5091c1db47c: Layer already exists 02:43:37 aedc3bda2944: Layer already exists 02:43:37 f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10: digest: sha256:2bae82ebb5de43f5b44db2c1f8ea8edf96aca7f21ede3d1516a065b66d8780f5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:43:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:43:37 b9c7dcf8aa69: Preparing 02:43:37 d5091c1db47c: Preparing 02:43:37 7a9a14abe407: Preparing 02:43:37 ae6bc980a983: Preparing 02:43:37 1348b257bf1c: Preparing 02:43:37 aedc3bda2944: Preparing 02:43:37 d5091c1db47c: Layer already exists 02:43:37 ae6bc980a983: Layer already exists 02:43:37 7a9a14abe407: Layer already exists 02:43:37 b9c7dcf8aa69: Layer already exists 02:43:37 1348b257bf1c: Layer already exists 02:43:37 aedc3bda2944: Layer already exists 02:43:37 main: digest: sha256:2bae82ebb5de43f5b44db2c1f8ea8edf96aca7f21ede3d1516a065b66d8780f5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:43:37 ===================================================== [Pipeline] echo 02:43:37 taggedImages: 02:43:37 - nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38 02:43:37 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:43:37 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.10 02:43:37 - nexus3.edgexfoundry.org:10004/device-mqtt:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:43:37 - 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 02:43:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:38 02:43:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:38 latest: Pulling from edgex-lftools-log-publisher 02:43:38 5eb5b503b376: Pulling fs layer 02:43:38 5c69ac0246d0: Pulling fs layer 02:43:38 ec43610c2a17: Pulling fs layer 02:43:38 3a2ae6a8a46f: Pulling fs layer 02:43:38 33b1e0a273af: Pulling fs layer 02:43:38 3a2ae6a8a46f: Waiting 02:43:38 5d3b04190fa2: Pulling fs layer 02:43:38 2f39f015ded8: Pulling fs layer 02:43:38 5d3b04190fa2: Waiting 02:43:38 2f39f015ded8: Waiting 02:43:38 5c69ac0246d0: Download complete 02:43:38 3a2ae6a8a46f: Verifying Checksum 02:43:38 3a2ae6a8a46f: Download complete 02:43:38 ec43610c2a17: Verifying Checksum 02:43:38 ec43610c2a17: Download complete 02:43:38 5d3b04190fa2: Verifying Checksum 02:43:38 5d3b04190fa2: Download complete 02:43:38 33b1e0a273af: Verifying Checksum 02:43:38 33b1e0a273af: Download complete 02:43:38 5eb5b503b376: Verifying Checksum 02:43:38 5eb5b503b376: Download complete 02:43:39 2f39f015ded8: Verifying Checksum 02:43:39 2f39f015ded8: Download complete 02:43:39 5eb5b503b376: Pull complete 02:43:39 5c69ac0246d0: Pull complete 02:43:40 ec43610c2a17: Pull complete 02:43:40 3a2ae6a8a46f: Pull complete 02:43:40 33b1e0a273af: Pull complete 02:43:40 5d3b04190fa2: Pull complete 02:43:44 2f39f015ded8: Pull complete 02:43:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:45 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:43:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:43:50 $ docker top 0b0f34928db0e6383597a526ce34a52154617c623f38e8371b4ef3191fc07b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:50 ---> job-cost.sh 02:43:50 lf-activate-venv: SKIPPING 02:43:50 INFO: No Stack... 02:43:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:43:51 INFO: Archiving Costs [Pipeline] sh 02:43:51 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:43:51 + cut -d, -f6 [Pipeline] lock 02:43:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] 02:43:51 Resource [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] did not exist. Created. 02:43:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:43:52 + echo total: 0.2199999988079071 [Pipeline] stash 02:43:52 Stashed 1 file(s) [Pipeline] } 02:43:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 02:43:52 $ docker stop --time=1 0b0f34928db0e6383597a526ce34a52154617c623f38e8371b4ef3191fc07b72 02:43:53 $ docker rm -f --volumes 0b0f34928db0e6383597a526ce34a52154617c623f38e8371b4ef3191fc07b72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:44:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-246 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:44:44 Running in /w/workspace/device-mqtt-go/163 [Pipeline] { [Pipeline] checkout 02:44:47 The recommended git tool is: git 02:44:52 using credential edgex-jenkins-ssh 02:44:52 Cloning the remote Git repository 02:44:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:44:52 > git init /w/workspace/device-mqtt-go/163 # timeout=10 02:44:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:44:52 > git --version # timeout=10 02:44:52 > git --version # 'git version 2.25.1' 02:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:44:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:55 Avoid second fetch 02:44:55 Checking out Revision f31dc60183bea012cbe15166dadf947b4e0fce38 (main) 02:44:55 > git config core.sparsecheckout # timeout=10 02:44:55 > git checkout -f f31dc60183bea012cbe15166dadf947b4e0fce38 # timeout=10 02:44:56 Commit message: "Merge pull request #668 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:45:00 % Total % Received % Xferd Average Speed Time Time Time Current 02:45:00 Dload Upload Total Spent Left Speed 02:45:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 272k 0 --:--:-- --:--:-- --:--:-- 272k [Pipeline] sh 02:45:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:45:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:45:01 + sudo tee /etc/docker/daemon.new 02:45:01 { 02:45:01 "registry-mirrors": [ 02:45:01 "https://nexus3.edgexfoundry.org:10001" 02:45:01 ], 02:45:01 "bip": "10.250.0.254/24", 02:45:01 "hosts": [ 02:45:01 "tcp://0.0.0.0:5555", 02:45:01 "unix:///var/run/docker.sock" 02:45:01 ], 02:45:01 "mtu": 1458, 02:45:01 "selinux-enabled": true, 02:45:01 "seccomp-profile": "/etc/docker/seccomp.json" 02:45:01 } [Pipeline] sh 02:45:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:45:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:20 provisioning config files... 02:45:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/163@tmp/config7980158438560298122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:21 ---> ****-login.sh 02:45:21 nexus3.edgexfoundry.org:10001 02:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:21 Configure a credential helper to remove this warning. See 02:45:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:21 02:45:21 Login Succeeded 02:45:21 nexus3.edgexfoundry.org:10002 02:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:21 Configure a credential helper to remove this warning. See 02:45:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:21 02:45:21 Login Succeeded 02:45:21 nexus3.edgexfoundry.org:10003 02:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:22 Configure a credential helper to remove this warning. See 02:45:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:22 02:45:22 Login Succeeded 02:45:22 nexus3.edgexfoundry.org:10004 02:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:22 Configure a credential helper to remove this warning. See 02:45:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:22 02:45:22 Login Succeeded 02:45:22 ****.io 02:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:23 Configure a credential helper to remove this warning. See 02:45:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:23 02:45:23 Login Succeeded 02:45:23 ---> ****-login.sh ends [Pipeline] } 02:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:45:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:45:23 ========================================================= 02:45:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:45:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:24 + 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 . 02:45:24 Sending build context to Docker daemon 7.573MB 02:45:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:45:24 Step 2/12 : FROM ${BASE} AS builder 02:45:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:24 9fda8d8052c6: Pulling fs layer 02:45:24 5d54e960e981: Pulling fs layer 02:45:24 c4a7e357bf2a: Pulling fs layer 02:45:24 f0e02332f6b5: Pulling fs layer 02:45:24 872ee5b61b7b: Pulling fs layer 02:45:24 0c6a40ed1a82: Pulling fs layer 02:45:24 94ae7d8d031c: Pulling fs layer 02:45:24 f0e02332f6b5: Waiting 02:45:24 872ee5b61b7b: Waiting 02:45:24 0c6a40ed1a82: Waiting 02:45:24 94ae7d8d031c: Waiting 02:45:24 5d54e960e981: Verifying Checksum 02:45:24 5d54e960e981: Download complete 02:45:24 f0e02332f6b5: Download complete 02:45:24 872ee5b61b7b: Verifying Checksum 02:45:24 872ee5b61b7b: Download complete 02:45:24 9fda8d8052c6: Verifying Checksum 02:45:24 9fda8d8052c6: Download complete 02:45:25 94ae7d8d031c: Verifying Checksum 02:45:25 94ae7d8d031c: Download complete 02:45:25 9fda8d8052c6: Pull complete 02:45:26 5d54e960e981: Pull complete 02:45:26 c4a7e357bf2a: Verifying Checksum 02:45:26 c4a7e357bf2a: Download complete 02:45:27 0c6a40ed1a82: Verifying Checksum 02:45:27 0c6a40ed1a82: Download complete 02:45:39 c4a7e357bf2a: Pull complete 02:45:39 f0e02332f6b5: Pull complete 02:45:39 872ee5b61b7b: Pull complete 02:45:46 0c6a40ed1a82: Pull complete 02:45:46 94ae7d8d031c: Pull complete 02:45:46 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:45:46 ---> 86de565de09d 02:45:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:45:48 ---> Running in f83ce0dfe493 02:45:48 Removing intermediate container f83ce0dfe493 02:45:48 ---> 87abf669f125 02:45:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:45:48 ---> Running in 8fcd7b8aeebe 02:45:49 Removing intermediate container 8fcd7b8aeebe 02:45:49 ---> 935803e1ea47 02:45:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:49 ---> Running in d84798c2df83 02:45:49 Removing intermediate container d84798c2df83 02:45:49 ---> ef94035bfdbf 02:45:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:45:49 ---> Running in 715de066bbca 02:45:49 Removing intermediate container 715de066bbca 02:45:49 ---> 934827eab1e7 02:45:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:49 ---> Running in 06a0658df672 02:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:52 (1/4) Installing openssh-keygen (9.3_p2-r1) 02:45:52 (2/4) Installing libedit (20221030.3.1-r1) 02:45:52 (3/4) Installing openssh-client-common (9.3_p2-r1) 02:45:52 (4/4) Installing openssh-client-default (9.3_p2-r1) 02:45:52 Executing busybox-1.36.1-r5.trigger 02:45:52 OK: 271 MiB in 56 packages 02:45:53 Removing intermediate container 06a0658df672 02:45:53 ---> 1f9a1cc3cdce 02:45:53 Step 8/12 : WORKDIR /device-mqtt-go 02:45:53 ---> Running in 33b9ff357c78 02:45:53 Removing intermediate container 33b9ff357c78 02:45:53 ---> f81ab5e5bd4e 02:45:53 Step 9/12 : COPY go.mod vendor* ./ 02:45:54 ---> ff5c429ccc61 02:45:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:54 ---> Running in 645ae4030962 02:47:02 Removing intermediate container 645ae4030962 02:47:02 ---> fcc7d91b3dbe 02:47:02 Step 11/12 : COPY . . 02:47:02 ---> 3d59c58ea24a 02:47:02 Step 12/12 : RUN $MAKE 02:47:02 ---> Running in 5af6fa4192c3 02:47:02 noop 02:47:02 Removing intermediate container 5af6fa4192c3 02:47:02 ---> 5e78eb3b597b 02:47:02 Successfully built 5e78eb3b597b 02:47:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:02 + docker inspect -f . ci-base-image-arm64 02:47:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:02 prd-ubuntu20.04-docker-arm64-4c-16g-246 does not seem to be running inside a container 02:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/163 -v /w/workspace/device-mqtt-go/163:/w/workspace/device-mqtt-go/163:rw,z -v /w/workspace/device-mqtt-go/163@tmp:/w/workspace/device-mqtt-go/163@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 02:47:04 $ docker top a5f286473af71d12f8429765eb36254e8020de605a05a1b618c182507e39c012 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:05 + go version 02:47:05 go version go1.21.0 linux/arm64 [Pipeline] } 02:47:05 $ docker stop --time=1 a5f286473af71d12f8429765eb36254e8020de605a05a1b618c182507e39c012 02:47:06 $ docker rm -f --volumes a5f286473af71d12f8429765eb36254e8020de605a05a1b618c182507e39c012 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:07 + docker inspect -f . ci-base-image-arm64 02:47:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:07 prd-ubuntu20.04-docker-arm64-4c-16g-246 does not seem to be running inside a container 02:47:07 $ 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/163 -v /w/workspace/device-mqtt-go/163:/w/workspace/device-mqtt-go/163:rw,z -v /w/workspace/device-mqtt-go/163@tmp:/w/workspace/device-mqtt-go/163@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 02:47:08 $ docker top 26cf8401dd1b3270935f83fbabd9fdafcca7ea1c5b9bbde3fb37249f8fae69aa -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:09 + git config --global --add safe.directory /w/workspace/device-mqtt-go/163 [Pipeline] fileExists [Pipeline] sh 02:47:09 + make test 02:47:09 go test ./... -coverprofile=coverage.out ./... 02:47:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:48:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:48:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:48:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 22.8% of statements 02:48:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:48:49 go vet ./... 02:49:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:08 ./bin/test-attribution-txt.sh 02:49:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 02:49:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:49:08 $ docker stop --time=1 26cf8401dd1b3270935f83fbabd9fdafcca7ea1c5b9bbde3fb37249f8fae69aa 02:49:10 $ docker rm -f --volumes 26cf8401dd1b3270935f83fbabd9fdafcca7ea1c5b9bbde3fb37249f8fae69aa [Pipeline] // withDockerContainer [Pipeline] sh 02:49:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:11 Warning: overwriting stash ‘coverage-report’ 02:49:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:12 + ls -al . 02:49:12 total 180 02:49:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 02:47 . 02:49:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:44 .. 02:49:12 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 02:44 .dockerignore 02:49:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 02:44 .git 02:49:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:44 .github 02:49:12 -rw-rw-r-- 1 jenkins jenkins 264 Mar 18 02:44 .gitignore 02:49:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 02:44 .golangci.yml 02:49:12 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 18 02:44 Attribution.txt 02:49:12 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 18 02:44 CHANGELOG.md 02:49:12 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 18 02:44 Dockerfile 02:49:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 02:44 GOVERNANCE.md 02:49:12 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 02:44 Jenkinsfile 02:49:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 02:44 LICENSE 02:49:12 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 18 02:44 Makefile 02:49:12 -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 02:44 OWNERS.md 02:49:12 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 18 02:44 README.md 02:49:12 -rw-rw-r-- 1 jenkins jenkins 12 Mar 18 02:41 VERSION 02:49:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:44 bin 02:49:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:44 cmd 02:49:12 -rw-r--r-- 1 jenkins jenkins 18506 Mar 18 02:48 coverage.out 02:49:12 -rw-rw-r-- 1 jenkins jenkins 3867 Mar 18 02:44 go.mod 02:49:12 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 18 02:44 go.sum 02:49:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 02:44 internal 02:49:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:44 mock 02:49:12 -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:13 + 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=f31dc60183bea012cbe15166dadf947b4e0fce38 --label arch=arm64 --label version=3.2.0-dev.10 . 02:49:13 Sending build context to Docker daemon 7.592MB 02:49:13 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:49:13 Step 2/25 : FROM ${BASE} AS builder 02:49:13 ---> 5e78eb3b597b 02:49:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:49:13 ---> Running in 58a572c3a396 02:49:13 Removing intermediate container 58a572c3a396 02:49:13 ---> e6db2a36cd0d 02:49:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:14 ---> Running in 572fd5367b0c 02:49:14 Removing intermediate container 572fd5367b0c 02:49:14 ---> 9ea3247e74bc 02:49:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:49:14 ---> Running in add34872c688 02:49:14 Removing intermediate container add34872c688 02:49:14 ---> 336594ca4f7b 02:49:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:49:14 ---> Running in a769053bc5cc 02:49:15 Removing intermediate container a769053bc5cc 02:49:15 ---> 7b7299289675 02:49:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:15 ---> Running in 406e104f84e7 02:49:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:49:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:49:17 OK: 271 MiB in 56 packages 02:49:18 Removing intermediate container 406e104f84e7 02:49:18 ---> 8303ff890e36 02:49:18 Step 8/25 : WORKDIR /device-mqtt-go 02:49:18 ---> Running in 56cb331d1b9d 02:49:18 Removing intermediate container 56cb331d1b9d 02:49:18 ---> 4a74c4f4adb0 02:49:18 Step 9/25 : COPY go.mod vendor* ./ 02:49:19 ---> 7c37fe7906d3 02:49:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:19 ---> Running in 8b0ab1034417 02:49:21 Removing intermediate container 8b0ab1034417 02:49:21 ---> 78a4655e3867 02:49:21 Step 11/25 : COPY . . 02:49:22 ---> 5c38b107d02a 02:49:22 Step 12/25 : RUN $MAKE 02:49:22 ---> Running in 1149bde0b163 02:49:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:51:15 Removing intermediate container 1149bde0b163 02:51:15 ---> 7ce65a87afb3 02:51:15 Step 13/25 : FROM alpine:3.18 02:51:15 3.18: Pulling from library/alpine 02:51:15 c6b39de5b339: Pulling fs layer 02:51:15 c6b39de5b339: Verifying Checksum 02:51:15 c6b39de5b339: Download complete 02:51:15 c6b39de5b339: Pull complete 02:51:15 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 02:51:15 Status: Downloaded newer image for alpine:3.18 02:51:15 ---> 33abbf032149 02:51:15 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:51:15 ---> Running in df33c90d8ef6 02:51:15 Removing intermediate container df33c90d8ef6 02:51:15 ---> bb5129164a1e 02:51:15 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:51:15 ---> Running in 8a30004a10e7 02:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:51:15 (1/1) Installing dumb-init (1.2.5-r2) 02:51:15 Executing busybox-1.36.1-r5.trigger 02:51:15 OK: 8 MiB in 16 packages 02:51:15 Removing intermediate container 8a30004a10e7 02:51:15 ---> 689941a1e78c 02:51:15 Step 16/25 : RUN apk --no-cache upgrade 02:51:15 ---> Running in d5881054ce7f 02:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:51:15 OK: 8 MiB in 16 packages 02:51:15 Removing intermediate container d5881054ce7f 02:51:15 ---> 390db1aa9ba1 02:51:15 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:51:16 ---> b95a76a37ebf 02:51:16 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:51:16 ---> bab4b9ed3516 02:51:16 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:51:17 ---> e4ca407a5253 02:51:17 Step 20/25 : EXPOSE 59982 02:51:17 ---> Running in 9c2caa501d04 02:51:17 Removing intermediate container 9c2caa501d04 02:51:17 ---> 35df7f239388 02:51:17 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:51:17 ---> Running in f5272f4aebfe 02:51:17 Removing intermediate container f5272f4aebfe 02:51:17 ---> ac6e70f9fdfd 02:51:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:51:17 ---> Running in 6a2bd72266c7 02:51:18 Removing intermediate container 6a2bd72266c7 02:51:18 ---> 7a551481b050 02:51:18 Step 23/25 : LABEL arch=arm64 02:51:18 ---> Running in dfac625354d4 02:51:18 Removing intermediate container dfac625354d4 02:51:18 ---> 58ff30bf70aa 02:51:18 Step 24/25 : LABEL git_sha=f31dc60183bea012cbe15166dadf947b4e0fce38 02:51:18 ---> Running in 937cf0e31ac7 02:51:18 Removing intermediate container 937cf0e31ac7 02:51:18 ---> 1a6325e9fb85 02:51:18 Step 25/25 : LABEL version=3.2.0-dev.10 02:51:18 ---> Running in 78696b4eb450 02:51:19 Removing intermediate container 78696b4eb450 02:51:19 ---> e9aa6b96d61c 02:51:19 [Warning] One or more build-args [ARCH] were not consumed 02:51:19 Successfully built e9aa6b96d61c 02:51:19 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 02:51:19 provisioning config files... 02:51:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/163@tmp/config8263815169606128239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:19 ---> ****-login.sh 02:51:19 nexus3.edgexfoundry.org:10001 02:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:19 Configure a credential helper to remove this warning. See 02:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:19 02:51:19 Login Succeeded 02:51:19 nexus3.edgexfoundry.org:10002 02:51:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:20 Configure a credential helper to remove this warning. See 02:51:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:20 02:51:20 Login Succeeded 02:51:20 nexus3.edgexfoundry.org:10003 02:51:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:20 Configure a credential helper to remove this warning. See 02:51:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:20 02:51:20 Login Succeeded 02:51:20 nexus3.edgexfoundry.org:10004 02:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:21 Configure a credential helper to remove this warning. See 02:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:21 02:51:21 Login Succeeded 02:51:21 ****.io 02:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:21 Configure a credential helper to remove this warning. See 02:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:21 02:51:21 Login Succeeded 02:51:21 ---> ****-login.sh ends [Pipeline] } 02:51:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:51:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:51:21 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:51:21 f31dc60183bea012cbe15166dadf947b4e0fce38 02:51:21 latest 02:51:21 3.2.0-dev.10 02:51:21 f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:51:21 main 02:51:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38 02:51:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:51:22 7209a8373279: Preparing 02:51:22 6c1389b527bb: Preparing 02:51:22 d804e34afa2b: Preparing 02:51:22 cea22ee26ef5: Preparing 02:51:22 0e52cd1616cd: Preparing 02:51:22 7c504f21be85: Preparing 02:51:22 7c504f21be85: Waiting 02:51:22 cea22ee26ef5: Pushed 02:51:22 0e52cd1616cd: Pushed 02:51:22 7c504f21be85: Layer already exists 02:51:22 6c1389b527bb: Pushed 02:51:22 7209a8373279: Pushed 02:51:29 d804e34afa2b: Pushed 02:51:29 f31dc60183bea012cbe15166dadf947b4e0fce38: digest: sha256:3d063cef75fd9b218a24c1d6971d4c3b40993bee57d2b168ab2687ffe4f1dbf3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:51:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:51:30 7209a8373279: Preparing 02:51:30 6c1389b527bb: Preparing 02:51:30 d804e34afa2b: Preparing 02:51:30 cea22ee26ef5: Preparing 02:51:30 0e52cd1616cd: Preparing 02:51:30 7c504f21be85: Preparing 02:51:30 7c504f21be85: Waiting 02:51:30 7209a8373279: Layer already exists 02:51:30 cea22ee26ef5: Layer already exists 02:51:30 0e52cd1616cd: Layer already exists 02:51:30 6c1389b527bb: Layer already exists 02:51:30 d804e34afa2b: Layer already exists 02:51:30 7c504f21be85: Layer already exists 02:51:30 latest: digest: sha256:3d063cef75fd9b218a24c1d6971d4c3b40993bee57d2b168ab2687ffe4f1dbf3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.10 02:51:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:51:31 7209a8373279: Preparing 02:51:31 6c1389b527bb: Preparing 02:51:31 d804e34afa2b: Preparing 02:51:31 cea22ee26ef5: Preparing 02:51:31 0e52cd1616cd: Preparing 02:51:31 7c504f21be85: Preparing 02:51:31 7c504f21be85: Waiting 02:51:31 d804e34afa2b: Layer already exists 02:51:31 7209a8373279: Layer already exists 02:51:31 6c1389b527bb: Layer already exists 02:51:31 cea22ee26ef5: Layer already exists 02:51:31 0e52cd1616cd: Layer already exists 02:51:31 7c504f21be85: Layer already exists 02:51:31 3.2.0-dev.10: digest: sha256:3d063cef75fd9b218a24c1d6971d4c3b40993bee57d2b168ab2687ffe4f1dbf3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:51:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:51:32 7209a8373279: Preparing 02:51:32 6c1389b527bb: Preparing 02:51:32 d804e34afa2b: Preparing 02:51:32 cea22ee26ef5: Preparing 02:51:32 0e52cd1616cd: Preparing 02:51:32 7c504f21be85: Preparing 02:51:32 7c504f21be85: Waiting 02:51:32 7209a8373279: Layer already exists 02:51:32 d804e34afa2b: Layer already exists 02:51:32 6c1389b527bb: Layer already exists 02:51:32 0e52cd1616cd: Layer already exists 02:51:32 cea22ee26ef5: Layer already exists 02:51:32 7c504f21be85: Layer already exists 02:51:32 f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10: digest: sha256:3d063cef75fd9b218a24c1d6971d4c3b40993bee57d2b168ab2687ffe4f1dbf3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:51:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:51:32 7209a8373279: Preparing 02:51:32 6c1389b527bb: Preparing 02:51:32 d804e34afa2b: Preparing 02:51:32 cea22ee26ef5: Preparing 02:51:32 0e52cd1616cd: Preparing 02:51:32 7c504f21be85: Preparing 02:51:32 7c504f21be85: Waiting 02:51:32 6c1389b527bb: Layer already exists 02:51:32 d804e34afa2b: Layer already exists 02:51:32 7209a8373279: Layer already exists 02:51:32 cea22ee26ef5: Layer already exists 02:51:32 7c504f21be85: Layer already exists 02:51:32 0e52cd1616cd: Layer already exists 02:51:33 main: digest: sha256:3d063cef75fd9b218a24c1d6971d4c3b40993bee57d2b168ab2687ffe4f1dbf3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:51:33 ===================================================== [Pipeline] echo 02:51:33 taggedImages: 02:51:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38 02:51:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:51:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.10 02:51:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f31dc60183bea012cbe15166dadf947b4e0fce38-3.2.0-dev.10 02:51:33 - 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 02:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:33 02:51:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:34 arm64: Pulling from edgex-lftools-log-publisher 02:51:34 8998bd30e6a1: Pulling fs layer 02:51:34 04944245beec: Pulling fs layer 02:51:34 699f458cf7ca: Pulling fs layer 02:51:34 765212b225bb: Pulling fs layer 02:51:34 f23df028b6ca: Pulling fs layer 02:51:34 d65c8cfc05b1: Pulling fs layer 02:51:34 2437ff75d9bd: Pulling fs layer 02:51:34 f23df028b6ca: Waiting 02:51:34 d65c8cfc05b1: Waiting 02:51:34 765212b225bb: Waiting 02:51:34 2437ff75d9bd: Waiting 02:51:34 04944245beec: Verifying Checksum 02:51:34 04944245beec: Download complete 02:51:34 765212b225bb: Verifying Checksum 02:51:34 765212b225bb: Download complete 02:51:34 f23df028b6ca: Download complete 02:51:34 d65c8cfc05b1: Verifying Checksum 02:51:34 d65c8cfc05b1: Download complete 02:51:34 699f458cf7ca: Verifying Checksum 02:51:34 699f458cf7ca: Download complete 02:51:34 8998bd30e6a1: Download complete 02:51:37 2437ff75d9bd: Verifying Checksum 02:51:37 2437ff75d9bd: Download complete 02:51:39 8998bd30e6a1: Pull complete 02:51:40 04944245beec: Pull complete 02:51:41 699f458cf7ca: Pull complete 02:51:41 765212b225bb: Pull complete 02:51:42 f23df028b6ca: Pull complete 02:51:42 d65c8cfc05b1: Pull complete 02:52:01 2437ff75d9bd: Pull complete 02:52:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:52:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:01 prd-ubuntu20.04-docker-arm64-4c-16g-246 does not seem to be running inside a container 02:52:01 $ 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/163 -v /w/workspace/device-mqtt-go/163:/w/workspace/device-mqtt-go/163:rw,z -v /w/workspace/device-mqtt-go/163@tmp:/w/workspace/device-mqtt-go/163@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 02:52:03 $ docker top 90edc6782f6a4302b332c5aae757ce8bac4cb8b170ef49c33b8ade39bd959642 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:04 ---> job-cost.sh 02:52:04 lf-activate-venv: SKIPPING 02:52:04 INFO: No Stack... 02:52:04 INFO: Retrieving Pricing Info for: v3-standard-4 02:52:05 INFO: Archiving Costs [Pipeline] sh 02:52:06 + cat /w/workspace/device-mqtt-go/163/archives/cost.csv 02:52:06 + cut -d, -f6 [Pipeline] lock 02:52:06 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] 02:52:06 Resource [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] did not exist. Created. 02:52:06 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:07 /w/workspace/device-mqtt-go/163@tmp/durable-11d08d36/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:52:07 + echo total: 0.10999999940395355 [Pipeline] stash 02:52:07 Warning: overwriting stash ‘stack-cost’ 02:52:07 Stashed 1 file(s) [Pipeline] } 02:52:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:08 $ docker stop --time=1 90edc6782f6a4302b332c5aae757ce8bac4cb8b170ef49c33b8ade39bd959642 02:52:09 $ docker rm -f --volumes 90edc6782f6a4302b332c5aae757ce8bac4cb8b170ef49c33b8ade39bd959642 [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 02:52:09 provisioning config files... 02:52:09 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7523518949419418670tmp [Pipeline] { [Pipeline] sh 02:52:10 + set +x 02:52:10 + curl -s https://codecov.io/bash+ 02:52:10 bash -s -- 02:52:10 02:52:10 _____ _ 02:52:10 / ____| | | 02:52:10 | | ___ __| | ___ ___ _____ __ 02:52:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:10 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:10 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:10 Bash-1.0.6 02:52:10 02:52:10 02:52:10 ==> git version 2.25.1 found 02:52:10 ==> 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 02:52:10 Release-Date: 2020-01-08 02:52:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:52:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:52:10 ==> Jenkins CI detected. 02:52:10 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:52:10 project root: . 02:52:10 --> token set from env 02:52:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:10 ==> Running gcov in . (disable via -X gcov) 02:52:10 ==> Python coveragepy not found 02:52:10 ==> Searching for coverage reports in: 02:52:10 + . 02:52:10 -> Found 1 reports 02:52:10 ==> Detecting git/mercurial file structure 02:52:10 ==> Reading reports 02:52:10 + ./coverage.out bytes=18506 02:52:10 ==> Appending adjustments 02:52:10 https://docs.codecov.io/docs/fixing-reports 02:52:10 + Found adjustments 02:52:10 ==> Gzipping contents 02:52:10 4.0K /tmp/codecov.0YkhT0.gz 02:52:10 ==> Uploading reports 02:52:10 url: https://codecov.io 02:52:10 query: branch=main&commit=f31dc60183bea012cbe15166dadf947b4e0fce38&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:52:10 -> Pinging Codecov 02:52:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f31dc60183bea012cbe15166dadf947b4e0fce38&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:52:10 -> Uploading to 02:52:10 https://storage.googleapis.com/codecov/v4/raw/2024-03-18/7D719EC7BBE17E464838252E33014C33/f31dc60183bea012cbe15166dadf947b4e0fce38/8a317de0-0da6-48ac-ae48-7a17680b1da4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240318T025210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2843120335b3c08059570054a28251850e579fb8d1e834222fec19ab6ed6f185 02:52:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:10 Dload Upload Total Spent Left Speed 02:52:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 10029 --:--:-- --:--:-- --:--:-- 10062 02:52:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] } 02:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:52:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:52:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:11 02:52:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:52:11 df9b9388f04a: Pulling fs layer 02:52:11 52dc419b0ee2: Pulling fs layer 02:52:11 25bc292e5bac: Pulling fs layer 02:52:11 114826534d7a: Pulling fs layer 02:52:11 4657fd5d0bcf: Pulling fs layer 02:52:11 6ad1cebc031e: Pulling fs layer 02:52:11 8a3aa393b2d8: Pulling fs layer 02:52:11 4657fd5d0bcf: Waiting 02:52:11 8a3aa393b2d8: Waiting 02:52:11 114826534d7a: Waiting 02:52:11 25bc292e5bac: Verifying Checksum 02:52:11 25bc292e5bac: Download complete 02:52:11 52dc419b0ee2: Verifying Checksum 02:52:11 52dc419b0ee2: Download complete 02:52:11 4657fd5d0bcf: Verifying Checksum 02:52:11 4657fd5d0bcf: Download complete 02:52:11 df9b9388f04a: Verifying Checksum 02:52:11 df9b9388f04a: Download complete 02:52:12 df9b9388f04a: Pull complete 02:52:12 6ad1cebc031e: Verifying Checksum 02:52:12 6ad1cebc031e: Download complete 02:52:12 52dc419b0ee2: Pull complete 02:52:12 25bc292e5bac: Pull complete 02:52:12 114826534d7a: Verifying Checksum 02:52:12 114826534d7a: Download complete 02:52:12 8a3aa393b2d8: Verifying Checksum 02:52:12 8a3aa393b2d8: Download complete 02:52:16 114826534d7a: Pull complete 02:52:16 4657fd5d0bcf: Pull complete 02:52:16 6ad1cebc031e: Pull complete 02:52:18 8a3aa393b2d8: Pull complete 02:52:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:18 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:52:18 $ 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 02:52:24 $ docker top bdfa89c0dc7e5085b7e39a97ca6190883f9a0fbfdf1686ec1630965805f996ae -eo pid,comm [Pipeline] { [Pipeline] echo 02:52:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:52:24 + set -o pipefail 02:52:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:52:30 02:52:30 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:52:30 02:52:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/93f0416c-6d03-485e-ae91-380d34c74a62 02:52:30 02:52:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:52:30 02:52:30 02:52:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:52:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:52:30 More details here: https://snyk.co/ue1NS [Pipeline] } 02:52:30 $ docker stop --time=1 bdfa89c0dc7e5085b7e39a97ca6190883f9a0fbfdf1686ec1630965805f996ae 02:52:34 $ docker rm -f --volumes bdfa89c0dc7e5085b7e39a97ca6190883f9a0fbfdf1686ec1630965805f996ae [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 02:52:34 + git log --format=format:%s -1 f31dc60183bea012cbe15166dadf947b4e0fce38 [Pipeline] sh 02:52:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:52:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:35 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:52:35 $ 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 02:52:36 $ docker top 6a728774b7bf62711cea8d864e209b4c3aa9f5d634580acf20fa25785e47a8f9 -eo pid,comm 02:52:36 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). 02:52:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:36 [ssh-agent] Looking for ssh-agent implementation... 02:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:36 $ docker exec 6a728774b7bf62711cea8d864e209b4c3aa9f5d634580acf20fa25785e47a8f9 ssh-agent 02:52:36 SSH_AUTH_SOCK=/tmp/ssh-2RMBEY9r9Xqs/agent.33 02:52:36 SSH_AGENT_PID=39 02:52:36 Running ssh-add (command line suppressed) 02:52:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14271814020105474892.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14271814020105474892.key) 02:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:36 + git semver tag 02:52:37 2024-03-18 02:52:36,994 [run_tag] DEBUG tag force:False 02:52:37 2024-03-18 02:52:36,995 [check_head_tag] DEBUG check head tag 02:52:37 2024-03-18 02:52:36,995 [execute] INFO git cat-file --batch-check 02:52:37 2024-03-18 02:52:36,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:52:37 2024-03-18 02:52:36,998 [execute] INFO git cat-file --batch 02:52:37 2024-03-18 02:52:36,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:52:37 2024-03-18 02:52:37,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:52:37 2024-03-18 02:52:37,031 [execute] INFO git tag -a v3.2.0-dev.10 -m v3.2.0-dev.10 02:52:37 2024-03-18 02:52:37,031 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.10', '-m', 'v3.2.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:52:37 2024-03-18 02:52:37,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:52:37 3.2.0-dev.10 [Pipeline] } 02:52:37 $ docker exec --env ******** --env ******** 6a728774b7bf62711cea8d864e209b4c3aa9f5d634580acf20fa25785e47a8f9 ssh-agent -k 02:52:37 unset SSH_AUTH_SOCK; 02:52:37 unset SSH_AGENT_PID; 02:52:37 echo Agent pid 39 killed; 02:52:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:37 + git semver [Pipeline] } 02:52:37 $ docker stop --time=1 6a728774b7bf62711cea8d864e209b4c3aa9f5d634580acf20fa25785e47a8f9 02:52:39 $ docker rm -f --volumes 6a728774b7bf62711cea8d864e209b4c3aa9f5d634580acf20fa25785e47a8f9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:52:39 02:52:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:52:39 0.23.1-centos7: Pulling from edgex-lftools 02:52:39 ab5ef0e58194: Pulling fs layer 02:52:39 9712f1f96733: Pulling fs layer 02:52:39 63f879dbbcfc: Pulling fs layer 02:52:39 0d9ebad4ef96: Pulling fs layer 02:52:39 e9a5061849ea: Pulling fs layer 02:52:39 d747dcd14b5f: Pulling fs layer 02:52:39 2de7ff778b66: Pulling fs layer 02:52:39 e9a5061849ea: Waiting 02:52:39 d747dcd14b5f: Waiting 02:52:39 2de7ff778b66: Waiting 02:52:39 0d9ebad4ef96: Waiting 02:52:40 9712f1f96733: Download complete 02:52:40 63f879dbbcfc: Verifying Checksum 02:52:40 63f879dbbcfc: Download complete 02:52:40 0d9ebad4ef96: Verifying Checksum 02:52:40 0d9ebad4ef96: Download complete 02:52:40 d747dcd14b5f: Verifying Checksum 02:52:40 d747dcd14b5f: Download complete 02:52:40 e9a5061849ea: Verifying Checksum 02:52:40 ab5ef0e58194: Verifying Checksum 02:52:40 ab5ef0e58194: Download complete 02:52:40 2de7ff778b66: Verifying Checksum 02:52:40 2de7ff778b66: Download complete 02:52:43 ab5ef0e58194: Pull complete 02:52:43 9712f1f96733: Pull complete 02:52:43 63f879dbbcfc: Pull complete 02:52:47 0d9ebad4ef96: Pull complete 02:52:47 e9a5061849ea: Pull complete 02:52:47 d747dcd14b5f: Pull complete 02:52:49 2de7ff778b66: Pull complete 02:52:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:49 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:52:49 $ 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 02:52:55 $ docker top 4b6c98abb3ddf74bc0068ae249709ee93d310444b990c0834955b5ff66b186dc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:52:55 provisioning config files... 02:52:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9940721033902155434tmp 02:52:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4051790230780834622tmp 02:52:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16383513738187332580tmp [Pipeline] { [Pipeline] echo 02:52:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:52:56 ---> sigul-configuration.sh 02:52:56 gpg: directory `/root/.gnupg' created 02:52:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:52:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:52:56 gpg: keyring `/root/.gnupg/secring.gpg' created 02:52:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:52:56 gpg: CAST5 encrypted data 02:52:56 gpg: encrypted with 1 passphrase 02:52:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:52:56 + mkdir /home/jenkins 02:52:56 + mkdir /home/jenkins/sigul [Pipeline] sh 02:52:56 + 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 02:52:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:57 ---> sigul-install.sh 02:52:57 Sigul already installed; skipping installation. [Pipeline] sh 02:52:57 + git tag --list 02:52:57 0.7.1 02:52:57 v1.0.0 02:52:57 v1.1.0 02:52:57 v1.1.1 02:52:57 v1.2.2 02:52:57 v1.3.0 02:52:57 v1.3.1 02:52:57 v2.0.0 02:52:57 v2.1.0 02:52:57 v2.1.1 02:52:57 v2.2.0 02:52:57 v2.3.0 02:52:57 v3.0 02:52:57 v3.0.0 02:52:57 v3.1 02:52:57 v3.1.0 02:52:57 v3.1.0-dev.1 02:52:57 v3.1.0-dev.10 02:52:57 v3.1.0-dev.11 02:52:57 v3.1.0-dev.12 02:52:57 v3.1.0-dev.13 02:52:57 v3.1.0-dev.14 02:52:57 v3.1.0-dev.15 02:52:57 v3.1.0-dev.16 02:52:57 v3.1.0-dev.17 02:52:57 v3.1.0-dev.18 02:52:57 v3.1.0-dev.19 02:52:57 v3.1.0-dev.2 02:52:57 v3.1.0-dev.20 02:52:57 v3.1.0-dev.21 02:52:57 v3.1.0-dev.22 02:52:57 v3.1.0-dev.23 02:52:57 v3.1.0-dev.24 02:52:57 v3.1.0-dev.25 02:52:57 v3.1.0-dev.3 02:52:57 v3.1.0-dev.4 02:52:57 v3.1.0-dev.5 02:52:57 v3.1.0-dev.6 02:52:57 v3.1.0-dev.7 02:52:57 v3.1.0-dev.8 02:52:57 v3.1.0-dev.9 02:52:57 v3.2.0-dev.1 02:52:57 v3.2.0-dev.10 02:52:57 v3.2.0-dev.2 02:52:57 v3.2.0-dev.3 02:52:57 v3.2.0-dev.4 02:52:57 v3.2.0-dev.5 02:52:57 v3.2.0-dev.6 02:52:57 v3.2.0-dev.7 02:52:57 v3.2.0-dev.8 02:52:57 v3.2.0-dev.9 [Pipeline] sh 02:52:57 + lftools sign git-tag v3.2.0-dev.10 02:52:58 Signing Git tag with Sigul... 02:52:58 Signing v3.2.0-dev.10 [Pipeline] echo 02:52:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:52:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:52:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:52:58 $ docker stop --time=1 4b6c98abb3ddf74bc0068ae249709ee93d310444b990c0834955b5ff66b186dc 02:53:00 $ docker rm -f --volumes 4b6c98abb3ddf74bc0068ae249709ee93d310444b990c0834955b5ff66b186dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:53:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:01 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:53:01 $ 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 02:53:01 $ docker top 9bfe17bf2d32141d0a70e3a9f4399f22017113d2ff0105a4c4cf023e544cfaed -eo pid,comm 02:53:01 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). 02:53:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:01 [ssh-agent] Looking for ssh-agent implementation... 02:53:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:01 $ docker exec 9bfe17bf2d32141d0a70e3a9f4399f22017113d2ff0105a4c4cf023e544cfaed ssh-agent 02:53:01 SSH_AUTH_SOCK=/tmp/ssh-v0zl5BRH1u9h/agent.32 02:53:01 SSH_AGENT_PID=38 02:53:01 Running ssh-add (command line suppressed) 02:53:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17599480297271728905.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17599480297271728905.key) 02:53:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:02 + git semver bump pre 02:53:02 2024-03-18 02:53:02,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:02 2024-03-18 02:53:02,307 [bump_version] DEBUG bumping version:3.2.0-dev.10 on axis:pre with prefix:dev 02:53:02 2024-03-18 02:53:02,307 [bump_version] DEBUG bumped version:3.2.0-dev.11 02:53:02 2024-03-18 02:53:02,307 [write_version] DEBUG write version:3.2.0-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:53:02 2024-03-18 02:53:02,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:02 2024-03-18 02:53:02,307 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:02 2024-03-18 02:53:02,309 [execute] INFO git cat-file --batch-check 02:53:02 2024-03-18 02:53:02,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:02 2024-03-18 02:53:02,314 [execute] INFO git cat-file --batch 02:53:02 2024-03-18 02:53:02,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:02 2024-03-18 02:53:02,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:02 3.2.0-dev.11 [Pipeline] } 02:53:02 $ docker exec --env ******** --env ******** 9bfe17bf2d32141d0a70e3a9f4399f22017113d2ff0105a4c4cf023e544cfaed ssh-agent -k 02:53:02 unset SSH_AUTH_SOCK; 02:53:02 unset SSH_AGENT_PID; 02:53:02 echo Agent pid 38 killed; 02:53:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:02 + git semver [Pipeline] } 02:53:03 $ docker stop --time=1 9bfe17bf2d32141d0a70e3a9f4399f22017113d2ff0105a4c4cf023e544cfaed 02:53:04 $ docker rm -f --volumes 9bfe17bf2d32141d0a70e3a9f4399f22017113d2ff0105a4c4cf023e544cfaed [Pipeline] // withDockerContainer [Pipeline] sh 02:53:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:05 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:53:05 $ 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 02:53:05 $ docker top 7e87363ce0c7972ef8db673fca904cecbd5d230a2f3993d2255246b7bf6aa6a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:05 [ssh-agent] Looking for ssh-agent implementation... 02:53:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:05 $ docker exec 7e87363ce0c7972ef8db673fca904cecbd5d230a2f3993d2255246b7bf6aa6a7 ssh-agent 02:53:05 SSH_AUTH_SOCK=/tmp/ssh-5yZjWZFu0xoo/agent.32 02:53:05 SSH_AGENT_PID=38 02:53:05 Running ssh-add (command line suppressed) 02:53:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8196518200639767686.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8196518200639767686.key) 02:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:06 + git semver push 02:53:06 2024-03-18 02:53:06,362 [run_push] DEBUG push 02:53:06 2024-03-18 02:53:06,363 [execute] INFO git cat-file --batch-check 02:53:06 2024-03-18 02:53:06,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:06 2024-03-18 02:53:06,366 [execute] INFO git rev-list 752ffa62a059a8bdddaac064f31948a96f9d4890 -- 02:53:06 2024-03-18 02:53:06,367 [execute] DEBUG Popen(['git', 'rev-list', '752ffa62a059a8bdddaac064f31948a96f9d4890', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:53:06 2024-03-18 02:53:06,376 [execute] INFO git fetch -v origin 02:53:06 2024-03-18 02:53:06,376 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:53:07 2024-03-18 02:53:06,879 [run_push] DEBUG no remote changes detected 02:53:07 2024-03-18 02:53:06,879 [execute] INFO git push origin semver 02:53:07 2024-03-18 02:53:06,880 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:53:07 2024-03-18 02:53:07,621 [run_push] DEBUG push all version tags 02:53:07 2024-03-18 02:53:07,621 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:53:07 2024-03-18 02:53:07,622 [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) 02:53:08 2024-03-18 02:53:08,292 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:08 3.2.0-dev.11 [Pipeline] } 02:53:08 $ docker exec --env ******** --env ******** 7e87363ce0c7972ef8db673fca904cecbd5d230a2f3993d2255246b7bf6aa6a7 ssh-agent -k 02:53:08 unset SSH_AUTH_SOCK; 02:53:08 unset SSH_AGENT_PID; 02:53:08 echo Agent pid 38 killed; 02:53:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:08 + git semver [Pipeline] } 02:53:09 $ docker stop --time=1 7e87363ce0c7972ef8db673fca904cecbd5d230a2f3993d2255246b7bf6aa6a7 02:53:10 $ docker rm -f --volumes 7e87363ce0c7972ef8db673fca904cecbd5d230a2f3993d2255246b7bf6aa6a7 [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 02:53:11 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:53:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:53:11 total 16 02:53:11 drwxr-xr-x 3 root root 4096 Mar 18 02:43 . 02:53:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 02:52 .. 02:53:11 drwxr-xr-x 2 root root 4096 Mar 18 02:43 cost 02:53:11 -rw-r--r-- 1 root root 86 Mar 18 02:43 cost.csv 02:53:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:53:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:53:11 total 16 02:53:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 02:43 . 02:53:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 02:52 .. 02:53:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 02:43 cost 02:53:11 -rw-r--r-- 1 jenkins jenkins 86 Mar 18 02:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:53:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:12 ---> package-listing.sh 02:53:12 ++ facter osfamily 02:53:12 ++ tr '[:upper:]' '[:lower:]' 02:53:12 + OS_FAMILY=debian 02:53:12 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:53:12 + START_PACKAGES=/tmp/packages_start.txt 02:53:12 + END_PACKAGES=/tmp/packages_end.txt 02:53:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:12 + PACKAGES=/tmp/packages_start.txt 02:53:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:53:12 + PACKAGES=/tmp/packages_end.txt 02:53:12 + case "${OS_FAMILY}" in 02:53:12 + dpkg -l 02:53:12 + grep '^ii' 02:53:12 + '[' -f /tmp/packages_start.txt ']' 02:53:12 + '[' -f /tmp/packages_end.txt ']' 02:53:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:53:12 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:53:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:53:12 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 02:53:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:13 prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container 02:53:13 $ 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 02:53:13 $ docker top 075b16b17f5351c27e73c2329010c948ed0784a8506c6f864dd0b9fc651274bb -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:14 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:14 + mkdir -p /var/log/sysstat [Pipeline] sh 02:53:14 + ls /var/log/sa-host 02:53:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:14 provisioning config files... 02:53:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8503496763463632909tmp [Pipeline] { [Pipeline] echo 02:53:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:15 ---> create-netrc.sh [Pipeline] } 02:53:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:53:15 ---> python-tools-install.sh [Pipeline] echo 02:53:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:15 ---> sudo-logs.sh 02:53:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:15 ---> job-cost.sh 02:53:15 lf-activate-venv: SKIPPING 02:53:15 DEBUG: total: 0.2199999988079071 02:53:15 INFO: Retrieving Stack Cost... 02:53:16 INFO: Retrieving Pricing Info for: v3-standard-8 02:53:16 INFO: Archiving Costs [Pipeline] echo 02:53:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:16 ---> logs-deploy.sh 02:53:16 lf-activate-venv: SKIPPING 02:53:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/163 02:53:16 INFO: archiving workspace using pattern(s): 02:53:17 Archives upload complete. 02:53:17 INFO: archiving logs to Nexus