Started by upstream project "edgexfoundry/cd-management/release-lts" build number 100 originally caused by: Started by user Cloud Tsai Replayed #97 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 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-ssh11699590531324374841.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh2924425583865213132.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16911167953651849534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh15913580339360880300.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3184612362197657697.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-41143’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41144’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41145’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41146’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41150’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41152 in /w/workspace/gexfoundry_device-mqtt-go_odessa [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/gexfoundry_device-mqtt-go_odessa # 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 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @cd3c967" > 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 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 # timeout=10 > git rev-list --no-walk 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:09:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:09:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:09:42 ========================================================= 11:09:42 EdgeX Global Pipelines Version Info 11:09:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:09:43 ------------------- 11:09:43 stable info: 11:09:43 ------------------- 11:09:43 Commited By: Cherry Wang cherry@iotechsys.com 11:09:43 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 11:09:43 Message: update stable to v1.0.271 11:09:43 ------------------- 11:09:43 experimental info: 11:09:43 ------------------- 11:09:43 Commited By: **** collab-it+edgex@linuxfoundation.org 11:09:43 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 11:09:43 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ca6c43 [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:44 provisioning config files... 11:09:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config4334426776573552041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:45 ---> ****-login.sh 11:09:45 nexus3.edgexfoundry.org:10001 11:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:45 Configure a credential helper to remove this warning. See 11:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:45 11:09:45 Login Succeeded 11:09:45 nexus3.edgexfoundry.org:10002 11:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:45 Configure a credential helper to remove this warning. See 11:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:45 11:09:45 Login Succeeded 11:09:45 nexus3.edgexfoundry.org:10003 11:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:45 Configure a credential helper to remove this warning. See 11:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:45 11:09:45 Login Succeeded 11:09:45 nexus3.edgexfoundry.org:10004 11:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:45 Configure a credential helper to remove this warning. See 11:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:45 11:09:45 Login Succeeded 11:09:45 ****.io 11:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 ---> ****-login.sh ends [Pipeline] } 11:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:09:46 + git rev-list -1 --merges 2ca6c4351eafb1bbf6d29c15a2d869668aa00076~1..2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] echo 11:09:46 -----------> git rev-list -1 --merges 2ca6c4351eafb1bbf6d29c15a2d869668aa00076~1..2ca6c4351eafb1bbf6d29c15a2d869668aa00076 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [false] [Pipeline] sh 11:09:46 + git log --format=format:%s -1 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] echo 11:09:46 ========================================================= 11:09:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 11:09:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:47 + git log --format=format:%s -1 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] echo 11:09:47 [semverPrep] GIT_COMMIT: 2ca6c4351eafb1bbf6d29c15a2d869668aa00076, Commit Message: ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] echo 11:09:47 [semverPrep] This is not a build commit. [Pipeline] sh 11:09:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:09:47 + grep -v github /etc/ssh/ssh_known_hosts 11:09:47 + [ -e /tmp/ssh_known_hosts ] 11:09:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:09:47 + + sudo tee -a /etc/ssh/ssh_known_hosts 11:09:47 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:09:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:47 11:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:48 0.1.4: Pulling from edgex-devops/py-git-semver 11:09:48 b85a868b505f: Pulling fs layer 11:09:48 e2be974225ed: Pulling fs layer 11:09:48 339a4e72a1f5: Pulling fs layer 11:09:48 988bab9f4d93: Pulling fs layer 11:09:48 1469e6f7b9e6: Pulling fs layer 11:09:48 eaf3925da568: Pulling fs layer 11:09:48 bab4dde63d76: Pulling fs layer 11:09:48 bde34c3a00c8: Pulling fs layer 11:09:48 b352a97aabf1: Pulling fs layer 11:09:48 4872d77fe225: Pulling fs layer 11:09:48 988bab9f4d93: Waiting 11:09:48 5851b861e8e6: Pulling fs layer 11:09:48 4872d77fe225: Waiting 11:09:48 1469e6f7b9e6: Waiting 11:09:48 bab4dde63d76: Waiting 11:09:48 bde34c3a00c8: Waiting 11:09:48 5851b861e8e6: Waiting 11:09:48 eaf3925da568: Waiting 11:09:48 b352a97aabf1: Waiting 11:09:48 e2be974225ed: Verifying Checksum 11:09:48 e2be974225ed: Download complete 11:09:48 988bab9f4d93: Verifying Checksum 11:09:48 988bab9f4d93: Download complete 11:09:48 1469e6f7b9e6: Verifying Checksum 11:09:48 1469e6f7b9e6: Download complete 11:09:48 eaf3925da568: Verifying Checksum 11:09:48 eaf3925da568: Download complete 11:09:48 339a4e72a1f5: Verifying Checksum 11:09:48 339a4e72a1f5: Download complete 11:09:48 bde34c3a00c8: Verifying Checksum 11:09:48 bde34c3a00c8: Download complete 11:09:48 b352a97aabf1: Download complete 11:09:48 4872d77fe225: Download complete 11:09:48 5851b861e8e6: Download complete 11:09:48 b85a868b505f: Verifying Checksum 11:09:48 b85a868b505f: Download complete 11:09:48 bab4dde63d76: Verifying Checksum 11:09:48 bab4dde63d76: Download complete 11:09:49 b85a868b505f: Pull complete 11:09:49 e2be974225ed: Pull complete 11:09:50 339a4e72a1f5: Pull complete 11:09:50 988bab9f4d93: Pull complete 11:09:50 1469e6f7b9e6: Pull complete 11:09:50 eaf3925da568: Pull complete 11:09:51 bab4dde63d76: Pull complete 11:09:51 bde34c3a00c8: Pull complete 11:09:52 b352a97aabf1: Pull complete 11:09:52 4872d77fe225: Pull complete 11:09:52 5851b861e8e6: Pull complete 11:09:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:52 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:09:55 $ docker top 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 -eo pid,comm 11:09:55 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). 11:09:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:55 [ssh-agent] Looking for ssh-agent implementation... 11:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:55 $ docker exec 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 ssh-agent 11:09:55 SSH_AUTH_SOCK=/tmp/ssh-QyXqXHb1bh2w/agent.20 11:09:55 SSH_AGENT_PID=38 11:09:55 Running ssh-add (command line suppressed) 11:09:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_8046443761481885461.key (/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_8046443761481885461.key) 11:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:55 + git tag --points-at 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] } 11:09:55 $ docker exec --env ******** --env ******** 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 ssh-agent -k 11:09:55 unset SSH_AUTH_SOCK; 11:09:55 unset SSH_AGENT_PID; 11:09:55 echo Agent pid 38 killed; 11:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:09:56 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 11:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:56 [ssh-agent] Looking for ssh-agent implementation... 11:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:56 $ docker exec 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 ssh-agent 11:09:56 SSH_AUTH_SOCK=/tmp/ssh-bwwxm4Jb7cK1/agent.71 11:09:56 SSH_AGENT_PID=77 11:09:56 Running ssh-add (command line suppressed) 11:09:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_10769657309461221422.key (/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_10769657309461221422.key) 11:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:56 + git semver init 11:09:56 2025-03-12 11:09:56,856 [run_init] DEBUG init version:0.0.0 force:False 11:09:56 2025-03-12 11:09:56,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_odessa/.semver 11:09:56 2025-03-12 11:09:56,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver 11:09:56 2025-03-12 11:09:56,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_odessa/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_odessa, universal_newlines=False, shell=None, istream=None) 11:09:58 2025-03-12 11:09:58,747 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_odessa/.git/info/exclude 11:09:58 2025-03-12 11:09:58,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa with force:False 11:09:58 2025-03-12 11:09:58,747 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa 11:09:58 2025-03-12 11:09:58,748 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa 11:09:58 4.0.0 [Pipeline] } 11:09:58 $ docker exec --env ******** --env ******** 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 ssh-agent -k 11:09:58 unset SSH_AUTH_SOCK; 11:09:58 unset SSH_AGENT_PID; 11:09:58 echo Agent pid 77 killed; 11:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:09:59 + git semver [Pipeline] } 11:09:59 $ docker stop --time=1 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 11:10:00 $ docker rm -f --volumes 9a3123328d06e4d76e7af78359ba456a51ad72addefc42889ee7e0582abebed3 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:01 Stashed 1 file(s) [Pipeline] echo 11:10:01 [edgeXSemver]: initialized semver on version 4.0.0 [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] sh 11:10:01 + git checkout 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:10:01 HEAD is now at 2ca6c43 ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:01 provisioning config files... 11:10:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config2685607974268407024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:02 ---> ****-login.sh 11:10:02 nexus3.edgexfoundry.org:10001 11:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:02 Configure a credential helper to remove this warning. See 11:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:02 11:10:02 Login Succeeded 11:10:02 nexus3.edgexfoundry.org:10002 11:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:02 Configure a credential helper to remove this warning. See 11:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:02 11:10:02 Login Succeeded 11:10:02 nexus3.edgexfoundry.org:10003 11:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:02 Configure a credential helper to remove this warning. See 11:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:02 11:10:02 Login Succeeded 11:10:02 nexus3.edgexfoundry.org:10004 11:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:02 Configure a credential helper to remove this warning. See 11:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:02 11:10:02 Login Succeeded 11:10:02 ****.io 11:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:03 Configure a credential helper to remove this warning. See 11:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:03 11:10:03 Login Succeeded 11:10:03 ---> ****-login.sh ends [Pipeline] } 11:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:10:03 + grep ^go [0-9].[0-9]* go.mod 11:10:03 + cut -d -f 2 [Pipeline] echo 11:10:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:10:03 ========================================================= 11:10:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 11:10:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:10:04 Sending build context to Docker daemon 71.84MB 11:10:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:10:04 Step 2/12 : FROM ${BASE} AS builder 11:10:04 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:10:04 0a9a5dfd008f: Pulling fs layer 11:10:04 8833042f23b5: Pulling fs layer 11:10:04 6ca661eb024f: Pulling fs layer 11:10:04 b5acb76e9680: Pulling fs layer 11:10:04 4f4fb700ef54: Pulling fs layer 11:10:04 012bb1f9d321: Pulling fs layer 11:10:04 97255f1bc79d: Pulling fs layer 11:10:04 454448c9edf9: Pulling fs layer 11:10:04 15f87924ceaf: Pulling fs layer 11:10:04 b5acb76e9680: Waiting 11:10:04 012bb1f9d321: Waiting 11:10:04 4f4fb700ef54: Waiting 11:10:04 97255f1bc79d: Waiting 11:10:04 15f87924ceaf: Waiting 11:10:04 8833042f23b5: Verifying Checksum 11:10:04 8833042f23b5: Download complete 11:10:04 b5acb76e9680: Verifying Checksum 11:10:04 b5acb76e9680: Download complete 11:10:04 4f4fb700ef54: Verifying Checksum 11:10:04 4f4fb700ef54: Download complete 11:10:04 012bb1f9d321: Verifying Checksum 11:10:04 012bb1f9d321: Download complete 11:10:04 0a9a5dfd008f: Download complete 11:10:04 97255f1bc79d: Verifying Checksum 11:10:04 97255f1bc79d: Download complete 11:10:04 0a9a5dfd008f: Pull complete 11:10:04 8833042f23b5: Pull complete 11:10:04 15f87924ceaf: Verifying Checksum 11:10:04 15f87924ceaf: Download complete 11:10:04 6ca661eb024f: Download complete 11:10:05 454448c9edf9: Verifying Checksum 11:10:05 454448c9edf9: Download complete 11:10:08 6ca661eb024f: Pull complete 11:10:08 b5acb76e9680: Pull complete 11:10:08 4f4fb700ef54: Pull complete 11:10:08 012bb1f9d321: Pull complete 11:10:08 97255f1bc79d: Pull complete 11:10:10 454448c9edf9: Pull complete 11:10:11 15f87924ceaf: Pull complete 11:10:11 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 11:10:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 11:10:11 ---> bc3d7bf65e23 11:10:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:10:15 ---> Running in 79c01b8d9b64 11:10:15 Removing intermediate container 79c01b8d9b64 11:10:15 ---> 59baea51e020 11:10:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:15 ---> Running in 29ac56b8f103 11:10:15 Removing intermediate container 29ac56b8f103 11:10:15 ---> 0398136301d5 11:10:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:10:15 ---> Running in da2357a433b6 11:10:15 Removing intermediate container da2357a433b6 11:10:15 ---> cbdc992bb30d 11:10:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:10:15 ---> Running in e474fdd30035 11:10:15 Removing intermediate container e474fdd30035 11:10:15 ---> dc5a5df73fd3 11:10:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:16 ---> Running in 7689e1448b33 11:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:10:16 Still waiting to schedule task 11:10:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:10:17 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:10:17 (2/4) Installing libedit (20240517.3.1-r0) 11:10:17 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:10:17 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:10:17 Executing busybox-1.36.1-r29.trigger 11:10:17 OK: 252 MiB in 62 packages 11:10:17 Removing intermediate container 7689e1448b33 11:10:17 ---> 7ef026b053fa 11:10:17 Step 8/12 : WORKDIR /device-mqtt-go 11:10:17 ---> Running in 49a90539a07c 11:10:17 Removing intermediate container 49a90539a07c 11:10:17 ---> 414eea97e455 11:10:17 Step 9/12 : COPY go.mod vendor* ./ 11:10:20 ---> 81e01b21712a 11:10:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:20 ---> Running in f27346cce121 11:10:59 Removing intermediate container f27346cce121 11:10:59 ---> 8635fe4fb803 11:10:59 Step 11/12 : COPY . . 11:10:59 ---> 24554654be8e 11:10:59 Step 12/12 : RUN $MAKE 11:10:59 ---> Running in cf173562ff1f 11:10:59 noop 11:10:59 Removing intermediate container cf173562ff1f 11:10:59 ---> 586324d40312 11:10:59 Successfully built 586324d40312 11:10:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:00 + docker inspect -f . ci-base-image-x86_64 11:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:00 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:11:00 $ docker top 3f4ebfdbab82a9a34b3a76534da90104be312d0693a98b6e259c92c29d100f50 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:00 + go version 11:11:00 go version go1.23.7 linux/amd64 [Pipeline] } 11:11:00 $ docker stop --time=1 3f4ebfdbab82a9a34b3a76534da90104be312d0693a98b6e259c92c29d100f50 11:11:02 $ docker rm -f --volumes 3f4ebfdbab82a9a34b3a76534da90104be312d0693a98b6e259c92c29d100f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:02 + docker inspect -f . ci-base-image-x86_64 11:11:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:02 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:11:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:11:02 $ docker top 79e05bfd58a9703667c55d560c5b227d5bc9b33ed489fefd65046074e59a290c -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] fileExists [Pipeline] sh 11:11:03 + make test 11:11:03 go test ./... -coverprofile=coverage.out ./... 11:11:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:11:22 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 11:11:22 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 11:11:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 11:11:32 go vet ./... 11:11:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:39 ./bin/test-attribution-txt.sh [Pipeline] echo 11:11:39 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:11:39 + go mod tidy [Pipeline] } 11:11:40 $ docker stop --time=1 79e05bfd58a9703667c55d560c5b227d5bc9b33ed489fefd65046074e59a290c 11:11:42 $ docker rm -f --volumes 79e05bfd58a9703667c55d560c5b227d5bc9b33ed489fefd65046074e59a290c [Pipeline] // withDockerContainer [Pipeline] sh 11:11:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:11:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:44 + ls -al . 11:11:44 total 256 11:11:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:11 . 11:11:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:09 .. 11:11:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 11:09 .dockerignore 11:11:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:11 .git 11:11:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 .github 11:11:44 -rw-rw-r-- 1 jenkins jenkins 256 Mar 12 11:09 .gitignore 11:11:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 11:09 .golangci.yml 11:11:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:09 .semver 11:11:44 -rw-rw-r-- 1 jenkins jenkins 19106 Mar 12 11:09 Attribution.txt 11:11:44 -rw-rw-r-- 1 jenkins jenkins 19382 Mar 12 11:09 CHANGELOG.md 11:11:44 -rw-rw-r-- 1 jenkins jenkins 1803 Mar 12 11:09 Dockerfile 11:11:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:09 GOVERNANCE.md 11:11:44 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 11:09 Jenkinsfile 11:11:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:09 LICENSE 11:11:44 -rw-rw-r-- 1 jenkins jenkins 2545 Mar 12 11:09 Makefile 11:11:44 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 11:09 OWNERS.md 11:11:44 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 12 11:09 README.md 11:11:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:11:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:09 bin 11:11:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 cmd 11:11:44 -rw-r--r-- 1 jenkins jenkins 21039 Mar 12 11:11 coverage.out 11:11:44 -rw-rw-r-- 1 jenkins jenkins 6175 Mar 12 11:09 go.mod 11:11:44 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 11:09 go.sum 11:11:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 internal 11:11:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:09 mock 11:11:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:09 vendor 11:11:44 -rw-rw-r-- 1 jenkins jenkins 227 Mar 12 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:44 + 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=2ca6c4351eafb1bbf6d29c15a2d869668aa00076 --label arch=amd64 --label version=4.0.0 . 11:11:45 Sending build context to Docker daemon 71.86MB 11:11:45 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 11:11:45 Step 2/25 : FROM ${BASE} AS builder 11:11:45 ---> 586324d40312 11:11:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:11:45 ---> Running in cd95b6c0060c 11:11:45 Removing intermediate container cd95b6c0060c 11:11:45 ---> 85fbc54c0bd3 11:11:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:45 ---> Running in 1ea974898dba 11:11:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41157 in /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] { 11:11:45 Removing intermediate container 1ea974898dba 11:11:45 ---> e21fd61958d7 11:11:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:11:45 ---> Running in 5255cf3f841d 11:11:45 Removing intermediate container 5255cf3f841d 11:11:45 ---> 60d980dbe6cd 11:11:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:11:45 ---> Running in 32be6e437efc [Pipeline] ws 11:11:45 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 11:11:46 Removing intermediate container 32be6e437efc 11:11:46 ---> c77c4a39022a 11:11:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:46 ---> Running in 3b163757eef0 11:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:11:46 OK: 252 MiB in 62 packages 11:11:46 Removing intermediate container 3b163757eef0 11:11:46 ---> 4b16d3f3692b 11:11:46 Step 8/25 : WORKDIR /device-mqtt-go 11:11:46 ---> Running in ede6477869ef 11:11:47 Removing intermediate container ede6477869ef 11:11:47 ---> a18df9c4f65c 11:11:47 Step 9/25 : COPY go.mod vendor* ./ 11:11:49 The recommended git tool is: git 11:11:49 ---> bf9e2295bb09 11:11:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:49 ---> Running in 5a00482c780a 11:11:49 skipping... 11:11:49 Removing intermediate container 5a00482c780a 11:11:49 ---> 24da77bb5bc7 11:11:49 Step 11/25 : COPY . . 11:11:53 ---> e084563ded5a 11:11:53 Step 12/25 : RUN $MAKE 11:11:53 ---> Running in dba1e3bfa771 11:11:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:11:54 using credential edgex-jenkins-ssh 11:11:54 Cloning the remote Git repository 11:11:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:11:55 > git init /w/workspace/device-mqtt-go/4 # timeout=10 11:11:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:11:55 > git --version # timeout=10 11:11:55 > git --version # 'git version 2.25.1' 11:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:59 Avoid second fetch 11:11:59 Checking out Revision 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 (odessa) 11:11:59 > git config core.sparsecheckout # timeout=10 11:12:00 > git checkout -f 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 # timeout=10 11:12:02 Commit message: "ci(lts-release): LTS release v4.0.0 @cd3c967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:12:07 % Total % Received % Xferd Average Speed Time Time Time Current 11:12:07 Dload Upload Total Spent Left Speed 11:12:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh 11:12:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:12:07 + sudo tee /etc/docker/daemon.new 11:12:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:12:07 { 11:12:07 "registry-mirrors": [ 11:12:07 "https://nexus3.edgexfoundry.org:10001" 11:12:07 ], 11:12:07 "bip": "10.250.0.254/24", 11:12:07 "hosts": [ 11:12:07 "tcp://0.0.0.0:5555", 11:12:07 "unix:///var/run/docker.sock" 11:12:07 ], 11:12:07 "mtu": 1458, 11:12:07 "selinux-enabled": true, 11:12:07 "seccomp-profile": "/etc/docker/seccomp.json" 11:12:07 } [Pipeline] sh 11:12:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:12:08 + sudo service docker restart 11:12:25 Removing intermediate container dba1e3bfa771 11:12:25 ---> fa8e17379ccb 11:12:25 Step 13/25 : FROM alpine:3.20 11:12:25 3.20: Pulling from library/alpine 11:12:25 0a9a5dfd008f: Already exists 11:12:25 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:12:25 Status: Downloaded newer image for alpine:3.20 11:12:25 ---> ff221270b9fb 11:12:25 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 11:12:25 ---> Running in 8a004e26e4a9 11:12:25 Removing intermediate container 8a004e26e4a9 11:12:25 ---> 235d8b6397b1 11:12:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:12:25 ---> Running in 167262a02e23 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:25 (1/1) Installing dumb-init (1.2.5-r3) 11:12:25 Executing busybox-1.36.1-r29.trigger 11:12:25 OK: 8 MiB in 15 packages 11:12:25 Removing intermediate container 167262a02e23 11:12:25 ---> 003ec46e2ddb 11:12:25 Step 16/25 : RUN apk --no-cache upgrade 11:12:25 ---> Running in ab21ad747e0a 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:25 OK: 8 MiB in 15 packages 11:12:25 Removing intermediate container ab21ad747e0a 11:12:25 ---> 78d56535b1ec 11:12:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 11:12:25 ---> 157a37d46476 11:12:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 11:12:25 ---> 73dc177ebb0c 11:12:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:12:25 ---> 24fdb4b97229 11:12:25 Step 20/25 : EXPOSE 59982 11:12:25 ---> Running in e235abc0135b 11:12:25 Removing intermediate container e235abc0135b 11:12:25 ---> fcc51c5ec3a6 11:12:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 11:12:25 ---> Running in 23dd7b6b29b0 11:12:25 Removing intermediate container 23dd7b6b29b0 11:12:25 ---> 79c4a95c5150 11:12:25 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:12:25 ---> Running in 707abd2a2a0b 11:12:25 Removing intermediate container 707abd2a2a0b 11:12:25 ---> 2889938040c2 11:12:25 Step 23/25 : LABEL arch=amd64 11:12:25 ---> Running in 391d3c9c920b 11:12:25 Removing intermediate container 391d3c9c920b 11:12:25 ---> 3444769d7220 11:12:25 Step 24/25 : LABEL git_sha=2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:12:25 ---> Running in 1651d4edc7fc 11:12:25 Removing intermediate container 1651d4edc7fc 11:12:25 ---> b2286a85f6e6 11:12:25 Step 25/25 : LABEL version=4.0.0 11:12:25 ---> Running in 2dd3142b9421 11:12:25 Removing intermediate container 2dd3142b9421 11:12:25 ---> aa7536cb01f4 11:12:25 [Warning] One or more build-args [ARCH] were not consumed 11:12:25 Successfully built aa7536cb01f4 11:12:25 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:25 provisioning config files... 11:12:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config6109576409176993865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:25 ---> ****-login.sh 11:12:25 nexus3.edgexfoundry.org:10001 11:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:25 Configure a credential helper to remove this warning. See 11:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:25 11:12:25 Login Succeeded 11:12:25 nexus3.edgexfoundry.org:10002 11:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:25 Configure a credential helper to remove this warning. See 11:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:25 11:12:25 Login Succeeded 11:12:25 nexus3.edgexfoundry.org:10003 11:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:25 Configure a credential helper to remove this warning. See 11:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:25 11:12:25 Login Succeeded 11:12:25 nexus3.edgexfoundry.org:10004 11:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:25 Configure a credential helper to remove this warning. See 11:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:25 11:12:25 Login Succeeded 11:12:25 ****.io 11:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:26 Configure a credential helper to remove this warning. See 11:12:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:26 11:12:26 Login Succeeded 11:12:26 ---> ****-login.sh ends [Pipeline] } 11:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:26 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:12:26 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 11:12:26 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:12:26 4.0.0 11:12:26 2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:12:26 odessa 11:12:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 11:12:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:12:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:12:26 f17edc071da7: Preparing 11:12:26 736ddb606918: Preparing 11:12:26 a7ba6e7d8906: Preparing 11:12:26 4068d4183925: Preparing 11:12:26 c197bbe54165: Preparing 11:12:26 994456c4fd7b: Preparing 11:12:26 994456c4fd7b: Waiting 11:12:26 f17edc071da7: Pushed 11:12:26 4068d4183925: Pushed 11:12:26 c197bbe54165: Pushed 11:12:26 736ddb606918: Pushed 11:12:27 994456c4fd7b: Layer already exists 11:12:27 + git checkout 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:12:27 HEAD is now at 2ca6c43 ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:27 provisioning config files... 11:12:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config13354689352231107828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:28 ---> ****-login.sh 11:12:28 nexus3.edgexfoundry.org:10001 11:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:28 Configure a credential helper to remove this warning. See 11:12:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:28 11:12:28 Login Succeeded 11:12:28 nexus3.edgexfoundry.org:10002 11:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:29 Configure a credential helper to remove this warning. See 11:12:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:29 11:12:29 Login Succeeded 11:12:29 nexus3.edgexfoundry.org:10003 11:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:29 Configure a credential helper to remove this warning. See 11:12:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:29 11:12:29 Login Succeeded 11:12:29 nexus3.edgexfoundry.org:10004 11:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:30 Configure a credential helper to remove this warning. See 11:12:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:30 11:12:30 Login Succeeded 11:12:30 ****.io 11:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:30 Configure a credential helper to remove this warning. See 11:12:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:30 11:12:30 Login Succeeded 11:12:30 ---> ****-login.sh ends [Pipeline] } 11:12:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:12:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:12:31 a7ba6e7d8906: Pushed 11:12:31 2ca6c4351eafb1bbf6d29c15a2d869668aa00076: digest: sha256:1daaae9bb2cb5560b4ea9c2b15e05ee7da08cf6d5cfbf1aa94ee0032896556e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:31 + grep ^go [0-9].[0-9]* go.mod 11:12:31 + cut -d -f 2 [Pipeline] echo 11:12:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:12:31 ========================================================= 11:12:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 11:12:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 11:12:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:12:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 11:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:12:32 f17edc071da7: Preparing 11:12:32 736ddb606918: Preparing 11:12:32 a7ba6e7d8906: Preparing 11:12:32 4068d4183925: Preparing 11:12:32 c197bbe54165: Preparing 11:12:32 994456c4fd7b: Preparing 11:12:32 994456c4fd7b: Waiting 11:12:32 f17edc071da7: Layer already exists 11:12:32 4068d4183925: Layer already exists 11:12:32 c197bbe54165: Layer already exists 11:12:32 736ddb606918: Layer already exists 11:12:32 a7ba6e7d8906: Layer already exists 11:12:32 994456c4fd7b: Layer already exists 11:12:32 4.0.0: digest: sha256:1daaae9bb2cb5560b4ea9c2b15e05ee7da08cf6d5cfbf1aa94ee0032896556e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:12:32 f17edc071da7: Preparing 11:12:32 736ddb606918: Preparing 11:12:32 a7ba6e7d8906: Preparing 11:12:32 4068d4183925: Preparing 11:12:32 c197bbe54165: Preparing 11:12:32 994456c4fd7b: Preparing 11:12:32 994456c4fd7b: Waiting 11:12:32 c197bbe54165: Layer already exists 11:12:32 4068d4183925: Layer already exists 11:12:32 736ddb606918: Layer already exists 11:12:32 a7ba6e7d8906: Layer already exists 11:12:32 f17edc071da7: Layer already exists 11:12:32 994456c4fd7b: Layer already exists 11:12:32 2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0: digest: sha256:1daaae9bb2cb5560b4ea9c2b15e05ee7da08cf6d5cfbf1aa94ee0032896556e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:odessa 11:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:12:33 f17edc071da7: Preparing 11:12:33 736ddb606918: Preparing 11:12:33 a7ba6e7d8906: Preparing 11:12:33 4068d4183925: Preparing 11:12:33 c197bbe54165: Preparing 11:12:33 994456c4fd7b: Preparing 11:12:33 994456c4fd7b: Waiting 11:12:33 f17edc071da7: Layer already exists 11:12:33 c197bbe54165: Layer already exists 11:12:33 a7ba6e7d8906: Layer already exists 11:12:33 736ddb606918: Layer already exists 11:12:33 4068d4183925: Layer already exists 11:12:33 994456c4fd7b: Layer already exists 11:12:33 odessa: digest: sha256:1daaae9bb2cb5560b4ea9c2b15e05ee7da08cf6d5cfbf1aa94ee0032896556e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:33 ===================================================== [Pipeline] echo 11:12:33 taggedImages: 11:12:33 - nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:12:33 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 11:12:33 - nexus3.edgexfoundry.org:10004/device-mqtt:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:12:33 - nexus3.edgexfoundry.org:10004/device-mqtt:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:33 11:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:34 latest: Pulling from edgex-lftools-log-publisher 11:12:34 5eb5b503b376: Pulling fs layer 11:12:34 5c69ac0246d0: Pulling fs layer 11:12:34 ec43610c2a17: Pulling fs layer 11:12:34 3a2ae6a8a46f: Pulling fs layer 11:12:34 33b1e0a273af: Pulling fs layer 11:12:34 5d3b04190fa2: Pulling fs layer 11:12:34 2f39f015ded8: Pulling fs layer 11:12:34 33b1e0a273af: Waiting 11:12:34 3a2ae6a8a46f: Waiting 11:12:34 5d3b04190fa2: Waiting 11:12:34 5c69ac0246d0: Download complete 11:12:34 3a2ae6a8a46f: Verifying Checksum 11:12:34 3a2ae6a8a46f: Download complete 11:12:34 33b1e0a273af: Verifying Checksum 11:12:34 33b1e0a273af: Download complete 11:12:34 5d3b04190fa2: Download complete 11:12:34 ec43610c2a17: Verifying Checksum 11:12:34 ec43610c2a17: Download complete 11:12:34 5eb5b503b376: Verifying Checksum 11:12:34 5eb5b503b376: Download complete 11:12:34 2f39f015ded8: Download complete 11:12:35 5eb5b503b376: Pull complete 11:12:35 5c69ac0246d0: Pull complete 11:12:35 ec43610c2a17: Pull complete 11:12:36 3a2ae6a8a46f: Pull complete 11:12:36 33b1e0a273af: Pull complete 11:12:36 Sending build context to Docker daemon 56.43MB 11:12:36 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:12:36 Step 2/12 : FROM ${BASE} AS builder 11:12:36 5d3b04190fa2: Pull complete 11:12:36 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:12:36 94e9d8af2201: Pulling fs layer 11:12:36 345fe9f21930: Pulling fs layer 11:12:36 b40fc9e46828: Pulling fs layer 11:12:36 c9804373a1e5: Pulling fs layer 11:12:36 4f4fb700ef54: Pulling fs layer 11:12:36 f5a772c54f75: Pulling fs layer 11:12:36 e2dd1b2a9dca: Pulling fs layer 11:12:36 0a0502178392: Pulling fs layer 11:12:36 4f4fb700ef54: Waiting 11:12:36 f5a772c54f75: Waiting 11:12:36 e2dd1b2a9dca: Waiting 11:12:36 0a0502178392: Waiting 11:12:36 c9804373a1e5: Waiting 11:12:36 345fe9f21930: Verifying Checksum 11:12:36 345fe9f21930: Download complete 11:12:36 c9804373a1e5: Verifying Checksum 11:12:36 c9804373a1e5: Download complete 11:12:36 4f4fb700ef54: Verifying Checksum 11:12:36 4f4fb700ef54: Download complete 11:12:36 f5a772c54f75: Verifying Checksum 11:12:36 f5a772c54f75: Download complete 11:12:36 94e9d8af2201: Verifying Checksum 11:12:36 94e9d8af2201: Download complete 11:12:37 0a0502178392: Verifying Checksum 11:12:37 0a0502178392: Download complete 11:12:38 94e9d8af2201: Pull complete 11:12:38 345fe9f21930: Pull complete 11:12:38 b40fc9e46828: Verifying Checksum 11:12:38 b40fc9e46828: Download complete 11:12:39 2f39f015ded8: Pull complete 11:12:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:39 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:12:39 e2dd1b2a9dca: Verifying Checksum 11:12:39 e2dd1b2a9dca: Download complete 11:12:41 $ docker top 1048e49da22a1cf5edfcafcf3e906b64c22d0faa933727afb0bc752bf89a7b65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:42 ---> job-cost.sh 11:12:42 lf-activate-venv: SKIPPING 11:12:42 INFO: No Stack... 11:12:42 INFO: Retrieving Pricing Info for: v3-standard-8 11:12:42 INFO: Archiving Costs [Pipeline] sh 11:12:43 + cat /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/cost.csv 11:12:43 + cut -d, -f6 [Pipeline] lock 11:12:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] 11:12:43 Resource [jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] did not exist. Created. 11:12:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:12:43 + echo total: 0.2199999988079071 [Pipeline] stash 11:12:43 Stashed 1 file(s) [Pipeline] } 11:12:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:12:43 $ docker stop --time=1 1048e49da22a1cf5edfcafcf3e906b64c22d0faa933727afb0bc752bf89a7b65 11:12:44 $ docker rm -f --volumes 1048e49da22a1cf5edfcafcf3e906b64c22d0faa933727afb0bc752bf89a7b65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:12:54 b40fc9e46828: Pull complete 11:12:54 c9804373a1e5: Pull complete 11:12:54 4f4fb700ef54: Pull complete 11:12:54 f5a772c54f75: Pull complete 11:13:03 e2dd1b2a9dca: Pull complete 11:13:04 0a0502178392: Pull complete 11:13:04 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 11:13:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 11:13:04 ---> 72db82c1953f 11:13:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:13:07 ---> Running in 298ddad208f1 11:13:07 Removing intermediate container 298ddad208f1 11:13:07 ---> e22d7d74f66b 11:13:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:13:07 ---> Running in 50a2999a3f9f 11:13:07 Removing intermediate container 50a2999a3f9f 11:13:07 ---> 94ae0afeb268 11:13:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:13:07 ---> Running in 6f7034f687bb 11:13:08 Removing intermediate container 6f7034f687bb 11:13:08 ---> 9146b715b93d 11:13:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:13:08 ---> Running in 605bfbe6cfa1 11:13:08 Removing intermediate container 605bfbe6cfa1 11:13:08 ---> 15185a5160f7 11:13:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:08 ---> Running in a2f331625cba 11:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:13:12 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:13:12 (2/4) Installing libedit (20240517.3.1-r0) 11:13:12 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:13:12 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:13:12 Executing busybox-1.36.1-r29.trigger 11:13:12 OK: 244 MiB in 62 packages 11:13:13 Removing intermediate container a2f331625cba 11:13:13 ---> 6457fe88fce6 11:13:13 Step 8/12 : WORKDIR /device-mqtt-go 11:13:13 ---> Running in b237743844bd 11:13:14 Removing intermediate container b237743844bd 11:13:14 ---> 289705c50e6c 11:13:14 Step 9/12 : COPY go.mod vendor* ./ 11:13:29 ---> 7fbb066f19b0 11:13:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:13:29 ---> Running in bcab359c8b4b 11:15:20 Removing intermediate container bcab359c8b4b 11:15:20 ---> d6b375a7a127 11:15:20 Step 11/12 : COPY . . 11:15:27 ---> c2b974c5fed8 11:15:27 Step 12/12 : RUN $MAKE 11:15:27 ---> Running in 33b1a01081ff 11:15:28 noop 11:15:29 Removing intermediate container 33b1a01081ff 11:15:29 ---> ca70c4c6bedd 11:15:29 Successfully built ca70c4c6bedd 11:15:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:30 + docker inspect -f . ci-base-image-arm64 11:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:30 prd-ubuntu20.04-docker-arm64-4c-16g-41157 does not seem to be running inside a container 11:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 11:15:31 $ docker top 3a3f047811385ccd1fecab61d5a5f2913551e9f8959efb528a42eccc3bed447e -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:32 + go version 11:15:32 go version go1.23.7 linux/arm64 [Pipeline] } 11:15:32 $ docker stop --time=1 3a3f047811385ccd1fecab61d5a5f2913551e9f8959efb528a42eccc3bed447e 11:15:34 $ docker rm -f --volumes 3a3f047811385ccd1fecab61d5a5f2913551e9f8959efb528a42eccc3bed447e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:35 + docker inspect -f . ci-base-image-arm64 11:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:35 prd-ubuntu20.04-docker-arm64-4c-16g-41157 does not seem to be running inside a container 11:15:35 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 11:15:37 $ docker top b1b7c56a1b88bbf9d9d4d3e8de11f7b9e77e1c069bcc5d88c585984c0d17c76f -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:38 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 11:15:38 + make test 11:15:38 go test ./... -coverprofile=coverage.out ./... 11:15:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:20:06 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 11:20:12 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 11:20:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements 11:20:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:20:13 go vet ./... 11:21:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:21:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:21:21 ./bin/test-attribution-txt.sh [Pipeline] echo 11:21:21 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:21:22 + go mod tidy [Pipeline] } 11:21:27 $ docker stop --time=1 b1b7c56a1b88bbf9d9d4d3e8de11f7b9e77e1c069bcc5d88c585984c0d17c76f 11:21:29 $ docker rm -f --volumes b1b7c56a1b88bbf9d9d4d3e8de11f7b9e77e1c069bcc5d88c585984c0d17c76f [Pipeline] // withDockerContainer [Pipeline] sh 11:21:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:21:31 Warning: overwriting stash ‘coverage-report’ 11:21:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:21:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:21:34 + ls -al . 11:21:34 total 252 11:21:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 11:15 . 11:21:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:11 .. 11:21:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 11:12 .dockerignore 11:21:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:12 .git 11:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:12 .github 11:21:34 -rw-rw-r-- 1 jenkins jenkins 256 Mar 12 11:12 .gitignore 11:21:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 11:12 .golangci.yml 11:21:34 -rw-rw-r-- 1 jenkins jenkins 19106 Mar 12 11:12 Attribution.txt 11:21:34 -rw-rw-r-- 1 jenkins jenkins 19382 Mar 12 11:12 CHANGELOG.md 11:21:34 -rw-rw-r-- 1 jenkins jenkins 1803 Mar 12 11:12 Dockerfile 11:21:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:12 GOVERNANCE.md 11:21:34 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 11:12 Jenkinsfile 11:21:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:12 LICENSE 11:21:34 -rw-rw-r-- 1 jenkins jenkins 2545 Mar 12 11:12 Makefile 11:21:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 11:12 OWNERS.md 11:21:34 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 12 11:12 README.md 11:21:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:21:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:12 bin 11:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:12 cmd 11:21:34 -rw-r--r-- 1 jenkins jenkins 21039 Mar 12 11:20 coverage.out 11:21:34 -rw-rw-r-- 1 jenkins jenkins 6175 Mar 12 11:12 go.mod 11:21:34 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 11:12 go.sum 11:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:12 internal 11:21:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:12 mock 11:21:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:12 vendor 11:21:34 -rw-rw-r-- 1 jenkins jenkins 227 Mar 12 11:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:34 + 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=2ca6c4351eafb1bbf6d29c15a2d869668aa00076 --label arch=arm64 --label version=4.0.0 . 11:21:39 Sending build context to Docker daemon 56.45MB 11:21:39 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 11:21:39 Step 2/25 : FROM ${BASE} AS builder 11:21:39 ---> ca70c4c6bedd 11:21:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:21:39 ---> Running in bbb54c8e81da 11:21:40 Removing intermediate container bbb54c8e81da 11:21:40 ---> 4eae4ed2af60 11:21:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:21:40 ---> Running in cd68c2ca9317 11:21:40 Removing intermediate container cd68c2ca9317 11:21:40 ---> b9e5b9359ce1 11:21:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:21:41 ---> Running in c1a62de0d3e8 11:21:41 Removing intermediate container c1a62de0d3e8 11:21:41 ---> df9643d5dce1 11:21:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:21:41 ---> Running in 18710b061264 11:21:41 Removing intermediate container 18710b061264 11:21:41 ---> 8a51c616e702 11:21:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:21:42 ---> Running in dc0aca16ad07 11:21:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:21:46 OK: 244 MiB in 62 packages 11:21:48 Removing intermediate container dc0aca16ad07 11:21:48 ---> 6d1fc8147a40 11:21:48 Step 8/25 : WORKDIR /device-mqtt-go 11:21:48 ---> Running in 1c17037f3edd 11:21:48 Removing intermediate container 1c17037f3edd 11:21:48 ---> c8820fba8b2a 11:21:48 Step 9/25 : COPY go.mod vendor* ./ 11:22:06 ---> fb910e607cad 11:22:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:22:06 ---> Running in f21dbc75b9c0 11:22:06 skipping... 11:22:06 Removing intermediate container f21dbc75b9c0 11:22:06 ---> abaf67b77353 11:22:06 Step 11/25 : COPY . . 11:22:24 ---> 6fe07e7daa45 11:22:24 Step 12/25 : RUN $MAKE 11:22:24 ---> Running in f7c291e0f01e 11:22:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:27:17 Removing intermediate container f7c291e0f01e 11:27:17 ---> 6021330ff35c 11:27:17 Step 13/25 : FROM alpine:3.20 11:27:17 3.20: Pulling from library/alpine 11:27:17 94e9d8af2201: Already exists 11:27:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:27:17 Status: Downloaded newer image for alpine:3.20 11:27:17 ---> 7aab056cecc6 11:27:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 11:27:17 ---> Running in b311e5e05182 11:27:17 Removing intermediate container b311e5e05182 11:27:17 ---> 6bf0ec3b6671 11:27:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:27:17 ---> Running in ed375ea56acc 11:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:27:17 (1/1) Installing dumb-init (1.2.5-r3) 11:27:17 Executing busybox-1.36.1-r29.trigger 11:27:17 OK: 9 MiB in 15 packages 11:27:17 Removing intermediate container ed375ea56acc 11:27:17 ---> 71b4b2808f60 11:27:17 Step 16/25 : RUN apk --no-cache upgrade 11:27:17 ---> Running in 810cd9e6de23 11:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:27:19 OK: 9 MiB in 15 packages 11:27:20 Removing intermediate container 810cd9e6de23 11:27:20 ---> 763104c3fe9b 11:27:20 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 11:27:22 ---> b7fd4ad17beb 11:27:22 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 11:27:23 ---> 803f5f106868 11:27:23 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:27:23 ---> e3e325ea1e9d 11:27:23 Step 20/25 : EXPOSE 59982 11:27:23 ---> Running in c6bd3053c56c 11:27:24 Removing intermediate container c6bd3053c56c 11:27:24 ---> 7c0bca8ead1d 11:27:24 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 11:27:24 ---> Running in e277753f9bb1 11:27:24 Removing intermediate container e277753f9bb1 11:27:24 ---> 2947b2ceebd2 11:27:24 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:27:24 ---> Running in 6dd51629cbb4 11:27:24 Removing intermediate container 6dd51629cbb4 11:27:24 ---> 63cfeb91c04a 11:27:24 Step 23/25 : LABEL arch=arm64 11:27:25 ---> Running in 8ea75480b101 11:27:25 Removing intermediate container 8ea75480b101 11:27:25 ---> 43b32c8a40ef 11:27:25 Step 24/25 : LABEL git_sha=2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:27:25 ---> Running in 7a788dd4c83b 11:27:26 Removing intermediate container 7a788dd4c83b 11:27:26 ---> 582f79b336cb 11:27:26 Step 25/25 : LABEL version=4.0.0 11:27:26 ---> Running in cd253701739d 11:27:26 Removing intermediate container cd253701739d 11:27:26 ---> 85ec9ff6b79e 11:27:26 [Warning] One or more build-args [ARCH] were not consumed 11:27:27 Successfully built 85ec9ff6b79e 11:27:27 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 11:27:27 provisioning config files... 11:27:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config14217813781491819740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:27 ---> ****-login.sh 11:27:27 nexus3.edgexfoundry.org:10001 11:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:28 Configure a credential helper to remove this warning. See 11:27:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:28 11:27:28 Login Succeeded 11:27:28 nexus3.edgexfoundry.org:10002 11:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:28 Configure a credential helper to remove this warning. See 11:27:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:28 11:27:28 Login Succeeded 11:27:28 nexus3.edgexfoundry.org:10003 11:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:28 Configure a credential helper to remove this warning. See 11:27:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:28 11:27:28 Login Succeeded 11:27:29 nexus3.edgexfoundry.org:10004 11:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:29 Configure a credential helper to remove this warning. See 11:27:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:29 11:27:29 Login Succeeded 11:27:29 ****.io 11:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:29 Configure a credential helper to remove this warning. See 11:27:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:29 11:27:29 Login Succeeded 11:27:30 ---> ****-login.sh ends [Pipeline] } 11:27:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:27:30 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:27:30 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:27:30 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:27:30 4.0.0 11:27:30 2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:27:30 odessa 11:27:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:27:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:27:31 2cb083e651c4: Preparing 11:27:31 6a205151e8b6: Preparing 11:27:31 32c69af8e041: Preparing 11:27:31 9d477845d29f: Preparing 11:27:31 3f453acc281d: Preparing 11:27:31 dd9c8f8612c8: Preparing 11:27:31 dd9c8f8612c8: Waiting 11:27:31 2cb083e651c4: Pushed 11:27:31 9d477845d29f: Pushed 11:27:31 6a205151e8b6: Pushed 11:27:31 3f453acc281d: Pushed 11:27:31 dd9c8f8612c8: Layer already exists 11:27:43 32c69af8e041: Pushed 11:27:43 2ca6c4351eafb1bbf6d29c15a2d869668aa00076: digest: sha256:76cb741267957cde49458d76f3cfa823455e1ecb4f10e13c011fb7eff9021540 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0 11:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:27:44 2cb083e651c4: Preparing 11:27:44 6a205151e8b6: Preparing 11:27:44 32c69af8e041: Preparing 11:27:44 9d477845d29f: Preparing 11:27:44 3f453acc281d: Preparing 11:27:44 dd9c8f8612c8: Preparing 11:27:44 dd9c8f8612c8: Waiting 11:27:44 3f453acc281d: Layer already exists 11:27:44 9d477845d29f: Layer already exists 11:27:44 32c69af8e041: Layer already exists 11:27:44 6a205151e8b6: Layer already exists 11:27:44 2cb083e651c4: Layer already exists 11:27:44 dd9c8f8612c8: Layer already exists 11:27:44 4.0.0: digest: sha256:76cb741267957cde49458d76f3cfa823455e1ecb4f10e13c011fb7eff9021540 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:27:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:27:45 2cb083e651c4: Preparing 11:27:45 6a205151e8b6: Preparing 11:27:45 32c69af8e041: Preparing 11:27:45 9d477845d29f: Preparing 11:27:45 3f453acc281d: Preparing 11:27:45 dd9c8f8612c8: Preparing 11:27:45 dd9c8f8612c8: Waiting 11:27:45 32c69af8e041: Layer already exists 11:27:45 9d477845d29f: Layer already exists 11:27:45 6a205151e8b6: Layer already exists 11:27:45 2cb083e651c4: Layer already exists 11:27:45 3f453acc281d: Layer already exists 11:27:45 dd9c8f8612c8: Layer already exists 11:27:45 2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0: digest: sha256:76cb741267957cde49458d76f3cfa823455e1ecb4f10e13c011fb7eff9021540 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:odessa 11:27:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:27:46 2cb083e651c4: Preparing 11:27:46 6a205151e8b6: Preparing 11:27:46 32c69af8e041: Preparing 11:27:46 9d477845d29f: Preparing 11:27:46 3f453acc281d: Preparing 11:27:46 dd9c8f8612c8: Preparing 11:27:46 9d477845d29f: Layer already exists 11:27:46 2cb083e651c4: Layer already exists 11:27:46 3f453acc281d: Layer already exists 11:27:46 6a205151e8b6: Layer already exists 11:27:46 32c69af8e041: Layer already exists 11:27:46 dd9c8f8612c8: Layer already exists 11:27:48 odessa: digest: sha256:76cb741267957cde49458d76f3cfa823455e1ecb4f10e13c011fb7eff9021540 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:27:48 ===================================================== [Pipeline] echo 11:27:48 taggedImages: 11:27:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076 11:27:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0 11:27:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2ca6c4351eafb1bbf6d29c15a2d869668aa00076-4.0.0 11:27:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:48 11:27:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:49 arm64: Pulling from edgex-lftools-log-publisher 11:27:49 8998bd30e6a1: Pulling fs layer 11:27:49 04944245beec: Pulling fs layer 11:27:49 699f458cf7ca: Pulling fs layer 11:27:49 765212b225bb: Pulling fs layer 11:27:49 f23df028b6ca: Pulling fs layer 11:27:49 d65c8cfc05b1: Pulling fs layer 11:27:49 2437ff75d9bd: Pulling fs layer 11:27:49 f23df028b6ca: Waiting 11:27:49 d65c8cfc05b1: Waiting 11:27:49 2437ff75d9bd: Waiting 11:27:49 765212b225bb: Waiting 11:27:49 04944245beec: Verifying Checksum 11:27:49 04944245beec: Download complete 11:27:49 765212b225bb: Verifying Checksum 11:27:49 765212b225bb: Download complete 11:27:49 f23df028b6ca: Verifying Checksum 11:27:49 f23df028b6ca: Download complete 11:27:49 d65c8cfc05b1: Verifying Checksum 11:27:49 d65c8cfc05b1: Download complete 11:27:49 699f458cf7ca: Verifying Checksum 11:27:49 699f458cf7ca: Download complete 11:27:50 8998bd30e6a1: Verifying Checksum 11:27:50 8998bd30e6a1: Download complete 11:27:52 2437ff75d9bd: Verifying Checksum 11:27:52 2437ff75d9bd: Download complete 11:27:54 8998bd30e6a1: Pull complete 11:27:55 04944245beec: Pull complete 11:27:57 699f458cf7ca: Pull complete 11:27:57 765212b225bb: Pull complete 11:27:58 f23df028b6ca: Pull complete 11:27:58 d65c8cfc05b1: Pull complete 11:28:16 2437ff75d9bd: Pull complete 11:28:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:16 prd-ubuntu20.04-docker-arm64-4c-16g-41157 does not seem to be running inside a container 11:28:17 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 11:28:20 $ docker top 743f988bf588130a10887911274144214b478caf9763246097ead3a7c466f9e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:21 ---> job-cost.sh 11:28:21 lf-activate-venv: SKIPPING 11:28:21 INFO: No Stack... 11:28:21 INFO: Retrieving Pricing Info for: v3-standard-4 11:28:22 INFO: Archiving Costs [Pipeline] sh 11:28:23 + cut -d, -f6 11:28:23 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock 11:28:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] 11:28:23 Resource [jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] did not exist. Created. 11:28:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:23 /w/workspace/device-mqtt-go/4@tmp/durable-75386e04/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:28:24 + echo total: 0.10999999940395355 [Pipeline] stash 11:28:24 Warning: overwriting stash ‘stack-cost’ 11:28:25 Stashed 1 file(s) [Pipeline] } 11:28:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:28:25 $ docker stop --time=1 743f988bf588130a10887911274144214b478caf9763246097ead3a7c466f9e6 11:28:27 $ docker rm -f --volumes 743f988bf588130a10887911274144214b478caf9763246097ead3a7c466f9e6 [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 11:28:27 provisioning config files... 11:28:27 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config2127158400194147750tmp [Pipeline] { [Pipeline] sh 11:28:28 + set +x 11:28:28 + + bashcurl -s -s -- https://codecov.io/bash 11:28:28 11:28:28 11:28:28 _____ _ 11:28:28 / ____| | | 11:28:28 | | ___ __| | ___ ___ _____ __ 11:28:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:28:28 | |___| (_) | (_| | __/ (_| (_) \ V / 11:28:28 \_____\___/ \__,_|\___|\___\___/ \_/ 11:28:28 Bash-1.0.6 11:28:28 11:28:28 11:28:28 ==> git version 2.25.1 found 11:28:28 ==> 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 11:28:28 Release-Date: 2020-01-08 11:28:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:28:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:28:28 ==> Jenkins CI detected. 11:28:28 current dir:  /w/workspace/gexfoundry_device-mqtt-go_odessa 11:28:28 project root: . 11:28:28 --> token set from env 11:28:28 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 11:28:28 ==> Running gcov in . (disable via -X gcov) 11:28:28 ==> Python coveragepy not found 11:28:28 ==> Searching for coverage reports in: 11:28:28 + . 11:28:28 -> Found 1 reports 11:28:28 ==> Detecting git/mercurial file structure 11:28:28 ==> Reading reports 11:28:28 + ./coverage.out bytes=21039 11:28:28 ==> Appending adjustments 11:28:28 https://docs.codecov.io/docs/fixing-reports 11:28:28 + Found adjustments 11:28:28 ==> Gzipping contents 11:28:28 28K /tmp/codecov.jPkuYK.gz 11:28:28 ==> Uploading reports 11:28:28 url: https://codecov.io 11:28:28 query: branch=odessa&commit=2ca6c4351eafb1bbf6d29c15a2d869668aa00076&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:28:28 -> Pinging Codecov 11:28:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=2ca6c4351eafb1bbf6d29c15a2d869668aa00076&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:28:28 -> Uploading to 11:28:28 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/2ca6c4351eafb1bbf6d29c15a2d869668aa00076/7352fbcb-4626-41db-af32-672f86f8e0e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T112828Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=aa81fb3fe4690d6bfa0b7a5f5ad57f192ad57f088bd5d4c0e1554b6784c25d6b 11:28:28 % Total % Received % Xferd Average Speed Time Time Time Current 11:28:28 Dload Upload Total Spent Left Speed 11:28:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28080 0 0 100 28080 0 193k --:--:-- --:--:-- --:--:-- 194k 11:28:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] } 11:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:28:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:28:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:28:29 11:28:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:28:29 latest: Pulling from edgex-devops/edgex-snyk-go 11:28:29 43c4264eed91: Pulling fs layer 11:28:29 4cc291be95ef: Pulling fs layer 11:28:29 2ac1f1163629: Pulling fs layer 11:28:29 5c3c966382ef: Pulling fs layer 11:28:29 4f4fb700ef54: Pulling fs layer 11:28:29 d9c7d2e4e75e: Pulling fs layer 11:28:29 9c3e1370e548: Pulling fs layer 11:28:29 5c3c966382ef: Waiting 11:28:29 4f4fb700ef54: Waiting 11:28:29 d9c7d2e4e75e: Waiting 11:28:29 9c3e1370e548: Waiting 11:28:29 4cc291be95ef: Download complete 11:28:29 5c3c966382ef: Verifying Checksum 11:28:29 5c3c966382ef: Download complete 11:28:29 4f4fb700ef54: Verifying Checksum 11:28:29 4f4fb700ef54: Download complete 11:28:29 43c4264eed91: Verifying Checksum 11:28:29 43c4264eed91: Download complete 11:28:29 43c4264eed91: Pull complete 11:28:29 d9c7d2e4e75e: Verifying Checksum 11:28:29 d9c7d2e4e75e: Download complete 11:28:29 4cc291be95ef: Pull complete 11:28:30 2ac1f1163629: Verifying Checksum 11:28:30 2ac1f1163629: Download complete 11:28:30 9c3e1370e548: Verifying Checksum 11:28:30 9c3e1370e548: Download complete 11:28:34 2ac1f1163629: Pull complete 11:28:34 5c3c966382ef: Pull complete 11:28:34 4f4fb700ef54: Pull complete 11:28:34 d9c7d2e4e75e: Pull complete 11:28:37 9c3e1370e548: Pull complete 11:28:37 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:28:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:37 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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:latest cat 11:28:39 $ docker top a35c7040fc452168b529958bd5ee9e2ca9c2df3c35617ff86d21b3f2d8515809 -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] echo 11:28:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:odessa' [Pipeline] sh 11:28:40 + set -o pipefail 11:28:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:odessa' 11:28:44 11:28:44 Monitoring /w/workspace/gexfoundry_device-mqtt-go_odessa (github.com/edgexfoundry/device-mqtt-go)... 11:28:44 11:28:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/2a61b29e-d8f7-4ffc-9a4f-5a71e2a03304/history/0144a4eb-0063-45b7-ad04-90868a7f264b 11:28:44 11:28:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:28:44 11:28:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:28:44 11:28:44 11:28:44 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:28:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:28:44 $ docker stop --time=1 a35c7040fc452168b529958bd5ee9e2ca9c2df3c35617ff86d21b3f2d8515809 11:28:46 $ docker rm -f --volumes a35c7040fc452168b529958bd5ee9e2ca9c2df3c35617ff86d21b3f2d8515809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:46 + git log --format=format:%s -1 2ca6c4351eafb1bbf6d29c15a2d869668aa00076 [Pipeline] sh 11:28:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:28:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:47 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:28:47 $ docker top f686b8dacea64054de24e4d9c9ad928c733eec46540c74ba5fc0c79845c168bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:28:47 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:48 + git semver [Pipeline] } 11:28:48 $ docker stop --time=1 f686b8dacea64054de24e4d9c9ad928c733eec46540c74ba5fc0c79845c168bd 11:28:49 $ docker rm -f --volumes f686b8dacea64054de24e4d9c9ad928c733eec46540c74ba5fc0c79845c168bd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:50 11:28:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:50 0.23.1-centos7: Pulling from edgex-lftools 11:28:50 ab5ef0e58194: Pulling fs layer 11:28:50 9712f1f96733: Pulling fs layer 11:28:50 63f879dbbcfc: Pulling fs layer 11:28:50 0d9ebad4ef96: Pulling fs layer 11:28:50 e9a5061849ea: Pulling fs layer 11:28:50 d747dcd14b5f: Pulling fs layer 11:28:50 2de7ff778b66: Pulling fs layer 11:28:50 0d9ebad4ef96: Waiting 11:28:50 2de7ff778b66: Waiting 11:28:50 d747dcd14b5f: Waiting 11:28:50 e9a5061849ea: Waiting 11:28:50 9712f1f96733: Verifying Checksum 11:28:50 9712f1f96733: Download complete 11:28:50 63f879dbbcfc: Verifying Checksum 11:28:50 63f879dbbcfc: Download complete 11:28:50 ab5ef0e58194: Verifying Checksum 11:28:50 ab5ef0e58194: Download complete 11:28:50 e9a5061849ea: Verifying Checksum 11:28:50 e9a5061849ea: Download complete 11:28:50 d747dcd14b5f: Verifying Checksum 11:28:50 d747dcd14b5f: Download complete 11:28:50 0d9ebad4ef96: Verifying Checksum 11:28:50 0d9ebad4ef96: Download complete 11:28:50 2de7ff778b66: Verifying Checksum 11:28:50 2de7ff778b66: Download complete 11:28:53 ab5ef0e58194: Pull complete 11:28:53 9712f1f96733: Pull complete 11:28:54 63f879dbbcfc: Pull complete 11:28:57 0d9ebad4ef96: Pull complete 11:28:57 e9a5061849ea: Pull complete 11:28:57 d747dcd14b5f: Pull complete 11:28:58 2de7ff778b66: Pull complete 11:28:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:58 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:28:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:29:02 $ docker top f310684589c542302ac049d2437863f7b454afa1327e287b6c0c53e3addf42dc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:29:02 provisioning config files... 11:29:02 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config4944354896630334333tmp 11:29:02 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config17087621865120721205tmp 11:29:02 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config11287409534457909565tmp [Pipeline] { [Pipeline] echo 11:29:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:29:02 ---> sigul-configuration.sh 11:29:02 gpg: directory `/root/.gnupg' created 11:29:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:29:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:29:02 gpg: keyring `/root/.gnupg/secring.gpg' created 11:29:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:29:02 gpg: CAST5 encrypted data 11:29:02 gpg: encrypted with 1 passphrase 11:29:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:29:02 + mkdir /home/jenkins 11:29:02 + mkdir /home/jenkins/sigul [Pipeline] sh 11:29:03 + 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 11:29:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:29:03 ---> sigul-install.sh 11:29:03 Sigul already installed; skipping installation. [Pipeline] sh 11:29:03 + git tag --list 11:29:03 0.7.1 11:29:03 v1.0.0 11:29:03 v1.1.0 11:29:03 v1.1.1 11:29:03 v1.2.2 11:29:03 v1.3.0 11:29:03 v1.3.1 11:29:03 v2.0.0 11:29:03 v2.1.0 11:29:03 v2.1.1 11:29:03 v2.2.0 11:29:03 v2.3.0 11:29:03 v3.0 11:29:03 v3.0.0 11:29:03 v3.1 11:29:03 v3.1.0 11:29:03 v3.1.0-dev.1 11:29:03 v3.1.0-dev.10 11:29:03 v3.1.0-dev.11 11:29:03 v3.1.0-dev.12 11:29:03 v3.1.0-dev.13 11:29:03 v3.1.0-dev.14 11:29:03 v3.1.0-dev.15 11:29:03 v3.1.0-dev.16 11:29:03 v3.1.0-dev.17 11:29:03 v3.1.0-dev.18 11:29:03 v3.1.0-dev.19 11:29:03 v3.1.0-dev.2 11:29:03 v3.1.0-dev.20 11:29:03 v3.1.0-dev.21 11:29:03 v3.1.0-dev.22 11:29:03 v3.1.0-dev.23 11:29:03 v3.1.0-dev.24 11:29:03 v3.1.0-dev.25 11:29:03 v3.1.0-dev.3 11:29:03 v3.1.0-dev.4 11:29:03 v3.1.0-dev.5 11:29:03 v3.1.0-dev.6 11:29:03 v3.1.0-dev.7 11:29:03 v3.1.0-dev.8 11:29:03 v3.1.0-dev.9 11:29:03 v3.1.1 11:29:03 v3.2.0-dev.1 11:29:03 v3.2.0-dev.10 11:29:03 v3.2.0-dev.11 11:29:03 v3.2.0-dev.12 11:29:03 v3.2.0-dev.13 11:29:03 v3.2.0-dev.14 11:29:03 v3.2.0-dev.15 11:29:03 v3.2.0-dev.16 11:29:03 v3.2.0-dev.17 11:29:03 v3.2.0-dev.18 11:29:03 v3.2.0-dev.19 11:29:03 v3.2.0-dev.2 11:29:03 v3.2.0-dev.20 11:29:03 v3.2.0-dev.21 11:29:03 v3.2.0-dev.22 11:29:03 v3.2.0-dev.23 11:29:03 v3.2.0-dev.3 11:29:03 v3.2.0-dev.4 11:29:03 v3.2.0-dev.5 11:29:03 v3.2.0-dev.6 11:29:03 v3.2.0-dev.7 11:29:03 v3.2.0-dev.8 11:29:03 v3.2.0-dev.9 11:29:03 v4.0 11:29:03 v4.0.0 11:29:03 v4.0.0-dev.1 11:29:03 v4.0.0-dev.10 11:29:03 v4.0.0-dev.11 11:29:03 v4.0.0-dev.12 11:29:03 v4.0.0-dev.13 11:29:03 v4.0.0-dev.14 11:29:03 v4.0.0-dev.15 11:29:03 v4.0.0-dev.2 11:29:03 v4.0.0-dev.3 11:29:03 v4.0.0-dev.4 11:29:03 v4.0.0-dev.5 11:29:03 v4.0.0-dev.6 11:29:03 v4.0.0-dev.7 11:29:03 v4.0.0-dev.8 11:29:03 v4.0.0-dev.9 [Pipeline] sh 11:29:04 + lftools sign git-tag v4.0.0 11:29:04 Signing Git tag with Sigul... 11:29:04 Signing v4.0.0 [Pipeline] echo 11:29:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:29:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:29:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:29:05 $ docker stop --time=1 f310684589c542302ac049d2437863f7b454afa1327e287b6c0c53e3addf42dc 11:29:06 $ docker rm -f --volumes f310684589c542302ac049d2437863f7b454afa1327e287b6c0c53e3addf42dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:29:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:07 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:29:07 $ docker top b9857929392625be2ce26cd66106b730e57a66637a5ff7c0fa2ff7b1d9f99c18 -eo pid,comm 11:29:07 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). 11:29:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:07 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:08 + git semver [Pipeline] } 11:29:08 $ docker stop --time=1 b9857929392625be2ce26cd66106b730e57a66637a5ff7c0fa2ff7b1d9f99c18 11:29:09 $ docker rm -f --volumes b9857929392625be2ce26cd66106b730e57a66637a5ff7c0fa2ff7b1d9f99c18 [Pipeline] // withDockerContainer [Pipeline] sh 11:29:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:10 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:29:10 $ docker top 1ec87e638406722cc88e0ec5b9b91df4a4328980185b138588788aaaa73c4bf6 -eo pid,comm 11:29:10 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). 11:29:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:10 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:11 + git semver [Pipeline] } 11:29:11 $ docker stop --time=1 1ec87e638406722cc88e0ec5b9b91df4a4328980185b138588788aaaa73c4bf6 11:29:12 $ docker rm -f --volumes 1ec87e638406722cc88e0ec5b9b91df4a4328980185b138588788aaaa73c4bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:29:13 + [ -d /w/workspace/gexfoundry_device-mqtt-go_odessa/archives ] 11:29:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 11:29:13 total 16 11:29:13 drwxr-xr-x 3 root root 4096 Mar 12 11:12 . 11:29:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 11:29 .. 11:29:13 drwxr-xr-x 2 root root 4096 Mar 12 11:12 cost 11:29:13 -rw-r--r-- 1 root root 86 Mar 12 11:12 cost.csv 11:29:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 11:29:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 11:29:13 total 16 11:29:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:12 . 11:29:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 11:29 .. 11:29:13 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 11:12 cost 11:29:13 -rw-r--r-- 1 jenkins jenkins 86 Mar 12 11:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:29:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:29:14 ---> package-listing.sh 11:29:14 ++ facter osfamily 11:29:14 ++ tr '[:upper:]' '[:lower:]' 11:29:14 + OS_FAMILY=debian 11:29:14 + workspace=/w/workspace/gexfoundry_device-mqtt-go_odessa 11:29:14 + START_PACKAGES=/tmp/packages_start.txt 11:29:14 + END_PACKAGES=/tmp/packages_end.txt 11:29:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:29:14 + PACKAGES=/tmp/packages_start.txt 11:29:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_odessa ']' 11:29:14 + PACKAGES=/tmp/packages_end.txt 11:29:14 + case "${OS_FAMILY}" in 11:29:14 + dpkg -l 11:29:14 + grep '^ii' 11:29:14 + '[' -f /tmp/packages_start.txt ']' 11:29:14 + '[' -f /tmp/packages_end.txt ']' 11:29:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:29:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_odessa ']' 11:29:14 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/ 11:29:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/ [Pipeline] echo 11:29:14 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/gexfoundry_device-mqtt-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:29:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:15 prd-ubuntu20.04-docker-8c-8g-41152 does not seem to be running inside a container 11:29:15 $ 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/gexfoundry_device-mqtt-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_odessa -v /w/workspace/gexfoundry_device-mqtt-go_odessa:/w/workspace/gexfoundry_device-mqtt-go_odessa:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp:/w/workspace/gexfoundry_device-mqtt-go_odessa@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 11:29:15 $ docker top 8fc7970e43e01c2802ac70c215a2c926af06ea39981aa7004776c51f2464676c -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:29:16 + mkdir -p /var/log/sysstat [Pipeline] sh 11:29:16 + ls /var/log/sa-host 11:29:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:17 provisioning config files... 11:29:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config5068627311801531835tmp [Pipeline] { [Pipeline] echo 11:29:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:29:17 ---> create-netrc.sh [Pipeline] } 11:29:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:29:17 ---> python-tools-install.sh [Pipeline] echo 11:29:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:29:18 ---> sudo-logs.sh 11:29:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:29:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:29:18 ---> job-cost.sh 11:29:18 lf-activate-venv: SKIPPING 11:29:18 DEBUG: total: 0.2199999988079071 11:29:18 INFO: Retrieving Stack Cost... 11:29:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:29:18 INFO: Archiving Costs [Pipeline] echo 11:29:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:29:19 ---> logs-deploy.sh 11:29:19 lf-activate-venv: SKIPPING 11:29:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/odessa/4 11:29:19 INFO: archiving workspace using pattern(s): 11:29:20 Archives upload complete. 11:29:20 INFO: archiving logs to Nexus