Started by upstream project "edgexfoundry/cd-management/release-lts" build number 97 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8eea87694ada06ee6f8df473457e603eac76a2c7 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-ssh16989510446119069852.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-ssh1040388466561188957.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-ssh17440026954580456159.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-ssh10048979322914773416.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-ssh4875369003427846221.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41084 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 8eea87694ada06ee6f8df473457e603eac76a2c7 (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 8eea87694ada06ee6f8df473457e603eac76a2c7 # timeout=10 > git rev-list --no-walk 8eea87694ada06ee6f8df473457e603eac76a2c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:56:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:09 ========================================================= 07:56:09 EdgeX Global Pipelines Version Info 07:56:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:10 ------------------- 07:56:10 stable info: 07:56:10 ------------------- 07:56:10 Commited By: Cherry Wang cherry@iotechsys.com 07:56:10 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:56:10 Message: update stable to v1.0.271 07:56:10 ------------------- 07:56:10 experimental info: 07:56:10 ------------------- 07:56:10 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:10 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:56:10 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8eea876 [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:11 provisioning config files... 07:56:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config11403927553257693450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:12 ---> ****-login.sh 07:56:12 nexus3.edgexfoundry.org:10001 07:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:12 Configure a credential helper to remove this warning. See 07:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:12 07:56:12 Login Succeeded 07:56:12 nexus3.edgexfoundry.org:10002 07:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:12 Configure a credential helper to remove this warning. See 07:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:12 07:56:12 Login Succeeded 07:56:12 nexus3.edgexfoundry.org:10003 07:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:12 Configure a credential helper to remove this warning. See 07:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:12 07:56:12 Login Succeeded 07:56:12 nexus3.edgexfoundry.org:10004 07:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:12 Configure a credential helper to remove this warning. See 07:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:12 07:56:12 Login Succeeded 07:56:12 ****.io 07:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:12 Configure a credential helper to remove this warning. See 07:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:12 07:56:12 Login Succeeded 07:56:12 ---> ****-login.sh ends [Pipeline] } 07:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:56:13 + git rev-list -1 --merges 8eea87694ada06ee6f8df473457e603eac76a2c7~1..8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] echo 07:56:13 -----------> git rev-list -1 --merges 8eea87694ada06ee6f8df473457e603eac76a2c7~1..8eea87694ada06ee6f8df473457e603eac76a2c7 8eea87694ada06ee6f8df473457e603eac76a2c7 [false] [Pipeline] sh 07:56:13 + git log --format=format:%s -1 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] echo 07:56:13 ========================================================= 07:56:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:56:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:13 + git log --format=format:%s -1 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] echo 07:56:13 [semverPrep] GIT_COMMIT: 8eea87694ada06ee6f8df473457e603eac76a2c7, Commit Message: ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] echo 07:56:13 [semverPrep] This is not a build commit. [Pipeline] sh 07:56:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:14 + grep -v github /etc/ssh/ssh_known_hosts 07:56:14 + [ -e /tmp/ssh_known_hosts ] 07:56:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:56:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:56:14 + sudo tee -a /etc/ssh/ssh_known_hosts 07:56:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:14 07:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:15 0.1.4: Pulling from edgex-devops/py-git-semver 07:56:15 b85a868b505f: Pulling fs layer 07:56:15 e2be974225ed: Pulling fs layer 07:56:15 339a4e72a1f5: Pulling fs layer 07:56:15 988bab9f4d93: Pulling fs layer 07:56:15 1469e6f7b9e6: Pulling fs layer 07:56:15 eaf3925da568: Pulling fs layer 07:56:15 bab4dde63d76: Pulling fs layer 07:56:15 bde34c3a00c8: Pulling fs layer 07:56:15 b352a97aabf1: Pulling fs layer 07:56:15 4872d77fe225: Pulling fs layer 07:56:15 5851b861e8e6: Pulling fs layer 07:56:15 bab4dde63d76: Waiting 07:56:15 bde34c3a00c8: Waiting 07:56:15 b352a97aabf1: Waiting 07:56:15 4872d77fe225: Waiting 07:56:15 5851b861e8e6: Waiting 07:56:15 988bab9f4d93: Waiting 07:56:15 1469e6f7b9e6: Waiting 07:56:15 eaf3925da568: Waiting 07:56:15 e2be974225ed: Download complete 07:56:15 988bab9f4d93: Download complete 07:56:15 1469e6f7b9e6: Verifying Checksum 07:56:15 1469e6f7b9e6: Download complete 07:56:15 339a4e72a1f5: Verifying Checksum 07:56:15 339a4e72a1f5: Download complete 07:56:15 eaf3925da568: Download complete 07:56:15 bde34c3a00c8: Verifying Checksum 07:56:15 bde34c3a00c8: Download complete 07:56:15 b352a97aabf1: Verifying Checksum 07:56:15 b352a97aabf1: Download complete 07:56:15 4872d77fe225: Verifying Checksum 07:56:15 4872d77fe225: Download complete 07:56:15 5851b861e8e6: Download complete 07:56:15 b85a868b505f: Verifying Checksum 07:56:15 b85a868b505f: Download complete 07:56:15 bab4dde63d76: Verifying Checksum 07:56:15 bab4dde63d76: Download complete 07:56:16 b85a868b505f: Pull complete 07:56:16 e2be974225ed: Pull complete 07:56:17 339a4e72a1f5: Pull complete 07:56:17 988bab9f4d93: Pull complete 07:56:17 1469e6f7b9e6: Pull complete 07:56:17 eaf3925da568: Pull complete 07:56:19 bab4dde63d76: Pull complete 07:56:19 bde34c3a00c8: Pull complete 07:56:19 b352a97aabf1: Pull complete 07:56:19 4872d77fe225: Pull complete 07:56:20 5851b861e8e6: Pull complete 07:56:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:56:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:20 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 07:56:20 $ 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 07:56:23 $ docker top 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 -eo pid,comm 07:56:23 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). 07:56:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:23 [ssh-agent] Looking for ssh-agent implementation... 07:56:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:23 $ docker exec 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 ssh-agent 07:56:23 SSH_AUTH_SOCK=/tmp/ssh-76akwmfHLxXB/agent.32 07:56:23 SSH_AGENT_PID=38 07:56:23 Running ssh-add (command line suppressed) 07:56:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_15045620114450493648.key (/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_15045620114450493648.key) 07:56:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:23 + git tag --points-at 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] } 07:56:23 $ docker exec --env ******** --env ******** 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 ssh-agent -k 07:56:23 unset SSH_AUTH_SOCK; 07:56:23 unset SSH_AGENT_PID; 07:56:23 echo Agent pid 38 killed; 07:56:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:56:23 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 07:56:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:23 [ssh-agent] Looking for ssh-agent implementation... 07:56:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:24 $ docker exec 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 ssh-agent 07:56:24 SSH_AUTH_SOCK=/tmp/ssh-w6fmBXZBCi86/agent.71 07:56:24 SSH_AGENT_PID=77 07:56:24 Running ssh-add (command line suppressed) 07:56:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_5673214499085708639.key (/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/private_key_5673214499085708639.key) 07:56:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:24 + git semver init 07:56:24 2025-03-12 07:56:24,844 [run_init] DEBUG init version:0.0.0 force:False 07:56:24 2025-03-12 07:56:24,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_odessa/.semver 07:56:24 2025-03-12 07:56:24,845 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver 07:56:24 2025-03-12 07:56:24,846 [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) 07:56:26 2025-03-12 07:56:26,820 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_odessa/.git/info/exclude 07:56:26 2025-03-12 07:56:26,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa with force:False 07:56:26 2025-03-12 07:56:26,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa 07:56:26 2025-03-12 07:56:26,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_odessa/.semver/odessa 07:56:26 4.0.0 [Pipeline] } 07:56:26 $ docker exec --env ******** --env ******** 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 ssh-agent -k 07:56:26 unset SSH_AUTH_SOCK; 07:56:26 unset SSH_AGENT_PID; 07:56:26 echo Agent pid 77 killed; 07:56:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:56:27 + git semver [Pipeline] } 07:56:27 $ docker stop --time=1 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 07:56:28 $ docker rm -f --volumes 323186ba181377ecb66586436a7d5cbdda76b3b87f6002895d640f9dcb447ef6 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:56:29 Stashed 1 file(s) [Pipeline] echo 07:56:29 [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 07:56:29 + git checkout 8eea87694ada06ee6f8df473457e603eac76a2c7 07:56:29 HEAD is now at 8eea876 ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:29 provisioning config files... 07:56:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config5690595157142317092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:30 ---> ****-login.sh 07:56:30 nexus3.edgexfoundry.org:10001 07:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:30 Configure a credential helper to remove this warning. See 07:56:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:30 07:56:30 Login Succeeded 07:56:30 nexus3.edgexfoundry.org:10002 07:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:30 Configure a credential helper to remove this warning. See 07:56:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:30 07:56:30 Login Succeeded 07:56:30 nexus3.edgexfoundry.org:10003 07:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:30 Configure a credential helper to remove this warning. See 07:56:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:30 07:56:30 Login Succeeded 07:56:30 nexus3.edgexfoundry.org:10004 07:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:30 Configure a credential helper to remove this warning. See 07:56:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:30 07:56:30 Login Succeeded 07:56:30 ****.io 07:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:31 Configure a credential helper to remove this warning. See 07:56:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:31 07:56:31 Login Succeeded 07:56:31 ---> ****-login.sh ends [Pipeline] } 07:56:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:56:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:56:31 + grep ^go [0-9].[0-9]* go.mod 07:56:31 + cut -d -f 2 [Pipeline] echo 07:56:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:56:31 ========================================================= 07:56:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 07:56:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:31 + 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 . 07:56:32 Sending build context to Docker daemon 71.84MB 07:56:32 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:56:32 Step 2/12 : FROM ${BASE} AS builder 07:56:32 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:56:32 0a9a5dfd008f: Pulling fs layer 07:56:32 8833042f23b5: Pulling fs layer 07:56:32 6ca661eb024f: Pulling fs layer 07:56:32 b5acb76e9680: Pulling fs layer 07:56:32 4f4fb700ef54: Pulling fs layer 07:56:32 012bb1f9d321: Pulling fs layer 07:56:32 97255f1bc79d: Pulling fs layer 07:56:32 454448c9edf9: Pulling fs layer 07:56:32 15f87924ceaf: Pulling fs layer 07:56:32 4f4fb700ef54: Waiting 07:56:32 15f87924ceaf: Waiting 07:56:32 454448c9edf9: Waiting 07:56:32 012bb1f9d321: Waiting 07:56:32 97255f1bc79d: Waiting 07:56:32 b5acb76e9680: Waiting 07:56:32 8833042f23b5: Verifying Checksum 07:56:32 8833042f23b5: Download complete 07:56:32 b5acb76e9680: Verifying Checksum 07:56:32 b5acb76e9680: Download complete 07:56:32 4f4fb700ef54: Verifying Checksum 07:56:32 4f4fb700ef54: Download complete 07:56:32 012bb1f9d321: Download complete 07:56:32 0a9a5dfd008f: Download complete 07:56:32 97255f1bc79d: Verifying Checksum 07:56:32 97255f1bc79d: Download complete 07:56:32 0a9a5dfd008f: Pull complete 07:56:32 15f87924ceaf: Verifying Checksum 07:56:32 15f87924ceaf: Download complete 07:56:32 8833042f23b5: Pull complete 07:56:33 6ca661eb024f: Download complete 07:56:33 454448c9edf9: Verifying Checksum 07:56:33 454448c9edf9: Download complete 07:56:37 6ca661eb024f: Pull complete 07:56:37 b5acb76e9680: Pull complete 07:56:37 4f4fb700ef54: Pull complete 07:56:37 012bb1f9d321: Pull complete 07:56:37 97255f1bc79d: Pull complete 07:56:39 454448c9edf9: Pull complete 07:56:40 15f87924ceaf: Pull complete 07:56:40 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 07:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 07:56:40 ---> bc3d7bf65e23 07:56:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:56:44 ---> Running in a3c2833b69de 07:56:44 Removing intermediate container a3c2833b69de 07:56:44 ---> ce74db3fc78d 07:56:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:56:44 ---> Running in a59e4b60a88e 07:56:44 Removing intermediate container a59e4b60a88e 07:56:44 ---> 8e27eb82b713 07:56:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:56:44 ---> Running in b3c60c026ec7 07:56:44 Removing intermediate container b3c60c026ec7 07:56:44 ---> abe703d71111 07:56:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:56:44 ---> Running in f9d66647beb3 07:56:44 Removing intermediate container f9d66647beb3 07:56:44 ---> b99b093403e2 07:56:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:44 ---> Running in 9a70c1fb15fd 07:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:56:44 Still waiting to schedule task 07:56:44 ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:56:44 ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:56:44 ‘prd-ubuntu20.04-docker-8c-8g-41076’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:56:44 ‘prd-ubuntu20.04-docker-8c-8g-41079’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:56:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41085’ is offline 07:56:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41086’ is offline 07:56:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41087’ is offline 07:56:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41088’ is offline 07:56:45 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:56:45 (2/4) Installing libedit (20240517.3.1-r0) 07:56:45 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:56:45 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:56:45 Executing busybox-1.36.1-r29.trigger 07:56:45 OK: 252 MiB in 62 packages 07:56:45 Removing intermediate container 9a70c1fb15fd 07:56:45 ---> 43b08ec9344c 07:56:45 Step 8/12 : WORKDIR /device-mqtt-go 07:56:45 ---> Running in 713f13990d1a 07:56:45 Removing intermediate container 713f13990d1a 07:56:45 ---> 29e11485dfd2 07:56:45 Step 9/12 : COPY go.mod vendor* ./ 07:56:48 ---> 8e650b63b4e1 07:56:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:48 ---> Running in 75b9776eb985 07:57:27 Removing intermediate container 75b9776eb985 07:57:27 ---> 307dfb93d980 07:57:27 Step 11/12 : COPY . . 07:57:27 ---> 1c52930856a4 07:57:27 Step 12/12 : RUN $MAKE 07:57:27 ---> Running in 464dc4442037 07:57:27 noop 07:57:27 Removing intermediate container 464dc4442037 07:57:27 ---> e8539da72f8e 07:57:27 Successfully built e8539da72f8e 07:57:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:28 + docker inspect -f . ci-base-image-x86_64 07:57:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:28 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 07:57:28 $ 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 07:57:28 $ docker top ebda4ae814a118d953da6f664d0b6e7661113aedbdcb616a22704296b463f4b6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:28 + go version 07:57:28 go version go1.23.7 linux/amd64 [Pipeline] } 07:57:28 $ docker stop --time=1 ebda4ae814a118d953da6f664d0b6e7661113aedbdcb616a22704296b463f4b6 07:57:30 $ docker rm -f --volumes ebda4ae814a118d953da6f664d0b6e7661113aedbdcb616a22704296b463f4b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:30 + docker inspect -f . ci-base-image-x86_64 07:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:30 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 07:57:30 $ 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 07:57:31 $ docker top 0a0e2204f73dabffdbf99f77448f2640f3f2ba4a19f92b467745659327574fbe -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] fileExists [Pipeline] sh 07:57:31 + make test 07:57:31 go test ./... -coverprofile=coverage.out ./... 07:57:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:57:52 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 07:57:52 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 07:57:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 07:58:02 go vet ./... 07:58:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:58:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:58:07 ./bin/test-attribution-txt.sh [Pipeline] echo 07:58:08 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:58:08 + go mod tidy [Pipeline] } 07:58:08 $ docker stop --time=1 0a0e2204f73dabffdbf99f77448f2640f3f2ba4a19f92b467745659327574fbe 07:58:12 $ docker rm -f --volumes 0a0e2204f73dabffdbf99f77448f2640f3f2ba4a19f92b467745659327574fbe [Pipeline] // withDockerContainer [Pipeline] sh 07:58:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:58:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:58:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:14 + ls -al . 07:58:14 total 256 07:58:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:57 . 07:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:56 .. 07:58:14 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:56 .dockerignore 07:58:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:57 .git 07:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:56 .github 07:58:14 -rw-rw-r-- 1 jenkins jenkins 256 Mar 12 07:56 .gitignore 07:58:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 07:56 .golangci.yml 07:58:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:56 .semver 07:58:14 -rw-rw-r-- 1 jenkins jenkins 19106 Mar 12 07:56 Attribution.txt 07:58:14 -rw-rw-r-- 1 jenkins jenkins 19382 Mar 12 07:56 CHANGELOG.md 07:58:14 -rw-rw-r-- 1 jenkins jenkins 1803 Mar 12 07:56 Dockerfile 07:58:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:56 GOVERNANCE.md 07:58:14 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 07:56 Jenkinsfile 07:58:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:56 LICENSE 07:58:14 -rw-rw-r-- 1 jenkins jenkins 2545 Mar 12 07:56 Makefile 07:58:14 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 07:56 OWNERS.md 07:58:14 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 12 07:56 README.md 07:58:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:56 VERSION 07:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:56 bin 07:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:56 cmd 07:58:14 -rw-r--r-- 1 jenkins jenkins 21039 Mar 12 07:57 coverage.out 07:58:14 -rw-rw-r-- 1 jenkins jenkins 6175 Mar 12 07:56 go.mod 07:58:14 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 07:56 go.sum 07:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:56 internal 07:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:56 mock 07:58:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:56 vendor 07:58:14 -rw-rw-r-- 1 jenkins jenkins 227 Mar 12 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:14 + 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=8eea87694ada06ee6f8df473457e603eac76a2c7 --label arch=amd64 --label version=4.0.0 . 07:58:15 Sending build context to Docker daemon 71.86MB 07:58:15 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:58:15 Step 2/25 : FROM ${BASE} AS builder 07:58:15 ---> e8539da72f8e 07:58:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:58:16 ---> Running in 38003768aa0a 07:58:16 Removing intermediate container 38003768aa0a 07:58:16 ---> 15af9f14058c 07:58:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:16 ---> Running in 974c452c1e33 07:58:16 Removing intermediate container 974c452c1e33 07:58:16 ---> 49dfa7fb6288 07:58:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:58:16 ---> Running in 1e9b866a656d 07:58:16 Removing intermediate container 1e9b866a656d 07:58:16 ---> 2f7e28bdf211 07:58:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:58:16 ---> Running in ed57d66c9766 07:58:16 Removing intermediate container ed57d66c9766 07:58:16 ---> 5ba46f443d01 07:58:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:16 ---> Running in 18c65faea8dd 07:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:58:17 OK: 252 MiB in 62 packages 07:58:17 Removing intermediate container 18c65faea8dd 07:58:17 ---> 5b73428f8872 07:58:17 Step 8/25 : WORKDIR /device-mqtt-go 07:58:17 ---> Running in 907d8576b6b2 07:58:17 Removing intermediate container 907d8576b6b2 07:58:17 ---> 03e0c797e981 07:58:17 Step 9/25 : COPY go.mod vendor* ./ 07:58:20 ---> bbbf0d955e10 07:58:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:20 ---> Running in 785d4a28a9ea 07:58:20 skipping... 07:58:20 Removing intermediate container 785d4a28a9ea 07:58:20 ---> f3e760b54cf0 07:58:20 Step 11/25 : COPY . . 07:58:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41091 in /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] { [Pipeline] ws 07:58:23 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 07:58:24 ---> 497983014d54 07:58:24 Step 12/25 : RUN $MAKE 07:58:24 ---> Running in 339d761b6fdf 07:58: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 07:58:26 The recommended git tool is: git 07:58:33 using credential edgex-jenkins-ssh 07:58:33 Cloning the remote Git repository 07:58:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:58:33 > git init /w/workspace/device-mqtt-go/2 # timeout=10 07:58:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:58:33 > git --version # timeout=10 07:58:33 > git --version # 'git version 2.25.1' 07:58:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:58:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:39 Avoid second fetch 07:58:39 Checking out Revision 8eea87694ada06ee6f8df473457e603eac76a2c7 (odessa) 07:58:39 > git config core.sparsecheckout # timeout=10 07:58:39 > git checkout -f 8eea87694ada06ee6f8df473457e603eac76a2c7 # timeout=10 07:58:41 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 07:58:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:58:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:46 Dload Upload Total Spent Left Speed 07:58:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 184k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 07:58:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:58:47 + sudo tee /etc/docker/daemon.new 07:58:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:58:47 { 07:58:47 "registry-mirrors": [ 07:58:47 "https://nexus3.edgexfoundry.org:10001" 07:58:47 ], 07:58:47 "bip": "10.250.0.254/24", 07:58:47 "hosts": [ 07:58:47 "tcp://0.0.0.0:5555", 07:58:47 "unix:///var/run/docker.sock" 07:58:47 ], 07:58:47 "mtu": 1458, 07:58:47 "selinux-enabled": true, 07:58:47 "seccomp-profile": "/etc/docker/seccomp.json" 07:58:47 } [Pipeline] sh 07:58:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:58:47 + sudo service docker restart 07:58:56 Removing intermediate container 339d761b6fdf 07:58:56 ---> f0d96e627647 07:58:56 Step 13/25 : FROM alpine:3.20 07:58:56 3.20: Pulling from library/alpine 07:58:56 0a9a5dfd008f: Already exists 07:58:56 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:58:56 Status: Downloaded newer image for alpine:3.20 07:58:56 ---> ff221270b9fb 07:58:56 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 07:58:56 ---> Running in 1306870e6e45 07:58:56 Removing intermediate container 1306870e6e45 07:58:56 ---> bb48393cb1f3 07:58:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:58:56 ---> Running in d6f8c210ed3e 07:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:58:56 (1/1) Installing dumb-init (1.2.5-r3) 07:58:56 Executing busybox-1.36.1-r29.trigger 07:58:56 OK: 8 MiB in 15 packages 07:58:56 Removing intermediate container d6f8c210ed3e 07:58:56 ---> fec53e791f6c 07:58:56 Step 16/25 : RUN apk --no-cache upgrade 07:58:56 ---> Running in b9e0d9f1c1cc 07:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:58:56 OK: 8 MiB in 15 packages 07:58:56 Removing intermediate container b9e0d9f1c1cc 07:58:56 ---> 42dccff0c2a3 07:58:56 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:58:57 ---> 14af15fc47f9 07:58:57 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:58:57 ---> f00b6fb68b80 07:58:57 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:58:57 ---> 3e79009eafb9 07:58:57 Step 20/25 : EXPOSE 59982 07:58:57 ---> Running in 3341666fc38f 07:58:57 Removing intermediate container 3341666fc38f 07:58:57 ---> f879031c1654 07:58:57 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:58:57 ---> Running in e57eda01de6f 07:58:57 Removing intermediate container e57eda01de6f 07:58:57 ---> 905bb5cbd7bd 07:58:57 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:58:58 ---> Running in 9a48bf5e33ec 07:58:58 Removing intermediate container 9a48bf5e33ec 07:58:58 ---> e90cc199de8d 07:58:58 Step 23/25 : LABEL arch=amd64 07:58:58 ---> Running in 7f61a9f4ca73 07:58:58 Removing intermediate container 7f61a9f4ca73 07:58:58 ---> ffaac28555d1 07:58:58 Step 24/25 : LABEL git_sha=8eea87694ada06ee6f8df473457e603eac76a2c7 07:58:58 ---> Running in 1b7ce980bd13 07:58:58 Removing intermediate container 1b7ce980bd13 07:58:58 ---> 40aa2d0f5691 07:58:58 Step 25/25 : LABEL version=4.0.0 07:58:58 ---> Running in 7be24581ac81 07:58:58 Removing intermediate container 7be24581ac81 07:58:58 ---> 9c7090969bf9 07:58:58 [Warning] One or more build-args [ARCH] were not consumed 07:58:58 Successfully built 9c7090969bf9 07:58:58 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:58 provisioning config files... 07:58:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config6914610298409178540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:58 ---> ****-login.sh 07:58:58 nexus3.edgexfoundry.org:10001 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10002 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10003 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10004 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 ****.io 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 ---> ****-login.sh ends [Pipeline] } 07:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:58:59 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:58:59 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:58:59 8eea87694ada06ee6f8df473457e603eac76a2c7 07:58:59 4.0.0 07:58:59 8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 07:58:59 odessa 07:58:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7 07:59:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:59:00 c19c3016caf0: Preparing 07:59:00 3014d1152cf6: Preparing 07:59:00 984db1aaef17: Preparing 07:59:00 6c2f2fa15518: Preparing 07:59:00 d8b553d32ced: Preparing 07:59:00 994456c4fd7b: Preparing 07:59:00 994456c4fd7b: Waiting 07:59:00 6c2f2fa15518: Pushed 07:59:00 994456c4fd7b: Layer already exists 07:59:00 c19c3016caf0: Pushed 07:59:00 d8b553d32ced: Pushed 07:59:00 3014d1152cf6: Pushed 07:59:04 984db1aaef17: Pushed 07:59:04 8eea87694ada06ee6f8df473457e603eac76a2c7: digest: sha256:79268bb9bbb0f9ec2fd5d6e7f85c7ad84213390daec336ab11af2a37b9ae3bbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 07:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:59:05 c19c3016caf0: Preparing 07:59:05 3014d1152cf6: Preparing 07:59:05 984db1aaef17: Preparing 07:59:05 6c2f2fa15518: Preparing 07:59:05 d8b553d32ced: Preparing 07:59:05 994456c4fd7b: Preparing 07:59:05 994456c4fd7b: Waiting 07:59:05 3014d1152cf6: Layer already exists 07:59:05 6c2f2fa15518: Layer already exists 07:59:05 c19c3016caf0: Layer already exists 07:59:05 d8b553d32ced: Layer already exists 07:59:05 984db1aaef17: Layer already exists 07:59:05 994456c4fd7b: Layer already exists 07:59:05 4.0.0: digest: sha256:79268bb9bbb0f9ec2fd5d6e7f85c7ad84213390daec336ab11af2a37b9ae3bbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 07:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:59:05 c19c3016caf0: Preparing 07:59:05 3014d1152cf6: Preparing 07:59:05 984db1aaef17: Preparing 07:59:05 6c2f2fa15518: Preparing 07:59:05 d8b553d32ced: Preparing 07:59:05 994456c4fd7b: Preparing 07:59:05 994456c4fd7b: Waiting 07:59:05 6c2f2fa15518: Layer already exists 07:59:05 d8b553d32ced: Layer already exists 07:59:05 984db1aaef17: Layer already exists 07:59:05 3014d1152cf6: Layer already exists 07:59:05 c19c3016caf0: Layer already exists 07:59:05 994456c4fd7b: Layer already exists 07:59:05 8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0: digest: sha256:79268bb9bbb0f9ec2fd5d6e7f85c7ad84213390daec336ab11af2a37b9ae3bbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 07:59:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:odessa 07:59:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:59:06 c19c3016caf0: Preparing 07:59:06 3014d1152cf6: Preparing 07:59:06 984db1aaef17: Preparing 07:59:06 6c2f2fa15518: Preparing 07:59:06 d8b553d32ced: Preparing 07:59:06 994456c4fd7b: Preparing 07:59:06 994456c4fd7b: Waiting 07:59:06 c19c3016caf0: Layer already exists 07:59:06 984db1aaef17: Layer already exists 07:59:06 3014d1152cf6: Layer already exists 07:59:06 d8b553d32ced: Layer already exists 07:59:06 6c2f2fa15518: Layer already exists 07:59:06 994456c4fd7b: Layer already exists 07:59:06 odessa: digest: sha256:79268bb9bbb0f9ec2fd5d6e7f85c7ad84213390daec336ab11af2a37b9ae3bbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:59:06 ===================================================== [Pipeline] echo 07:59:06 taggedImages: 07:59:06 - nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7 07:59:06 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0 07:59:06 - nexus3.edgexfoundry.org:10004/device-mqtt:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 07:59:06 - 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] { 07:59:06 + git checkout 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] sh 07:59:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:07 07:59:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:07 latest: Pulling from edgex-lftools-log-publisher 07:59:07 5eb5b503b376: Pulling fs layer 07:59:07 5c69ac0246d0: Pulling fs layer 07:59:07 ec43610c2a17: Pulling fs layer 07:59:07 3a2ae6a8a46f: Pulling fs layer 07:59:07 33b1e0a273af: Pulling fs layer 07:59:07 5d3b04190fa2: Pulling fs layer 07:59:07 2f39f015ded8: Pulling fs layer 07:59:07 5d3b04190fa2: Waiting 07:59:07 3a2ae6a8a46f: Waiting 07:59:07 33b1e0a273af: Waiting 07:59:07 2f39f015ded8: Waiting 07:59:07 5c69ac0246d0: Download complete 07:59:07 3a2ae6a8a46f: Verifying Checksum 07:59:07 3a2ae6a8a46f: Download complete 07:59:07 HEAD is now at 8eea876 ci(lts-release): LTS release v4.0.0 @cd3c967 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:07 provisioning config files... 07:59:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config10695832453363497437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:07 33b1e0a273af: Verifying Checksum 07:59:07 33b1e0a273af: Download complete 07:59:07 ec43610c2a17: Verifying Checksum 07:59:07 ec43610c2a17: Download complete 07:59:07 5d3b04190fa2: Verifying Checksum 07:59:07 5eb5b503b376: Verifying Checksum 07:59:07 5eb5b503b376: Download complete 07:59:07 ---> ****-login.sh 07:59:07 nexus3.edgexfoundry.org:10001 07:59:08 2f39f015ded8: Download complete 07:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:08 5eb5b503b376: Pull complete 07:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:08 Configure a credential helper to remove this warning. See 07:59:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:08 07:59:08 Login Succeeded 07:59:08 nexus3.edgexfoundry.org:10002 07:59:08 5c69ac0246d0: Pull complete 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 nexus3.edgexfoundry.org:10003 07:59:09 ec43610c2a17: Pull complete 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 nexus3.edgexfoundry.org:10004 07:59:09 3a2ae6a8a46f: Pull complete 07:59:10 33b1e0a273af: Pull complete 07:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:10 Configure a credential helper to remove this warning. See 07:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:10 07:59:10 Login Succeeded 07:59:10 ****.io 07:59:10 5d3b04190fa2: Pull complete 07:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:10 Configure a credential helper to remove this warning. See 07:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:10 07:59:10 Login Succeeded 07:59:10 ---> ****-login.sh ends [Pipeline] } 07:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:11 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:59:11 + cut -d -f 2 07:59:11 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 07:59:11 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:59:11 ========================================================= 07:59:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 07:59:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:12 + 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 . 07:59:14 2f39f015ded8: Pull complete 07:59:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:14 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 07:59:14 $ 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 07:59:16 Sending build context to Docker daemon 56.42MB 07:59:16 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:59:16 Step 2/12 : FROM ${BASE} AS builder 07:59:16 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:59:16 94e9d8af2201: Pulling fs layer 07:59:16 345fe9f21930: Pulling fs layer 07:59:16 b40fc9e46828: Pulling fs layer 07:59:16 c9804373a1e5: Pulling fs layer 07:59:16 4f4fb700ef54: Pulling fs layer 07:59:16 f5a772c54f75: Pulling fs layer 07:59:16 e2dd1b2a9dca: Pulling fs layer 07:59:16 0a0502178392: Pulling fs layer 07:59:16 4f4fb700ef54: Waiting 07:59:16 f5a772c54f75: Waiting 07:59:16 e2dd1b2a9dca: Waiting 07:59:16 0a0502178392: Waiting 07:59:16 c9804373a1e5: Waiting 07:59:16 345fe9f21930: Verifying Checksum 07:59:16 345fe9f21930: Download complete 07:59:16 c9804373a1e5: Verifying Checksum 07:59:16 c9804373a1e5: Download complete 07:59:16 4f4fb700ef54: Verifying Checksum 07:59:16 4f4fb700ef54: Download complete 07:59:16 94e9d8af2201: Verifying Checksum 07:59:16 94e9d8af2201: Download complete 07:59:16 f5a772c54f75: Download complete 07:59:17 0a0502178392: Verifying Checksum 07:59:17 0a0502178392: Download complete 07:59:17 $ docker top 2716b3266018815ec029685a99236d3fcd705207f0f0861f9ca2cabb02ed19a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:17 ---> job-cost.sh 07:59:17 lf-activate-venv: SKIPPING 07:59:17 INFO: No Stack... 07:59:18 94e9d8af2201: Pull complete 07:59:18 INFO: Retrieving Pricing Info for: v3-standard-8 07:59:18 INFO: Archiving Costs [Pipeline] sh 07:59:18 345fe9f21930: Pull complete 07:59:18 + cat /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/cost.csv 07:59:18 + cut -d, -f6 [Pipeline] lock 07:59:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] 07:59:18 Resource [jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] did not exist. Created. 07:59:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:59:19 + echo total: 0.2199999988079071 [Pipeline] stash 07:59:19 Stashed 1 file(s) [Pipeline] } 07:59:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:59:19 $ docker stop --time=1 2716b3266018815ec029685a99236d3fcd705207f0f0861f9ca2cabb02ed19a4 07:59:19 b40fc9e46828: Download complete 07:59:20 e2dd1b2a9dca: Verifying Checksum 07:59:20 e2dd1b2a9dca: Download complete 07:59:20 $ docker rm -f --volumes 2716b3266018815ec029685a99236d3fcd705207f0f0861f9ca2cabb02ed19a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:59:35 b40fc9e46828: Pull complete 07:59:35 c9804373a1e5: Pull complete 07:59:35 4f4fb700ef54: Pull complete 07:59:35 f5a772c54f75: Pull complete 07:59:43 e2dd1b2a9dca: Pull complete 07:59:44 0a0502178392: Pull complete 07:59:44 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 07:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 07:59:45 ---> 72db82c1953f 07:59:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:59:47 ---> Running in 71386583bc80 07:59:48 Removing intermediate container 71386583bc80 07:59:48 ---> c5eb4a36554b 07:59:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:59:48 ---> Running in c066f2a7763d 07:59:48 Removing intermediate container c066f2a7763d 07:59:48 ---> 375988e62f1c 07:59:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:59:49 ---> Running in c99ba71db366 07:59:49 Removing intermediate container c99ba71db366 07:59:49 ---> 6381b5f3aee0 07:59:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:59:49 ---> Running in 9ceb8bffe410 07:59:49 Removing intermediate container 9ceb8bffe410 07:59:49 ---> 58515bd21158 07:59:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:49 ---> Running in c3ccfa788046 07:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:59:53 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:59:53 (2/4) Installing libedit (20240517.3.1-r0) 07:59:53 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:59:53 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:59:53 Executing busybox-1.36.1-r29.trigger 07:59:53 OK: 244 MiB in 62 packages 07:59:54 Removing intermediate container c3ccfa788046 07:59:54 ---> bdcacb5ff33f 07:59:54 Step 8/12 : WORKDIR /device-mqtt-go 07:59:55 ---> Running in c3b0af7a340f 07:59:55 Removing intermediate container c3b0af7a340f 07:59:55 ---> fceb98d2eda5 07:59:55 Step 9/12 : COPY go.mod vendor* ./ 08:00:10 ---> 35ecf5ddaf96 08:00:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:10 ---> Running in f80088c99a59 08:02:06 Removing intermediate container f80088c99a59 08:02:06 ---> 510c139d6091 08:02:06 Step 11/12 : COPY . . 08:02:10 ---> 157177d7e1cd 08:02:10 Step 12/12 : RUN $MAKE 08:02:10 ---> Running in b2d2bc97bc22 08:02:11 noop 08:02:12 Removing intermediate container b2d2bc97bc22 08:02:12 ---> 684fa44d2f8c 08:02:13 Successfully built 684fa44d2f8c 08:02:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:13 + docker inspect -f . ci-base-image-arm64 08:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-41091 does not seem to be running inside a container 08:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 08:02:15 $ docker top f00ab402d7ae42bd03d5a213b134eac897be89c2d3870b8e99b6902a68fd1d2d -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:16 + go version 08:02:16 go version go1.23.7 linux/arm64 [Pipeline] } 08:02:16 $ docker stop --time=1 f00ab402d7ae42bd03d5a213b134eac897be89c2d3870b8e99b6902a68fd1d2d 08:02:18 $ docker rm -f --volumes f00ab402d7ae42bd03d5a213b134eac897be89c2d3870b8e99b6902a68fd1d2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:19 + docker inspect -f . ci-base-image-arm64 08:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:19 prd-ubuntu20.04-docker-arm64-4c-16g-41091 does not seem to be running inside a container 08:02:19 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 08:02:21 $ docker top 1999a6a632ddbb4f0cae106fb70357619dd0e39223cc2a418e843bc66bf03fb0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:21 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 08:02:22 + make test 08:02:22 go test ./... -coverprofile=coverage.out ./... 08:02:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:07:04 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 08:07:05 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 08:07:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.8% of statements 08:07:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:07:06 go vet ./... 08:08:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:08:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:08:14 ./bin/test-attribution-txt.sh [Pipeline] echo 08:08:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:08:15 + go mod tidy [Pipeline] } 08:08:20 $ docker stop --time=1 1999a6a632ddbb4f0cae106fb70357619dd0e39223cc2a418e843bc66bf03fb0 08:08:22 $ docker rm -f --volumes 1999a6a632ddbb4f0cae106fb70357619dd0e39223cc2a418e843bc66bf03fb0 [Pipeline] // withDockerContainer [Pipeline] sh 08:08:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:08:25 Warning: overwriting stash ‘coverage-report’ 08:08:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:08:27 + ls -al . 08:08:27 total 252 08:08:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 08:02 . 08:08:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:58 .. 08:08:27 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:58 .dockerignore 08:08:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:59 .git 08:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 .github 08:08:27 -rw-rw-r-- 1 jenkins jenkins 256 Mar 12 07:58 .gitignore 08:08:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 07:58 .golangci.yml 08:08:27 -rw-rw-r-- 1 jenkins jenkins 19106 Mar 12 07:58 Attribution.txt 08:08:27 -rw-rw-r-- 1 jenkins jenkins 19382 Mar 12 07:58 CHANGELOG.md 08:08:27 -rw-rw-r-- 1 jenkins jenkins 1803 Mar 12 07:58 Dockerfile 08:08:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:58 GOVERNANCE.md 08:08:27 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 07:58 Jenkinsfile 08:08:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:58 LICENSE 08:08:27 -rw-rw-r-- 1 jenkins jenkins 2545 Mar 12 07:58 Makefile 08:08:27 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 07:58 OWNERS.md 08:08:27 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 12 07:58 README.md 08:08:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:56 VERSION 08:08:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:58 bin 08:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 cmd 08:08:27 -rw-r--r-- 1 jenkins jenkins 21039 Mar 12 08:07 coverage.out 08:08:27 -rw-rw-r-- 1 jenkins jenkins 6175 Mar 12 07:58 go.mod 08:08:27 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 07:58 go.sum 08:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:58 internal 08:08:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:58 mock 08:08:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:58 vendor 08:08:27 -rw-rw-r-- 1 jenkins jenkins 227 Mar 12 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:27 + 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=8eea87694ada06ee6f8df473457e603eac76a2c7 --label arch=arm64 --label version=4.0.0 . 08:08:31 Sending build context to Docker daemon 56.45MB 08:08:31 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 08:08:31 Step 2/25 : FROM ${BASE} AS builder 08:08:31 ---> 684fa44d2f8c 08:08:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:08:32 ---> Running in 9b3430fd08a4 08:08:33 Removing intermediate container 9b3430fd08a4 08:08:33 ---> 7e9df9faa596 08:08:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:08:33 ---> Running in d22120915e12 08:08:33 Removing intermediate container d22120915e12 08:08:33 ---> c623e4f981e2 08:08:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:08:33 ---> Running in e054c01910cb 08:08:33 Removing intermediate container e054c01910cb 08:08:33 ---> 734c47b557af 08:08:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:08:33 ---> Running in 87daf8aa62bb 08:08:34 Removing intermediate container 87daf8aa62bb 08:08:34 ---> 3d850f7e537b 08:08:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:08:34 ---> Running in 55283ad7a6ad 08:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:08:37 OK: 244 MiB in 62 packages 08:08:38 Removing intermediate container 55283ad7a6ad 08:08:38 ---> 72dcf40f98dc 08:08:38 Step 8/25 : WORKDIR /device-mqtt-go 08:08:38 ---> Running in 8b262e13c2fe 08:08:39 Removing intermediate container 8b262e13c2fe 08:08:39 ---> 5d8c837c9af2 08:08:39 Step 9/25 : COPY go.mod vendor* ./ 08:08:54 ---> 2a96b3822960 08:08:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:08:54 ---> Running in 4d11cbde01fb 08:08:55 skipping... 08:08:55 Removing intermediate container 4d11cbde01fb 08:08:55 ---> dd3055e4e2b5 08:08:55 Step 11/25 : COPY . . 08:09:10 ---> 27948f110854 08:09:10 Step 12/25 : RUN $MAKE 08:09:10 ---> Running in d73e80e55a87 08:09:10 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 08:13:17 Removing intermediate container d73e80e55a87 08:13:17 ---> d414bf8b2a6f 08:13:17 Step 13/25 : FROM alpine:3.20 08:13:17 3.20: Pulling from library/alpine 08:13:17 94e9d8af2201: Already exists 08:13:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:13:17 Status: Downloaded newer image for alpine:3.20 08:13:17 ---> 7aab056cecc6 08:13:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 08:13:17 ---> Running in 6d83b2e9f245 08:13:17 Removing intermediate container 6d83b2e9f245 08:13:17 ---> 869106731436 08:13:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:13:17 ---> Running in 2c41f3868775 08:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:13:17 (1/1) Installing dumb-init (1.2.5-r3) 08:13:17 Executing busybox-1.36.1-r29.trigger 08:13:17 OK: 9 MiB in 15 packages 08:13:17 Removing intermediate container 2c41f3868775 08:13:17 ---> af0e4e4d588a 08:13:17 Step 16/25 : RUN apk --no-cache upgrade 08:13:17 ---> Running in c257b30b16fc 08:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:13:20 OK: 9 MiB in 15 packages 08:13:21 Removing intermediate container c257b30b16fc 08:13:21 ---> de3c02f05ede 08:13:21 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 08:13:23 ---> 25c414b95924 08:13:23 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 08:13:24 ---> 25346da0e319 08:13:24 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:13:25 ---> c600cd268985 08:13:25 Step 20/25 : EXPOSE 59982 08:13:25 ---> Running in 7868d5bc493c 08:13:25 Removing intermediate container 7868d5bc493c 08:13:25 ---> d33b11de5309 08:13:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 08:13:25 ---> Running in 1e339e6d168c 08:13:25 Removing intermediate container 1e339e6d168c 08:13:25 ---> eed0d9e807a3 08:13:25 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:13:25 ---> Running in 258aa0206770 08:13:26 Removing intermediate container 258aa0206770 08:13:26 ---> 0bb48db7e00a 08:13:26 Step 23/25 : LABEL arch=arm64 08:13:26 ---> Running in c1db18d61cba 08:13:26 Removing intermediate container c1db18d61cba 08:13:26 ---> 0dfe8166acbd 08:13:26 Step 24/25 : LABEL git_sha=8eea87694ada06ee6f8df473457e603eac76a2c7 08:13:26 ---> Running in bc9e6dedb944 08:13:27 Removing intermediate container bc9e6dedb944 08:13:27 ---> 85c4a6b80ed6 08:13:27 Step 25/25 : LABEL version=4.0.0 08:13:27 ---> Running in bb6e330d8879 08:13:27 Removing intermediate container bb6e330d8879 08:13:27 ---> 3cc9e4ff79da 08:13:27 [Warning] One or more build-args [ARCH] were not consumed 08:13:28 Successfully built 3cc9e4ff79da 08:13:28 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 08:13:28 provisioning config files... 08:13:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3927708086228394616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:29 ---> ****-login.sh 08:13:29 nexus3.edgexfoundry.org:10001 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:29 Configure a credential helper to remove this warning. See 08:13:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:29 08:13:29 Login Succeeded 08:13:29 nexus3.edgexfoundry.org:10002 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:29 Configure a credential helper to remove this warning. See 08:13:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:29 08:13:29 Login Succeeded 08:13:29 nexus3.edgexfoundry.org:10003 08:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:30 Configure a credential helper to remove this warning. See 08:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:30 08:13:30 Login Succeeded 08:13:30 nexus3.edgexfoundry.org:10004 08:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:30 Configure a credential helper to remove this warning. See 08:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:30 08:13:30 Login Succeeded 08:13:30 ****.io 08:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:31 Configure a credential helper to remove this warning. See 08:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:31 08:13:31 Login Succeeded 08:13:31 ---> ****-login.sh ends [Pipeline] } 08:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:13:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:13:31 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 08:13:31 8eea87694ada06ee6f8df473457e603eac76a2c7 08:13:31 4.0.0 08:13:31 8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 08:13:31 odessa 08:13:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7 08:13:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 08:13:32 05fec3037d53: Preparing 08:13:32 f49f2117e933: Preparing 08:13:32 232a496ad79d: Preparing 08:13:32 7c90b48b246e: Preparing 08:13:32 a8d7e64fd13b: Preparing 08:13:32 dd9c8f8612c8: Preparing 08:13:32 dd9c8f8612c8: Waiting 08:13:32 f49f2117e933: Pushed 08:13:32 a8d7e64fd13b: Pushed 08:13:32 7c90b48b246e: Pushed 08:13:32 05fec3037d53: Pushed 08:13:32 dd9c8f8612c8: Layer already exists 08:13:42 232a496ad79d: Pushed 08:13:42 8eea87694ada06ee6f8df473457e603eac76a2c7: digest: sha256:cfc2b72b00d000bc79122a441f5feabde7b6856d0170ac132b9404ad9cef875d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:42 + 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 08:13:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0 08:13:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 08:13:43 05fec3037d53: Preparing 08:13:43 f49f2117e933: Preparing 08:13:43 232a496ad79d: Preparing 08:13:43 7c90b48b246e: Preparing 08:13:43 a8d7e64fd13b: Preparing 08:13:43 dd9c8f8612c8: Preparing 08:13:43 dd9c8f8612c8: Waiting 08:13:43 232a496ad79d: Layer already exists 08:13:43 7c90b48b246e: Layer already exists 08:13:43 a8d7e64fd13b: Layer already exists 08:13:43 f49f2117e933: Layer already exists 08:13:43 05fec3037d53: Layer already exists 08:13:43 dd9c8f8612c8: Layer already exists 08:13:43 4.0.0: digest: sha256:cfc2b72b00d000bc79122a441f5feabde7b6856d0170ac132b9404ad9cef875d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 08:13:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 08:13:44 05fec3037d53: Preparing 08:13:44 f49f2117e933: Preparing 08:13:44 232a496ad79d: Preparing 08:13:44 7c90b48b246e: Preparing 08:13:44 a8d7e64fd13b: Preparing 08:13:44 dd9c8f8612c8: Preparing 08:13:44 dd9c8f8612c8: Waiting 08:13:44 232a496ad79d: Layer already exists 08:13:44 7c90b48b246e: Layer already exists 08:13:44 05fec3037d53: Layer already exists 08:13:44 f49f2117e933: Layer already exists 08:13:44 a8d7e64fd13b: Layer already exists 08:13:44 dd9c8f8612c8: Layer already exists 08:13:44 8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0: digest: sha256:cfc2b72b00d000bc79122a441f5feabde7b6856d0170ac132b9404ad9cef875d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:odessa 08:13:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 08:13:45 05fec3037d53: Preparing 08:13:45 f49f2117e933: Preparing 08:13:45 232a496ad79d: Preparing 08:13:45 7c90b48b246e: Preparing 08:13:45 a8d7e64fd13b: Preparing 08:13:45 dd9c8f8612c8: Preparing 08:13:45 dd9c8f8612c8: Waiting 08:13:45 f49f2117e933: Layer already exists 08:13:45 232a496ad79d: Layer already exists 08:13:45 7c90b48b246e: Layer already exists 08:13:45 05fec3037d53: Layer already exists 08:13:45 a8d7e64fd13b: Layer already exists 08:13:45 dd9c8f8612c8: Layer already exists 08:13:45 odessa: digest: sha256:cfc2b72b00d000bc79122a441f5feabde7b6856d0170ac132b9404ad9cef875d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:13:45 ===================================================== [Pipeline] echo 08:13:45 taggedImages: 08:13:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7 08:13:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0 08:13:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8eea87694ada06ee6f8df473457e603eac76a2c7-4.0.0 08:13:45 - 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 08:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:46 08:13:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:46 arm64: Pulling from edgex-lftools-log-publisher 08:13:46 8998bd30e6a1: Pulling fs layer 08:13:46 04944245beec: Pulling fs layer 08:13:46 699f458cf7ca: Pulling fs layer 08:13:46 765212b225bb: Pulling fs layer 08:13:46 f23df028b6ca: Pulling fs layer 08:13:46 d65c8cfc05b1: Pulling fs layer 08:13:46 2437ff75d9bd: Pulling fs layer 08:13:46 f23df028b6ca: Waiting 08:13:46 d65c8cfc05b1: Waiting 08:13:46 2437ff75d9bd: Waiting 08:13:46 765212b225bb: Waiting 08:13:46 04944245beec: Verifying Checksum 08:13:46 04944245beec: Download complete 08:13:46 765212b225bb: Verifying Checksum 08:13:46 765212b225bb: Download complete 08:13:46 f23df028b6ca: Verifying Checksum 08:13:46 f23df028b6ca: Download complete 08:13:46 d65c8cfc05b1: Verifying Checksum 08:13:46 d65c8cfc05b1: Download complete 08:13:47 699f458cf7ca: Verifying Checksum 08:13:47 699f458cf7ca: Download complete 08:13:47 8998bd30e6a1: Verifying Checksum 08:13:49 2437ff75d9bd: Download complete 08:13:52 8998bd30e6a1: Pull complete 08:13:52 04944245beec: Pull complete 08:13:54 699f458cf7ca: Pull complete 08:13:54 765212b225bb: Pull complete 08:13:55 f23df028b6ca: Pull complete 08:13:55 d65c8cfc05b1: Pull complete 08:14:14 2437ff75d9bd: Pull complete 08:14:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:14:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:14 prd-ubuntu20.04-docker-arm64-4c-16g-41091 does not seem to be running inside a container 08:14:14 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 08:14:17 $ docker top 26166514f23040c2370fc7b756a105301533994da0a170e795a71803ce141006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:18 ---> job-cost.sh 08:14:18 lf-activate-venv: SKIPPING 08:14:18 INFO: No Stack... 08:14:18 INFO: Retrieving Pricing Info for: v3-standard-4 08:14:19 INFO: Archiving Costs [Pipeline] sh 08:14:20 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 08:14:20 + cut -d, -f6 [Pipeline] lock 08:14:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] 08:14:20 Resource [jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] did not exist. Created. 08:14:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:14:20 /w/workspace/device-mqtt-go/2@tmp/durable-b21c5218/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:14:21 + echo total: 0.10999999940395355 [Pipeline] stash 08:14:21 Warning: overwriting stash ‘stack-cost’ 08:14:22 Stashed 1 file(s) [Pipeline] } 08:14:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:14:22 $ docker stop --time=1 26166514f23040c2370fc7b756a105301533994da0a170e795a71803ce141006 08:14:23 $ docker rm -f --volumes 26166514f23040c2370fc7b756a105301533994da0a170e795a71803ce141006 [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 08:14:24 provisioning config files... 08:14:24 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config1643325125729820114tmp [Pipeline] { [Pipeline] sh 08:14:24 + set +x 08:14:24 + curl -s https://codecov.io/bash 08:14:24 + bash -s -- 08:14:24 08:14:24 _____ _ 08:14:24 / ____| | | 08:14:24 | | ___ __| | ___ ___ _____ __ 08:14:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:14:24 | |___| (_) | (_| | __/ (_| (_) \ V / 08:14:24 \_____\___/ \__,_|\___|\___\___/ \_/ 08:14:24 Bash-1.0.6 08:14:24 08:14:24 08:14:24 ==> git version 2.25.1 found 08:14:24 ==> 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 08:14:24 Release-Date: 2020-01-08 08:14:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:14:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:14:24 ==> Jenkins CI detected. 08:14:24 current dir:  /w/workspace/gexfoundry_device-mqtt-go_odessa 08:14:24 project root: . 08:14:24 --> token set from env 08:14:24 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 08:14:24 ==> Running gcov in . (disable via -X gcov) 08:14:24 ==> Python coveragepy not found 08:14:24 ==> Searching for coverage reports in: 08:14:24 + . 08:14:24 -> Found 1 reports 08:14:24 ==> Detecting git/mercurial file structure 08:14:24 ==> Reading reports 08:14:24 + ./coverage.out bytes=21039 08:14:24 ==> Appending adjustments 08:14:24 https://docs.codecov.io/docs/fixing-reports 08:14:24 + Found adjustments 08:14:24 ==> Gzipping contents 08:14:24 28K /tmp/codecov.OkEzDb.gz 08:14:24 ==> Uploading reports 08:14:24 url: https://codecov.io 08:14:24 query: branch=odessa&commit=8eea87694ada06ee6f8df473457e603eac76a2c7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:14:24 -> Pinging Codecov 08:14:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=8eea87694ada06ee6f8df473457e603eac76a2c7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:14:24 -> Uploading to 08:14:24 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/8eea87694ada06ee6f8df473457e603eac76a2c7/87659d0c-050f-417e-ac6e-4e07ff59de28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T081424Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=2eb541dbc191571be2a1bddb7f6535577dbc30675de23844116f20ab2a348658 08:14:25 % Total % Received % Xferd Average Speed Time Time Time Current 08:14:25 Dload Upload Total Spent Left Speed 08:14:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28080 0 0 100 28080 0 162k --:--:-- --:--:-- --:--:-- 162k 08:14:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] } 08:14:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:14:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:14:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:25 08:14:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:26 latest: Pulling from edgex-devops/edgex-snyk-go 08:14:26 43c4264eed91: Pulling fs layer 08:14:26 4cc291be95ef: Pulling fs layer 08:14:26 2ac1f1163629: Pulling fs layer 08:14:26 5c3c966382ef: Pulling fs layer 08:14:26 4f4fb700ef54: Pulling fs layer 08:14:26 d9c7d2e4e75e: Pulling fs layer 08:14:26 9c3e1370e548: Pulling fs layer 08:14:26 4f4fb700ef54: Waiting 08:14:26 9c3e1370e548: Waiting 08:14:26 5c3c966382ef: Waiting 08:14:26 4cc291be95ef: Verifying Checksum 08:14:26 4cc291be95ef: Download complete 08:14:26 5c3c966382ef: Verifying Checksum 08:14:26 5c3c966382ef: Download complete 08:14:26 4f4fb700ef54: Verifying Checksum 08:14:26 4f4fb700ef54: Download complete 08:14:26 43c4264eed91: Verifying Checksum 08:14:26 43c4264eed91: Download complete 08:14:26 43c4264eed91: Pull complete 08:14:26 d9c7d2e4e75e: Verifying Checksum 08:14:26 d9c7d2e4e75e: Download complete 08:14:26 4cc291be95ef: Pull complete 08:14:26 2ac1f1163629: Download complete 08:14:27 9c3e1370e548: Verifying Checksum 08:14:27 9c3e1370e548: Download complete 08:14:30 2ac1f1163629: Pull complete 08:14:30 5c3c966382ef: Pull complete 08:14:30 4f4fb700ef54: Pull complete 08:14:30 d9c7d2e4e75e: Pull complete 08:14:34 9c3e1370e548: Pull complete 08:14:34 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:34 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:14:34 $ 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 08:14:37 $ docker top 5d858b38e833c8f0f8427afa674212a2a78bbc305339cd953befc30353d02559 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_odessa [Pipeline] echo 08:14:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:odessa' [Pipeline] sh 08:14:38 + set -o pipefail 08:14:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:odessa' 08:14:42 08:14:42 Monitoring /w/workspace/gexfoundry_device-mqtt-go_odessa (github.com/edgexfoundry/device-mqtt-go)... 08:14:42 08:14:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/2a61b29e-d8f7-4ffc-9a4f-5a71e2a03304/history/bce3b7c3-9f95-4f35-a6a6-487422306d11 08:14:42 08:14:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:14:42 08:14:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:14:42 08:14:42 08:14:42 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:14:42 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:14:42 $ docker stop --time=1 5d858b38e833c8f0f8427afa674212a2a78bbc305339cd953befc30353d02559 08:14:43 $ docker rm -f --volumes 5d858b38e833c8f0f8427afa674212a2a78bbc305339cd953befc30353d02559 [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 08:14:44 + git log --format=format:%s -1 8eea87694ada06ee6f8df473457e603eac76a2c7 [Pipeline] sh 08:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:45 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:14:45 $ 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 08:14:45 $ docker top f4f64c32952ef1b7041c612d980163e71a083dfbb5b3c58ccf596d2e9ac7b5b5 -eo pid,comm 08:14:45 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). 08:14:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:45 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:46 + git semver [Pipeline] } 08:14:46 $ docker stop --time=1 f4f64c32952ef1b7041c612d980163e71a083dfbb5b3c58ccf596d2e9ac7b5b5 08:14:47 $ docker rm -f --volumes f4f64c32952ef1b7041c612d980163e71a083dfbb5b3c58ccf596d2e9ac7b5b5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:48 08:14:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:48 0.23.1-centos7: Pulling from edgex-lftools 08:14:48 ab5ef0e58194: Pulling fs layer 08:14:48 9712f1f96733: Pulling fs layer 08:14:48 63f879dbbcfc: Pulling fs layer 08:14:48 0d9ebad4ef96: Pulling fs layer 08:14:48 e9a5061849ea: Pulling fs layer 08:14:48 d747dcd14b5f: Pulling fs layer 08:14:48 2de7ff778b66: Pulling fs layer 08:14:48 0d9ebad4ef96: Waiting 08:14:48 e9a5061849ea: Waiting 08:14:48 d747dcd14b5f: Waiting 08:14:48 2de7ff778b66: Waiting 08:14:48 9712f1f96733: Verifying Checksum 08:14:48 9712f1f96733: Download complete 08:14:48 63f879dbbcfc: Verifying Checksum 08:14:48 63f879dbbcfc: Download complete 08:14:48 e9a5061849ea: Verifying Checksum 08:14:48 e9a5061849ea: Download complete 08:14:48 d747dcd14b5f: Download complete 08:14:48 ab5ef0e58194: Download complete 08:14:48 0d9ebad4ef96: Verifying Checksum 08:14:48 0d9ebad4ef96: Download complete 08:14:48 2de7ff778b66: Verifying Checksum 08:14:48 2de7ff778b66: Download complete 08:14:52 ab5ef0e58194: Pull complete 08:14:52 9712f1f96733: Pull complete 08:14:52 63f879dbbcfc: Pull complete 08:14:56 0d9ebad4ef96: Pull complete 08:14:57 e9a5061849ea: Pull complete 08:14:57 d747dcd14b5f: Pull complete 08:14:58 2de7ff778b66: Pull complete 08:14:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:58 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:14: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 08:15:02 $ docker top 7b885a24cbf07c58e6173bea2a1a9b5454ee3414a7f66f22dbd53cde74333f70 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:15:02 provisioning config files... 08:15:02 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config14219744699843752402tmp 08:15:02 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config870066720629456008tmp 08:15:02 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config10044476530101789823tmp [Pipeline] { [Pipeline] echo 08:15:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:15:03 ---> sigul-configuration.sh 08:15:03 gpg: directory `/root/.gnupg' created 08:15:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:15:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:15:03 gpg: keyring `/root/.gnupg/secring.gpg' created 08:15:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:15:03 gpg: CAST5 encrypted data 08:15:03 gpg: encrypted with 1 passphrase 08:15:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:15:03 + mkdir /home/jenkins 08:15:03 + mkdir /home/jenkins/sigul [Pipeline] sh 08:15: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 08:15:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:15:04 ---> sigul-install.sh 08:15:04 Sigul already installed; skipping installation. [Pipeline] sh 08:15:04 + git tag --list 08:15:04 0.7.1 08:15:04 v1.0.0 08:15:04 v1.1.0 08:15:04 v1.1.1 08:15:04 v1.2.2 08:15:04 v1.3.0 08:15:04 v1.3.1 08:15:04 v2.0.0 08:15:04 v2.1.0 08:15:04 v2.1.1 08:15:04 v2.2.0 08:15:04 v2.3.0 08:15:04 v3.0 08:15:04 v3.0.0 08:15:04 v3.1 08:15:04 v3.1.0 08:15:04 v3.1.0-dev.1 08:15:04 v3.1.0-dev.10 08:15:04 v3.1.0-dev.11 08:15:04 v3.1.0-dev.12 08:15:04 v3.1.0-dev.13 08:15:04 v3.1.0-dev.14 08:15:04 v3.1.0-dev.15 08:15:04 v3.1.0-dev.16 08:15:04 v3.1.0-dev.17 08:15:04 v3.1.0-dev.18 08:15:04 v3.1.0-dev.19 08:15:04 v3.1.0-dev.2 08:15:04 v3.1.0-dev.20 08:15:04 v3.1.0-dev.21 08:15:04 v3.1.0-dev.22 08:15:04 v3.1.0-dev.23 08:15:04 v3.1.0-dev.24 08:15:04 v3.1.0-dev.25 08:15:04 v3.1.0-dev.3 08:15:04 v3.1.0-dev.4 08:15:04 v3.1.0-dev.5 08:15:04 v3.1.0-dev.6 08:15:04 v3.1.0-dev.7 08:15:04 v3.1.0-dev.8 08:15:04 v3.1.0-dev.9 08:15:04 v3.1.1 08:15:04 v3.2.0-dev.1 08:15:04 v3.2.0-dev.10 08:15:04 v3.2.0-dev.11 08:15:04 v3.2.0-dev.12 08:15:04 v3.2.0-dev.13 08:15:04 v3.2.0-dev.14 08:15:04 v3.2.0-dev.15 08:15:04 v3.2.0-dev.16 08:15:04 v3.2.0-dev.17 08:15:04 v3.2.0-dev.18 08:15:04 v3.2.0-dev.19 08:15:04 v3.2.0-dev.2 08:15:04 v3.2.0-dev.20 08:15:04 v3.2.0-dev.21 08:15:04 v3.2.0-dev.22 08:15:04 v3.2.0-dev.23 08:15:04 v3.2.0-dev.3 08:15:04 v3.2.0-dev.4 08:15:04 v3.2.0-dev.5 08:15:04 v3.2.0-dev.6 08:15:04 v3.2.0-dev.7 08:15:04 v3.2.0-dev.8 08:15:04 v3.2.0-dev.9 08:15:04 v4.0.0 08:15:04 v4.0.0-dev.1 08:15:04 v4.0.0-dev.10 08:15:04 v4.0.0-dev.11 08:15:04 v4.0.0-dev.12 08:15:04 v4.0.0-dev.13 08:15:04 v4.0.0-dev.14 08:15:04 v4.0.0-dev.15 08:15:04 v4.0.0-dev.2 08:15:04 v4.0.0-dev.3 08:15:04 v4.0.0-dev.4 08:15:04 v4.0.0-dev.5 08:15:04 v4.0.0-dev.6 08:15:04 v4.0.0-dev.7 08:15:04 v4.0.0-dev.8 08:15:04 v4.0.0-dev.9 [Pipeline] sh 08:15:04 + lftools sign git-tag v4.0.0 08:15:05 Signing Git tag with Sigul... 08:15:05 Signing v4.0.0 [Pipeline] echo 08:15:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:15:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:15:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:15:05 $ docker stop --time=1 7b885a24cbf07c58e6173bea2a1a9b5454ee3414a7f66f22dbd53cde74333f70 08:15:07 $ docker rm -f --volumes 7b885a24cbf07c58e6173bea2a1a9b5454ee3414a7f66f22dbd53cde74333f70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:15:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:08 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:15:08 $ 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 08:15:08 $ docker top 9b3f3202df0cdd77afe45b9c0885cc214268309b94c8b8ce73aaea44bf60083e -eo pid,comm 08:15:08 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). 08:15:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:15:08 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:08 + git semver [Pipeline] } 08:15:09 $ docker stop --time=1 9b3f3202df0cdd77afe45b9c0885cc214268309b94c8b8ce73aaea44bf60083e 08:15:10 $ docker rm -f --volumes 9b3f3202df0cdd77afe45b9c0885cc214268309b94c8b8ce73aaea44bf60083e [Pipeline] // withDockerContainer [Pipeline] sh 08:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:11 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:15:11 $ 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 08:15:11 $ docker top 5690dc8acdcb1d3e81c012266a2973a141817bb6d27d1b137f1743c2ba1afe67 -eo pid,comm 08:15:11 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). 08:15:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:15:11 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:11 + git semver [Pipeline] } 08:15:12 $ docker stop --time=1 5690dc8acdcb1d3e81c012266a2973a141817bb6d27d1b137f1743c2ba1afe67 08:15:13 $ docker rm -f --volumes 5690dc8acdcb1d3e81c012266a2973a141817bb6d27d1b137f1743c2ba1afe67 [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 08:15:14 + [ -d /w/workspace/gexfoundry_device-mqtt-go_odessa/archives ] 08:15:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 08:15:14 total 16 08:15:14 drwxr-xr-x 3 root root 4096 Mar 12 07:59 . 08:15:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 08:15 .. 08:15:14 drwxr-xr-x 2 root root 4096 Mar 12 07:59 cost 08:15:14 -rw-r--r-- 1 root root 86 Mar 12 07:59 cost.csv 08:15:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 08:15:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_odessa/archives 08:15:14 total 16 08:15:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:59 . 08:15:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 08:15 .. 08:15:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 07:59 cost 08:15:14 -rw-r--r-- 1 jenkins jenkins 86 Mar 12 07:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:15:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:15:15 ---> package-listing.sh 08:15:15 ++ facter osfamily 08:15:15 ++ tr '[:upper:]' '[:lower:]' 08:15:15 + OS_FAMILY=debian 08:15:15 + workspace=/w/workspace/gexfoundry_device-mqtt-go_odessa 08:15:15 + START_PACKAGES=/tmp/packages_start.txt 08:15:15 + END_PACKAGES=/tmp/packages_end.txt 08:15:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:15:15 + PACKAGES=/tmp/packages_start.txt 08:15:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_odessa ']' 08:15:15 + PACKAGES=/tmp/packages_end.txt 08:15:15 + case "${OS_FAMILY}" in 08:15:15 + dpkg -l 08:15:15 + grep '^ii' 08:15:15 + '[' -f /tmp/packages_start.txt ']' 08:15:15 + '[' -f /tmp/packages_end.txt ']' 08:15:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:15:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_odessa ']' 08:15:15 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/ 08:15:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_odessa/archives/ [Pipeline] echo 08:15:15 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 08:15:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:16 prd-ubuntu20.04-docker-8c-8g-41084 does not seem to be running inside a container 08:15:16 $ 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 08:15:16 $ docker top 98334b0315ef49d462ec326330c3ff90b63d91ee3f2d46025d891dc054eec226 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:16 + touch /tmp/pre-build-complete [Pipeline] sh 08:15:17 + mkdir -p /var/log/sysstat [Pipeline] sh 08:15:17 + ls /var/log/sa-host 08:15:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:17 provisioning config files... 08:15:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_odessa@tmp/config6848887235306478134tmp [Pipeline] { [Pipeline] echo 08:15:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:15:17 ---> create-netrc.sh [Pipeline] } 08:15:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:15:18 ---> python-tools-install.sh [Pipeline] echo 08:15:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:15:18 ---> sudo-logs.sh 08:15:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:15:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:15:18 ---> job-cost.sh 08:15:18 lf-activate-venv: SKIPPING 08:15:18 DEBUG: total: 0.2199999988079071 08:15:18 INFO: Retrieving Stack Cost... 08:15:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:15:19 INFO: Archiving Costs [Pipeline] echo 08:15:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:15:20 ---> logs-deploy.sh 08:15:20 lf-activate-venv: SKIPPING 08:15:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/odessa/2 08:15:20 INFO: archiving workspace using pattern(s): 08:15:20 Archives upload complete. 08:15:20 INFO: archiving logs to Nexus