Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 588142181ad7be3b3223bf8aa6fc12d14b197a1b 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-ssh15310148227592778251.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh8754176496643106390.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4245436779661894623.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh5192425897856091771.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13770474056475561848.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 ‘prd-ubuntu20.04-docker-8c-8g-36584’ Running on prd-ubuntu20.04-docker-8c-8g-36590 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 588142181ad7be3b3223bf8aa6fc12d14b197a1b (main) Commit message: "Merge pull request #721 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.16" > 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 588142181ad7be3b3223bf8aa6fc12d14b197a1b # timeout=10 > git rev-list --no-walk 241a878cec89566ff21da3f2869313bdc7ed294a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:57:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:57:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:57:17 ========================================================= 01:57:17 EdgeX Global Pipelines Version Info 01:57:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:18 ------------------- 01:57:18 stable info: 01:57:18 ------------------- 01:57:18 Commited By: Cherry Wang cherry@iotechsys.com 01:57:18 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:57:18 Message: update stable to v1.0.269 01:57:19 ------------------- 01:57:19 experimental info: 01:57:19 ------------------- 01:57:19 Commited By: **** collab-it+edgex@linuxfoundation.org 01:57:19 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:57:19 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5881421 [Pipeline] echo 01:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:19 provisioning config files... 01:57:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12079808916083485371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:20 ---> ****-login.sh 01:57:20 nexus3.edgexfoundry.org:10001 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:20 Configure a credential helper to remove this warning. See 01:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:20 01:57:20 Login Succeeded 01:57:20 nexus3.edgexfoundry.org:10002 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:20 Configure a credential helper to remove this warning. See 01:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:20 01:57:20 Login Succeeded 01:57:20 nexus3.edgexfoundry.org:10003 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:20 Configure a credential helper to remove this warning. See 01:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:20 01:57:20 Login Succeeded 01:57:20 nexus3.edgexfoundry.org:10004 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:20 Configure a credential helper to remove this warning. See 01:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:20 01:57:20 Login Succeeded 01:57:20 ****.io 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:21 Configure a credential helper to remove this warning. See 01:57:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:21 01:57:21 Login Succeeded 01:57:21 ---> ****-login.sh ends [Pipeline] } 01:57:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:57:21 + git rev-list -1 --merges 588142181ad7be3b3223bf8aa6fc12d14b197a1b~1..588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] echo 01:57:21 -----------> git rev-list -1 --merges 588142181ad7be3b3223bf8aa6fc12d14b197a1b~1..588142181ad7be3b3223bf8aa6fc12d14b197a1b 588142181ad7be3b3223bf8aa6fc12d14b197a1b 01:57:21 588142181ad7be3b3223bf8aa6fc12d14b197a1b [false] [Pipeline] sh 01:57:21 + git log --format=format:%s -1 588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] echo 01:57:22 ========================================================= 01:57:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:57:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:22 + git log --format=format:%s -1 588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] echo 01:57:22 [semverPrep] GIT_COMMIT: 588142181ad7be3b3223bf8aa6fc12d14b197a1b, Commit Message: Merge pull request #721 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.16 [Pipeline] echo 01:57:22 [semverPrep] This is not a build commit. [Pipeline] sh 01:57:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:57:22 + grep -v github /etc/ssh/ssh_known_hosts 01:57:22 + [ -e /tmp/ssh_known_hosts ] 01:57:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:57:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:57:22 + sudo tee -a /etc/ssh/ssh_known_hosts 01:57:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:23 01:57:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:23 0.1.4: Pulling from edgex-devops/py-git-semver 01:57:23 b85a868b505f: Pulling fs layer 01:57:23 e2be974225ed: Pulling fs layer 01:57:23 339a4e72a1f5: Pulling fs layer 01:57:23 988bab9f4d93: Pulling fs layer 01:57:23 1469e6f7b9e6: Pulling fs layer 01:57:23 eaf3925da568: Pulling fs layer 01:57:23 bab4dde63d76: Pulling fs layer 01:57:23 bde34c3a00c8: Pulling fs layer 01:57:23 b352a97aabf1: Pulling fs layer 01:57:23 4872d77fe225: Pulling fs layer 01:57:23 5851b861e8e6: Pulling fs layer 01:57:23 1469e6f7b9e6: Waiting 01:57:23 eaf3925da568: Waiting 01:57:23 bab4dde63d76: Waiting 01:57:23 bde34c3a00c8: Waiting 01:57:23 b352a97aabf1: Waiting 01:57:23 4872d77fe225: Waiting 01:57:23 5851b861e8e6: Waiting 01:57:23 988bab9f4d93: Waiting 01:57:23 e2be974225ed: Download complete 01:57:23 988bab9f4d93: Verifying Checksum 01:57:23 988bab9f4d93: Download complete 01:57:23 1469e6f7b9e6: Verifying Checksum 01:57:23 1469e6f7b9e6: Download complete 01:57:23 eaf3925da568: Verifying Checksum 01:57:23 eaf3925da568: Download complete 01:57:23 339a4e72a1f5: Verifying Checksum 01:57:23 339a4e72a1f5: Download complete 01:57:23 bde34c3a00c8: Verifying Checksum 01:57:23 bde34c3a00c8: Download complete 01:57:23 b352a97aabf1: Download complete 01:57:23 4872d77fe225: Verifying Checksum 01:57:23 4872d77fe225: Download complete 01:57:23 5851b861e8e6: Verifying Checksum 01:57:23 5851b861e8e6: Download complete 01:57:23 b85a868b505f: Verifying Checksum 01:57:23 b85a868b505f: Download complete 01:57:24 bab4dde63d76: Verifying Checksum 01:57:24 bab4dde63d76: Download complete 01:57:24 b85a868b505f: Pull complete 01:57:25 e2be974225ed: Pull complete 01:57:25 339a4e72a1f5: Pull complete 01:57:25 988bab9f4d93: Pull complete 01:57:25 1469e6f7b9e6: Pull complete 01:57:25 eaf3925da568: Pull complete 01:57:27 bab4dde63d76: Pull complete 01:57:27 bde34c3a00c8: Pull complete 01:57:27 b352a97aabf1: Pull complete 01:57:27 4872d77fe225: Pull complete 01:57:27 5851b861e8e6: Pull complete 01:57:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:57:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:28 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 01:57:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:57:31 $ docker top abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 -eo pid,comm 01:57:31 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). 01:57:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:57:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:31 [ssh-agent] Looking for ssh-agent implementation... 01:57:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:31 $ docker exec abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 ssh-agent 01:57:31 SSH_AUTH_SOCK=/tmp/ssh-46i9qmPAksMe/agent.31 01:57:31 SSH_AGENT_PID=37 01:57:31 Running ssh-add (command line suppressed) 01:57:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12906208294659503862.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12906208294659503862.key) 01:57:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:32 + git tag --points-at HEAD [Pipeline] } 01:57:32 $ docker exec --env ******** --env ******** abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 ssh-agent -k 01:57:32 unset SSH_AUTH_SOCK; 01:57:32 unset SSH_AGENT_PID; 01:57:32 echo Agent pid 37 killed; 01:57:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:57:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:32 [ssh-agent] Looking for ssh-agent implementation... 01:57:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:32 $ docker exec abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 ssh-agent 01:57:32 SSH_AUTH_SOCK=/tmp/ssh-HcwNxy1MMynf/agent.70 01:57:32 SSH_AGENT_PID=76 01:57:32 Running ssh-add (command line suppressed) 01:57:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9950531433332553236.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9950531433332553236.key) 01:57:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:32 + git semver init 01:57:33 2025-01-13 01:57:33,134 [run_init] DEBUG init version:0.0.0 force:False 01:57:33 2025-01-13 01:57:33,135 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:57:33 2025-01-13 01:57:33,135 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:57:33 2025-01-13 01:57:33,136 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:57:35 2025-01-13 01:57:34,684 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:57:35 2025-01-13 01:57:34,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:57:35 2025-01-13 01:57:34,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:57:35 2025-01-13 01:57:34,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:57:35 4.0.0-dev.8 [Pipeline] } 01:57:35 $ docker exec --env ******** --env ******** abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 ssh-agent -k 01:57:35 unset SSH_AUTH_SOCK; 01:57:35 unset SSH_AGENT_PID; 01:57:35 echo Agent pid 76 killed; 01:57:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:35 + git semver [Pipeline] } 01:57:35 $ docker stop --time=1 abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 01:57:37 $ docker rm -f --volumes abac87afd30d05068cead9bd49ab4fbd0cdd901bdf2d2d01713fcafcf8e4e819 [Pipeline] // withDockerContainer [Pipeline] sh 01:57:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:57:37 Stashed 1 file(s) [Pipeline] echo 01:57:37 [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:37 provisioning config files... 01:57:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8278252222201303471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:38 ---> ****-login.sh 01:57:38 nexus3.edgexfoundry.org:10001 01:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:38 Configure a credential helper to remove this warning. See 01:57:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:38 01:57:38 Login Succeeded 01:57:38 nexus3.edgexfoundry.org:10002 01:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:38 Configure a credential helper to remove this warning. See 01:57:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:38 01:57:38 Login Succeeded 01:57:38 nexus3.edgexfoundry.org:10003 01:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:38 Configure a credential helper to remove this warning. See 01:57:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:38 01:57:38 Login Succeeded 01:57:38 nexus3.edgexfoundry.org:10004 01:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:38 Configure a credential helper to remove this warning. See 01:57:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:38 01:57:38 Login Succeeded 01:57:38 ****.io 01:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:38 Configure a credential helper to remove this warning. See 01:57:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:38 01:57:38 Login Succeeded 01:57:38 ---> ****-login.sh ends [Pipeline] } 01:57:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:38 ========================================================= 01:57:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:57:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:57:39 Sending build context to Docker daemon 21.1MB 01:57:39 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:57:39 Step 2/12 : FROM ${BASE} AS builder 01:57:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:39 da9db072f522: Pulling fs layer 01:57:39 6ef4a4ee8ca5: Pulling fs layer 01:57:39 06f05ace1117: Pulling fs layer 01:57:39 5fe327b54edc: Pulling fs layer 01:57:39 4f4fb700ef54: Pulling fs layer 01:57:39 92a5565b7b96: Pulling fs layer 01:57:39 ff9bb7016b71: Pulling fs layer 01:57:39 b67dba6c2c7d: Pulling fs layer 01:57:39 5fe327b54edc: Waiting 01:57:39 4f4fb700ef54: Waiting 01:57:39 a813b0c90790: Pulling fs layer 01:57:39 b67dba6c2c7d: Waiting 01:57:39 a813b0c90790: Waiting 01:57:39 6ef4a4ee8ca5: Download complete 01:57:39 5fe327b54edc: Verifying Checksum 01:57:39 5fe327b54edc: Download complete 01:57:39 4f4fb700ef54: Download complete 01:57:39 92a5565b7b96: Verifying Checksum 01:57:39 92a5565b7b96: Download complete 01:57:39 da9db072f522: Verifying Checksum 01:57:39 da9db072f522: Download complete 01:57:39 ff9bb7016b71: Verifying Checksum 01:57:39 ff9bb7016b71: Download complete 01:57:39 da9db072f522: Pull complete 01:57:39 6ef4a4ee8ca5: Pull complete 01:57:39 a813b0c90790: Verifying Checksum 01:57:39 a813b0c90790: Download complete 01:57:40 06f05ace1117: Verifying Checksum 01:57:40 06f05ace1117: Download complete 01:57:40 b67dba6c2c7d: Verifying Checksum 01:57:40 b67dba6c2c7d: Download complete 01:57:43 06f05ace1117: Pull complete 01:57:43 5fe327b54edc: Pull complete 01:57:43 4f4fb700ef54: Pull complete 01:57:43 92a5565b7b96: Pull complete 01:57:43 ff9bb7016b71: Pull complete 01:57:46 b67dba6c2c7d: Pull complete 01:57:46 a813b0c90790: Pull complete 01:57:46 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:57:46 ---> 3ba60ce46760 01:57:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:57:50 ---> Running in eab9392a46b8 01:57:51 Removing intermediate container eab9392a46b8 01:57:51 ---> 93866fc93e8b 01:57:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:51 ---> Running in 55bb6f3f74f9 01:57:51 Removing intermediate container 55bb6f3f74f9 01:57:51 ---> 385628497f44 01:57:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:57:51 ---> Running in e84c92706433 01:57:51 Removing intermediate container e84c92706433 01:57:51 ---> 65600110444e 01:57:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:57:51 ---> Running in f9ea4fe34b3a 01:57:51 Removing intermediate container f9ea4fe34b3a 01:57:51 ---> e367a27e0447 01:57:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:51 ---> Running in a95484a4f97e 01:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:57:52 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:57:52 (2/4) Installing libedit (20240517.3.1-r0) 01:57:52 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:57:52 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:57:52 Executing busybox-1.36.1-r29.trigger 01:57:52 OK: 252 MiB in 62 packages 01:57:52 Removing intermediate container a95484a4f97e 01:57:52 ---> dcc4ae86d6da 01:57:52 Step 8/12 : WORKDIR /device-mqtt-go 01:57:52 ---> Running in f409ac761b4c 01:57:52 Removing intermediate container f409ac761b4c 01:57:52 ---> 4316791df0bd 01:57:52 Step 9/12 : COPY go.mod vendor* ./ 01:57:52 Still waiting to schedule task 01:57:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-36587’ 01:57:53 ---> 41cf77fbcadc 01:57:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:53 ---> Running in bafa0697a2fb 01:58:39 Removing intermediate container bafa0697a2fb 01:58:39 ---> 780d754f3937 01:58:39 Step 11/12 : COPY . . 01:58:39 ---> fcf5bb8c7cb0 01:58:39 Step 12/12 : RUN $MAKE 01:58:39 ---> Running in bb179e6b918c 01:58:39 noop 01:58:39 Removing intermediate container bb179e6b918c 01:58:39 ---> 068ae49a0005 01:58:39 Successfully built 068ae49a0005 01:58:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:40 + docker inspect -f . ci-base-image-x86_64 01:58:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:40 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 01:58:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:40 $ docker top 536d7d408aa37a93f4b12ef3c5bea537cdcd1e570d771ceb1124f9070458854d -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:40 + go version 01:58:40 go version go1.23.4 linux/amd64 [Pipeline] } 01:58:40 $ docker stop --time=1 536d7d408aa37a93f4b12ef3c5bea537cdcd1e570d771ceb1124f9070458854d 01:58:42 $ docker rm -f --volumes 536d7d408aa37a93f4b12ef3c5bea537cdcd1e570d771ceb1124f9070458854d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:42 + docker inspect -f . ci-base-image-x86_64 01:58:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:42 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 01:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:43 $ docker top e89212d097162b3f7cad7f27b342e6189fba4013ebcce33d83a985ae4cb321df -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:58:43 + make test 01:58:43 go test ./... -coverprofile=coverage.out ./... 01:58:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:59:03 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 01:59:03 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 01:59:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 01:59:13 go vet ./... 01:59:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:19 ./bin/test-attribution-txt.sh [Pipeline] echo 01:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:59:19 $ docker stop --time=1 e89212d097162b3f7cad7f27b342e6189fba4013ebcce33d83a985ae4cb321df 01:59:24 $ docker rm -f --volumes e89212d097162b3f7cad7f27b342e6189fba4013ebcce33d83a985ae4cb321df [Pipeline] // withDockerContainer [Pipeline] sh 01:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:25 + ls -al . 01:59:25 total 252 01:59:25 drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 01:58 . 01:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 01:57 .. 01:59:25 -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 01:57 .dockerignore 01:59:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 01:59 .git 01:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 01:57 .github 01:59:25 -rw-rw-r-- 1 jenkins jenkins 264 Jan 13 01:57 .gitignore 01:59:25 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 01:57 .golangci.yml 01:59:25 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 01:57 .semver 01:59:25 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 13 01:57 Attribution.txt 01:59:25 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 13 01:57 CHANGELOG.md 01:59:25 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 13 01:57 Dockerfile 01:59:25 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 01:57 GOVERNANCE.md 01:59:25 -rw-rw-r-- 1 jenkins jenkins 657 Jan 13 01:57 Jenkinsfile 01:59:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 01:57 LICENSE 01:59:25 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 13 01:57 Makefile 01:59:25 -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 01:57 OWNERS.md 01:59:25 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 13 01:57 README.md 01:59:25 -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 01:57 VERSION 01:59:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 01:57 bin 01:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 01:57 cmd 01:59:25 -rw-r--r-- 1 jenkins jenkins 21039 Jan 13 01:59 coverage.out 01:59:25 -rw-rw-r-- 1 jenkins jenkins 6269 Jan 13 01:57 go.mod 01:59:25 -rw-rw-r-- 1 jenkins jenkins 87156 Jan 13 01:57 go.sum 01:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 01:57 internal 01:59:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 01:57 mock 01:59:25 -rw-rw-r-- 1 jenkins jenkins 227 Jan 13 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:26 + 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=588142181ad7be3b3223bf8aa6fc12d14b197a1b --label arch=amd64 --label version=4.0.0-dev.8 . 01:59:26 Sending build context to Docker daemon 21.12MB 01:59:26 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 01:59:26 Step 2/25 : FROM ${BASE} AS builder 01:59:26 ---> 068ae49a0005 01:59:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:59:26 ---> Running in 7aba56fae643 01:59:26 Removing intermediate container 7aba56fae643 01:59:26 ---> b0d3b1f684f2 01:59:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:26 ---> Running in 761ffc622b33 01:59:26 Removing intermediate container 761ffc622b33 01:59:26 ---> bb1332c1abd2 01:59:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:26 ---> Running in 4e70292f6533 01:59:26 Removing intermediate container 4e70292f6533 01:59:26 ---> f02ee685b9c9 01:59:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:59:26 ---> Running in 586bfe9c9008 01:59:27 Removing intermediate container 586bfe9c9008 01:59:27 ---> ce5d08c2a2da 01:59:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:27 ---> Running in be3bc61540a7 01:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:59:27 OK: 252 MiB in 62 packages 01:59:28 Removing intermediate container be3bc61540a7 01:59:28 ---> 02392d0528ec 01:59:28 Step 8/25 : WORKDIR /device-mqtt-go 01:59:28 ---> Running in a12c224deae4 01:59:28 Removing intermediate container a12c224deae4 01:59:28 ---> bde0761a6aa8 01:59:28 Step 9/25 : COPY go.mod vendor* ./ 01:59:28 ---> 03bd92049a9f 01:59:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:28 ---> Running in e15ed71512bb 01:59:28 Removing intermediate container e15ed71512bb 01:59:28 ---> f7f3a735a97d 01:59:28 Step 11/25 : COPY . . 01:59:29 ---> 3a59b99163a8 01:59:29 Step 12/25 : RUN $MAKE 01:59:29 ---> Running in 207b5259138d 01:59:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.16 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:00:01 Removing intermediate container 207b5259138d 02:00:01 ---> ea576468ff7b 02:00:01 Step 13/25 : FROM alpine:3.20 02:00:01 3.20: Pulling from library/alpine 02:00:01 66a3d608f3fa: Pulling fs layer 02:00:01 66a3d608f3fa: Verifying Checksum 02:00:01 66a3d608f3fa: Download complete 02:00:01 66a3d608f3fa: Pull complete 02:00:01 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:00:01 Status: Downloaded newer image for alpine:3.20 02:00:01 ---> e29df9b510ff 02:00:01 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 02:00:01 ---> Running in 53db28f05f86 02:00:01 Removing intermediate container 53db28f05f86 02:00:01 ---> e366e0dd8e0f 02:00:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:00:01 ---> Running in 4f8850bc66f7 02:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:00:01 (1/1) Installing dumb-init (1.2.5-r3) 02:00:01 Executing busybox-1.36.1-r29.trigger 02:00:01 OK: 8 MiB in 15 packages 02:00:01 Removing intermediate container 4f8850bc66f7 02:00:01 ---> ae0deb6f44cb 02:00:01 Step 16/25 : RUN apk --no-cache upgrade 02:00:01 ---> Running in 6cd43f62f13a 02:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:00:02 OK: 8 MiB in 15 packages 02:00:02 Removing intermediate container 6cd43f62f13a 02:00:02 ---> ccedc9eb4419 02:00:02 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:00:04 ---> 22cfc473b8a3 02:00:04 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:00:04 ---> b57d9819e4b1 02:00:04 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:00:04 ---> 28b431471c91 02:00:04 Step 20/25 : EXPOSE 59982 02:00:04 ---> Running in 42f649ad346d 02:00:04 Removing intermediate container 42f649ad346d 02:00:04 ---> 93532b95ee05 02:00:04 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:00:04 ---> Running in 4cc91c18d5d4 02:00:04 Removing intermediate container 4cc91c18d5d4 02:00:04 ---> 8d4634d5aba4 02:00:04 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:00:04 ---> Running in 532c08dc240a 02:00:04 Removing intermediate container 532c08dc240a 02:00:04 ---> a5d002bba79a 02:00:04 Step 23/25 : LABEL arch=amd64 02:00:04 ---> Running in 16d12dda50a8 02:00:04 Removing intermediate container 16d12dda50a8 02:00:04 ---> 992a96e8e4af 02:00:04 Step 24/25 : LABEL git_sha=588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:00:04 ---> Running in b952d8c75c1b 02:00:04 Removing intermediate container b952d8c75c1b 02:00:04 ---> 3c69d2a203c4 02:00:04 Step 25/25 : LABEL version=4.0.0-dev.8 02:00:04 ---> Running in e78a231737bb 02:00:04 Removing intermediate container e78a231737bb 02:00:04 ---> 69670ab9bf9b 02:00:04 [Warning] One or more build-args [ARCH] were not consumed 02:00:04 Successfully built 69670ab9bf9b 02:00:04 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:05 provisioning config files... 02:00:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3475694114557588357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:05 ---> ****-login.sh 02:00:05 nexus3.edgexfoundry.org:10001 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 nexus3.edgexfoundry.org:10002 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 nexus3.edgexfoundry.org:10003 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 nexus3.edgexfoundry.org:10004 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 ****.io 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 ---> ****-login.sh ends [Pipeline] } 02:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:00:05 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:00:05 588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:00:05 latest 02:00:05 4.0.0-dev.8 02:00:05 588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:00:05 main 02:00:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:00:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:06 f54a0151dc35: Preparing 02:00:06 aa52a78b47ff: Preparing 02:00:06 470e3b038fe8: Preparing 02:00:06 3d13988a4785: Preparing 02:00:06 34706ff12527: Preparing 02:00:06 ce5a8cde9eee: Preparing 02:00:06 ce5a8cde9eee: Waiting 02:00:06 f54a0151dc35: Pushed 02:00:06 3d13988a4785: Pushed 02:00:06 aa52a78b47ff: Pushed 02:00:06 34706ff12527: Pushed 02:00:06 ce5a8cde9eee: Layer already exists 02:00:11 470e3b038fe8: Pushed 02:00:11 588142181ad7be3b3223bf8aa6fc12d14b197a1b: digest: sha256:2f79e09bca415cbf46498bcc35197c6534acdf7d6e2026665aab854b4bf5afa7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:00:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:12 f54a0151dc35: Preparing 02:00:12 aa52a78b47ff: Preparing 02:00:12 470e3b038fe8: Preparing 02:00:12 3d13988a4785: Preparing 02:00:12 34706ff12527: Preparing 02:00:12 ce5a8cde9eee: Preparing 02:00:12 f54a0151dc35: Layer already exists 02:00:12 3d13988a4785: Layer already exists 02:00:12 aa52a78b47ff: Layer already exists 02:00:12 470e3b038fe8: Layer already exists 02:00:12 34706ff12527: Layer already exists 02:00:12 ce5a8cde9eee: Layer already exists 02:00:12 latest: digest: sha256:2f79e09bca415cbf46498bcc35197c6534acdf7d6e2026665aab854b4bf5afa7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.8 02:00:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:13 f54a0151dc35: Preparing 02:00:13 aa52a78b47ff: Preparing 02:00:13 470e3b038fe8: Preparing 02:00:13 3d13988a4785: Preparing 02:00:13 34706ff12527: Preparing 02:00:13 ce5a8cde9eee: Preparing 02:00:13 ce5a8cde9eee: Waiting 02:00:13 aa52a78b47ff: Layer already exists 02:00:13 3d13988a4785: Layer already exists 02:00:13 470e3b038fe8: Layer already exists 02:00:13 f54a0151dc35: Layer already exists 02:00:13 34706ff12527: Layer already exists 02:00:13 ce5a8cde9eee: Layer already exists 02:00:13 4.0.0-dev.8: digest: sha256:2f79e09bca415cbf46498bcc35197c6534acdf7d6e2026665aab854b4bf5afa7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:00:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:13 f54a0151dc35: Preparing 02:00:13 aa52a78b47ff: Preparing 02:00:13 470e3b038fe8: Preparing 02:00:13 3d13988a4785: Preparing 02:00:13 34706ff12527: Preparing 02:00:13 ce5a8cde9eee: Preparing 02:00:13 ce5a8cde9eee: Waiting 02:00:13 aa52a78b47ff: Layer already exists 02:00:13 f54a0151dc35: Layer already exists 02:00:13 3d13988a4785: Layer already exists 02:00:13 34706ff12527: Layer already exists 02:00:13 470e3b038fe8: Layer already exists 02:00:13 ce5a8cde9eee: Layer already exists 02:00:13 588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8: digest: sha256:2f79e09bca415cbf46498bcc35197c6534acdf7d6e2026665aab854b4bf5afa7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:00:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:14 f54a0151dc35: Preparing 02:00:14 aa52a78b47ff: Preparing 02:00:14 470e3b038fe8: Preparing 02:00:14 3d13988a4785: Preparing 02:00:14 34706ff12527: Preparing 02:00:14 ce5a8cde9eee: Preparing 02:00:14 ce5a8cde9eee: Waiting 02:00:14 f54a0151dc35: Layer already exists 02:00:14 34706ff12527: Layer already exists 02:00:14 470e3b038fe8: Layer already exists 02:00:14 aa52a78b47ff: Layer already exists 02:00:14 3d13988a4785: Layer already exists 02:00:14 ce5a8cde9eee: Layer already exists 02:00:14 main: digest: sha256:2f79e09bca415cbf46498bcc35197c6534acdf7d6e2026665aab854b4bf5afa7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:14 ===================================================== [Pipeline] echo 02:00:14 taggedImages: 02:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.8 02:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:15 02:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:15 latest: Pulling from edgex-lftools-log-publisher 02:00:15 5eb5b503b376: Pulling fs layer 02:00:15 5c69ac0246d0: Pulling fs layer 02:00:15 ec43610c2a17: Pulling fs layer 02:00:15 3a2ae6a8a46f: Pulling fs layer 02:00:15 33b1e0a273af: Pulling fs layer 02:00:15 5d3b04190fa2: Pulling fs layer 02:00:15 2f39f015ded8: Pulling fs layer 02:00:15 3a2ae6a8a46f: Waiting 02:00:15 33b1e0a273af: Waiting 02:00:15 2f39f015ded8: Waiting 02:00:15 5d3b04190fa2: Waiting 02:00:15 5c69ac0246d0: Verifying Checksum 02:00:15 5c69ac0246d0: Download complete 02:00:15 3a2ae6a8a46f: Verifying Checksum 02:00:15 3a2ae6a8a46f: Download complete 02:00:15 33b1e0a273af: Verifying Checksum 02:00:15 33b1e0a273af: Download complete 02:00:15 5d3b04190fa2: Verifying Checksum 02:00:15 5d3b04190fa2: Download complete 02:00:15 ec43610c2a17: Verifying Checksum 02:00:15 ec43610c2a17: Download complete 02:00:15 5eb5b503b376: Verifying Checksum 02:00:15 5eb5b503b376: Download complete 02:00:16 2f39f015ded8: Download complete 02:00:16 5eb5b503b376: Pull complete 02:00:17 5c69ac0246d0: Pull complete 02:00:17 ec43610c2a17: Pull complete 02:00:17 3a2ae6a8a46f: Pull complete 02:00:17 33b1e0a273af: Pull complete 02:00:17 5d3b04190fa2: Pull complete 02:00:22 2f39f015ded8: Pull complete 02:00:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:23 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:00:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:30 $ docker top fea30c0815e5ae283b453cdb4a7910578680a43ec07ee66284a9d2c2ec3b99c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:31 ---> job-cost.sh 02:00:31 lf-activate-venv: SKIPPING 02:00:31 INFO: No Stack... 02:00:31 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:31 INFO: Archiving Costs [Pipeline] sh 02:00:32 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:00:32 + cut -d, -f6 [Pipeline] lock 02:00:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] 02:00:32 Resource [jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] did not exist. Created. 02:00:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:32 + echo total: 0.2199999988079071 [Pipeline] stash 02:00:32 Stashed 1 file(s) [Pipeline] } 02:00:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:32 $ docker stop --time=1 fea30c0815e5ae283b453cdb4a7910578680a43ec07ee66284a9d2c2ec3b99c1 02:00:33 $ docker rm -f --volumes fea30c0815e5ae283b453cdb4a7910578680a43ec07ee66284a9d2c2ec3b99c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-36592 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:01:31 Running in /w/workspace/device-mqtt-go/186 [Pipeline] { [Pipeline] checkout 02:01:34 The recommended git tool is: git 02:01:40 using credential edgex-jenkins-ssh 02:01:40 Cloning the remote Git repository 02:01:40 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:01:40 > git init /w/workspace/device-mqtt-go/186 # timeout=10 02:01:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:01:40 > git --version # timeout=10 02:01:40 > git --version # 'git version 2.25.1' 02:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:01:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:44 Avoid second fetch 02:01:44 Checking out Revision 588142181ad7be3b3223bf8aa6fc12d14b197a1b (main) 02:01:44 > git config core.sparsecheckout # timeout=10 02:01:44 > git checkout -f 588142181ad7be3b3223bf8aa6fc12d14b197a1b # timeout=10 02:01:45 Commit message: "Merge pull request #721 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:50 Dload Upload Total Spent Left Speed 02:01:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 84953 0 --:--:-- --:--:-- --:--:-- 85520 [Pipeline] sh 02:01:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:50 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 02:01:50 /etc/docker/daemon.new 02:01:50 { 02:01:50 "registry-mirrors": [ 02:01:50 "https://nexus3.edgexfoundry.org:10001" 02:01:50 ], 02:01:50 "bip": "10.250.0.254/24", 02:01:50 "hosts": [ 02:01:50 "tcp://0.0.0.0:5555", 02:01:50 "unix:///var/run/docker.sock" 02:01:50 ], 02:01:50 "mtu": 1458, 02:01:50 "selinux-enabled": true, 02:01:50 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:50 } [Pipeline] sh 02:01:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:09 provisioning config files... 02:02:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/186@tmp/config2225954780736411082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:10 ---> ****-login.sh 02:02:10 nexus3.edgexfoundry.org:10001 02:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:10 Configure a credential helper to remove this warning. See 02:02:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:10 02:02:10 Login Succeeded 02:02:10 nexus3.edgexfoundry.org:10002 02:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:11 Configure a credential helper to remove this warning. See 02:02:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:11 02:02:11 Login Succeeded 02:02:11 nexus3.edgexfoundry.org:10003 02:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:11 Configure a credential helper to remove this warning. See 02:02:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:11 02:02:11 Login Succeeded 02:02:11 nexus3.edgexfoundry.org:10004 02:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:11 Configure a credential helper to remove this warning. See 02:02:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:11 02:02:11 Login Succeeded 02:02:11 ****.io 02:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:11 Configure a credential helper to remove this warning. See 02:02:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:11 02:02:11 Login Succeeded 02:02:11 ---> ****-login.sh ends [Pipeline] } 02:02:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:02:12 ========================================================= 02:02:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:02:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:02:14 #0 building with "default" instance using docker driver 02:02:14 02:02:14 #1 [internal] load build definition from Dockerfile 02:02:14 #1 transferring dockerfile: 1.84kB 0.0s done 02:02:14 #1 DONE 0.1s 02:02:14 02:02:14 #2 [internal] load .dockerignore 02:02:14 #2 transferring context: 182B done 02:02:14 #2 DONE 0.1s 02:02:14 02:02:14 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:02:14 #3 DONE 0.1s 02:02:14 02:02:14 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:02:14 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 02:02:14 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 02:02:14 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 2.10MB / 70.67MB 0.2s 02:02:14 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 02:02:14 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.1s done 02:02:14 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 02:02:14 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.2s 02:02:14 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 02:02:14 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 02:02:14 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 9.98MB / 70.67MB 0.4s 02:02:14 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 02:02:14 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 02:02:14 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.3s done 02:02:14 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0B / 98.78MB 0.4s 02:02:14 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 0B / 12.74MB 0.4s 02:02:14 #4 ... 02:02:14 02:02:14 #5 [internal] load build context 02:02:14 #5 transferring context: 10.54MB 0.4s done 02:02:14 #5 DONE 0.4s 02:02:14 02:02:14 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 13.86MB / 70.67MB 0.5s 02:02:14 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 3.15MB / 12.74MB 0.5s 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 17.83MB / 70.67MB 0.6s 02:02:14 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.4s done 02:02:14 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.84MB / 98.78MB 0.6s 02:02:14 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 7.34MB / 12.74MB 0.6s 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 28.90MB / 70.67MB 0.8s 02:02:14 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 17.83MB / 98.78MB 0.8s 02:02:14 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 02:02:14 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 34.60MB / 70.67MB 0.9s 02:02:14 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 02:02:15 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 38.80MB / 70.67MB 1.0s 02:02:15 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 26.21MB / 98.78MB 1.0s 02:02:15 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 44.04MB / 70.67MB 1.1s 02:02:15 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 02:02:15 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 53.67MB / 70.67MB 1.3s 02:02:15 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 40.89MB / 98.78MB 1.3s 02:02:15 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 58.72MB / 70.67MB 1.4s 02:02:15 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.29MB / 70.67MB 1.6s 02:02:15 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 55.57MB / 98.78MB 1.6s 02:02:15 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 61.18MB / 98.78MB 1.7s 02:02:16 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.7s done 02:02:16 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 02:02:16 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 75.50MB / 98.78MB 2.0s 02:02:16 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 81.31MB / 98.78MB 2.1s 02:02:16 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 92.27MB / 98.78MB 2.3s 02:02:16 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.57MB / 98.78MB 2.4s 02:02:18 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 4.1s done 02:02:22 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.1s 02:02:27 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.1s 02:02:35 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.1s done 02:02:35 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 02:02:35 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 02:02:35 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:02:35 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 02:02:35 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 02:02:35 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 02:02:35 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 02:02:41 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.1s 02:02:44 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.3s done 02:02:44 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 02:02:46 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 1.8s done 02:02:46 #4 DONE 32.5s 02:02:46 02:02:46 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:02:47 #6 0.765 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:02:47 #6 1.401 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:02:49 #6 2.703 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:02:49 #6 2.726 (2/4) Installing libedit (20240517.3.1-r0) 02:02:49 #6 2.738 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:02:49 #6 2.811 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:02:49 #6 2.839 Executing busybox-1.36.1-r29.trigger 02:02:49 #6 2.880 OK: 244 MiB in 62 packages 02:02:51 #6 DONE 4.5s 02:02:51 02:02:51 #7 [builder 3/7] WORKDIR /device-mqtt-go 02:02:51 #7 DONE 0.1s 02:02:51 02:02:51 #8 [builder 4/7] COPY go.mod vendor* ./ 02:02:51 #8 DONE 0.1s 02:02:51 02:02:51 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:23 #9 DONE 32.1s 02:03:23 02:03:23 #10 [builder 6/7] COPY . . 02:03:23 #10 DONE 0.3s 02:03:24 02:03:24 #11 [builder 7/7] RUN echo noop 02:03:24 #11 0.672 noop 02:03:24 #11 DONE 0.7s 02:03:24 02:03:24 #12 exporting to image 02:03:24 #12 exporting layers 02:04:03 #12 exporting layers 36.0s done 02:04:03 #12 writing image sha256:5f4af20daf2a596ed4dea043f62a586ab35238769af77119af5415fad02ca58f done 02:04:03 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:04:03 #12 DONE 36.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:03 + docker inspect -f . ci-base-image-arm64 02:04:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-36592 does not seem to be running inside a container 02:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/186 -v /w/workspace/device-mqtt-go/186:/w/workspace/device-mqtt-go/186:rw,z -v /w/workspace/device-mqtt-go/186@tmp:/w/workspace/device-mqtt-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:04:05 $ docker top b526c023b1d09c531a0428c33dfa26e6433ddbfe666621d7bb13445f0dded314 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:05 + go version 02:04:06 go version go1.23.4 linux/arm64 [Pipeline] } 02:04:06 $ docker stop --time=1 b526c023b1d09c531a0428c33dfa26e6433ddbfe666621d7bb13445f0dded314 02:04:07 $ docker rm -f --volumes b526c023b1d09c531a0428c33dfa26e6433ddbfe666621d7bb13445f0dded314 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:08 + docker inspect -f . ci-base-image-arm64 02:04:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:08 prd-ubuntu20.04-docker-arm64-4c-16g-36592 does not seem to be running inside a container 02:04:08 $ 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/186 -v /w/workspace/device-mqtt-go/186:/w/workspace/device-mqtt-go/186:rw,z -v /w/workspace/device-mqtt-go/186@tmp:/w/workspace/device-mqtt-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:04:09 $ docker top 8451ce76c0dfb98ac90663774bee69234dfc1aa07569c7d65bbd8f98ad78eaa8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:09 + git config --global --add safe.directory /w/workspace/device-mqtt-go/186 [Pipeline] fileExists [Pipeline] sh 02:04:10 + make test 02:04:10 go test ./... -coverprofile=coverage.out ./... 02:04:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:06:22 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:06:22 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:06:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements 02:06:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:06:22 go vet ./... 02:06:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:06:55 $ docker stop --time=1 8451ce76c0dfb98ac90663774bee69234dfc1aa07569c7d65bbd8f98ad78eaa8 02:06:57 $ docker rm -f --volumes 8451ce76c0dfb98ac90663774bee69234dfc1aa07569c7d65bbd8f98ad78eaa8 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:59 Warning: overwriting stash ‘coverage-report’ 02:06:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:07:00 + ls -al . 02:07:00 total 248 02:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 02:04 . 02:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 02:01 .. 02:07:00 -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 02:01 .dockerignore 02:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 02:01 .git 02:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 02:01 .github 02:07:00 -rw-rw-r-- 1 jenkins jenkins 264 Jan 13 02:01 .gitignore 02:07:00 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 02:01 .golangci.yml 02:07:00 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 13 02:01 Attribution.txt 02:07:00 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 13 02:01 CHANGELOG.md 02:07:00 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 13 02:01 Dockerfile 02:07:00 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 02:01 GOVERNANCE.md 02:07:00 -rw-rw-r-- 1 jenkins jenkins 657 Jan 13 02:01 Jenkinsfile 02:07:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 02:01 LICENSE 02:07:00 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 13 02:01 Makefile 02:07:00 -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 02:01 OWNERS.md 02:07:00 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 13 02:01 README.md 02:07:00 -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 01:57 VERSION 02:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 02:01 bin 02:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 02:01 cmd 02:07:00 -rw-r--r-- 1 jenkins jenkins 21039 Jan 13 02:06 coverage.out 02:07:00 -rw-rw-r-- 1 jenkins jenkins 6269 Jan 13 02:01 go.mod 02:07:00 -rw-rw-r-- 1 jenkins jenkins 87156 Jan 13 02:01 go.sum 02:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 02:01 internal 02:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 02:01 mock 02:07:00 -rw-rw-r-- 1 jenkins jenkins 227 Jan 13 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:01 + 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=588142181ad7be3b3223bf8aa6fc12d14b197a1b --label arch=arm64 --label version=4.0.0-dev.8 . 02:07:01 #0 building with "default" instance using docker driver 02:07:01 02:07:01 #1 [internal] load build definition from Dockerfile 02:07:01 #1 transferring dockerfile: 1.84kB done 02:07:01 #1 DONE 0.0s 02:07:01 02:07:01 #2 [internal] load .dockerignore 02:07:01 #2 transferring context: 182B done 02:07:01 #2 DONE 0.0s 02:07:01 02:07:01 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:07:01 #3 DONE 0.0s 02:07:01 02:07:01 #4 [internal] load metadata for docker.io/library/alpine:3.20 02:07:02 #4 DONE 0.8s 02:07:02 02:07:02 #5 [internal] load build context 02:07:02 #5 DONE 0.0s 02:07:02 02:07:02 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:07:02 #6 DONE 0.0s 02:07:02 02:07:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:07:02 #7 ... 02:07:02 02:07:02 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:07:02 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 02:07:02 #6 DONE 0.1s 02:07:02 02:07:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:07:02 #7 ... 02:07:02 02:07:02 #5 [internal] load build context 02:07:02 #5 transferring context: 28.32kB 0.1s done 02:07:02 #5 DONE 0.1s 02:07:02 02:07:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:07:02 #7 DONE 0.3s 02:07:02 02:07:02 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:07:02 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 02:07:02 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 02:07:02 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.05MB / 4.09MB 0.2s 02:07:02 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 02:07:03 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.3s done 02:07:03 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 02:07:03 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.6s done 02:07:03 #6 DONE 1.3s 02:07:03 02:07:03 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:07:03 #8 0.801 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:07:04 #8 1.226 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:07:05 #8 2.719 OK: 244 MiB in 62 packages 02:07:05 #8 DONE 3.1s 02:07:05 02:07:05 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:07:05 #9 0.747 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:07:05 #9 1.056 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:07:05 #9 ... 02:07:05 02:07:05 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:07:05 #10 DONE 0.1s 02:07:06 02:07:06 #11 [builder 4/7] COPY go.mod vendor* ./ 02:07:06 #11 DONE 0.2s 02:07:06 02:07:06 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:07 #12 ... 02:07:07 02:07:07 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:07:07 #9 2.658 (1/1) Installing dumb-init (1.2.5-r3) 02:07:07 #9 2.674 Executing busybox-1.36.1-r29.trigger 02:07:07 #9 2.701 OK: 9 MiB in 15 packages 02:07:07 #9 DONE 3.1s 02:07:07 02:07:07 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:07:07 #13 ... 02:07:07 02:07:07 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:07 #12 DONE 1.6s 02:07:08 02:07:08 #14 [builder 6/7] COPY . . 02:07:08 #14 DONE 0.4s 02:07:08 02:07:08 #15 [builder 7/7] RUN make build 02:07:08 #15 0.673 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.16 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:07:10 #15 ... 02:07:10 02:07:10 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:07:10 #13 1.082 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:07:10 #13 1.414 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:07:10 #13 3.019 OK: 9 MiB in 15 packages 02:07:10 #13 DONE 3.4s 02:07:10 02:07:10 #15 [builder 7/7] RUN make build 02:09:17 #15 DONE 127.8s 02:09:17 02:09:17 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:09:17 #16 DONE 0.4s 02:09:17 02:09:17 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:09:17 #17 DONE 0.1s 02:09:17 02:09:17 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:09:17 #18 DONE 0.1s 02:09:17 02:09:17 #19 exporting to image 02:09:17 #19 exporting layers 02:09:17 #19 exporting layers 0.5s done 02:09:17 #19 writing image sha256:662619171e374c8aa123f50b06c6a76ab660b1366cbac81585c1fa7da91a6adc done 02:09:17 #19 naming to docker.io/library/device-mqtt-arm64 done 02:09:17 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:09:17 provisioning config files... 02:09:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/186@tmp/config16731004891907221993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:17 ---> ****-login.sh 02:09:17 nexus3.edgexfoundry.org:10001 02:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:09:18 Configure a credential helper to remove this warning. See 02:09:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:09:18 02:09:18 Login Succeeded 02:09:18 nexus3.edgexfoundry.org:10002 02:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:09:18 Configure a credential helper to remove this warning. See 02:09:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:09:18 02:09:18 Login Succeeded 02:09:18 nexus3.edgexfoundry.org:10003 02:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:09:18 Configure a credential helper to remove this warning. See 02:09:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:09:18 02:09:18 Login Succeeded 02:09:18 nexus3.edgexfoundry.org:10004 02:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:09:18 Configure a credential helper to remove this warning. See 02:09:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:09:18 02:09:18 Login Succeeded 02:09:18 ****.io 02:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:09:19 Configure a credential helper to remove this warning. See 02:09:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:09:19 02:09:19 Login Succeeded 02:09:19 ---> ****-login.sh ends [Pipeline] } 02:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:09:19 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:09:19 588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:09:19 latest 02:09:19 4.0.0-dev.8 02:09:19 588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:09:19 main 02:09:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:09:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:09:20 3d147214d2d3: Preparing 02:09:20 ba93171f2d6a: Preparing 02:09:20 0a0283c033e4: Preparing 02:09:20 0d556fd7c7bb: Preparing 02:09:20 26140909632d: Preparing 02:09:20 534a70dc8296: Preparing 02:09:20 534a70dc8296: Waiting 02:09:20 ba93171f2d6a: Pushed 02:09:20 0d556fd7c7bb: Pushed 02:09:20 26140909632d: Pushed 02:09:20 3d147214d2d3: Pushed 02:09:20 534a70dc8296: Layer already exists 02:09:30 0a0283c033e4: Pushed 02:09:35 588142181ad7be3b3223bf8aa6fc12d14b197a1b: digest: sha256:d816dfed6a3dfd1db98929e58f832f3c23e51386c5a9cd5918995a32719af89d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:09:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:09:36 3d147214d2d3: Preparing 02:09:36 ba93171f2d6a: Preparing 02:09:36 0a0283c033e4: Preparing 02:09:36 0d556fd7c7bb: Preparing 02:09:36 26140909632d: Preparing 02:09:36 534a70dc8296: Preparing 02:09:36 534a70dc8296: Waiting 02:09:36 ba93171f2d6a: Layer already exists 02:09:36 0d556fd7c7bb: Layer already exists 02:09:36 0a0283c033e4: Layer already exists 02:09:36 3d147214d2d3: Layer already exists 02:09:36 26140909632d: Layer already exists 02:09:36 534a70dc8296: Layer already exists 02:09:36 latest: digest: sha256:d816dfed6a3dfd1db98929e58f832f3c23e51386c5a9cd5918995a32719af89d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.8 02:09:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:09:37 3d147214d2d3: Preparing 02:09:37 ba93171f2d6a: Preparing 02:09:37 0a0283c033e4: Preparing 02:09:37 0d556fd7c7bb: Preparing 02:09:37 26140909632d: Preparing 02:09:37 534a70dc8296: Preparing 02:09:37 534a70dc8296: Waiting 02:09:37 3d147214d2d3: Layer already exists 02:09:37 0d556fd7c7bb: Layer already exists 02:09:37 ba93171f2d6a: Layer already exists 02:09:37 0a0283c033e4: Layer already exists 02:09:37 26140909632d: Layer already exists 02:09:37 534a70dc8296: Layer already exists 02:09:37 4.0.0-dev.8: digest: sha256:d816dfed6a3dfd1db98929e58f832f3c23e51386c5a9cd5918995a32719af89d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:09:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:09:38 3d147214d2d3: Preparing 02:09:38 ba93171f2d6a: Preparing 02:09:38 0a0283c033e4: Preparing 02:09:38 0d556fd7c7bb: Preparing 02:09:38 26140909632d: Preparing 02:09:38 534a70dc8296: Preparing 02:09:38 534a70dc8296: Waiting 02:09:38 ba93171f2d6a: Layer already exists 02:09:38 26140909632d: Layer already exists 02:09:38 3d147214d2d3: Layer already exists 02:09:38 0d556fd7c7bb: Layer already exists 02:09:38 0a0283c033e4: Layer already exists 02:09:38 534a70dc8296: Layer already exists 02:09:38 588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8: digest: sha256:d816dfed6a3dfd1db98929e58f832f3c23e51386c5a9cd5918995a32719af89d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:09:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:09:39 3d147214d2d3: Preparing 02:09:39 ba93171f2d6a: Preparing 02:09:39 0a0283c033e4: Preparing 02:09:39 0d556fd7c7bb: Preparing 02:09:39 26140909632d: Preparing 02:09:39 534a70dc8296: Preparing 02:09:39 534a70dc8296: Waiting 02:09:39 0a0283c033e4: Layer already exists 02:09:39 0d556fd7c7bb: Layer already exists 02:09:39 3d147214d2d3: Layer already exists 02:09:39 ba93171f2d6a: Layer already exists 02:09:39 26140909632d: Layer already exists 02:09:39 534a70dc8296: Layer already exists 02:09:39 main: digest: sha256:d816dfed6a3dfd1db98929e58f832f3c23e51386c5a9cd5918995a32719af89d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:09:39 ===================================================== [Pipeline] echo 02:09:39 taggedImages: 02:09:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b 02:09:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:09:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.8 02:09:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:588142181ad7be3b3223bf8aa6fc12d14b197a1b-4.0.0-dev.8 02:09:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:40 02:09:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:40 arm64: Pulling from edgex-lftools-log-publisher 02:09:40 8998bd30e6a1: Pulling fs layer 02:09:40 04944245beec: Pulling fs layer 02:09:40 699f458cf7ca: Pulling fs layer 02:09:40 765212b225bb: Pulling fs layer 02:09:40 f23df028b6ca: Pulling fs layer 02:09:40 d65c8cfc05b1: Pulling fs layer 02:09:40 2437ff75d9bd: Pulling fs layer 02:09:40 f23df028b6ca: Waiting 02:09:40 d65c8cfc05b1: Waiting 02:09:40 2437ff75d9bd: Waiting 02:09:40 765212b225bb: Waiting 02:09:40 04944245beec: Verifying Checksum 02:09:40 04944245beec: Download complete 02:09:40 765212b225bb: Verifying Checksum 02:09:40 765212b225bb: Download complete 02:09:40 f23df028b6ca: Verifying Checksum 02:09:40 f23df028b6ca: Download complete 02:09:40 d65c8cfc05b1: Verifying Checksum 02:09:40 d65c8cfc05b1: Download complete 02:09:40 699f458cf7ca: Verifying Checksum 02:09:40 699f458cf7ca: Download complete 02:09:41 8998bd30e6a1: Verifying Checksum 02:09:41 8998bd30e6a1: Download complete 02:09:43 2437ff75d9bd: Verifying Checksum 02:09:43 2437ff75d9bd: Download complete 02:09:47 8998bd30e6a1: Pull complete 02:09:48 04944245beec: Pull complete 02:09:50 699f458cf7ca: Pull complete 02:09:50 765212b225bb: Pull complete 02:09:51 f23df028b6ca: Pull complete 02:09:51 d65c8cfc05b1: Pull complete 02:10:18 2437ff75d9bd: Pull complete 02:10:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:18 prd-ubuntu20.04-docker-arm64-4c-16g-36592 does not seem to be running inside a container 02:10:18 $ 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/186 -v /w/workspace/device-mqtt-go/186:/w/workspace/device-mqtt-go/186:rw,z -v /w/workspace/device-mqtt-go/186@tmp:/w/workspace/device-mqtt-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:10:20 $ docker top 92129714db5449181b1aa08b6ba82010d967a12fad7977bd7468b953a6ddf6d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:21 ---> job-cost.sh 02:10:21 lf-activate-venv: SKIPPING 02:10:21 INFO: No Stack... 02:10:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:10:22 INFO: Archiving Costs [Pipeline] sh 02:10:22 + cat /w/workspace/device-mqtt-go/186/archives/cost.csv 02:10:22 + cut -d, -f6 [Pipeline] lock 02:10:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] 02:10:22 Resource [jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] did not exist. Created. 02:10:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:10:23 /w/workspace/device-mqtt-go/186@tmp/durable-615d0788/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:10:23 + echo total: 0.2199999988079071 [Pipeline] stash 02:10:23 Warning: overwriting stash ‘stack-cost’ 02:10:23 Stashed 1 file(s) [Pipeline] } 02:10:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 02:10:23 $ docker stop --time=1 92129714db5449181b1aa08b6ba82010d967a12fad7977bd7468b953a6ddf6d3 02:10:25 $ docker rm -f --volumes 92129714db5449181b1aa08b6ba82010d967a12fad7977bd7468b953a6ddf6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:10:25 provisioning config files... 02:10:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6421063888299990579tmp [Pipeline] { [Pipeline] sh 02:10:25 + set +x 02:10:25 + bash -s -- 02:10:25 + curl -s https://codecov.io/bash 02:10:25 02:10:25 _____ _ 02:10:25 / ____| | | 02:10:25 | | ___ __| | ___ ___ _____ __ 02:10:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:10:25 | |___| (_) | (_| | __/ (_| (_) \ V / 02:10:25 \_____\___/ \__,_|\___|\___\___/ \_/ 02:10:25 Bash-1.0.6 02:10:25 02:10:25 02:10:25 ==> git version 2.25.1 found 02:10:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:10:25 Release-Date: 2020-01-08 02:10:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:10:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:10:25 ==> Jenkins CI detected. 02:10:25 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:10:25 project root: . 02:10:25 --> token set from env 02:10:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:10:25 ==> Running gcov in . (disable via -X gcov) 02:10:25 ==> Python coveragepy not found 02:10:25 ==> Searching for coverage reports in: 02:10:25 + . 02:10:25 -> Found 1 reports 02:10:25 ==> Detecting git/mercurial file structure 02:10:26 ==> Reading reports 02:10:26 + ./coverage.out bytes=21039 02:10:26 ==> Appending adjustments 02:10:26 https://docs.codecov.io/docs/fixing-reports 02:10:26 + Found adjustments 02:10:26 ==> Gzipping contents 02:10:26 4.0K /tmp/codecov.Skr834.gz 02:10:26 ==> Uploading reports 02:10:26 url: https://codecov.io 02:10:26 query: branch=main&commit=588142181ad7be3b3223bf8aa6fc12d14b197a1b&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:10:26 -> Pinging Codecov 02:10:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=588142181ad7be3b3223bf8aa6fc12d14b197a1b&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:10:26 -> Uploading to 02:10:26 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/588142181ad7be3b3223bf8aa6fc12d14b197a1b/dd18785a-ca29-4b1e-805f-beaf45902007.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250113T021026Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5156119f6a663792eec70b0929439f30b6a26105aa0ab751c56113b95f4e6670 02:10:26 % Total % Received % Xferd Average Speed Time Time Time Current 02:10:26 Dload Upload Total Spent Left Speed 02:10:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 19341 --:--:-- --:--:-- --:--:-- 19341 02:10:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] } 02:10:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:10:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:10:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:10:26 02:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:10:27 latest: Pulling from edgex-devops/edgex-snyk-go 02:10:27 43c4264eed91: Pulling fs layer 02:10:27 4cc291be95ef: Pulling fs layer 02:10:27 2ac1f1163629: Pulling fs layer 02:10:27 5c3c966382ef: Pulling fs layer 02:10:27 4f4fb700ef54: Pulling fs layer 02:10:27 d9c7d2e4e75e: Pulling fs layer 02:10:27 9c3e1370e548: Pulling fs layer 02:10:27 5c3c966382ef: Waiting 02:10:27 4f4fb700ef54: Waiting 02:10:27 9c3e1370e548: Waiting 02:10:27 d9c7d2e4e75e: Waiting 02:10:27 4cc291be95ef: Download complete 02:10:27 5c3c966382ef: Verifying Checksum 02:10:27 5c3c966382ef: Download complete 02:10:27 4f4fb700ef54: Download complete 02:10:27 43c4264eed91: Verifying Checksum 02:10:27 43c4264eed91: Download complete 02:10:27 43c4264eed91: Pull complete 02:10:27 d9c7d2e4e75e: Verifying Checksum 02:10:27 d9c7d2e4e75e: Download complete 02:10:27 4cc291be95ef: Pull complete 02:10:27 2ac1f1163629: Download complete 02:10:28 9c3e1370e548: Verifying Checksum 02:10:28 9c3e1370e548: Download complete 02:10:31 2ac1f1163629: Pull complete 02:10:31 5c3c966382ef: Pull complete 02:10:31 4f4fb700ef54: Pull complete 02:10:31 d9c7d2e4e75e: Pull complete 02:10:34 9c3e1370e548: Pull complete 02:10:34 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:10:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:35 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:10:41 $ docker top 812b5f4d14bf3349207b7d2577bc175134e801414f2b7d5b28c5886d575951e4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:10:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:10:42 + set -o pipefail 02:10:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:10:52 02:10:52 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:10:52 02:10:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/fae08c90-10dc-4921-8b55-b024329287bc 02:10:52 02:10:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:10:52 02:10:52 02:10:52 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:10:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:10:53 $ docker stop --time=1 812b5f4d14bf3349207b7d2577bc175134e801414f2b7d5b28c5886d575951e4 02:10:59 $ docker rm -f --volumes 812b5f4d14bf3349207b7d2577bc175134e801414f2b7d5b28c5886d575951e4 [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 02:11:00 + git log --format=format:%s -1 588142181ad7be3b3223bf8aa6fc12d14b197a1b [Pipeline] sh 02:11:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:00 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:01 $ docker top acfa6a7d2e12c6898bd508089e21866910bf5dbbe40519f3dbf5de6b91b29f2f -eo pid,comm 02:11:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:11:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:01 [ssh-agent] Looking for ssh-agent implementation... 02:11:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:01 $ docker exec acfa6a7d2e12c6898bd508089e21866910bf5dbbe40519f3dbf5de6b91b29f2f ssh-agent 02:11:01 SSH_AUTH_SOCK=/tmp/ssh-01HGWBRKo6sD/agent.32 02:11:01 SSH_AGENT_PID=38 02:11:01 Running ssh-add (command line suppressed) 02:11:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16298856989795170844.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16298856989795170844.key) 02:11:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:02 + git semver tag 02:11:02 2025-01-13 02:11:02,343 [run_tag] DEBUG tag force:False 02:11:02 2025-01-13 02:11:02,343 [check_head_tag] DEBUG check head tag 02:11:02 2025-01-13 02:11:02,344 [execute] INFO git cat-file --batch-check 02:11:02 2025-01-13 02:11:02,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:11:02 2025-01-13 02:11:02,348 [execute] INFO git cat-file --batch 02:11:02 2025-01-13 02:11:02,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:11:02 2025-01-13 02:11:02,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:02 2025-01-13 02:11:02,366 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 02:11:02 2025-01-13 02:11:02,367 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:11:02 2025-01-13 02:11:02,372 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:02 4.0.0-dev.8 [Pipeline] } 02:11:02 $ docker exec --env ******** --env ******** acfa6a7d2e12c6898bd508089e21866910bf5dbbe40519f3dbf5de6b91b29f2f ssh-agent -k 02:11:02 unset SSH_AUTH_SOCK; 02:11:02 unset SSH_AGENT_PID; 02:11:02 echo Agent pid 38 killed; 02:11:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:02 + git semver [Pipeline] } 02:11:03 $ docker stop --time=1 acfa6a7d2e12c6898bd508089e21866910bf5dbbe40519f3dbf5de6b91b29f2f 02:11:04 $ docker rm -f --volumes acfa6a7d2e12c6898bd508089e21866910bf5dbbe40519f3dbf5de6b91b29f2f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:11:04 02:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:11:05 0.23.1-centos7: Pulling from edgex-lftools 02:11:05 ab5ef0e58194: Pulling fs layer 02:11:05 9712f1f96733: Pulling fs layer 02:11:05 63f879dbbcfc: Pulling fs layer 02:11:05 0d9ebad4ef96: Pulling fs layer 02:11:05 e9a5061849ea: Pulling fs layer 02:11:05 d747dcd14b5f: Pulling fs layer 02:11:05 2de7ff778b66: Pulling fs layer 02:11:05 e9a5061849ea: Waiting 02:11:05 d747dcd14b5f: Waiting 02:11:05 2de7ff778b66: Waiting 02:11:05 0d9ebad4ef96: Waiting 02:11:05 9712f1f96733: Verifying Checksum 02:11:05 9712f1f96733: Download complete 02:11:05 63f879dbbcfc: Verifying Checksum 02:11:05 63f879dbbcfc: Download complete 02:11:05 e9a5061849ea: Verifying Checksum 02:11:05 e9a5061849ea: Download complete 02:11:05 d747dcd14b5f: Download complete 02:11:05 ab5ef0e58194: Verifying Checksum 02:11:05 ab5ef0e58194: Download complete 02:11:05 2de7ff778b66: Verifying Checksum 02:11:05 2de7ff778b66: Download complete 02:11:05 0d9ebad4ef96: Verifying Checksum 02:11:05 0d9ebad4ef96: Download complete 02:11:09 ab5ef0e58194: Pull complete 02:11:09 9712f1f96733: Pull complete 02:11:09 63f879dbbcfc: Pull complete 02:11:13 0d9ebad4ef96: Pull complete 02:11:13 e9a5061849ea: Pull complete 02:11:13 d747dcd14b5f: Pull complete 02:11:15 2de7ff778b66: Pull complete 02:11:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:11:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:15 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:11:25 $ docker top 60973bf8d8ed078a1292123c576e06de75c9a03d65d93beda2e2f5fe4b90129a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:11:25 provisioning config files... 02:11:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9051116719412483219tmp 02:11:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2716771370902449946tmp 02:11:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4429735721663339686tmp [Pipeline] { [Pipeline] echo 02:11:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:11:25 ---> sigul-configuration.sh 02:11:25 gpg: directory `/root/.gnupg' created 02:11:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:11:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:11:25 gpg: keyring `/root/.gnupg/secring.gpg' created 02:11:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:11:25 gpg: CAST5 encrypted data 02:11:25 gpg: encrypted with 1 passphrase 02:11:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:11:26 + mkdir /home/jenkins 02:11:26 + mkdir /home/jenkins/sigul [Pipeline] sh 02:11:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:11:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:11:26 ---> sigul-install.sh 02:11:26 Sigul already installed; skipping installation. [Pipeline] sh 02:11:27 + git tag --list 02:11:27 0.7.1 02:11:27 v1.0.0 02:11:27 v1.1.0 02:11:27 v1.1.1 02:11:27 v1.2.2 02:11:27 v1.3.0 02:11:27 v1.3.1 02:11:27 v2.0.0 02:11:27 v2.1.0 02:11:27 v2.1.1 02:11:27 v2.2.0 02:11:27 v2.3.0 02:11:27 v3.0 02:11:27 v3.0.0 02:11:27 v3.1 02:11:27 v3.1.0 02:11:27 v3.1.0-dev.1 02:11:27 v3.1.0-dev.10 02:11:27 v3.1.0-dev.11 02:11:27 v3.1.0-dev.12 02:11:27 v3.1.0-dev.13 02:11:27 v3.1.0-dev.14 02:11:27 v3.1.0-dev.15 02:11:27 v3.1.0-dev.16 02:11:27 v3.1.0-dev.17 02:11:27 v3.1.0-dev.18 02:11:27 v3.1.0-dev.19 02:11:27 v3.1.0-dev.2 02:11:27 v3.1.0-dev.20 02:11:27 v3.1.0-dev.21 02:11:27 v3.1.0-dev.22 02:11:27 v3.1.0-dev.23 02:11:27 v3.1.0-dev.24 02:11:27 v3.1.0-dev.25 02:11:27 v3.1.0-dev.3 02:11:27 v3.1.0-dev.4 02:11:27 v3.1.0-dev.5 02:11:27 v3.1.0-dev.6 02:11:27 v3.1.0-dev.7 02:11:27 v3.1.0-dev.8 02:11:27 v3.1.0-dev.9 02:11:27 v3.1.1 02:11:27 v3.2.0-dev.1 02:11:27 v3.2.0-dev.10 02:11:27 v3.2.0-dev.11 02:11:27 v3.2.0-dev.12 02:11:27 v3.2.0-dev.13 02:11:27 v3.2.0-dev.14 02:11:27 v3.2.0-dev.15 02:11:27 v3.2.0-dev.16 02:11:27 v3.2.0-dev.17 02:11:27 v3.2.0-dev.18 02:11:27 v3.2.0-dev.19 02:11:27 v3.2.0-dev.2 02:11:27 v3.2.0-dev.20 02:11:27 v3.2.0-dev.21 02:11:27 v3.2.0-dev.22 02:11:27 v3.2.0-dev.23 02:11:27 v3.2.0-dev.3 02:11:27 v3.2.0-dev.4 02:11:27 v3.2.0-dev.5 02:11:27 v3.2.0-dev.6 02:11:27 v3.2.0-dev.7 02:11:27 v3.2.0-dev.8 02:11:27 v3.2.0-dev.9 02:11:27 v4.0.0-dev.1 02:11:27 v4.0.0-dev.2 02:11:27 v4.0.0-dev.3 02:11:27 v4.0.0-dev.4 02:11:27 v4.0.0-dev.5 02:11:27 v4.0.0-dev.6 02:11:27 v4.0.0-dev.7 02:11:27 v4.0.0-dev.8 [Pipeline] sh 02:11:27 + lftools sign git-tag v4.0.0-dev.8 02:11:28 Signing Git tag with Sigul... 02:11:28 Signing v4.0.0-dev.8 [Pipeline] echo 02:11:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:11:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:11:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:11:28 $ docker stop --time=1 60973bf8d8ed078a1292123c576e06de75c9a03d65d93beda2e2f5fe4b90129a 02:11:30 $ docker rm -f --volumes 60973bf8d8ed078a1292123c576e06de75c9a03d65d93beda2e2f5fe4b90129a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:11:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:30 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:31 $ docker top 16f27fc0b9ed4b8253ac5709790bea8e8c7f09ecf933b387905de09d18e9af18 -eo pid,comm 02:11:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:11:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:31 [ssh-agent] Looking for ssh-agent implementation... 02:11:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:32 $ docker exec 16f27fc0b9ed4b8253ac5709790bea8e8c7f09ecf933b387905de09d18e9af18 ssh-agent 02:11:32 SSH_AUTH_SOCK=/tmp/ssh-Z2KoWmzF5naa/agent.14 02:11:32 SSH_AGENT_PID=20 02:11:32 Running ssh-add (command line suppressed) 02:11:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11964455799609089773.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11964455799609089773.key) 02:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:32 + git semver bump pre 02:11:33 2025-01-13 02:11:32,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:33 2025-01-13 02:11:32,955 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev 02:11:33 2025-01-13 02:11:32,955 [bump_version] DEBUG bumped version:4.0.0-dev.9 02:11:33 2025-01-13 02:11:32,955 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:11:33 2025-01-13 02:11:32,956 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:33 2025-01-13 02:11:32,956 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:33 2025-01-13 02:11:32,958 [execute] INFO git cat-file --batch-check 02:11:33 2025-01-13 02:11:32,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:11:33 2025-01-13 02:11:32,964 [execute] INFO git cat-file --batch 02:11:33 2025-01-13 02:11:32,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:11:33 2025-01-13 02:11:32,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:33 4.0.0-dev.9 [Pipeline] } 02:11:33 $ docker exec --env ******** --env ******** 16f27fc0b9ed4b8253ac5709790bea8e8c7f09ecf933b387905de09d18e9af18 ssh-agent -k 02:11:33 unset SSH_AUTH_SOCK; 02:11:33 unset SSH_AGENT_PID; 02:11:33 echo Agent pid 20 killed; 02:11:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:33 + git semver [Pipeline] } 02:11:34 $ docker stop --time=1 16f27fc0b9ed4b8253ac5709790bea8e8c7f09ecf933b387905de09d18e9af18 02:11:39 $ docker rm -f --volumes 16f27fc0b9ed4b8253ac5709790bea8e8c7f09ecf933b387905de09d18e9af18 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:40 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:42 $ docker top 04439bf8ae84d824675a2a127e98dd7fa77b230477046aab58bf218de528505f -eo pid,comm 02:11:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:11:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:42 [ssh-agent] Looking for ssh-agent implementation... 02:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:42 $ docker exec 04439bf8ae84d824675a2a127e98dd7fa77b230477046aab58bf218de528505f ssh-agent 02:11:42 SSH_AUTH_SOCK=/tmp/ssh-41SBARK41yrz/agent.14 02:11:42 SSH_AGENT_PID=21 02:11:42 Running ssh-add (command line suppressed) 02:11:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8380706681972401550.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8380706681972401550.key) 02:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:42 + git semver push 02:11:43 2025-01-13 02:11:43,107 [run_push] DEBUG push 02:11:43 2025-01-13 02:11:43,107 [execute] INFO git cat-file --batch-check 02:11:43 2025-01-13 02:11:43,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:11:43 2025-01-13 02:11:43,112 [execute] INFO git rev-list 8446953e4d1fd6f49f4f31e3ee70383b20094a61 -- 02:11:43 2025-01-13 02:11:43,112 [execute] DEBUG Popen(['git', 'rev-list', '8446953e4d1fd6f49f4f31e3ee70383b20094a61', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:11:43 2025-01-13 02:11:43,121 [execute] INFO git fetch -v origin 02:11:43 2025-01-13 02:11:43,122 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:11:43 2025-01-13 02:11:43,579 [run_push] DEBUG no remote changes detected 02:11:43 2025-01-13 02:11:43,579 [execute] INFO git push origin semver 02:11:43 2025-01-13 02:11:43,580 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:11:44 2025-01-13 02:11:44,181 [run_push] DEBUG push all version tags 02:11:44 2025-01-13 02:11:44,182 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:11:44 2025-01-13 02:11:44,182 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:11:44 2025-01-13 02:11:44,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:11:44 4.0.0-dev.9 [Pipeline] } 02:11:44 $ docker exec --env ******** --env ******** 04439bf8ae84d824675a2a127e98dd7fa77b230477046aab58bf218de528505f ssh-agent -k 02:11:44 unset SSH_AUTH_SOCK; 02:11:44 unset SSH_AGENT_PID; 02:11:44 echo Agent pid 21 killed; 02:11:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:45 + git semver [Pipeline] } 02:11:45 $ docker stop --time=1 04439bf8ae84d824675a2a127e98dd7fa77b230477046aab58bf218de528505f 02:11:46 $ docker rm -f --volumes 04439bf8ae84d824675a2a127e98dd7fa77b230477046aab58bf218de528505f [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 02:11:47 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:11:47 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:11:47 total 16 02:11:47 drwxr-xr-x 3 root root 4096 Jan 13 02:00 . 02:11:47 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 02:11 .. 02:11:47 drwxr-xr-x 2 root root 4096 Jan 13 02:00 cost 02:11:47 -rw-r--r-- 1 root root 86 Jan 13 02:00 cost.csv 02:11:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:11:47 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:11:47 total 16 02:11:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 02:00 . 02:11:47 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 02:11 .. 02:11:47 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 02:00 cost 02:11:47 -rw-r--r-- 1 jenkins jenkins 86 Jan 13 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:48 ---> package-listing.sh 02:11:48 ++ facter osfamily 02:11:48 ++ tr '[:upper:]' '[:lower:]' 02:11:48 + OS_FAMILY=debian 02:11:48 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:11:48 + START_PACKAGES=/tmp/packages_start.txt 02:11:48 + END_PACKAGES=/tmp/packages_end.txt 02:11:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:48 + PACKAGES=/tmp/packages_start.txt 02:11:48 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:11:48 + PACKAGES=/tmp/packages_end.txt 02:11:48 + case "${OS_FAMILY}" in 02:11:48 + dpkg -l 02:11:48 + grep '^ii' 02:11:48 + '[' -f /tmp/packages_start.txt ']' 02:11:48 + '[' -f /tmp/packages_end.txt ']' 02:11:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:48 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:11:48 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:11:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:11:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:49 prd-ubuntu20.04-docker-8c-8g-36590 does not seem to be running inside a container 02:11:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:50 $ docker top 08c13562a415e24db8e451f6748f505315f0382110cbb9b33ddb41b98a8f2d6f -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:50 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:50 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:51 + ls /var/log/sa-host 02:11:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:51 provisioning config files... 02:11:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5478533792658014420tmp [Pipeline] { [Pipeline] echo 02:11:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:51 ---> create-netrc.sh [Pipeline] } 02:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:51 ---> python-tools-install.sh [Pipeline] echo 02:11:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:52 ---> sudo-logs.sh 02:11:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:52 ---> job-cost.sh 02:11:52 lf-activate-venv: SKIPPING 02:11:52 DEBUG: total: 0.2199999988079071 02:11:52 INFO: Retrieving Stack Cost... 02:11:52 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:53 INFO: Archiving Costs [Pipeline] echo 02:11:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:53 ---> logs-deploy.sh 02:11:53 lf-activate-venv: SKIPPING 02:11:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/186 02:11:53 INFO: archiving workspace using pattern(s): 02:11:54 Archives upload complete. 02:11:54 INFO: archiving logs to Nexus