Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82a85f1d5a8b5edd26386b3f1f92ed92300f945c 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-ssh16038590546382938249.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-ssh13733442162392621715.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-ssh17346846024123433893.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-ssh5322755727111300183.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-ssh15093972014346286854.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 Running on prd-ubuntu20.04-docker-8c-8g-39381 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 82a85f1d5a8b5edd26386b3f1f92ed92300f945c (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#729)" > 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 82a85f1d5a8b5edd26386b3f1f92ed92300f945c # timeout=10 > git rev-list --no-walk 8ef9746ad1a0a4d7f0b27323c0f166999a917d77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:00:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:00:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:00:22 ========================================================= 03:00:22 EdgeX Global Pipelines Version Info 03:00:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:00:23 ------------------- 03:00:23 stable info: 03:00:23 ------------------- 03:00:23 Commited By: Cherry Wang cherry@iotechsys.com 03:00:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:00:23 Message: update stable to v1.0.269 03:00:23 ------------------- 03:00:23 experimental info: 03:00:23 ------------------- 03:00:23 Commited By: **** collab-it+edgex@linuxfoundation.org 03:00:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:00:23 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82a85f1 [Pipeline] echo 03:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:24 provisioning config files... 03:00:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17783597040845805682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:25 ---> ****-login.sh 03:00:25 nexus3.edgexfoundry.org:10001 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 nexus3.edgexfoundry.org:10002 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:26 Configure a credential helper to remove this warning. See 03:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:26 03:00:26 Login Succeeded 03:00:26 nexus3.edgexfoundry.org:10003 03:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:26 Configure a credential helper to remove this warning. See 03:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:26 03:00:26 Login Succeeded 03:00:26 nexus3.edgexfoundry.org:10004 03:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:26 Configure a credential helper to remove this warning. See 03:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:26 03:00:26 Login Succeeded 03:00:26 ****.io 03:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:26 Configure a credential helper to remove this warning. See 03:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:26 03:00:26 Login Succeeded 03:00:26 ---> ****-login.sh ends [Pipeline] } 03:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:00:27 + git rev-list -1 --merges 82a85f1d5a8b5edd26386b3f1f92ed92300f945c~1..82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] echo 03:00:27 -----------> git rev-list -1 --merges 82a85f1d5a8b5edd26386b3f1f92ed92300f945c~1..82a85f1d5a8b5edd26386b3f1f92ed92300f945c 82a85f1d5a8b5edd26386b3f1f92ed92300f945c [false] [Pipeline] sh 03:00:27 + git log --format=format:%s -1 82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] echo 03:00:27 ========================================================= 03:00:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:00:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:27 + git log --format=format:%s -1 82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] echo 03:00:27 [semverPrep] GIT_COMMIT: 82a85f1d5a8b5edd26386b3f1f92ed92300f945c, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#729) [Pipeline] echo 03:00:27 [semverPrep] This is not a build commit. [Pipeline] sh 03:00:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:28 + grep -v github /etc/ssh/ssh_known_hosts 03:00:28 + [ -e /tmp/ssh_known_hosts ] 03:00:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:00:28 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:00:28 sudo tee -a /etc/ssh/ssh_known_hosts 03:00:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:28 03:00:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:28 0.1.4: Pulling from edgex-devops/py-git-semver 03:00:28 b85a868b505f: Pulling fs layer 03:00:28 e2be974225ed: Pulling fs layer 03:00:28 339a4e72a1f5: Pulling fs layer 03:00:28 988bab9f4d93: Pulling fs layer 03:00:28 1469e6f7b9e6: Pulling fs layer 03:00:28 eaf3925da568: Pulling fs layer 03:00:28 bab4dde63d76: Pulling fs layer 03:00:28 bde34c3a00c8: Pulling fs layer 03:00:28 b352a97aabf1: Pulling fs layer 03:00:28 4872d77fe225: Pulling fs layer 03:00:28 5851b861e8e6: Pulling fs layer 03:00:28 b352a97aabf1: Waiting 03:00:28 eaf3925da568: Waiting 03:00:28 bde34c3a00c8: Waiting 03:00:28 988bab9f4d93: Waiting 03:00:28 4872d77fe225: Waiting 03:00:28 bab4dde63d76: Waiting 03:00:28 1469e6f7b9e6: Waiting 03:00:28 e2be974225ed: Verifying Checksum 03:00:28 e2be974225ed: Download complete 03:00:28 988bab9f4d93: Verifying Checksum 03:00:28 988bab9f4d93: Download complete 03:00:29 1469e6f7b9e6: Verifying Checksum 03:00:29 1469e6f7b9e6: Download complete 03:00:29 339a4e72a1f5: Verifying Checksum 03:00:29 339a4e72a1f5: Download complete 03:00:29 eaf3925da568: Verifying Checksum 03:00:29 eaf3925da568: Download complete 03:00:29 bde34c3a00c8: Verifying Checksum 03:00:29 bde34c3a00c8: Download complete 03:00:29 b352a97aabf1: Download complete 03:00:29 4872d77fe225: Download complete 03:00:29 5851b861e8e6: Verifying Checksum 03:00:29 5851b861e8e6: Download complete 03:00:29 b85a868b505f: Verifying Checksum 03:00:29 b85a868b505f: Download complete 03:00:29 bab4dde63d76: Verifying Checksum 03:00:29 bab4dde63d76: Download complete 03:00:30 b85a868b505f: Pull complete 03:00:30 e2be974225ed: Pull complete 03:00:30 339a4e72a1f5: Pull complete 03:00:31 988bab9f4d93: Pull complete 03:00:31 1469e6f7b9e6: Pull complete 03:00:31 eaf3925da568: Pull complete 03:00:32 bab4dde63d76: Pull complete 03:00:32 bde34c3a00c8: Pull complete 03:00:32 b352a97aabf1: Pull complete 03:00:32 4872d77fe225: Pull complete 03:00:32 5851b861e8e6: Pull complete 03:00:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:33 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:00:33 $ 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 03:00:34 $ docker top 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 -eo pid,comm 03:00:34 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). 03:00:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:34 [ssh-agent] Looking for ssh-agent implementation... 03:00:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:34 $ docker exec 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 ssh-agent 03:00:34 SSH_AUTH_SOCK=/tmp/ssh-2mLHdEEUvHOl/agent.33 03:00:34 SSH_AGENT_PID=39 03:00:34 Running ssh-add (command line suppressed) 03:00:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12191210340193989902.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12191210340193989902.key) 03:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:35 + git tag --points-at HEAD [Pipeline] } 03:00:35 $ docker exec --env ******** --env ******** 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 ssh-agent -k 03:00:35 unset SSH_AUTH_SOCK; 03:00:35 unset SSH_AGENT_PID; 03:00:35 echo Agent pid 39 killed; 03:00:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:00:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:35 [ssh-agent] Looking for ssh-agent implementation... 03:00:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:35 $ docker exec 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 ssh-agent 03:00:35 SSH_AUTH_SOCK=/tmp/ssh-UQ0mLvxwh4ua/agent.72 03:00:35 SSH_AGENT_PID=78 03:00:35 Running ssh-add (command line suppressed) 03:00:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5690140822341205473.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5690140822341205473.key) 03:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:36 + git semver init 03:00:36 2025-02-21 03:00:36,301 [run_init] DEBUG init version:0.0.0 force:False 03:00:36 2025-02-21 03:00:36,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:00:36 2025-02-21 03:00:36,302 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:00:36 2025-02-21 03:00:36,302 [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) 03:00:38 2025-02-21 03:00:37,802 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 03:00:38 2025-02-21 03:00:37,803 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 03:00:38 2025-02-21 03:00:37,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:38 2025-02-21 03:00:37,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:38 4.0.0-dev.12 [Pipeline] } 03:00:38 $ docker exec --env ******** --env ******** 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 ssh-agent -k 03:00:38 unset SSH_AUTH_SOCK; 03:00:38 unset SSH_AGENT_PID; 03:00:38 echo Agent pid 78 killed; 03:00:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:38 + git semver [Pipeline] } 03:00:39 $ docker stop --time=1 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 03:00:40 $ docker rm -f --volumes 95bfb202504c94ba000af2a842c9d49e49d24a2c575ed33b37a9504b044882c8 [Pipeline] // withDockerContainer [Pipeline] sh 03:00:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:00:41 Stashed 1 file(s) [Pipeline] echo 03:00:41 [edgeXSemver]: initialized semver on version 4.0.0-dev.12 [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 03:00:41 provisioning config files... 03:00:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6351994822090832127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:41 ---> ****-login.sh 03:00:41 nexus3.edgexfoundry.org:10001 03:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:41 Configure a credential helper to remove this warning. See 03:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:41 03:00:41 Login Succeeded 03:00:41 nexus3.edgexfoundry.org:10002 03:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:41 Configure a credential helper to remove this warning. See 03:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:41 03:00:41 Login Succeeded 03:00:41 nexus3.edgexfoundry.org:10003 03:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:41 Configure a credential helper to remove this warning. See 03:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:41 03:00:41 Login Succeeded 03:00:41 nexus3.edgexfoundry.org:10004 03:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:41 Configure a credential helper to remove this warning. See 03:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:41 03:00:41 Login Succeeded 03:00:41 ****.io 03:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:42 Configure a credential helper to remove this warning. See 03:00:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:42 03:00:42 Login Succeeded 03:00:42 ---> ****-login.sh ends [Pipeline] } 03:00:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:00:42 ========================================================= 03:00:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:00:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:42 + 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 . 03:00:42 Sending build context to Docker daemon 21.15MB 03:00:42 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:00:42 Step 2/12 : FROM ${BASE} AS builder 03:00:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:00:42 da9db072f522: Pulling fs layer 03:00:42 6ef4a4ee8ca5: Pulling fs layer 03:00:42 06f05ace1117: Pulling fs layer 03:00:42 5fe327b54edc: Pulling fs layer 03:00:42 4f4fb700ef54: Pulling fs layer 03:00:42 92a5565b7b96: Pulling fs layer 03:00:42 ff9bb7016b71: Pulling fs layer 03:00:42 b67dba6c2c7d: Pulling fs layer 03:00:42 a813b0c90790: Pulling fs layer 03:00:42 92a5565b7b96: Waiting 03:00:42 5fe327b54edc: Waiting 03:00:42 a813b0c90790: Waiting 03:00:42 ff9bb7016b71: Waiting 03:00:42 4f4fb700ef54: Waiting 03:00:42 b67dba6c2c7d: Waiting 03:00:42 6ef4a4ee8ca5: Verifying Checksum 03:00:42 6ef4a4ee8ca5: Download complete 03:00:42 5fe327b54edc: Download complete 03:00:42 4f4fb700ef54: Verifying Checksum 03:00:42 4f4fb700ef54: Download complete 03:00:42 92a5565b7b96: Verifying Checksum 03:00:42 92a5565b7b96: Download complete 03:00:42 da9db072f522: Verifying Checksum 03:00:42 da9db072f522: Download complete 03:00:42 ff9bb7016b71: Verifying Checksum 03:00:42 ff9bb7016b71: Download complete 03:00:42 da9db072f522: Pull complete 03:00:43 6ef4a4ee8ca5: Pull complete 03:00:43 a813b0c90790: Verifying Checksum 03:00:43 a813b0c90790: Download complete 03:00:43 06f05ace1117: Verifying Checksum 03:00:43 06f05ace1117: Download complete 03:00:43 b67dba6c2c7d: Verifying Checksum 03:00:43 b67dba6c2c7d: Download complete 03:00:46 06f05ace1117: Pull complete 03:00:46 5fe327b54edc: Pull complete 03:00:46 4f4fb700ef54: Pull complete 03:00:46 92a5565b7b96: Pull complete 03:00:46 ff9bb7016b71: Pull complete 03:00:48 b67dba6c2c7d: Pull complete 03:00:48 a813b0c90790: Pull complete 03:00:48 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:00:48 ---> 3ba60ce46760 03:00:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:00:51 ---> Running in 1f41c9c58226 03:00:51 Removing intermediate container 1f41c9c58226 03:00:51 ---> 810a45f4c0c4 03:00:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:51 ---> Running in 3dc29dccaeb8 03:00:51 Removing intermediate container 3dc29dccaeb8 03:00:51 ---> b1cca4c57992 03:00:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:51 ---> Running in b309dc58ecc7 03:00:51 Removing intermediate container b309dc58ecc7 03:00:51 ---> fa4448fc748d 03:00:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:00:51 ---> Running in d41926a1eaa0 03:00:51 Removing intermediate container d41926a1eaa0 03:00:51 ---> d0bcdfe9ccd2 03:00:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:51 ---> Running in 8a15504d5887 03:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:00:51 (1/4) Installing openssh-keygen (9.7_p1-r4) 03:00:51 (2/4) Installing libedit (20240517.3.1-r0) 03:00:51 (3/4) Installing openssh-client-common (9.7_p1-r4) 03:00:52 (4/4) Installing openssh-client-default (9.7_p1-r4) 03:00:52 Executing busybox-1.36.1-r29.trigger 03:00:52 OK: 252 MiB in 62 packages 03:00:52 Removing intermediate container 8a15504d5887 03:00:52 ---> 5de2511f8b19 03:00:52 Step 8/12 : WORKDIR /device-mqtt-go 03:00:52 ---> Running in c7ab012fcf7f 03:00:52 Removing intermediate container c7ab012fcf7f 03:00:52 ---> f7d7bd55fd1f 03:00:52 Step 9/12 : COPY go.mod vendor* ./ 03:00:52 ---> 7f7716e62a05 03:00:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:52 ---> Running in 75af33dfb21e 03:00:56 Still waiting to schedule task 03:00:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:01:31 Removing intermediate container 75af33dfb21e 03:01:31 ---> 226a0e601300 03:01:31 Step 11/12 : COPY . . 03:01:31 ---> b93d8c643d51 03:01:31 Step 12/12 : RUN $MAKE 03:01:31 ---> Running in 668c29b1f22b 03:01:31 noop 03:01:31 Removing intermediate container 668c29b1f22b 03:01:31 ---> 213ef1d75335 03:01:31 Successfully built 213ef1d75335 03:01:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:31 + docker inspect -f . ci-base-image-x86_64 03:01:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:31 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:01:31 $ 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 03:01:32 $ docker top 1665d0e881a588d6ea1f094c2188271d86d044c8b2bc3cb9a0684c78ae7d535f -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:32 + go version 03:01:32 go version go1.23.4 linux/amd64 [Pipeline] } 03:01:32 $ docker stop --time=1 1665d0e881a588d6ea1f094c2188271d86d044c8b2bc3cb9a0684c78ae7d535f 03:01:33 $ docker rm -f --volumes 1665d0e881a588d6ea1f094c2188271d86d044c8b2bc3cb9a0684c78ae7d535f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:34 + docker inspect -f . ci-base-image-x86_64 03:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:34 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:01:34 $ 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 03:01:34 $ docker top 13746e23c6724ec94659a7a66a79fb54073784785be1a2d7d8a8e3c96a8dbd46 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 03:01:35 + make test 03:01:35 go test ./... -coverprofile=coverage.out ./... 03:01:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:01:54 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 03:01:54 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 03:01:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 03:02:01 go vet ./... 03:02:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:02:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:02:06 ./bin/test-attribution-txt.sh [Pipeline] echo 03:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:02:06 $ docker stop --time=1 13746e23c6724ec94659a7a66a79fb54073784785be1a2d7d8a8e3c96a8dbd46 03:02:09 $ docker rm -f --volumes 13746e23c6724ec94659a7a66a79fb54073784785be1a2d7d8a8e3c96a8dbd46 [Pipeline] // withDockerContainer [Pipeline] sh 03:02:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:02:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:02:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:02:10 + ls -al . 03:02:10 total 252 03:02:10 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 03:01 . 03:02:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 03:00 .. 03:02:10 -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 03:00 .dockerignore 03:02:10 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 03:01 .git 03:02:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:00 .github 03:02:10 -rw-rw-r-- 1 jenkins jenkins 264 Feb 21 03:00 .gitignore 03:02:10 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 03:00 .golangci.yml 03:02:10 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 03:00 .semver 03:02:10 -rw-rw-r-- 1 jenkins jenkins 19106 Feb 21 03:00 Attribution.txt 03:02:10 -rw-rw-r-- 1 jenkins jenkins 18574 Feb 21 03:00 CHANGELOG.md 03:02:10 -rw-rw-r-- 1 jenkins jenkins 1803 Feb 21 03:00 Dockerfile 03:02:10 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 03:00 GOVERNANCE.md 03:02:10 -rw-rw-r-- 1 jenkins jenkins 657 Feb 21 03:00 Jenkinsfile 03:02:10 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 03:00 LICENSE 03:02:10 -rw-rw-r-- 1 jenkins jenkins 2545 Feb 21 03:00 Makefile 03:02:10 -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 03:00 OWNERS.md 03:02:10 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 21 03:00 README.md 03:02:10 -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 03:00 VERSION 03:02:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:00 bin 03:02:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:00 cmd 03:02:10 -rw-r--r-- 1 jenkins jenkins 21039 Feb 21 03:01 coverage.out 03:02:10 -rw-rw-r-- 1 jenkins jenkins 6223 Feb 21 03:00 go.mod 03:02:10 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 21 03:00 go.sum 03:02:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:00 internal 03:02:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:00 mock 03:02:10 -rw-rw-r-- 1 jenkins jenkins 227 Feb 21 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:10 + 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=82a85f1d5a8b5edd26386b3f1f92ed92300f945c --label arch=amd64 --label version=4.0.0-dev.12 . 03:02:10 Sending build context to Docker daemon 21.17MB 03:02:10 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 03:02:10 Step 2/25 : FROM ${BASE} AS builder 03:02:10 ---> 213ef1d75335 03:02:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:02:11 ---> Running in b52ec519e1dc 03:02:11 Removing intermediate container b52ec519e1dc 03:02:11 ---> 4768dcbbc449 03:02:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:02:11 ---> Running in 8bfec333a095 03:02:11 Removing intermediate container 8bfec333a095 03:02:11 ---> 94e2ab164e8d 03:02:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:02:11 ---> Running in ae698f9e675c 03:02:11 Removing intermediate container ae698f9e675c 03:02:11 ---> 498f2c512785 03:02:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:02:11 ---> Running in b99223cb93c7 03:02:11 Removing intermediate container b99223cb93c7 03:02:11 ---> 2cc28b04c3b8 03:02:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:02:11 ---> Running in 491ef9680bd9 03:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:02:12 OK: 252 MiB in 62 packages 03:02:12 Removing intermediate container 491ef9680bd9 03:02:12 ---> e917b67783cc 03:02:12 Step 8/25 : WORKDIR /device-mqtt-go 03:02:12 ---> Running in c7f155558fff 03:02:12 Removing intermediate container c7f155558fff 03:02:12 ---> 9772622b322d 03:02:12 Step 9/25 : COPY go.mod vendor* ./ 03:02:12 ---> 09594eebc93a 03:02:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:02:12 ---> Running in d7d5586e1104 03:02:13 Removing intermediate container d7d5586e1104 03:02:13 ---> bd6759e16ccb 03:02:13 Step 11/25 : COPY . . 03:02:13 ---> 25dee7c4441c 03:02:13 Step 12/25 : RUN $MAKE 03:02:13 ---> Running in 7a073a3b9054 03:02:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:02:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39383 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:02:23 Running in /w/workspace/device-mqtt-go/190 [Pipeline] { [Pipeline] checkout 03:02:26 The recommended git tool is: git 03:02:30 using credential edgex-jenkins-ssh 03:02:30 Cloning the remote Git repository 03:02:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:02:30 > git init /w/workspace/device-mqtt-go/190 # timeout=10 03:02:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:02:31 > git --version # timeout=10 03:02:31 > git --version # 'git version 2.25.1' 03:02:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:02:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:34 Avoid second fetch 03:02:34 Checking out Revision 82a85f1d5a8b5edd26386b3f1f92ed92300f945c (main) 03:02:34 > git config core.sparsecheckout # timeout=10 03:02:34 > git checkout -f 82a85f1d5a8b5edd26386b3f1f92ed92300f945c # timeout=10 03:02:35 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#729)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:02:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:02:39 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:39 Dload Upload Total Spent Left Speed 03:02:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 60225 0 --:--:-- --:--:-- --:--:-- 60509 [Pipeline] sh 03:02:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:02:40 Removing intermediate container 7a073a3b9054 03:02:40 ---> a4b13f83e7f2 03:02:40 Step 13/25 : FROM alpine:3.20 03:02:40 3.20: Pulling from library/alpine 03:02:40 0a9a5dfd008f: Pulling fs layer 03:02:40 0a9a5dfd008f: Download complete 03:02:40 0a9a5dfd008f: Pull complete 03:02:40 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:02:40 Status: Downloaded newer image for alpine:3.20 03:02:40 ---> ff221270b9fb 03:02:40 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 03:02:40 ---> Running in 751aa444ed3d 03:02:40 Removing intermediate container 751aa444ed3d 03:02:40 ---> 52cccccbc971 03:02:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:02:40 ---> Running in b0522c853d9d 03:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:02:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:02:40 + sudo tee /etc/docker/daemon.new 03:02:40 { 03:02:40 "registry-mirrors": [ 03:02:40 "https://nexus3.edgexfoundry.org:10001" 03:02:40 ], 03:02:40 "bip": "10.250.0.254/24", 03:02:40 "hosts": [ 03:02:40 "tcp://0.0.0.0:5555", 03:02:40 "unix:///var/run/docker.sock" 03:02:40 ], 03:02:40 "mtu": 1458, 03:02:40 "selinux-enabled": true, 03:02:40 "seccomp-profile": "/etc/docker/seccomp.json" 03:02:40 } [Pipeline] sh 03:02:40 (1/1) Installing dumb-init (1.2.5-r3) 03:02:40 Executing busybox-1.36.1-r29.trigger 03:02:40 OK: 8 MiB in 15 packages 03:02:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:02:40 Removing intermediate container b0522c853d9d 03:02:40 ---> 610edfad870d 03:02:40 Step 16/25 : RUN apk --no-cache upgrade 03:02:40 ---> Running in a6afac8aeeec 03:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:02:41 + sudo service docker restart 03:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:02:41 OK: 8 MiB in 15 packages 03:02:41 Removing intermediate container a6afac8aeeec 03:02:41 ---> cc1b2afdddd1 03:02:41 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:02:42 ---> 2e6aa1abb016 03:02:42 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:02:42 ---> 2458215f613d 03:02:42 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:02:42 ---> 10cf59b12d34 03:02:42 Step 20/25 : EXPOSE 59982 03:02:42 ---> Running in d1717bf0b255 03:02:42 Removing intermediate container d1717bf0b255 03:02:42 ---> 1d8bcc9e786f 03:02:42 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:02:42 ---> Running in d3d70c46a3ed 03:02:42 Removing intermediate container d3d70c46a3ed 03:02:42 ---> d5a83801741d 03:02:42 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:02:42 ---> Running in 4c307bdca712 03:02:42 Removing intermediate container 4c307bdca712 03:02:42 ---> ebeb2fb2d9e4 03:02:42 Step 23/25 : LABEL arch=amd64 03:02:42 ---> Running in 53a8955d32c1 03:02:43 Removing intermediate container 53a8955d32c1 03:02:43 ---> 87ffa35685a3 03:02:43 Step 24/25 : LABEL git_sha=82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:02:43 ---> Running in 335253abc46d 03:02:43 Removing intermediate container 335253abc46d 03:02:43 ---> e57cac8b9a7e 03:02:43 Step 25/25 : LABEL version=4.0.0-dev.12 03:02:43 ---> Running in 5d9dc89e63a3 03:02:43 Removing intermediate container 5d9dc89e63a3 03:02:43 ---> 0e5f9396cc7a 03:02:43 [Warning] One or more build-args [ARCH] were not consumed 03:02:43 Successfully built 0e5f9396cc7a 03:02:43 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:43 provisioning config files... 03:02:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1098223319662615311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:43 ---> ****-login.sh 03:02:43 nexus3.edgexfoundry.org:10001 03:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:02:43 Configure a credential helper to remove this warning. See 03:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:02:43 03:02:43 Login Succeeded 03:02:43 nexus3.edgexfoundry.org:10002 03:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:02:43 Configure a credential helper to remove this warning. See 03:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:02:43 03:02:43 Login Succeeded 03:02:43 nexus3.edgexfoundry.org:10003 03:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:02:43 Configure a credential helper to remove this warning. See 03:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:02:43 03:02:43 Login Succeeded 03:02:43 nexus3.edgexfoundry.org:10004 03:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:02:43 Configure a credential helper to remove this warning. See 03:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:02:43 03:02:43 Login Succeeded 03:02:43 ****.io 03:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:02:44 Configure a credential helper to remove this warning. See 03:02:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:02:44 03:02:44 Login Succeeded 03:02:44 ---> ****-login.sh ends [Pipeline] } 03:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:02:44 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:02:44 82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:02:44 latest 03:02:44 4.0.0-dev.12 03:02:44 82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:02:44 main 03:02:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:02:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:02:44 1589dfcd2210: Preparing 03:02:44 f252de5d15a2: Preparing 03:02:44 16679b2ffab4: Preparing 03:02:44 19c2faa4a58c: Preparing 03:02:44 69a2f3ee187a: Preparing 03:02:44 994456c4fd7b: Preparing 03:02:44 994456c4fd7b: Waiting 03:02:44 19c2faa4a58c: Pushed 03:02:44 69a2f3ee187a: Pushed 03:02:44 1589dfcd2210: Pushed 03:02:44 f252de5d15a2: Pushed 03:02:44 994456c4fd7b: Layer already exists 03:02:49 16679b2ffab4: Pushed 03:02:49 82a85f1d5a8b5edd26386b3f1f92ed92300f945c: digest: sha256:03296b9d3287fcc63aea8a1cf023ed93fe3afd0dffff7dade89c13bbe517d9e3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:02:49 1589dfcd2210: Preparing 03:02:49 f252de5d15a2: Preparing 03:02:49 16679b2ffab4: Preparing 03:02:49 19c2faa4a58c: Preparing 03:02:49 69a2f3ee187a: Preparing 03:02:49 994456c4fd7b: Preparing 03:02:49 994456c4fd7b: Waiting 03:02:49 69a2f3ee187a: Layer already exists 03:02:49 19c2faa4a58c: Layer already exists 03:02:49 1589dfcd2210: Layer already exists 03:02:49 16679b2ffab4: Layer already exists 03:02:49 f252de5d15a2: Layer already exists 03:02:49 994456c4fd7b: Layer already exists 03:02:49 latest: digest: sha256:03296b9d3287fcc63aea8a1cf023ed93fe3afd0dffff7dade89c13bbe517d9e3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.12 03:02:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:02:50 1589dfcd2210: Preparing 03:02:50 f252de5d15a2: Preparing 03:02:50 16679b2ffab4: Preparing 03:02:50 19c2faa4a58c: Preparing 03:02:50 69a2f3ee187a: Preparing 03:02:50 994456c4fd7b: Preparing 03:02:50 994456c4fd7b: Waiting 03:02:50 1589dfcd2210: Layer already exists 03:02:50 16679b2ffab4: Layer already exists 03:02:50 19c2faa4a58c: Layer already exists 03:02:50 f252de5d15a2: Layer already exists 03:02:50 69a2f3ee187a: Layer already exists 03:02:50 994456c4fd7b: Layer already exists 03:02:50 4.0.0-dev.12: digest: sha256:03296b9d3287fcc63aea8a1cf023ed93fe3afd0dffff7dade89c13bbe517d9e3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:02:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:02:51 1589dfcd2210: Preparing 03:02:51 f252de5d15a2: Preparing 03:02:51 16679b2ffab4: Preparing 03:02:51 19c2faa4a58c: Preparing 03:02:51 69a2f3ee187a: Preparing 03:02:51 994456c4fd7b: Preparing 03:02:51 994456c4fd7b: Waiting 03:02:51 16679b2ffab4: Layer already exists 03:02:51 19c2faa4a58c: Layer already exists 03:02:51 f252de5d15a2: Layer already exists 03:02:51 69a2f3ee187a: Layer already exists 03:02:51 1589dfcd2210: Layer already exists 03:02:51 994456c4fd7b: Layer already exists 03:02:51 82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12: digest: sha256:03296b9d3287fcc63aea8a1cf023ed93fe3afd0dffff7dade89c13bbe517d9e3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:02:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:02:51 1589dfcd2210: Preparing 03:02:51 f252de5d15a2: Preparing 03:02:51 16679b2ffab4: Preparing 03:02:51 19c2faa4a58c: Preparing 03:02:51 69a2f3ee187a: Preparing 03:02:51 994456c4fd7b: Preparing 03:02:51 994456c4fd7b: Waiting 03:02:51 69a2f3ee187a: Layer already exists 03:02:51 16679b2ffab4: Layer already exists 03:02:51 f252de5d15a2: Layer already exists 03:02:51 19c2faa4a58c: Layer already exists 03:02:51 1589dfcd2210: Layer already exists 03:02:51 994456c4fd7b: Layer already exists 03:02:51 main: digest: sha256:03296b9d3287fcc63aea8a1cf023ed93fe3afd0dffff7dade89c13bbe517d9e3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:51 ===================================================== [Pipeline] echo 03:02:51 taggedImages: 03:02:51 - nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:02:51 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:02:51 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.12 03:02:51 - nexus3.edgexfoundry.org:10004/device-mqtt:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:02:51 - 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 03:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:52 03:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:52 latest: Pulling from edgex-lftools-log-publisher 03:02:52 5eb5b503b376: Pulling fs layer 03:02:52 5c69ac0246d0: Pulling fs layer 03:02:52 ec43610c2a17: Pulling fs layer 03:02:52 3a2ae6a8a46f: Pulling fs layer 03:02:52 33b1e0a273af: Pulling fs layer 03:02:52 5d3b04190fa2: Pulling fs layer 03:02:52 2f39f015ded8: Pulling fs layer 03:02:52 33b1e0a273af: Waiting 03:02:52 5d3b04190fa2: Waiting 03:02:52 2f39f015ded8: Waiting 03:02:52 5c69ac0246d0: Verifying Checksum 03:02:52 5c69ac0246d0: Download complete 03:02:52 3a2ae6a8a46f: Verifying Checksum 03:02:52 3a2ae6a8a46f: Download complete 03:02:52 33b1e0a273af: Verifying Checksum 03:02:52 33b1e0a273af: Download complete 03:02:52 ec43610c2a17: Verifying Checksum 03:02:52 ec43610c2a17: Download complete 03:02:52 5eb5b503b376: Verifying Checksum 03:02:52 5eb5b503b376: Download complete 03:02:53 2f39f015ded8: Verifying Checksum 03:02:53 2f39f015ded8: Download complete 03:02:53 5eb5b503b376: Pull complete 03:02:54 5c69ac0246d0: Pull complete 03:02:54 ec43610c2a17: Pull complete 03:02:54 3a2ae6a8a46f: Pull complete 03:02:54 33b1e0a273af: Pull complete 03:02:54 5d3b04190fa2: Pull complete 03:02:58 2f39f015ded8: Pull complete 03:02:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:58 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:02:58 $ 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 03:03:00 $ docker top 98f1d663bdedba3289268607905006a0e3ca3d6535f823e687e1f31b730f6d22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 03:03:00 provisioning config files... 03:03:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/190@tmp/config4880464861677294625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:00 ---> job-cost.sh 03:03:00 lf-activate-venv: SKIPPING 03:03:00 INFO: No Stack... 03:03:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:03:01 ---> ****-login.sh 03:03:01 nexus3.edgexfoundry.org:10001 03:03:01 INFO: Archiving Costs [Pipeline] sh 03:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:01 Configure a credential helper to remove this warning. See 03:03:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:01 03:03:01 Login Succeeded 03:03:01 nexus3.edgexfoundry.org:10002 03:03:01 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:03:01 + cut -d, -f6 [Pipeline] lock 03:03:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] 03:03:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] did not exist. Created. 03:03:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:02 + echo total: 0.2199999988079071 [Pipeline] stash 03:03:02 Stashed 1 file(s) [Pipeline] } 03:03:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 03:03:02 $ docker stop --time=1 98f1d663bdedba3289268607905006a0e3ca3d6535f823e687e1f31b730f6d22 03:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:02 Configure a credential helper to remove this warning. See 03:03:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:02 03:03:02 Login Succeeded 03:03:02 nexus3.edgexfoundry.org:10003 03:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:02 Configure a credential helper to remove this warning. See 03:03:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:02 03:03:02 Login Succeeded 03:03:02 nexus3.edgexfoundry.org:10004 03:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:02 Configure a credential helper to remove this warning. See 03:03:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:02 03:03:02 Login Succeeded 03:03:02 ****.io 03:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:03 $ docker rm -f --volumes 98f1d663bdedba3289268607905006a0e3ca3d6535f823e687e1f31b730f6d22 03:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:03 Configure a credential helper to remove this warning. See 03:03:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:03 03:03:03 Login Succeeded 03:03:03 ---> ****-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 03:03:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 03:03:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:03 ========================================================= 03:03:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:03:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:04 + 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 . 03:03:04 Sending build context to Docker daemon 10.69MB 03:03:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:03:04 Step 2/12 : FROM ${BASE} AS builder 03:03:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:03:04 9986a736f7d3: Pulling fs layer 03:03:04 1f018df60701: Pulling fs layer 03:03:04 39f8f326b044: Pulling fs layer 03:03:04 e6a1e7a6a96a: Pulling fs layer 03:03:04 4f4fb700ef54: Pulling fs layer 03:03:04 d45d956e0dbf: Pulling fs layer 03:03:04 d7702b0d1db1: Pulling fs layer 03:03:04 5c7f0f088c93: Pulling fs layer 03:03:04 4fdc064ae6cf: Pulling fs layer 03:03:04 d45d956e0dbf: Waiting 03:03:04 d7702b0d1db1: Waiting 03:03:04 5c7f0f088c93: Waiting 03:03:04 4fdc064ae6cf: Waiting 03:03:04 e6a1e7a6a96a: Waiting 03:03:04 4f4fb700ef54: Waiting 03:03:04 1f018df60701: Verifying Checksum 03:03:04 1f018df60701: Download complete 03:03:04 e6a1e7a6a96a: Verifying Checksum 03:03:04 e6a1e7a6a96a: Download complete 03:03:04 4f4fb700ef54: Verifying Checksum 03:03:04 4f4fb700ef54: Download complete 03:03:04 d45d956e0dbf: Verifying Checksum 03:03:04 d45d956e0dbf: Download complete 03:03:04 d7702b0d1db1: Verifying Checksum 03:03:04 d7702b0d1db1: Download complete 03:03:04 9986a736f7d3: Verifying Checksum 03:03:04 9986a736f7d3: Download complete 03:03:05 4fdc064ae6cf: Verifying Checksum 03:03:05 4fdc064ae6cf: Download complete 03:03:05 9986a736f7d3: Pull complete 03:03:06 1f018df60701: Pull complete 03:03:06 39f8f326b044: Download complete 03:03:07 5c7f0f088c93: Verifying Checksum 03:03:07 5c7f0f088c93: Download complete 03:03:22 39f8f326b044: Pull complete 03:03:22 e6a1e7a6a96a: Pull complete 03:03:22 4f4fb700ef54: Pull complete 03:03:22 d45d956e0dbf: Pull complete 03:03:22 d7702b0d1db1: Pull complete 03:03:29 5c7f0f088c93: Pull complete 03:03:31 4fdc064ae6cf: Pull complete 03:03:31 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 03:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:03:31 ---> 63f30b955cb9 03:03:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:03:32 ---> Running in 6da8a0139bf4 03:03:32 Removing intermediate container 6da8a0139bf4 03:03:32 ---> 6c9b7d9246ad 03:03:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:03:32 ---> Running in dc60eff7df7e 03:03:32 Removing intermediate container dc60eff7df7e 03:03:32 ---> 8ed8a7e93ad7 03:03:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:03:32 ---> Running in 1acb6250c93d 03:03:33 Removing intermediate container 1acb6250c93d 03:03:33 ---> 27dba77d927f 03:03:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:03:33 ---> Running in a1bb5fb49b60 03:03:33 Removing intermediate container a1bb5fb49b60 03:03:33 ---> 05b0395bf3aa 03:03:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:03:33 ---> Running in 9af3d48ea631 03:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:03:37 (1/4) Installing openssh-keygen (9.7_p1-r4) 03:03:37 (2/4) Installing libedit (20240517.3.1-r0) 03:03:37 (3/4) Installing openssh-client-common (9.7_p1-r4) 03:03:37 (4/4) Installing openssh-client-default (9.7_p1-r4) 03:03:37 Executing busybox-1.36.1-r29.trigger 03:03:37 OK: 244 MiB in 62 packages 03:03:38 Removing intermediate container 9af3d48ea631 03:03:38 ---> 1add2964dbc2 03:03:38 Step 8/12 : WORKDIR /device-mqtt-go 03:03:38 ---> Running in 5d4bfb9d9b7d 03:03:38 Removing intermediate container 5d4bfb9d9b7d 03:03:38 ---> b683ffe415fa 03:03:38 Step 9/12 : COPY go.mod vendor* ./ 03:03:38 ---> 8f9f2e5dbccc 03:03:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:03:38 ---> Running in eab2bc9b25e8 03:05:30 Removing intermediate container eab2bc9b25e8 03:05:30 ---> b42c42350c58 03:05:30 Step 11/12 : COPY . . 03:05:30 ---> 9aa8724131a4 03:05:30 Step 12/12 : RUN $MAKE 03:05:30 ---> Running in 8e0b275ff91a 03:05:30 noop 03:05:30 Removing intermediate container 8e0b275ff91a 03:05:30 ---> 143d5f6db66d 03:05:30 Successfully built 143d5f6db66d 03:05:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:30 + docker inspect -f . ci-base-image-arm64 03:05:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:30 prd-ubuntu20.04-docker-arm64-4c-16g-39383 does not seem to be running inside a container 03:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/190 -v /w/workspace/device-mqtt-go/190:/w/workspace/device-mqtt-go/190:rw,z -v /w/workspace/device-mqtt-go/190@tmp:/w/workspace/device-mqtt-go/190@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 03:05:32 $ docker top 4bb9e41feba4711fb8431743edd85bb190975f9123030901b0bdf31a869183c6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:32 + go version 03:05:32 go version go1.23.4 linux/arm64 [Pipeline] } 03:05:32 $ docker stop --time=1 4bb9e41feba4711fb8431743edd85bb190975f9123030901b0bdf31a869183c6 03:05:34 $ docker rm -f --volumes 4bb9e41feba4711fb8431743edd85bb190975f9123030901b0bdf31a869183c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:35 + docker inspect -f . ci-base-image-arm64 03:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:35 prd-ubuntu20.04-docker-arm64-4c-16g-39383 does not seem to be running inside a container 03:05:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/190 -v /w/workspace/device-mqtt-go/190:/w/workspace/device-mqtt-go/190:rw,z -v /w/workspace/device-mqtt-go/190@tmp:/w/workspace/device-mqtt-go/190@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 03:05:36 $ docker top 56e85ef45726642da0df6eab985d0d28bd8daaf0a21c17ec2d16048a32beb177 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:37 + git config --global --add safe.directory /w/workspace/device-mqtt-go/190 [Pipeline] fileExists [Pipeline] sh 03:05:37 + make test 03:05:37 go test ./... -coverprofile=coverage.out ./... 03:05:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:09:35 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 03:09:35 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 03:09:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.8% of statements 03:09:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:09:36 go vet ./... 03:10:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:10:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:10:32 ./bin/test-attribution-txt.sh [Pipeline] echo 03:10:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:10:32 $ docker stop --time=1 56e85ef45726642da0df6eab985d0d28bd8daaf0a21c17ec2d16048a32beb177 03:10:34 $ docker rm -f --volumes 56e85ef45726642da0df6eab985d0d28bd8daaf0a21c17ec2d16048a32beb177 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:10:36 Warning: overwriting stash ‘coverage-report’ 03:10:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:10:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:10:38 + ls -al . 03:10:38 total 248 03:10:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 03:05 . 03:10:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 03:02 .. 03:10:38 -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 03:02 .dockerignore 03:10:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 03:02 .git 03:10:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:02 .github 03:10:38 -rw-rw-r-- 1 jenkins jenkins 264 Feb 21 03:02 .gitignore 03:10:38 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 03:02 .golangci.yml 03:10:38 -rw-rw-r-- 1 jenkins jenkins 19106 Feb 21 03:02 Attribution.txt 03:10:38 -rw-rw-r-- 1 jenkins jenkins 18574 Feb 21 03:02 CHANGELOG.md 03:10:38 -rw-rw-r-- 1 jenkins jenkins 1803 Feb 21 03:02 Dockerfile 03:10:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 03:02 GOVERNANCE.md 03:10:38 -rw-rw-r-- 1 jenkins jenkins 657 Feb 21 03:02 Jenkinsfile 03:10:38 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 03:02 LICENSE 03:10:38 -rw-rw-r-- 1 jenkins jenkins 2545 Feb 21 03:02 Makefile 03:10:38 -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 03:02 OWNERS.md 03:10:38 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 21 03:02 README.md 03:10:38 -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 03:00 VERSION 03:10:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:02 bin 03:10:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:02 cmd 03:10:38 -rw-r--r-- 1 jenkins jenkins 21039 Feb 21 03:09 coverage.out 03:10:38 -rw-rw-r-- 1 jenkins jenkins 6223 Feb 21 03:02 go.mod 03:10:38 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 21 03:02 go.sum 03:10:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:02 internal 03:10:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:02 mock 03:10:38 -rw-rw-r-- 1 jenkins jenkins 227 Feb 21 03:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:38 + 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=82a85f1d5a8b5edd26386b3f1f92ed92300f945c --label arch=arm64 --label version=4.0.0-dev.12 . 03:10:38 Sending build context to Docker daemon 10.72MB 03:10:38 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 03:10:38 Step 2/25 : FROM ${BASE} AS builder 03:10:38 ---> 143d5f6db66d 03:10:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:10:38 ---> Running in baac5b9be4d7 03:10:39 Removing intermediate container baac5b9be4d7 03:10:39 ---> b8e75f580398 03:10:39 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:10:39 ---> Running in 6ebff8ed2035 03:10:39 Removing intermediate container 6ebff8ed2035 03:10:39 ---> f101a26eebe6 03:10:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:10:39 ---> Running in e936199c63a4 03:10:40 Removing intermediate container e936199c63a4 03:10:40 ---> ec2240ea52bc 03:10:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:10:40 ---> Running in fbe7576107a5 03:10:40 Removing intermediate container fbe7576107a5 03:10:40 ---> 46871bb54f51 03:10:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:40 ---> Running in ce3418be746d 03:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:10:43 OK: 244 MiB in 62 packages 03:10:44 Removing intermediate container ce3418be746d 03:10:44 ---> a0287d515c82 03:10:44 Step 8/25 : WORKDIR /device-mqtt-go 03:10:44 ---> Running in 090f127ed9ee 03:10:45 Removing intermediate container 090f127ed9ee 03:10:45 ---> 15abc00a3efa 03:10:45 Step 9/25 : COPY go.mod vendor* ./ 03:10:45 ---> 9d79a258073a 03:10:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:45 ---> Running in a87eb6d96cee 03:10:48 Removing intermediate container a87eb6d96cee 03:10:48 ---> e16d6f97a24c 03:10:48 Step 11/25 : COPY . . 03:10:49 ---> 05759c151502 03:10:49 Step 12/25 : RUN $MAKE 03:10:49 ---> Running in 113f1469164f 03:10:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:14:42 Removing intermediate container 113f1469164f 03:14:42 ---> a41966b71148 03:14:42 Step 13/25 : FROM alpine:3.20 03:14:42 3.20: Pulling from library/alpine 03:14:42 94e9d8af2201: Pulling fs layer 03:14:42 94e9d8af2201: Verifying Checksum 03:14:42 94e9d8af2201: Download complete 03:14:42 94e9d8af2201: Pull complete 03:14:42 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:14:42 Status: Downloaded newer image for alpine:3.20 03:14:42 ---> 7aab056cecc6 03:14:42 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 03:14:42 ---> Running in 92ddaeec87f6 03:14:42 Removing intermediate container 92ddaeec87f6 03:14:42 ---> 32e2f319abe1 03:14:42 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:14:42 ---> Running in bc67bd952bd7 03:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:14:45 (1/1) Installing dumb-init (1.2.5-r3) 03:14:45 Executing busybox-1.36.1-r29.trigger 03:14:45 OK: 9 MiB in 15 packages 03:14:46 Removing intermediate container bc67bd952bd7 03:14:46 ---> bbaed21a1ccd 03:14:46 Step 16/25 : RUN apk --no-cache upgrade 03:14:46 ---> Running in 551683611cc2 03:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:14:48 OK: 9 MiB in 15 packages 03:14:49 Removing intermediate container 551683611cc2 03:14:49 ---> cb97530fbb5e 03:14:49 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:14:52 ---> ba2c8ec45469 03:14:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:14:52 ---> cc9ab27da3f5 03:14:52 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:14:53 ---> 5ab577fa8b8a 03:14:53 Step 20/25 : EXPOSE 59982 03:14:53 ---> Running in 400274bdbf6a 03:14:53 Removing intermediate container 400274bdbf6a 03:14:53 ---> 84e2c0e03826 03:14:53 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:14:53 ---> Running in bc7248808e1f 03:14:54 Removing intermediate container bc7248808e1f 03:14:54 ---> fba11cc429a8 03:14:54 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:14:54 ---> Running in 3a9d28251ce4 03:14:54 Removing intermediate container 3a9d28251ce4 03:14:54 ---> 89206bd87cbc 03:14:54 Step 23/25 : LABEL arch=arm64 03:14:54 ---> Running in 1ae011ba72f3 03:14:54 Removing intermediate container 1ae011ba72f3 03:14:54 ---> a5ef887010d9 03:14:54 Step 24/25 : LABEL git_sha=82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:14:54 ---> Running in 9b6eab66eac6 03:14:55 Removing intermediate container 9b6eab66eac6 03:14:55 ---> 8ff758605dd7 03:14:55 Step 25/25 : LABEL version=4.0.0-dev.12 03:14:55 ---> Running in 4e927112b014 03:14:55 Removing intermediate container 4e927112b014 03:14:55 ---> 9e11fada6972 03:14:55 [Warning] One or more build-args [ARCH] were not consumed 03:14:55 Successfully built 9e11fada6972 03:14:55 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:55 provisioning config files... 03:14:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/190@tmp/config1885885333818517846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:56 ---> ****-login.sh 03:14:56 nexus3.edgexfoundry.org:10001 03:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:14:56 Configure a credential helper to remove this warning. See 03:14:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:14:56 03:14:56 Login Succeeded 03:14:56 nexus3.edgexfoundry.org:10002 03:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:14:56 Configure a credential helper to remove this warning. See 03:14:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:14:56 03:14:56 Login Succeeded 03:14:56 nexus3.edgexfoundry.org:10003 03:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:14:57 Configure a credential helper to remove this warning. See 03:14:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:14:57 03:14:57 Login Succeeded 03:14:57 nexus3.edgexfoundry.org:10004 03:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:14:57 Configure a credential helper to remove this warning. See 03:14:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:14:57 03:14:57 Login Succeeded 03:14:57 ****.io 03:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:14:58 Configure a credential helper to remove this warning. See 03:14:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:14:58 03:14:58 Login Succeeded 03:14:58 ---> ****-login.sh ends [Pipeline] } 03:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:14:58 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:14:58 82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:14:58 latest 03:14:58 4.0.0-dev.12 03:14:58 82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:14:58 main 03:14:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:14:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:14:58 436c92678753: Preparing 03:14:58 343ba1292a38: Preparing 03:14:58 bcc5071bd017: Preparing 03:14:58 bb39489c96f8: Preparing 03:14:58 23e00c81bf4f: Preparing 03:14:58 dd9c8f8612c8: Preparing 03:14:58 dd9c8f8612c8: Waiting 03:14:59 343ba1292a38: Pushed 03:14:59 436c92678753: Pushed 03:14:59 bb39489c96f8: Pushed 03:14:59 23e00c81bf4f: Pushed 03:14:59 dd9c8f8612c8: Layer already exists 03:15:09 bcc5071bd017: Pushed 03:15:09 82a85f1d5a8b5edd26386b3f1f92ed92300f945c: digest: sha256:d7d6b189c8e5593d26dcdfec2092ccb8b9eb223c230a7c3bc0dcd47b1768dfc9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:15:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:15:10 436c92678753: Preparing 03:15:10 343ba1292a38: Preparing 03:15:10 bcc5071bd017: Preparing 03:15:10 bb39489c96f8: Preparing 03:15:10 23e00c81bf4f: Preparing 03:15:10 dd9c8f8612c8: Preparing 03:15:10 dd9c8f8612c8: Waiting 03:15:10 436c92678753: Layer already exists 03:15:10 343ba1292a38: Layer already exists 03:15:10 23e00c81bf4f: Layer already exists 03:15:10 bb39489c96f8: Layer already exists 03:15:10 bcc5071bd017: Layer already exists 03:15:10 dd9c8f8612c8: Layer already exists 03:15:10 latest: digest: sha256:d7d6b189c8e5593d26dcdfec2092ccb8b9eb223c230a7c3bc0dcd47b1768dfc9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.12 03:15:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:15:11 436c92678753: Preparing 03:15:11 343ba1292a38: Preparing 03:15:11 bcc5071bd017: Preparing 03:15:11 bb39489c96f8: Preparing 03:15:11 23e00c81bf4f: Preparing 03:15:11 dd9c8f8612c8: Preparing 03:15:11 dd9c8f8612c8: Waiting 03:15:11 436c92678753: Layer already exists 03:15:11 23e00c81bf4f: Layer already exists 03:15:11 343ba1292a38: Layer already exists 03:15:11 bb39489c96f8: Layer already exists 03:15:11 bcc5071bd017: Layer already exists 03:15:11 dd9c8f8612c8: Layer already exists 03:15:11 4.0.0-dev.12: digest: sha256:d7d6b189c8e5593d26dcdfec2092ccb8b9eb223c230a7c3bc0dcd47b1768dfc9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:15:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:15:12 436c92678753: Preparing 03:15:12 343ba1292a38: Preparing 03:15:12 bcc5071bd017: Preparing 03:15:12 bb39489c96f8: Preparing 03:15:12 23e00c81bf4f: Preparing 03:15:12 dd9c8f8612c8: Preparing 03:15:12 dd9c8f8612c8: Waiting 03:15:12 436c92678753: Layer already exists 03:15:12 bcc5071bd017: Layer already exists 03:15:12 343ba1292a38: Layer already exists 03:15:12 23e00c81bf4f: Layer already exists 03:15:12 bb39489c96f8: Layer already exists 03:15:12 dd9c8f8612c8: Layer already exists 03:15:12 82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12: digest: sha256:d7d6b189c8e5593d26dcdfec2092ccb8b9eb223c230a7c3bc0dcd47b1768dfc9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:15:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:15:13 436c92678753: Preparing 03:15:13 343ba1292a38: Preparing 03:15:13 bcc5071bd017: Preparing 03:15:13 bb39489c96f8: Preparing 03:15:13 23e00c81bf4f: Preparing 03:15:13 dd9c8f8612c8: Preparing 03:15:13 dd9c8f8612c8: Waiting 03:15:13 436c92678753: Layer already exists 03:15:13 23e00c81bf4f: Layer already exists 03:15:13 343ba1292a38: Layer already exists 03:15:13 bcc5071bd017: Layer already exists 03:15:13 bb39489c96f8: Layer already exists 03:15:13 dd9c8f8612c8: Layer already exists 03:15:13 main: digest: sha256:d7d6b189c8e5593d26dcdfec2092ccb8b9eb223c230a7c3bc0dcd47b1768dfc9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:15:13 ===================================================== [Pipeline] echo 03:15:13 taggedImages: 03:15:13 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c 03:15:13 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:15:13 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.12 03:15:13 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:82a85f1d5a8b5edd26386b3f1f92ed92300f945c-4.0.0-dev.12 03:15:13 - 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 03:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:13 03:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:14 arm64: Pulling from edgex-lftools-log-publisher 03:15:14 8998bd30e6a1: Pulling fs layer 03:15:14 04944245beec: Pulling fs layer 03:15:14 699f458cf7ca: Pulling fs layer 03:15:14 765212b225bb: Pulling fs layer 03:15:14 f23df028b6ca: Pulling fs layer 03:15:14 d65c8cfc05b1: Pulling fs layer 03:15:14 2437ff75d9bd: Pulling fs layer 03:15:14 2437ff75d9bd: Waiting 03:15:14 04944245beec: Verifying Checksum 03:15:14 04944245beec: Download complete 03:15:14 765212b225bb: Verifying Checksum 03:15:14 765212b225bb: Download complete 03:15:14 f23df028b6ca: Verifying Checksum 03:15:14 f23df028b6ca: Download complete 03:15:14 d65c8cfc05b1: Verifying Checksum 03:15:14 d65c8cfc05b1: Download complete 03:15:14 699f458cf7ca: Verifying Checksum 03:15:14 699f458cf7ca: Download complete 03:15:14 8998bd30e6a1: Verifying Checksum 03:15:14 8998bd30e6a1: Download complete 03:15:17 2437ff75d9bd: Download complete 03:15:20 8998bd30e6a1: Pull complete 03:15:20 04944245beec: Pull complete 03:15:22 699f458cf7ca: Pull complete 03:15:22 765212b225bb: Pull complete 03:15:23 f23df028b6ca: Pull complete 03:15:23 d65c8cfc05b1: Pull complete 03:15:41 2437ff75d9bd: Pull complete 03:15:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:41 prd-ubuntu20.04-docker-arm64-4c-16g-39383 does not seem to be running inside a container 03:15:41 $ 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/190 -v /w/workspace/device-mqtt-go/190:/w/workspace/device-mqtt-go/190:rw,z -v /w/workspace/device-mqtt-go/190@tmp:/w/workspace/device-mqtt-go/190@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 03:15:44 $ docker top b569931b3c337d2e3dd0a7e912bca0ca9dde921a7c0914f1a9606c381aa61bcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:45 ---> job-cost.sh 03:15:45 lf-activate-venv: SKIPPING 03:15:45 INFO: No Stack... 03:15:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:15:46 INFO: Archiving Costs [Pipeline] sh 03:15:47 + cat /w/workspace/device-mqtt-go/190/archives/cost.csv 03:15:47 + cut -d, -f6 [Pipeline] lock 03:15:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] 03:15:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] did not exist. Created. 03:15:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:15:48 /w/workspace/device-mqtt-go/190@tmp/durable-160fbaf0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:15:49 + echo total: 0.10999999940395355 [Pipeline] stash 03:15:49 Warning: overwriting stash ‘stack-cost’ 03:15:49 Stashed 1 file(s) [Pipeline] } 03:15:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 03:15:49 $ docker stop --time=1 b569931b3c337d2e3dd0a7e912bca0ca9dde921a7c0914f1a9606c381aa61bcd 03:15:50 $ docker rm -f --volumes b569931b3c337d2e3dd0a7e912bca0ca9dde921a7c0914f1a9606c381aa61bcd [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 03:15:51 provisioning config files... 03:15:51 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17787614586861204474tmp [Pipeline] { [Pipeline] sh 03:15:51 + set +x 03:15:51 + curl+ -s https://codecov.io/bash 03:15:51 bash -s -- 03:15:51 03:15:51 _____ _ 03:15:51 / ____| | | 03:15:51 | | ___ __| | ___ ___ _____ __ 03:15:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:15:51 | |___| (_) | (_| | __/ (_| (_) \ V / 03:15:51 \_____\___/ \__,_|\___|\___\___/ \_/ 03:15:51 Bash-1.0.6 03:15:51 03:15:51 03:15:51 ==> git version 2.25.1 found 03:15:51 ==> 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 03:15:51 Release-Date: 2020-01-08 03:15:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:15:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:15:51 ==> Jenkins CI detected. 03:15:51 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:15:51 project root: . 03:15:51 --> token set from env 03:15:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:15:51 ==> Running gcov in . (disable via -X gcov) 03:15:51 ==> Python coveragepy not found 03:15:51 ==> Searching for coverage reports in: 03:15:51 + . 03:15:51 -> Found 1 reports 03:15:51 ==> Detecting git/mercurial file structure 03:15:51 ==> Reading reports 03:15:51 + ./coverage.out bytes=21039 03:15:51 ==> Appending adjustments 03:15:51 https://docs.codecov.io/docs/fixing-reports 03:15:51 + Found adjustments 03:15:51 ==> Gzipping contents 03:15:51 4.0K /tmp/codecov.04Rpwd.gz 03:15:51 ==> Uploading reports 03:15:51 url: https://codecov.io 03:15:51 query: branch=main&commit=82a85f1d5a8b5edd26386b3f1f92ed92300f945c&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:15:51 -> Pinging Codecov 03:15:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=82a85f1d5a8b5edd26386b3f1f92ed92300f945c&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:15:52 -> Uploading to 03:15:52 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/82a85f1d5a8b5edd26386b3f1f92ed92300f945c/cb288d72-dc7d-4007-b99e-b31b312a4a2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250221%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250221T031551Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=4bf5f56231de3e42f4a71371f92e3ad16bca26b54e40f8ede9adf36d22062738 03:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:15:52 Dload Upload Total Spent Left Speed 03:15:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 16730 --:--:-- --:--:-- --:--:-- 16646 100 3346 0 0 100 3346 0 16730 --:--:-- --:--:-- --:--:-- 16646 03:15:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] } 03:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:15:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:15:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:15:52 03:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:15:53 latest: Pulling from edgex-devops/edgex-snyk-go 03:15:53 43c4264eed91: Pulling fs layer 03:15:53 4cc291be95ef: Pulling fs layer 03:15:53 2ac1f1163629: Pulling fs layer 03:15:53 5c3c966382ef: Pulling fs layer 03:15:53 4f4fb700ef54: Pulling fs layer 03:15:53 d9c7d2e4e75e: Pulling fs layer 03:15:53 9c3e1370e548: Pulling fs layer 03:15:53 5c3c966382ef: Waiting 03:15:53 4f4fb700ef54: Waiting 03:15:53 d9c7d2e4e75e: Waiting 03:15:53 4cc291be95ef: Verifying Checksum 03:15:53 4cc291be95ef: Download complete 03:15:53 5c3c966382ef: Verifying Checksum 03:15:53 5c3c966382ef: Download complete 03:15:53 4f4fb700ef54: Verifying Checksum 03:15:53 4f4fb700ef54: Download complete 03:15:53 43c4264eed91: Verifying Checksum 03:15:53 43c4264eed91: Download complete 03:15:53 43c4264eed91: Pull complete 03:15:53 d9c7d2e4e75e: Verifying Checksum 03:15:53 4cc291be95ef: Pull complete 03:15:53 2ac1f1163629: Verifying Checksum 03:15:53 2ac1f1163629: Download complete 03:15:54 9c3e1370e548: Verifying Checksum 03:15:54 9c3e1370e548: Download complete 03:15:57 2ac1f1163629: Pull complete 03:15:57 5c3c966382ef: Pull complete 03:15:57 4f4fb700ef54: Pull complete 03:15:57 d9c7d2e4e75e: Pull complete 03:16:00 9c3e1370e548: Pull complete 03:16:00 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 03:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:16:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:00 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16:00 $ 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 03:16:03 $ docker top a50749b8461455f0d751824a383771b65291d4ea7737ae7c15c21f222e46ceda -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 03:16:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:16:03 + set -o pipefail 03:16:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:16:12 03:16:12 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:16:12 03:16:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/a23a66b9-726f-4159-870d-fb53e9237436 03:16:12 03:16:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:16:12 03:16:12 03:16:12 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:16:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:16:12 $ docker stop --time=1 a50749b8461455f0d751824a383771b65291d4ea7737ae7c15c21f222e46ceda 03:16:14 $ docker rm -f --volumes a50749b8461455f0d751824a383771b65291d4ea7737ae7c15c21f222e46ceda [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 03:16:15 + git log --format=format:%s -1 82a85f1d5a8b5edd26386b3f1f92ed92300f945c [Pipeline] sh 03:16:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:16:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:16 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16:16 $ 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 03:16:16 $ docker top d16c2cb0ba3193d4152c9ba62d98c416d8ed8808d7e2c5af6735a2fb7a32dde8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:16 [ssh-agent] Looking for ssh-agent implementation... 03:16:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:17 $ docker exec d16c2cb0ba3193d4152c9ba62d98c416d8ed8808d7e2c5af6735a2fb7a32dde8 ssh-agent 03:16:17 SSH_AUTH_SOCK=/tmp/ssh-DhhjCONW19IK/agent.34 03:16:17 SSH_AGENT_PID=40 03:16:17 Running ssh-add (command line suppressed) 03:16:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6905376771817996379.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6905376771817996379.key) 03:16:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:17 + git semver tag 03:16:17 2025-02-21 03:16:17,771 [run_tag] DEBUG tag force:False 03:16:17 2025-02-21 03:16:17,771 [check_head_tag] DEBUG check head tag 03:16:17 2025-02-21 03:16:17,773 [execute] INFO git cat-file --batch-check 03:16:17 2025-02-21 03:16:17,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:16:17 2025-02-21 03:16:17,777 [execute] INFO git cat-file --batch 03:16:17 2025-02-21 03:16:17,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:16:17 2025-02-21 03:16:17,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:17 2025-02-21 03:16:17,802 [execute] INFO git tag -a v4.0.0-dev.12 -m v4.0.0-dev.12 03:16:17 2025-02-21 03:16:17,802 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.12', '-m', 'v4.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:16:17 2025-02-21 03:16:17,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:17 4.0.0-dev.12 [Pipeline] } 03:16:17 $ docker exec --env ******** --env ******** d16c2cb0ba3193d4152c9ba62d98c416d8ed8808d7e2c5af6735a2fb7a32dde8 ssh-agent -k 03:16:17 unset SSH_AUTH_SOCK; 03:16:17 unset SSH_AGENT_PID; 03:16:17 echo Agent pid 40 killed; 03:16:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:18 + git semver [Pipeline] } 03:16:18 $ docker stop --time=1 d16c2cb0ba3193d4152c9ba62d98c416d8ed8808d7e2c5af6735a2fb7a32dde8 03:16:19 $ docker rm -f --volumes d16c2cb0ba3193d4152c9ba62d98c416d8ed8808d7e2c5af6735a2fb7a32dde8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:20 03:16:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:20 0.23.1-centos7: Pulling from edgex-lftools 03:16:20 ab5ef0e58194: Pulling fs layer 03:16:20 9712f1f96733: Pulling fs layer 03:16:20 63f879dbbcfc: Pulling fs layer 03:16:20 0d9ebad4ef96: Pulling fs layer 03:16:20 e9a5061849ea: Pulling fs layer 03:16:20 d747dcd14b5f: Pulling fs layer 03:16:20 2de7ff778b66: Pulling fs layer 03:16:20 0d9ebad4ef96: Waiting 03:16:20 e9a5061849ea: Waiting 03:16:20 d747dcd14b5f: Waiting 03:16:20 2de7ff778b66: Waiting 03:16:20 9712f1f96733: Verifying Checksum 03:16:20 9712f1f96733: Download complete 03:16:21 63f879dbbcfc: Verifying Checksum 03:16:21 63f879dbbcfc: Download complete 03:16:21 0d9ebad4ef96: Verifying Checksum 03:16:21 0d9ebad4ef96: Download complete 03:16:21 d747dcd14b5f: Verifying Checksum 03:16:21 d747dcd14b5f: Download complete 03:16:21 e9a5061849ea: Verifying Checksum 03:16:21 e9a5061849ea: Download complete 03:16:21 ab5ef0e58194: Download complete 03:16:21 2de7ff778b66: Verifying Checksum 03:16:21 2de7ff778b66: Download complete 03:16:23 ab5ef0e58194: Pull complete 03:16:23 9712f1f96733: Pull complete 03:16:24 63f879dbbcfc: Pull complete 03:16:27 0d9ebad4ef96: Pull complete 03:16:27 e9a5061849ea: Pull complete 03:16:27 d747dcd14b5f: Pull complete 03:16:28 2de7ff778b66: Pull complete 03:16:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:16:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:28 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:16:31 $ docker top 5492c8f15d21605b660caaf6286cb12afa384296e0f11a3e83e981e142e6f56e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:16:31 provisioning config files... 03:16:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10967908926995511525tmp 03:16:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16868046713035460686tmp 03:16:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10126280196511674611tmp [Pipeline] { [Pipeline] echo 03:16:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:16:31 ---> sigul-configuration.sh 03:16:31 gpg: directory `/root/.gnupg' created 03:16:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:16:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:16:31 gpg: keyring `/root/.gnupg/secring.gpg' created 03:16:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:16:31 gpg: CAST5 encrypted data 03:16:31 gpg: encrypted with 1 passphrase 03:16:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:16:31 + mkdir /home/jenkins 03:16:31 + mkdir /home/jenkins/sigul [Pipeline] sh 03:16:32 + 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 03:16:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:16:32 ---> sigul-install.sh 03:16:32 Sigul already installed; skipping installation. [Pipeline] sh 03:16:32 + git tag --list 03:16:32 0.7.1 03:16:32 v1.0.0 03:16:32 v1.1.0 03:16:32 v1.1.1 03:16:32 v1.2.2 03:16:32 v1.3.0 03:16:32 v1.3.1 03:16:32 v2.0.0 03:16:32 v2.1.0 03:16:32 v2.1.1 03:16:32 v2.2.0 03:16:32 v2.3.0 03:16:32 v3.0 03:16:32 v3.0.0 03:16:32 v3.1 03:16:32 v3.1.0 03:16:32 v3.1.0-dev.1 03:16:32 v3.1.0-dev.10 03:16:32 v3.1.0-dev.11 03:16:32 v3.1.0-dev.12 03:16:32 v3.1.0-dev.13 03:16:32 v3.1.0-dev.14 03:16:32 v3.1.0-dev.15 03:16:32 v3.1.0-dev.16 03:16:32 v3.1.0-dev.17 03:16:32 v3.1.0-dev.18 03:16:32 v3.1.0-dev.19 03:16:32 v3.1.0-dev.2 03:16:32 v3.1.0-dev.20 03:16:32 v3.1.0-dev.21 03:16:32 v3.1.0-dev.22 03:16:32 v3.1.0-dev.23 03:16:32 v3.1.0-dev.24 03:16:32 v3.1.0-dev.25 03:16:32 v3.1.0-dev.3 03:16:32 v3.1.0-dev.4 03:16:32 v3.1.0-dev.5 03:16:32 v3.1.0-dev.6 03:16:32 v3.1.0-dev.7 03:16:32 v3.1.0-dev.8 03:16:32 v3.1.0-dev.9 03:16:32 v3.1.1 03:16:32 v3.2.0-dev.1 03:16:32 v3.2.0-dev.10 03:16:32 v3.2.0-dev.11 03:16:32 v3.2.0-dev.12 03:16:32 v3.2.0-dev.13 03:16:32 v3.2.0-dev.14 03:16:32 v3.2.0-dev.15 03:16:32 v3.2.0-dev.16 03:16:32 v3.2.0-dev.17 03:16:32 v3.2.0-dev.18 03:16:32 v3.2.0-dev.19 03:16:32 v3.2.0-dev.2 03:16:32 v3.2.0-dev.20 03:16:32 v3.2.0-dev.21 03:16:32 v3.2.0-dev.22 03:16:32 v3.2.0-dev.23 03:16:32 v3.2.0-dev.3 03:16:32 v3.2.0-dev.4 03:16:32 v3.2.0-dev.5 03:16:32 v3.2.0-dev.6 03:16:32 v3.2.0-dev.7 03:16:32 v3.2.0-dev.8 03:16:32 v3.2.0-dev.9 03:16:32 v4.0.0-dev.1 03:16:32 v4.0.0-dev.10 03:16:32 v4.0.0-dev.11 03:16:32 v4.0.0-dev.12 03:16:32 v4.0.0-dev.2 03:16:32 v4.0.0-dev.3 03:16:32 v4.0.0-dev.4 03:16:32 v4.0.0-dev.5 03:16:32 v4.0.0-dev.6 03:16:32 v4.0.0-dev.7 03:16:32 v4.0.0-dev.8 03:16:32 v4.0.0-dev.9 [Pipeline] sh 03:16:32 + lftools sign git-tag v4.0.0-dev.12 03:16:33 Signing Git tag with Sigul... 03:16:33 Signing v4.0.0-dev.12 [Pipeline] echo 03:16:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:16:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:16:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:16:34 $ docker stop --time=1 5492c8f15d21605b660caaf6286cb12afa384296e0f11a3e83e981e142e6f56e 03:16:35 $ docker rm -f --volumes 5492c8f15d21605b660caaf6286cb12afa384296e0f11a3e83e981e142e6f56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:16:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:16:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:36 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16:36 $ 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 03:16:36 $ docker top 31348f1da4440548086ee34089e290df891ed7ed85fafc7dbbf46b6dcc0cd555 -eo pid,comm 03:16:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:16:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:36 [ssh-agent] Looking for ssh-agent implementation... 03:16:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:36 $ docker exec 31348f1da4440548086ee34089e290df891ed7ed85fafc7dbbf46b6dcc0cd555 ssh-agent 03:16:36 SSH_AUTH_SOCK=/tmp/ssh-NxrQvaqYJLfB/agent.32 03:16:36 SSH_AGENT_PID=38 03:16:36 Running ssh-add (command line suppressed) 03:16:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14076334252573884145.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14076334252573884145.key) 03:16:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:37 + git semver bump pre 03:16:37 2025-02-21 03:16:37,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:37 2025-02-21 03:16:37,513 [bump_version] DEBUG bumping version:4.0.0-dev.12 on axis:pre with prefix:dev 03:16:37 2025-02-21 03:16:37,513 [bump_version] DEBUG bumped version:4.0.0-dev.13 03:16:37 2025-02-21 03:16:37,513 [write_version] DEBUG write version:4.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:16:37 2025-02-21 03:16:37,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:37 2025-02-21 03:16:37,514 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:37 2025-02-21 03:16:37,516 [execute] INFO git cat-file --batch-check 03:16:37 2025-02-21 03:16:37,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:16:37 2025-02-21 03:16:37,521 [execute] INFO git cat-file --batch 03:16:37 2025-02-21 03:16:37,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:16:37 2025-02-21 03:16:37,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:37 4.0.0-dev.13 [Pipeline] } 03:16:37 $ docker exec --env ******** --env ******** 31348f1da4440548086ee34089e290df891ed7ed85fafc7dbbf46b6dcc0cd555 ssh-agent -k 03:16:37 unset SSH_AUTH_SOCK; 03:16:37 unset SSH_AGENT_PID; 03:16:37 echo Agent pid 38 killed; 03:16:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:38 + git semver [Pipeline] } 03:16:38 $ docker stop --time=1 31348f1da4440548086ee34089e290df891ed7ed85fafc7dbbf46b6dcc0cd555 03:16:39 $ docker rm -f --volumes 31348f1da4440548086ee34089e290df891ed7ed85fafc7dbbf46b6dcc0cd555 [Pipeline] // withDockerContainer [Pipeline] sh 03:16:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:16:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:40 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16: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 03:16:40 $ docker top 49bbe553972bef5bf776520eb941b8b762b512bc3b6a1a5f99e23d5cf2cb1f04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:40 [ssh-agent] Looking for ssh-agent implementation... 03:16:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:40 $ docker exec 49bbe553972bef5bf776520eb941b8b762b512bc3b6a1a5f99e23d5cf2cb1f04 ssh-agent 03:16:40 SSH_AUTH_SOCK=/tmp/ssh-XxSDXNOWqEfe/agent.32 03:16:40 SSH_AGENT_PID=38 03:16:40 Running ssh-add (command line suppressed) 03:16:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16550334990946190686.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16550334990946190686.key) 03:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:41 + git semver push 03:16:41 2025-02-21 03:16:41,498 [run_push] DEBUG push 03:16:41 2025-02-21 03:16:41,499 [execute] INFO git cat-file --batch-check 03:16:41 2025-02-21 03:16:41,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:16:41 2025-02-21 03:16:41,503 [execute] INFO git rev-list 0c56a22620d1b846ef8b3a1327a0afe9e2b500b5 -- 03:16:41 2025-02-21 03:16:41,503 [execute] DEBUG Popen(['git', 'rev-list', '0c56a22620d1b846ef8b3a1327a0afe9e2b500b5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:16:41 2025-02-21 03:16:41,513 [execute] INFO git fetch -v origin 03:16:41 2025-02-21 03:16:41,514 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:16:42 2025-02-21 03:16:41,963 [run_push] DEBUG no remote changes detected 03:16:42 2025-02-21 03:16:41,963 [execute] INFO git push origin semver 03:16:42 2025-02-21 03:16:41,964 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:16:42 2025-02-21 03:16:42,602 [run_push] DEBUG push all version tags 03:16:42 2025-02-21 03:16:42,604 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:16:42 2025-02-21 03:16:42,606 [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) 03:16:43 2025-02-21 03:16:43,229 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:16:43 4.0.0-dev.13 [Pipeline] } 03:16:43 $ docker exec --env ******** --env ******** 49bbe553972bef5bf776520eb941b8b762b512bc3b6a1a5f99e23d5cf2cb1f04 ssh-agent -k 03:16:43 unset SSH_AUTH_SOCK; 03:16:43 unset SSH_AGENT_PID; 03:16:43 echo Agent pid 38 killed; 03:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:43 + git semver [Pipeline] } 03:16:44 $ docker stop --time=1 49bbe553972bef5bf776520eb941b8b762b512bc3b6a1a5f99e23d5cf2cb1f04 03:16:45 $ docker rm -f --volumes 49bbe553972bef5bf776520eb941b8b762b512bc3b6a1a5f99e23d5cf2cb1f04 [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 03:16:45 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:16:45 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:16:45 total 16 03:16:45 drwxr-xr-x 3 root root 4096 Feb 21 03:03 . 03:16:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:16 .. 03:16:45 drwxr-xr-x 2 root root 4096 Feb 21 03:03 cost 03:16:45 -rw-r--r-- 1 root root 86 Feb 21 03:03 cost.csv 03:16:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:16:45 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:16:45 total 16 03:16:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 03:03 . 03:16:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:16 .. 03:16:45 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 03:03 cost 03:16:45 -rw-r--r-- 1 jenkins jenkins 86 Feb 21 03:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:16:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:47 ---> package-listing.sh 03:16:47 ++ facter osfamily 03:16:47 ++ tr '[:upper:]' '[:lower:]' 03:16:47 + OS_FAMILY=debian 03:16:47 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:16:47 + START_PACKAGES=/tmp/packages_start.txt 03:16:47 + END_PACKAGES=/tmp/packages_end.txt 03:16:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:47 + PACKAGES=/tmp/packages_start.txt 03:16:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:16:47 + PACKAGES=/tmp/packages_end.txt 03:16:47 + case "${OS_FAMILY}" in 03:16:47 + dpkg -l 03:16:47 + grep '^ii' 03:16:47 + '[' -f /tmp/packages_start.txt ']' 03:16:47 + '[' -f /tmp/packages_end.txt ']' 03:16:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:16:47 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:16:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:16:47 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 03:16:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:48 prd-ubuntu20.04-docker-8c-8g-39381 does not seem to be running inside a container 03:16:48 $ 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 03:16:48 $ docker top 459eab0d9ef65b989c99174ac24b91840048df84cd80c6ea1dd389c8635de4a7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:48 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:49 + mkdir -p /var/log/sysstat [Pipeline] sh 03:16:49 + ls /var/log/sa-host 03:16:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:49 provisioning config files... 03:16:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14114995089554670946tmp [Pipeline] { [Pipeline] echo 03:16:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:49 ---> create-netrc.sh [Pipeline] } 03:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:16:50 ---> python-tools-install.sh [Pipeline] echo 03:16:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:50 ---> sudo-logs.sh 03:16:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:50 ---> job-cost.sh 03:16:50 lf-activate-venv: SKIPPING 03:16:50 DEBUG: total: 0.2199999988079071 03:16:50 INFO: Retrieving Stack Cost... 03:16:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:51 INFO: Archiving Costs [Pipeline] echo 03:16:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:51 ---> logs-deploy.sh 03:16:51 lf-activate-venv: SKIPPING 03:16:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/190 03:16:51 INFO: archiving workspace using pattern(s): 03:16:52 Archives upload complete. 03:16:52 INFO: archiving logs to Nexus