Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee9b976c78f7b645c9e1559e0d6ced2f706be125 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-ssh17975633936576372008.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-ssh17690201922540973276.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-ssh4557560411578367599.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-ssh14636329799239514110.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-ssh3704527709149226310.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-37195’ is offline Running on prd-ubuntu20.04-docker-8c-8g-37204 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 ee9b976c78f7b645c9e1559e0d6ced2f706be125 (main) Commit message: "Merge pull request #724 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" > 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 ee9b976c78f7b645c9e1559e0d6ced2f706be125 # timeout=10 > git rev-list --no-walk 3549df6dcc703df88a56d94e623ba7f0daa5638e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:47 ========================================================= 02:43:47 EdgeX Global Pipelines Version Info 02:43:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:47 ------------------- 02:43:47 stable info: 02:43:47 ------------------- 02:43:47 Commited By: Cherry Wang cherry@iotechsys.com 02:43:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:43:47 Message: update stable to v1.0.269 02:43:48 ------------------- 02:43:48 experimental info: 02:43:48 ------------------- 02:43:48 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:43:48 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee9b976 [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:49 provisioning config files... 02:43:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config598135424319455285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:49 ---> ****-login.sh 02:43:49 nexus3.edgexfoundry.org:10001 02:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:49 Configure a credential helper to remove this warning. See 02:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:49 02:43:49 Login Succeeded 02:43:50 nexus3.edgexfoundry.org:10002 02:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:50 Configure a credential helper to remove this warning. See 02:43:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:50 02:43:50 Login Succeeded 02:43:50 nexus3.edgexfoundry.org:10003 02:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:50 Configure a credential helper to remove this warning. See 02:43:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:50 02:43:50 Login Succeeded 02:43:50 nexus3.edgexfoundry.org:10004 02:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:50 Configure a credential helper to remove this warning. See 02:43:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:50 02:43:50 Login Succeeded 02:43:50 ****.io 02:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:50 Configure a credential helper to remove this warning. See 02:43:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:50 02:43:50 Login Succeeded 02:43:50 ---> ****-login.sh ends [Pipeline] } 02:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:43:51 + git rev-list -1 --merges ee9b976c78f7b645c9e1559e0d6ced2f706be125~1..ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] echo 02:43:51 -----------> git rev-list -1 --merges ee9b976c78f7b645c9e1559e0d6ced2f706be125~1..ee9b976c78f7b645c9e1559e0d6ced2f706be125 ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:43:51 ee9b976c78f7b645c9e1559e0d6ced2f706be125 [false] [Pipeline] sh 02:43:51 + git log --format=format:%s -1 ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] echo 02:43:51 ========================================================= 02:43:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:43:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:51 + git log --format=format:%s -1 ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] echo 02:43:51 [semverPrep] GIT_COMMIT: ee9b976c78f7b645c9e1559e0d6ced2f706be125, Commit Message: Merge pull request #724 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19 [Pipeline] echo 02:43:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:43:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:43:52 + grep -v github /etc/ssh/ssh_known_hosts 02:43:52 + [ -e /tmp/ssh_known_hosts ] 02:43:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:43:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:43:52 + sudo tee -a /etc/ssh/ssh_known_hosts 02:43:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:43:52 02:43:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:43:52 0.1.4: Pulling from edgex-devops/py-git-semver 02:43:52 b85a868b505f: Pulling fs layer 02:43:52 e2be974225ed: Pulling fs layer 02:43:52 339a4e72a1f5: Pulling fs layer 02:43:52 988bab9f4d93: Pulling fs layer 02:43:52 1469e6f7b9e6: Pulling fs layer 02:43:52 eaf3925da568: Pulling fs layer 02:43:52 bab4dde63d76: Pulling fs layer 02:43:52 bde34c3a00c8: Pulling fs layer 02:43:52 b352a97aabf1: Pulling fs layer 02:43:52 4872d77fe225: Pulling fs layer 02:43:52 5851b861e8e6: Pulling fs layer 02:43:52 bde34c3a00c8: Waiting 02:43:52 bab4dde63d76: Waiting 02:43:52 b352a97aabf1: Waiting 02:43:52 4872d77fe225: Waiting 02:43:52 5851b861e8e6: Waiting 02:43:52 1469e6f7b9e6: Waiting 02:43:52 eaf3925da568: Waiting 02:43:52 988bab9f4d93: Waiting 02:43:52 e2be974225ed: Download complete 02:43:52 988bab9f4d93: Verifying Checksum 02:43:52 988bab9f4d93: Download complete 02:43:52 339a4e72a1f5: Verifying Checksum 02:43:52 339a4e72a1f5: Download complete 02:43:52 1469e6f7b9e6: Verifying Checksum 02:43:52 1469e6f7b9e6: Download complete 02:43:52 eaf3925da568: Download complete 02:43:52 bde34c3a00c8: Verifying Checksum 02:43:52 bde34c3a00c8: Download complete 02:43:53 b352a97aabf1: Download complete 02:43:53 4872d77fe225: Verifying Checksum 02:43:53 4872d77fe225: Download complete 02:43:53 5851b861e8e6: Verifying Checksum 02:43:53 b85a868b505f: Verifying Checksum 02:43:53 b85a868b505f: Download complete 02:43:53 bab4dde63d76: Verifying Checksum 02:43:53 bab4dde63d76: Download complete 02:43:54 b85a868b505f: Pull complete 02:43:54 e2be974225ed: Pull complete 02:43:55 339a4e72a1f5: Pull complete 02:43:55 988bab9f4d93: Pull complete 02:43:55 1469e6f7b9e6: Pull complete 02:43:56 eaf3925da568: Pull complete 02:43:58 bab4dde63d76: Pull complete 02:43:58 bde34c3a00c8: Pull complete 02:43:58 b352a97aabf1: Pull complete 02:43:58 4872d77fe225: Pull complete 02:43:58 5851b861e8e6: Pull complete 02:43:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:43:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:58 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:44:01 $ docker top 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c -eo pid,comm 02:44:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:44:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:01 [ssh-agent] Looking for ssh-agent implementation... 02:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:01 $ docker exec 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c ssh-agent 02:44:01 SSH_AUTH_SOCK=/tmp/ssh-M82TMXwoUMQb/agent.33 02:44:01 SSH_AGENT_PID=39 02:44:01 Running ssh-add (command line suppressed) 02:44:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8154388488456459682.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8154388488456459682.key) 02:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:02 + git tag --points-at HEAD [Pipeline] } 02:44:02 $ docker exec --env ******** --env ******** 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c ssh-agent -k 02:44:02 unset SSH_AUTH_SOCK; 02:44:02 unset SSH_AGENT_PID; 02:44:02 echo Agent pid 39 killed; 02:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:02 [ssh-agent] Looking for ssh-agent implementation... 02:44:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:02 $ docker exec 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c ssh-agent 02:44:02 SSH_AUTH_SOCK=/tmp/ssh-gXfFyR1N0LIP/agent.72 02:44:02 SSH_AGENT_PID=79 02:44:02 Running ssh-add (command line suppressed) 02:44:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13550583421838092777.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13550583421838092777.key) 02:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:03 + git semver init 02:44:03 2025-01-20 02:44:03,492 [run_init] DEBUG init version:0.0.0 force:False 02:44:03 2025-01-20 02:44:03,493 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:44:03 2025-01-20 02:44:03,494 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:44:03 2025-01-20 02:44:03,494 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:44:05 2025-01-20 02:44:04,990 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:44:05 2025-01-20 02:44:04,991 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:44:05 2025-01-20 02:44:04,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:44:05 2025-01-20 02:44:04,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:44:05 4.0.0-dev.10 [Pipeline] } 02:44:05 $ docker exec --env ******** --env ******** 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c ssh-agent -k 02:44:05 unset SSH_AUTH_SOCK; 02:44:05 unset SSH_AGENT_PID; 02:44:05 echo Agent pid 79 killed; 02:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:05 + git semver [Pipeline] } 02:44:06 $ docker stop --time=1 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c 02:44:08 $ docker rm -f --volumes 09d6626e684f9e3a3e190739861c30c33a6331a522b3ae238423b3cd93061f5c [Pipeline] // withDockerContainer [Pipeline] sh 02:44:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:09 Stashed 1 file(s) [Pipeline] echo 02:44:09 [edgeXSemver]: initialized semver on version 4.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:09 provisioning config files... 02:44:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9097947908201768409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:10 ---> ****-login.sh 02:44:10 nexus3.edgexfoundry.org:10001 02:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:44:10 Configure a credential helper to remove this warning. See 02:44:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:44:10 02:44:10 Login Succeeded 02:44:10 nexus3.edgexfoundry.org:10002 02:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:44:10 Configure a credential helper to remove this warning. See 02:44:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:44:10 02:44:10 Login Succeeded 02:44:10 nexus3.edgexfoundry.org:10003 02:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:44:10 Configure a credential helper to remove this warning. See 02:44:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:44:10 02:44:10 Login Succeeded 02:44:10 nexus3.edgexfoundry.org:10004 02:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:44:10 Configure a credential helper to remove this warning. See 02:44:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:44:10 02:44:10 Login Succeeded 02:44:10 ****.io 02:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:44:10 Configure a credential helper to remove this warning. See 02:44:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:44:10 02:44:10 Login Succeeded 02:44:10 ---> ****-login.sh ends [Pipeline] } 02:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:44:10 ========================================================= 02:44:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:44:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:11 + 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 . 02:44:11 Sending build context to Docker daemon 21.12MB 02:44:11 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:44:11 Step 2/12 : FROM ${BASE} AS builder 02:44:11 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:11 da9db072f522: Pulling fs layer 02:44:11 6ef4a4ee8ca5: Pulling fs layer 02:44:11 06f05ace1117: Pulling fs layer 02:44:11 5fe327b54edc: Pulling fs layer 02:44:11 4f4fb700ef54: Pulling fs layer 02:44:11 92a5565b7b96: Pulling fs layer 02:44:11 ff9bb7016b71: Pulling fs layer 02:44:11 b67dba6c2c7d: Pulling fs layer 02:44:11 a813b0c90790: Pulling fs layer 02:44:11 4f4fb700ef54: Waiting 02:44:11 92a5565b7b96: Waiting 02:44:11 ff9bb7016b71: Waiting 02:44:11 b67dba6c2c7d: Waiting 02:44:11 a813b0c90790: Waiting 02:44:11 5fe327b54edc: Waiting 02:44:11 6ef4a4ee8ca5: Verifying Checksum 02:44:11 6ef4a4ee8ca5: Download complete 02:44:11 5fe327b54edc: Verifying Checksum 02:44:11 5fe327b54edc: Download complete 02:44:11 4f4fb700ef54: Verifying Checksum 02:44:11 4f4fb700ef54: Download complete 02:44:11 92a5565b7b96: Verifying Checksum 02:44:11 92a5565b7b96: Download complete 02:44:11 da9db072f522: Download complete 02:44:11 ff9bb7016b71: Verifying Checksum 02:44:11 ff9bb7016b71: Download complete 02:44:12 a813b0c90790: Verifying Checksum 02:44:12 a813b0c90790: Download complete 02:44:12 06f05ace1117: Verifying Checksum 02:44:12 06f05ace1117: Download complete 02:44:12 da9db072f522: Pull complete 02:44:12 b67dba6c2c7d: Verifying Checksum 02:44:12 b67dba6c2c7d: Download complete 02:44:12 6ef4a4ee8ca5: Pull complete 02:44:17 06f05ace1117: Pull complete 02:44:17 5fe327b54edc: Pull complete 02:44:17 4f4fb700ef54: Pull complete 02:44:17 92a5565b7b96: Pull complete 02:44:17 ff9bb7016b71: Pull complete 02:44:19 b67dba6c2c7d: Pull complete 02:44:20 a813b0c90790: Pull complete 02:44:20 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 02:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:44:20 ---> 3ba60ce46760 02:44:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:44:24 Still waiting to schedule task 02:44:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-37203’ is offline 02:44:26 ---> Running in 3157aff9546c 02:44:26 Removing intermediate container 3157aff9546c 02:44:26 ---> 3f32872f61c2 02:44:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:26 ---> Running in e051c8a5433b 02:44:26 Removing intermediate container e051c8a5433b 02:44:26 ---> b2c07f0a9d28 02:44:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:26 ---> Running in d955e0d89676 02:44:26 Removing intermediate container d955e0d89676 02:44:26 ---> 7990ca8ce676 02:44:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:44:26 ---> Running in ec82cf7091c6 02:44:26 Removing intermediate container ec82cf7091c6 02:44:26 ---> 44863c8df169 02:44:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:26 ---> Running in 8235a66230da 02:44:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:44:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:44:26 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:44:26 (2/4) Installing libedit (20240517.3.1-r0) 02:44:26 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:44:27 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:44:27 Executing busybox-1.36.1-r29.trigger 02:44:27 OK: 252 MiB in 62 packages 02:44:27 Removing intermediate container 8235a66230da 02:44:27 ---> 4c4bf46ef8c3 02:44:27 Step 8/12 : WORKDIR /device-mqtt-go 02:44:27 ---> Running in 6469b9d338b9 02:44:27 Removing intermediate container 6469b9d338b9 02:44:27 ---> 75cc9bcf6e22 02:44:27 Step 9/12 : COPY go.mod vendor* ./ 02:44:27 ---> d11084da4b68 02:44:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:27 ---> Running in 04b61a4ae3b5 02:45:23 Removing intermediate container 04b61a4ae3b5 02:45:23 ---> 7c941dc637b2 02:45:23 Step 11/12 : COPY . . 02:45:23 ---> 279f2b0f7035 02:45:23 Step 12/12 : RUN $MAKE 02:45:23 ---> Running in ba54040e3b95 02:45:23 noop 02:45:23 Removing intermediate container ba54040e3b95 02:45:23 ---> 2749787a1efd 02:45:23 Successfully built 2749787a1efd 02:45:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:24 + docker inspect -f . ci-base-image-x86_64 02:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:24 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:24 $ docker top 24deeeab7e68ad4ba88cd5298656ab8577c0a4b811e5721fac4abc3db098cea3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:25 + go version 02:45:25 go version go1.23.4 linux/amd64 [Pipeline] } 02:45:25 $ docker stop --time=1 24deeeab7e68ad4ba88cd5298656ab8577c0a4b811e5721fac4abc3db098cea3 02:45:26 $ docker rm -f --volumes 24deeeab7e68ad4ba88cd5298656ab8577c0a4b811e5721fac4abc3db098cea3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:26 + docker inspect -f . ci-base-image-x86_64 02:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:26 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:27 $ docker top e8575d92c33b4d1bab1dbc6639172067671af25a4ad5cb69e4d73596a70de070 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:45:27 + make test 02:45:27 go test ./... -coverprofile=coverage.out ./... 02:45:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:45:52 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:45:52 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:45:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.023s coverage: 22.8% of statements 02:46:04 go vet ./... 02:46:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-37205 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:46:08 Running in /w/workspace/device-mqtt-go/188 [Pipeline] { [Pipeline] checkout 02:46:08 The recommended git tool is: git 02:46:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:11 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:46:11 $ docker stop --time=1 e8575d92c33b4d1bab1dbc6639172067671af25a4ad5cb69e4d73596a70de070 02:46:17 using credential edgex-jenkins-ssh 02:46:17 Cloning the remote Git repository 02:46:17 $ docker rm -f --volumes e8575d92c33b4d1bab1dbc6639172067671af25a4ad5cb69e4d73596a70de070 02:46:17 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:46:17 > git init /w/workspace/device-mqtt-go/188 # timeout=10 02:46:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:46:17 > git --version # timeout=10 02:46:17 > git --version # 'git version 2.25.1' 02:46:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:19 + ls -al . 02:46:19 total 252 02:46:19 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 02:45 . 02:46:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:43 .. 02:46:19 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 02:43 .dockerignore 02:46:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 02:45 .git 02:46:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:43 .github 02:46:19 -rw-rw-r-- 1 jenkins jenkins 264 Jan 20 02:43 .gitignore 02:46:19 -rw-rw-r-- 1 jenkins jenkins 41 Jan 20 02:43 .golangci.yml 02:46:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 02:44 .semver 02:46:19 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 20 02:43 Attribution.txt 02:46:19 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 20 02:43 CHANGELOG.md 02:46:19 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 20 02:43 Dockerfile 02:46:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 02:43 GOVERNANCE.md 02:46:19 -rw-rw-r-- 1 jenkins jenkins 657 Jan 20 02:43 Jenkinsfile 02:46:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 02:43 LICENSE 02:46:19 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 20 02:43 Makefile 02:46:19 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 02:43 OWNERS.md 02:46:19 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 20 02:43 README.md 02:46:19 -rw-rw-r-- 1 jenkins jenkins 12 Jan 20 02:44 VERSION 02:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:43 bin 02:46:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:43 cmd 02:46:19 -rw-r--r-- 1 jenkins jenkins 21039 Jan 20 02:45 coverage.out 02:46:19 -rw-rw-r-- 1 jenkins jenkins 6270 Jan 20 02:43 go.mod 02:46:19 -rw-rw-r-- 1 jenkins jenkins 86634 Jan 20 02:43 go.sum 02:46:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:43 internal 02:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:43 mock 02:46:19 -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 02:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:19 + 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=ee9b976c78f7b645c9e1559e0d6ced2f706be125 --label arch=amd64 --label version=4.0.0-dev.10 . 02:46:19 Sending build context to Docker daemon 21.14MB 02:46:19 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 02:46:19 Step 2/25 : FROM ${BASE} AS builder 02:46:19 ---> 2749787a1efd 02:46:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:46:20 ---> Running in 08d01881cbb0 02:46:20 Removing intermediate container 08d01881cbb0 02:46:20 ---> 5c420c69fd03 02:46:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:46:20 ---> Running in 0b5621d7653e 02:46:20 Removing intermediate container 0b5621d7653e 02:46:20 ---> a55e1fb7502d 02:46:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:46:20 ---> Running in 991f257eaa13 02:46:20 Removing intermediate container 991f257eaa13 02:46:20 ---> 059b769ca1eb 02:46:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:46:20 ---> Running in c8e37486ccb9 02:46:20 Removing intermediate container c8e37486ccb9 02:46:20 ---> 2a902f915cf8 02:46:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:46:20 ---> Running in ab8ceda59d52 02:46:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:46:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:46:21 Avoid second fetch 02:46:21 Checking out Revision ee9b976c78f7b645c9e1559e0d6ced2f706be125 (main) 02:46:21 OK: 252 MiB in 62 packages 02:46:21 Removing intermediate container ab8ceda59d52 02:46:21 ---> 34affc15afa6 02:46:21 Step 8/25 : WORKDIR /device-mqtt-go 02:46:22 Commit message: "Merge pull request #724 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" 02:46:22 ---> Running in 901a15d6e5c1 02:46:22 Removing intermediate container 901a15d6e5c1 02:46:22 ---> 111fd88873fa 02:46:22 Step 9/25 : COPY go.mod vendor* ./ 02:46:22 ---> 84fa89e9bdbb 02:46:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:22 ---> Running in 922b4180158f 02:46:21 > git config core.sparsecheckout # timeout=10 02:46:21 > git checkout -f ee9b976c78f7b645c9e1559e0d6ced2f706be125 # timeout=10 02:46:23 Removing intermediate container 922b4180158f 02:46:23 ---> 92ea7814b680 02:46:23 Step 11/25 : COPY . . 02:46:23 ---> 4d830e08f52b 02:46:23 Step 12/25 : RUN $MAKE 02:46:23 ---> Running in 45b5884f5243 02:46:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:46:26 % Total % Received % Xferd Average Speed Time Time Time Current 02:46:26 Dload Upload Total Spent Left Speed 02:46:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 02:46:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:46:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:46:27 + sudo tee /etc/docker/daemon.new 02:46:27 { 02:46:27 "registry-mirrors": [ 02:46:27 "https://nexus3.edgexfoundry.org:10001" 02:46:27 ], 02:46:27 "bip": "10.250.0.254/24", 02:46:27 "hosts": [ 02:46:27 "tcp://0.0.0.0:5555", 02:46:27 "unix:///var/run/docker.sock" 02:46:27 ], 02:46:27 "mtu": 1458, 02:46:27 "selinux-enabled": true, 02:46:27 "seccomp-profile": "/etc/docker/seccomp.json" 02:46:27 } [Pipeline] sh 02:46:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:46:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:46 provisioning config files... 02:46:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/188@tmp/config1629511905513428449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:46 ---> ****-login.sh 02:46:46 nexus3.edgexfoundry.org:10001 02:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:47 Configure a credential helper to remove this warning. See 02:46:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:47 02:46:47 Login Succeeded 02:46:47 nexus3.edgexfoundry.org:10002 02:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:47 Configure a credential helper to remove this warning. See 02:46:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:47 02:46:47 Login Succeeded 02:46:47 nexus3.edgexfoundry.org:10003 02:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:47 Configure a credential helper to remove this warning. See 02:46:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:47 02:46:47 Login Succeeded 02:46:47 nexus3.edgexfoundry.org:10004 02:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:48 Configure a credential helper to remove this warning. See 02:46:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:48 02:46:48 Login Succeeded 02:46:48 ****.io 02:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:48 Configure a credential helper to remove this warning. See 02:46:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:48 02:46:48 Login Succeeded 02:46:48 ---> ****-login.sh ends [Pipeline] } 02:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:46:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:46:48 ========================================================= 02:46:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:46:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:46:50 #0 building with "default" instance using docker driver 02:46:50 02:46:50 #1 [internal] load build definition from Dockerfile 02:46:50 #1 transferring dockerfile: 1.84kB 0.0s done 02:46:50 #1 DONE 0.1s 02:46:50 02:46:50 #2 [internal] load .dockerignore 02:46:50 #2 transferring context: 182B done 02:46:50 #2 DONE 0.1s 02:46:50 02:46:50 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:46:50 #3 DONE 0.1s 02:46:50 02:46:50 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:46:50 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 02:46:50 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 02:46:50 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 3.15MB / 4.09MB 0.2s 02:46:50 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 02:46:50 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.1s done 02:46:50 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 2.10MB / 70.67MB 0.2s 02:46:50 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.2s 02:46:50 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 02:46:50 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 02:46:50 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 5.72MB / 70.67MB 0.3s 02:46:50 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 02:46:50 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 02:46:50 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 02:46:50 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.3s 02:46:50 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 9.44MB / 70.67MB 0.4s 02:46:50 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.3s done 02:46:50 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 2.10MB / 98.78MB 0.4s 02:46:50 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 1.05MB / 12.74MB 0.4s 02:46:51 #4 ... 02:46:51 02:46:51 #5 [internal] load build context 02:46:51 #5 transferring context: 10.55MB 0.4s done 02:46:51 #5 DONE 0.5s 02:46:51 02:46:51 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 14.18MB / 70.67MB 0.5s 02:46:51 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 4.19MB / 12.74MB 0.5s 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 25.17MB / 70.67MB 0.7s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 16.78MB / 98.78MB 0.7s 02:46:51 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 10.49MB / 12.74MB 0.7s 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 30.41MB / 70.67MB 0.8s 02:46:51 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 22.02MB / 98.78MB 0.8s 02:46:51 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 35.65MB / 70.67MB 0.9s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 27.06MB / 98.78MB 0.9s 02:46:51 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 47.19MB / 70.67MB 1.1s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 35.65MB / 98.78MB 1.1s 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 53.48MB / 70.67MB 1.2s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 41.94MB / 98.78MB 1.2s 02:46:51 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 59.77MB / 70.67MB 1.3s 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 66.06MB / 70.67MB 1.4s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 53.48MB / 98.78MB 1.4s 02:46:51 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.5s 02:46:51 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 60.82MB / 98.78MB 1.5s 02:46:52 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.40MB / 98.78MB 1.7s 02:46:52 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 80.74MB / 98.78MB 1.8s 02:46:52 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 87.03MB / 98.78MB 1.9s 02:46:52 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.1s 02:46:53 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 2.5s done 02:46:53 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.7s done 02:46:53 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 02:46:59 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.3s 02:47:02 Removing intermediate container 45b5884f5243 02:47:02 ---> 0f1a97ca7ad9 02:47:02 Step 13/25 : FROM alpine:3.20 02:47:02 3.20: Pulling from library/alpine 02:47:02 66a3d608f3fa: Pulling fs layer 02:47:02 66a3d608f3fa: Verifying Checksum 02:47:02 66a3d608f3fa: Download complete 02:47:02 66a3d608f3fa: Pull complete 02:47:02 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:47:02 Status: Downloaded newer image for alpine:3.20 02:47:02 ---> e29df9b510ff 02:47:02 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 02:47:02 ---> Running in 5953952bb46f 02:47:02 Removing intermediate container 5953952bb46f 02:47:02 ---> 8ddad091ee35 02:47:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:47:02 ---> Running in 9ad6bf7314d8 02:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:47:03 (1/1) Installing dumb-init (1.2.5-r3) 02:47:03 Executing busybox-1.36.1-r29.trigger 02:47:03 OK: 8 MiB in 15 packages 02:47:04 Removing intermediate container 9ad6bf7314d8 02:47:04 ---> 95437c0efeb2 02:47:04 Step 16/25 : RUN apk --no-cache upgrade 02:47:04 ---> Running in b17a7632d883 02:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:47:05 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.3s 02:47:05 OK: 8 MiB in 15 packages 02:47:06 Removing intermediate container b17a7632d883 02:47:06 ---> 5ed9c6f81702 02:47:06 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:47:09 ---> 252da7909655 02:47:09 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:47:09 ---> ac371a938921 02:47:09 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:47:09 ---> e6e18264fb40 02:47:09 Step 20/25 : EXPOSE 59982 02:47:09 ---> Running in 4f3ba12e1055 02:47:09 Removing intermediate container 4f3ba12e1055 02:47:09 ---> 2d9d384ff8fc 02:47:09 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:47:09 ---> Running in 418ca7976a3e 02:47:10 Removing intermediate container 418ca7976a3e 02:47:10 ---> 2d256362cefb 02:47:10 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:47:10 ---> Running in 06f86c3c2bdd 02:47:10 Removing intermediate container 06f86c3c2bdd 02:47:10 ---> 8573c34cd491 02:47:10 Step 23/25 : LABEL arch=amd64 02:47:10 ---> Running in ae11f1ea0bbc 02:47:10 Removing intermediate container ae11f1ea0bbc 02:47:10 ---> c576c88f4404 02:47:10 Step 24/25 : LABEL git_sha=ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:47:10 ---> Running in fd0d7fe070a2 02:47:10 Removing intermediate container fd0d7fe070a2 02:47:10 ---> 3613d68f4170 02:47:10 Step 25/25 : LABEL version=4.0.0-dev.10 02:47:10 ---> Running in 244de694d524 02:47:11 Removing intermediate container 244de694d524 02:47:11 ---> 77ea98b260f0 02:47:11 [Warning] One or more build-args [ARCH] were not consumed 02:47:11 Successfully built 77ea98b260f0 02:47:11 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:11 provisioning config files... 02:47:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4770052582793636736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:11 ---> ****-login.sh 02:47:11 nexus3.edgexfoundry.org:10001 02:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:11 Configure a credential helper to remove this warning. See 02:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:11 02:47:11 Login Succeeded 02:47:11 nexus3.edgexfoundry.org:10002 02:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:11 Configure a credential helper to remove this warning. See 02:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:11 02:47:11 Login Succeeded 02:47:11 nexus3.edgexfoundry.org:10003 02:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:11 Configure a credential helper to remove this warning. See 02:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:11 02:47:11 Login Succeeded 02:47:11 nexus3.edgexfoundry.org:10004 02:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:12 Configure a credential helper to remove this warning. See 02:47:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:12 02:47:12 Login Succeeded 02:47:12 ****.io 02:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:12 Configure a credential helper to remove this warning. See 02:47:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:12 02:47:12 Login Succeeded 02:47:12 ---> ****-login.sh ends [Pipeline] } 02:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:47:12 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:47:12 ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:47:12 latest 02:47:12 4.0.0-dev.10 02:47:12 ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:47:12 main 02:47:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:47:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:47:13 f9339fdcea7b: Preparing 02:47:13 7ee8c97ba910: Preparing 02:47:13 692863bc8adf: Preparing 02:47:13 c1a3e4b303e3: Preparing 02:47:13 c227ec62e722: Preparing 02:47:13 ce5a8cde9eee: Preparing 02:47:13 ce5a8cde9eee: Waiting 02:47:13 f9339fdcea7b: Pushed 02:47:13 c1a3e4b303e3: Pushed 02:47:13 7ee8c97ba910: Pushed 02:47:13 c227ec62e722: Pushed 02:47:13 ce5a8cde9eee: Layer already exists 02:47:13 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.8s done 02:47:13 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 02:47:13 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 02:47:13 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:47:13 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 02:47:13 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 02:47:13 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0.1s 02:47:17 692863bc8adf: Pushed 02:47:17 ee9b976c78f7b645c9e1559e0d6ced2f706be125: digest: sha256:a439a54ada61c5e9324c31608a788aff2e67c9a2d98673506f18f4c2f4a17ab9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:47:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:47:18 f9339fdcea7b: Preparing 02:47:18 7ee8c97ba910: Preparing 02:47:18 692863bc8adf: Preparing 02:47:18 c1a3e4b303e3: Preparing 02:47:18 c227ec62e722: Preparing 02:47:18 ce5a8cde9eee: Preparing 02:47:18 ce5a8cde9eee: Waiting 02:47:18 c1a3e4b303e3: Layer already exists 02:47:18 f9339fdcea7b: Layer already exists 02:47:18 692863bc8adf: Layer already exists 02:47:18 7ee8c97ba910: Layer already exists 02:47:18 c227ec62e722: Layer already exists 02:47:18 ce5a8cde9eee: Layer already exists 02:47:18 latest: digest: sha256:a439a54ada61c5e9324c31608a788aff2e67c9a2d98673506f18f4c2f4a17ab9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.10 02:47:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:47:19 f9339fdcea7b: Preparing 02:47:19 7ee8c97ba910: Preparing 02:47:19 692863bc8adf: Preparing 02:47:19 c1a3e4b303e3: Preparing 02:47:19 c227ec62e722: Preparing 02:47:19 ce5a8cde9eee: Preparing 02:47:19 ce5a8cde9eee: Waiting 02:47:19 f9339fdcea7b: Layer already exists 02:47:19 c227ec62e722: Layer already exists 02:47:19 7ee8c97ba910: Layer already exists 02:47:19 692863bc8adf: Layer already exists 02:47:19 c1a3e4b303e3: Layer already exists 02:47:19 ce5a8cde9eee: Layer already exists 02:47:19 4.0.0-dev.10: digest: sha256:a439a54ada61c5e9324c31608a788aff2e67c9a2d98673506f18f4c2f4a17ab9 size: 1573 [Pipeline] } 02:47:19 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.3s [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:47:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:47:19 f9339fdcea7b: Preparing 02:47:19 7ee8c97ba910: Preparing 02:47:19 692863bc8adf: Preparing 02:47:19 c1a3e4b303e3: Preparing 02:47:19 c227ec62e722: Preparing 02:47:19 ce5a8cde9eee: Preparing 02:47:19 ce5a8cde9eee: Waiting 02:47:19 c1a3e4b303e3: Layer already exists 02:47:19 c227ec62e722: Layer already exists 02:47:19 7ee8c97ba910: Layer already exists 02:47:19 ce5a8cde9eee: Layer already exists 02:47:19 f9339fdcea7b: Layer already exists 02:47:19 692863bc8adf: Layer already exists 02:47:19 ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10: digest: sha256:a439a54ada61c5e9324c31608a788aff2e67c9a2d98673506f18f4c2f4a17ab9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:20 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:47:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:47:20 f9339fdcea7b: Preparing 02:47:20 7ee8c97ba910: Preparing 02:47:20 692863bc8adf: Preparing 02:47:20 c1a3e4b303e3: Preparing 02:47:20 c227ec62e722: Preparing 02:47:20 ce5a8cde9eee: Preparing 02:47:20 ce5a8cde9eee: Waiting 02:47:20 c1a3e4b303e3: Layer already exists 02:47:20 692863bc8adf: Layer already exists 02:47:20 c227ec62e722: Layer already exists 02:47:20 f9339fdcea7b: Layer already exists 02:47:20 7ee8c97ba910: Layer already exists 02:47:20 ce5a8cde9eee: Layer already exists 02:47:20 main: digest: sha256:a439a54ada61c5e9324c31608a788aff2e67c9a2d98673506f18f4c2f4a17ab9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:47:20 ===================================================== [Pipeline] echo 02:47:20 taggedImages: 02:47:20 - nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:47:20 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:47:20 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.10 02:47:20 - nexus3.edgexfoundry.org:10004/device-mqtt:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:47:20 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:21 02:47:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:22 latest: Pulling from edgex-lftools-log-publisher 02:47:22 5eb5b503b376: Pulling fs layer 02:47:22 5c69ac0246d0: Pulling fs layer 02:47:22 ec43610c2a17: Pulling fs layer 02:47:22 3a2ae6a8a46f: Pulling fs layer 02:47:22 33b1e0a273af: Pulling fs layer 02:47:22 5d3b04190fa2: Pulling fs layer 02:47:22 2f39f015ded8: Pulling fs layer 02:47:22 3a2ae6a8a46f: Waiting 02:47:22 33b1e0a273af: Waiting 02:47:22 5d3b04190fa2: Waiting 02:47:22 2f39f015ded8: Waiting 02:47:22 5c69ac0246d0: Download complete 02:47:22 3a2ae6a8a46f: Download complete 02:47:22 33b1e0a273af: Verifying Checksum 02:47:22 33b1e0a273af: Download complete 02:47:22 5d3b04190fa2: Download complete 02:47:22 ec43610c2a17: Verifying Checksum 02:47:22 ec43610c2a17: Download complete 02:47:22 5eb5b503b376: Verifying Checksum 02:47:22 5eb5b503b376: Download complete 02:47:22 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.9s done 02:47:22 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 02:47:22 2f39f015ded8: Download complete 02:47:23 5eb5b503b376: Pull complete 02:47:24 5c69ac0246d0: Pull complete 02:47:24 ec43610c2a17: Pull complete 02:47:24 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.0s done 02:47:24 3a2ae6a8a46f: Pull complete 02:47:25 #4 DONE 34.8s 02:47:25 02:47:25 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:47:25 33b1e0a273af: Pull complete 02:47:25 5d3b04190fa2: Pull complete 02:47:26 #6 0.688 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:47:26 #6 1.030 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:47:27 #6 2.378 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:47:27 #6 2.403 (2/4) Installing libedit (20240517.3.1-r0) 02:47:27 #6 2.414 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:47:27 #6 2.476 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:47:27 #6 2.503 Executing busybox-1.36.1-r29.trigger 02:47:27 #6 2.543 OK: 244 MiB in 62 packages 02:47:29 #6 DONE 4.5s 02:47:29 02:47:29 #7 [builder 3/7] WORKDIR /device-mqtt-go 02:47:29 #7 DONE 0.1s 02:47:29 02:47:29 #8 [builder 4/7] COPY go.mod vendor* ./ 02:47:29 #8 DONE 0.1s 02:47:29 02:47:29 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:47:30 2f39f015ded8: Pull complete 02:47:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:47:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:30 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:43 $ docker top 746373f41fb5b8ec2c99a2258793bdcf102fb930b30352d35d5e23d37c2b653b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:43 ---> job-cost.sh 02:47:43 lf-activate-venv: SKIPPING 02:47:43 INFO: No Stack... 02:47:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:44 INFO: Archiving Costs [Pipeline] sh 02:47:44 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:47:44 + cut -d, -f6 [Pipeline] lock 02:47:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] 02:47:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] did not exist. Created. 02:47:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:45 + echo total: 0.2199999988079071 [Pipeline] stash 02:47:45 Stashed 1 file(s) [Pipeline] } 02:47:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:45 $ docker stop --time=1 746373f41fb5b8ec2c99a2258793bdcf102fb930b30352d35d5e23d37c2b653b 02:47:46 $ docker rm -f --volumes 746373f41fb5b8ec2c99a2258793bdcf102fb930b30352d35d5e23d37c2b653b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:02 #9 DONE 28.5s 02:48:02 02:48:02 #10 [builder 6/7] COPY . . 02:48:02 #10 DONE 0.3s 02:48:02 02:48:02 #11 [builder 7/7] RUN echo noop 02:48:02 #11 0.626 noop 02:48:02 #11 DONE 0.7s 02:48:02 02:48:02 #12 exporting to image 02:48:02 #12 exporting layers 02:48:34 #12 exporting layers 34.2s done 02:48:34 #12 writing image sha256:ae5b3925323a98251ca4d0a17e98cb76061ceb78652a2a9e272f9208379e0c0e done 02:48:34 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:48:34 #12 DONE 34.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:34 + docker inspect -f . ci-base-image-arm64 02:48:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:34 prd-ubuntu20.04-docker-arm64-4c-16g-37205 does not seem to be running inside a container 02:48:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/188 -v /w/workspace/device-mqtt-go/188:/w/workspace/device-mqtt-go/188:rw,z -v /w/workspace/device-mqtt-go/188@tmp:/w/workspace/device-mqtt-go/188@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 ******** ci-base-image-arm64 cat 02:48:36 $ docker top 046dc2f4c87f52f470fd9d71566003d74ebf46baf55a51bb3432641c997cc53d -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:37 + go version 02:48:37 go version go1.23.4 linux/arm64 [Pipeline] } 02:48:37 $ docker stop --time=1 046dc2f4c87f52f470fd9d71566003d74ebf46baf55a51bb3432641c997cc53d 02:48:38 $ docker rm -f --volumes 046dc2f4c87f52f470fd9d71566003d74ebf46baf55a51bb3432641c997cc53d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:39 + docker inspect -f . ci-base-image-arm64 02:48:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:39 prd-ubuntu20.04-docker-arm64-4c-16g-37205 does not seem to be running inside a container 02:48:39 $ 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/188 -v /w/workspace/device-mqtt-go/188:/w/workspace/device-mqtt-go/188:rw,z -v /w/workspace/device-mqtt-go/188@tmp:/w/workspace/device-mqtt-go/188@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 ******** ci-base-image-arm64 cat 02:48:41 $ docker top 78fd695b1b6d15ded3400b59efff864824562dd0ca00f40e671703ba45378578 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:41 + git config --global --add safe.directory /w/workspace/device-mqtt-go/188 [Pipeline] fileExists [Pipeline] sh 02:48:42 + make test 02:48:42 go test ./... -coverprofile=coverage.out ./... 02:48:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:50:54 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:50:54 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:50:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements 02:50:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:50:54 go vet ./... 02:51:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:51:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:51:16 ./bin/test-attribution-txt.sh [Pipeline] echo 02:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:51:16 $ docker stop --time=1 78fd695b1b6d15ded3400b59efff864824562dd0ca00f40e671703ba45378578 02:51:18 $ docker rm -f --volumes 78fd695b1b6d15ded3400b59efff864824562dd0ca00f40e671703ba45378578 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:20 Warning: overwriting stash ‘coverage-report’ 02:51:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:21 + ls -al . 02:51:21 total 248 02:51:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 02:48 . 02:51:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:46 .. 02:51:21 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 02:46 .dockerignore 02:51:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 02:46 .git 02:51:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:46 .github 02:51:21 -rw-rw-r-- 1 jenkins jenkins 264 Jan 20 02:46 .gitignore 02:51:21 -rw-rw-r-- 1 jenkins jenkins 41 Jan 20 02:46 .golangci.yml 02:51:21 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 20 02:46 Attribution.txt 02:51:21 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 20 02:46 CHANGELOG.md 02:51:21 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 20 02:46 Dockerfile 02:51:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 02:46 GOVERNANCE.md 02:51:21 -rw-rw-r-- 1 jenkins jenkins 657 Jan 20 02:46 Jenkinsfile 02:51:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 02:46 LICENSE 02:51:21 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 20 02:46 Makefile 02:51:21 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 02:46 OWNERS.md 02:51:21 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 20 02:46 README.md 02:51:21 -rw-rw-r-- 1 jenkins jenkins 12 Jan 20 02:44 VERSION 02:51:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:46 bin 02:51:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:46 cmd 02:51:21 -rw-r--r-- 1 jenkins jenkins 21039 Jan 20 02:50 coverage.out 02:51:21 -rw-rw-r-- 1 jenkins jenkins 6270 Jan 20 02:46 go.mod 02:51:21 -rw-rw-r-- 1 jenkins jenkins 86634 Jan 20 02:46 go.sum 02:51:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 02:46 internal 02:51:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:46 mock 02:51:21 -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 02:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:21 + 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=ee9b976c78f7b645c9e1559e0d6ced2f706be125 --label arch=arm64 --label version=4.0.0-dev.10 . 02:51:22 #0 building with "default" instance using docker driver 02:51:22 02:51:22 #1 [internal] load build definition from Dockerfile 02:51:22 #1 transferring dockerfile: 1.84kB done 02:51:22 #1 DONE 0.0s 02:51:22 02:51:22 #2 [internal] load .dockerignore 02:51:22 #2 transferring context: 182B done 02:51:22 #2 DONE 0.0s 02:51:22 02:51:22 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:51:22 #3 DONE 0.0s 02:51:22 02:51:22 #4 [internal] load metadata for docker.io/library/alpine:3.20 02:51:22 #4 DONE 0.4s 02:51:22 02:51:22 #5 [internal] load build context 02:51:22 #5 transferring context: 28.41kB 0.1s done 02:51:22 #5 DONE 0.1s 02:51:22 02:51:22 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:51:22 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 02:51:22 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.05MB / 4.09MB 0.1s 02:51:22 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 02:51:22 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 02:51:22 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 02:51:23 #6 ... 02:51:23 02:51:23 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:51:23 #7 DONE 0.2s 02:51:23 02:51:23 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:51:23 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.1s done 02:51:23 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 02:51:23 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.5s done 02:51:23 #6 DONE 1.0s 02:51:23 02:51:23 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:51:23 #8 0.722 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:51:24 #8 1.140 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:51:25 #8 2.715 OK: 244 MiB in 62 packages 02:51:25 #8 DONE 3.1s 02:51:25 02:51:25 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:51:25 #9 0.674 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:51:25 #9 0.967 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:51:26 #9 ... 02:51:26 02:51:26 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:51:26 #10 DONE 0.1s 02:51:26 02:51:26 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:51:26 #9 2.451 (1/1) Installing dumb-init (1.2.5-r3) 02:51:26 #9 2.469 Executing busybox-1.36.1-r29.trigger 02:51:26 #9 2.499 OK: 9 MiB in 15 packages 02:51:26 #9 ... 02:51:26 02:51:26 #11 [builder 4/7] COPY go.mod vendor* ./ 02:51:26 #11 DONE 0.2s 02:51:26 02:51:26 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:26 #12 ... 02:51:26 02:51:26 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:51:26 #9 DONE 3.0s 02:51:27 02:51:27 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:51:27 #13 0.867 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:51:27 #13 ... 02:51:27 02:51:27 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:27 #12 DONE 1.5s 02:51:27 02:51:27 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:51:27 #13 1.233 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:51:28 #13 ... 02:51:28 02:51:28 #14 [builder 6/7] COPY . . 02:51:28 #14 DONE 0.4s 02:51:28 02:51:28 #15 [builder 7/7] RUN make build 02:51:29 #15 0.733 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:51:30 #15 ... 02:51:30 02:51:30 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:51:30 #13 2.817 OK: 9 MiB in 15 packages 02:51:30 #13 DONE 3.3s 02:51:30 02:51:30 #15 [builder 7/7] RUN make build 02:53:37 #15 DONE 124.0s 02:53:37 02:53:37 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:53:37 #16 DONE 0.5s 02:53:37 02:53:37 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:53:37 #17 DONE 0.1s 02:53:37 02:53:37 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:53:37 #18 DONE 0.1s 02:53:37 02:53:37 #19 exporting to image 02:53:37 #19 exporting layers 02:53:37 #19 exporting layers 0.7s done 02:53:37 #19 writing image sha256:e4f1c3191403cb34cd3d53195466df9c53ffccbd3f03127026b591f7c3eb8cb7 done 02:53:37 #19 naming to docker.io/library/device-mqtt-arm64 done 02:53:37 #19 DONE 0.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:37 provisioning config files... 02:53:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/188@tmp/config8028453353109972408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:37 ---> ****-login.sh 02:53:37 nexus3.edgexfoundry.org:10001 02:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:37 Configure a credential helper to remove this warning. See 02:53:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:37 02:53:37 Login Succeeded 02:53:37 nexus3.edgexfoundry.org:10002 02:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:38 Configure a credential helper to remove this warning. See 02:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:38 02:53:38 Login Succeeded 02:53:38 nexus3.edgexfoundry.org:10003 02:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:38 Configure a credential helper to remove this warning. See 02:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:38 02:53:38 Login Succeeded 02:53:38 nexus3.edgexfoundry.org:10004 02:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:38 Configure a credential helper to remove this warning. See 02:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:38 02:53:38 Login Succeeded 02:53:38 ****.io 02:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:39 Configure a credential helper to remove this warning. See 02:53:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:39 02:53:39 Login Succeeded 02:53:39 ---> ****-login.sh ends [Pipeline] } 02:53:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:53:39 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:53:39 ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:53:39 latest 02:53:39 4.0.0-dev.10 02:53:39 ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:53:39 main 02:53:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:53:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:53:39 6ca4535b0f29: Preparing 02:53:39 1496a3213932: Preparing 02:53:39 bb413f307bfa: Preparing 02:53:39 76561796718b: Preparing 02:53:39 b2c347ca20b4: Preparing 02:53:39 534a70dc8296: Preparing 02:53:39 534a70dc8296: Waiting 02:53:40 6ca4535b0f29: Pushed 02:53:40 b2c347ca20b4: Pushed 02:53:40 1496a3213932: Pushed 02:53:40 76561796718b: Pushed 02:53:40 534a70dc8296: Layer already exists 02:53:50 bb413f307bfa: Pushed 02:53:50 ee9b976c78f7b645c9e1559e0d6ced2f706be125: digest: sha256:388afe464eb0d81af733354d5e789b28cebbaa6983817f2cdf0e48322c5f67bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:53:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:53:51 6ca4535b0f29: Preparing 02:53:51 1496a3213932: Preparing 02:53:51 bb413f307bfa: Preparing 02:53:51 76561796718b: Preparing 02:53:51 b2c347ca20b4: Preparing 02:53:51 534a70dc8296: Preparing 02:53:51 534a70dc8296: Waiting 02:53:51 6ca4535b0f29: Layer already exists 02:53:51 76561796718b: Layer already exists 02:53:51 bb413f307bfa: Layer already exists 02:53:51 b2c347ca20b4: Layer already exists 02:53:51 1496a3213932: Layer already exists 02:53:51 534a70dc8296: Layer already exists 02:53:51 latest: digest: sha256:388afe464eb0d81af733354d5e789b28cebbaa6983817f2cdf0e48322c5f67bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.10 02:53:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:53:52 6ca4535b0f29: Preparing 02:53:52 1496a3213932: Preparing 02:53:52 bb413f307bfa: Preparing 02:53:52 76561796718b: Preparing 02:53:52 b2c347ca20b4: Preparing 02:53:52 534a70dc8296: Preparing 02:53:52 534a70dc8296: Waiting 02:53:52 76561796718b: Layer already exists 02:53:52 6ca4535b0f29: Layer already exists 02:53:52 1496a3213932: Layer already exists 02:53:52 b2c347ca20b4: Layer already exists 02:53:52 bb413f307bfa: Layer already exists 02:53:52 534a70dc8296: Layer already exists 02:53:52 4.0.0-dev.10: digest: sha256:388afe464eb0d81af733354d5e789b28cebbaa6983817f2cdf0e48322c5f67bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:53:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:53:53 6ca4535b0f29: Preparing 02:53:53 1496a3213932: Preparing 02:53:53 bb413f307bfa: Preparing 02:53:53 76561796718b: Preparing 02:53:53 b2c347ca20b4: Preparing 02:53:53 534a70dc8296: Preparing 02:53:53 534a70dc8296: Waiting 02:53:53 1496a3213932: Layer already exists 02:53:53 76561796718b: Layer already exists 02:53:53 6ca4535b0f29: Layer already exists 02:53:53 b2c347ca20b4: Layer already exists 02:53:53 bb413f307bfa: Layer already exists 02:53:53 534a70dc8296: Layer already exists 02:53:53 ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10: digest: sha256:388afe464eb0d81af733354d5e789b28cebbaa6983817f2cdf0e48322c5f67bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:53:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:53:54 6ca4535b0f29: Preparing 02:53:54 1496a3213932: Preparing 02:53:54 bb413f307bfa: Preparing 02:53:54 76561796718b: Preparing 02:53:54 b2c347ca20b4: Preparing 02:53:54 534a70dc8296: Preparing 02:53:54 534a70dc8296: Waiting 02:53:54 6ca4535b0f29: Layer already exists 02:53:54 1496a3213932: Layer already exists 02:53:54 bb413f307bfa: Layer already exists 02:53:54 b2c347ca20b4: Layer already exists 02:53:54 76561796718b: Layer already exists 02:53:54 534a70dc8296: Layer already exists 02:53:54 main: digest: sha256:388afe464eb0d81af733354d5e789b28cebbaa6983817f2cdf0e48322c5f67bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:54 ===================================================== [Pipeline] echo 02:53:54 taggedImages: 02:53:54 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125 02:53:54 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:53:54 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.10 02:53:54 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ee9b976c78f7b645c9e1559e0d6ced2f706be125-4.0.0-dev.10 02:53:54 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:54 02:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:55 arm64: Pulling from edgex-lftools-log-publisher 02:53:55 8998bd30e6a1: Pulling fs layer 02:53:55 04944245beec: Pulling fs layer 02:53:55 699f458cf7ca: Pulling fs layer 02:53:55 765212b225bb: Pulling fs layer 02:53:55 f23df028b6ca: Pulling fs layer 02:53:55 d65c8cfc05b1: Pulling fs layer 02:53:55 765212b225bb: Waiting 02:53:55 2437ff75d9bd: Pulling fs layer 02:53:55 d65c8cfc05b1: Waiting 02:53:55 2437ff75d9bd: Waiting 02:53:55 f23df028b6ca: Waiting 02:53:55 04944245beec: Download complete 02:53:55 765212b225bb: Verifying Checksum 02:53:55 765212b225bb: Download complete 02:53:55 f23df028b6ca: Verifying Checksum 02:53:55 f23df028b6ca: Download complete 02:53:55 d65c8cfc05b1: Verifying Checksum 02:53:55 d65c8cfc05b1: Download complete 02:53:55 699f458cf7ca: Verifying Checksum 02:53:55 699f458cf7ca: Download complete 02:53:56 8998bd30e6a1: Verifying Checksum 02:53:56 8998bd30e6a1: Download complete 02:53:58 2437ff75d9bd: Verifying Checksum 02:53:58 2437ff75d9bd: Download complete 02:54:02 8998bd30e6a1: Pull complete 02:54:02 04944245beec: Pull complete 02:54:06 699f458cf7ca: Pull complete 02:54:06 765212b225bb: Pull complete 02:54:06 f23df028b6ca: Pull complete 02:54:07 d65c8cfc05b1: Pull complete 02:54:33 2437ff75d9bd: Pull complete 02:54:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:33 prd-ubuntu20.04-docker-arm64-4c-16g-37205 does not seem to be running inside a container 02:54:33 $ 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/188 -v /w/workspace/device-mqtt-go/188:/w/workspace/device-mqtt-go/188:rw,z -v /w/workspace/device-mqtt-go/188@tmp:/w/workspace/device-mqtt-go/188@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:arm64 cat 02:54:35 $ docker top b12eceb63059a6ecfc542b8c8e019ecf7825ed9bae1710b96be9f646faff0e80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:35 ---> job-cost.sh 02:54:36 lf-activate-venv: SKIPPING 02:54:36 INFO: No Stack... 02:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:37 INFO: Archiving Costs [Pipeline] sh 02:54:37 + cat /w/workspace/device-mqtt-go/188/archives/cost.csv 02:54:37 + cut -d, -f6 [Pipeline] lock 02:54:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] 02:54:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] did not exist. Created. 02:54:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:38 /w/workspace/device-mqtt-go/188@tmp/durable-d51dab3f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:54:38 + echo total: 0.2199999988079071 [Pipeline] stash 02:54:38 Warning: overwriting stash ‘stack-cost’ 02:54:38 Stashed 1 file(s) [Pipeline] } 02:54:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:38 $ docker stop --time=1 b12eceb63059a6ecfc542b8c8e019ecf7825ed9bae1710b96be9f646faff0e80 02:54:39 $ docker rm -f --volumes b12eceb63059a6ecfc542b8c8e019ecf7825ed9bae1710b96be9f646faff0e80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:54:40 provisioning config files... 02:54:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9276347844439945208tmp [Pipeline] { [Pipeline] sh 02:54:40 + set +x 02:54:40 + curl -s https://codecov.io/bash 02:54:40 + bash -s -- 02:54:40 02:54:40 _____ _ 02:54:40 / ____| | | 02:54:40 | | ___ __| | ___ ___ _____ __ 02:54:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:40 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:40 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:40 Bash-1.0.6 02:54:40 02:54:40 02:54:40 ==> git version 2.25.1 found 02:54:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:54:40 Release-Date: 2020-01-08 02:54:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:54:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:54:40 ==> Jenkins CI detected. 02:54:40 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:54:40 project root: . 02:54:40 --> token set from env 02:54:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:40 ==> Running gcov in . (disable via -X gcov) 02:54:40 ==> Python coveragepy not found 02:54:40 ==> Searching for coverage reports in: 02:54:40 + . 02:54:40 -> Found 1 reports 02:54:40 ==> Detecting git/mercurial file structure 02:54:40 ==> Reading reports 02:54:40 + ./coverage.out bytes=21039 02:54:40 ==> Appending adjustments 02:54:40 https://docs.codecov.io/docs/fixing-reports 02:54:40 + Found adjustments 02:54:40 ==> Gzipping contents 02:54:40 4.0K /tmp/codecov.9D2gdE.gz 02:54:40 ==> Uploading reports 02:54:40 url: https://codecov.io 02:54:40 query: branch=main&commit=ee9b976c78f7b645c9e1559e0d6ced2f706be125&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:54:40 -> Pinging Codecov 02:54:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=ee9b976c78f7b645c9e1559e0d6ced2f706be125&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:54:41 -> Uploading to 02:54:41 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/ee9b976c78f7b645c9e1559e0d6ced2f706be125/f3a31509-0cd6-4952-a630-a6c30617aa6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250120%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250120T025440Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=c5b2a9dfdea22ab14943baaf9938a71196001792901d3a0458d319d6fdb87332 02:54:41 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:41 Dload Upload Total Spent Left Speed 02:54:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 21177 --:--:-- --:--:-- --:--:-- 21177 02:54:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] } 02:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:54:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:54:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:54:41 02:54:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:54:42 latest: Pulling from edgex-devops/edgex-snyk-go 02:54:42 43c4264eed91: Pulling fs layer 02:54:42 4cc291be95ef: Pulling fs layer 02:54:42 2ac1f1163629: Pulling fs layer 02:54:42 5c3c966382ef: Pulling fs layer 02:54:42 4f4fb700ef54: Pulling fs layer 02:54:42 d9c7d2e4e75e: Pulling fs layer 02:54:42 9c3e1370e548: Pulling fs layer 02:54:42 5c3c966382ef: Waiting 02:54:42 4f4fb700ef54: Waiting 02:54:42 9c3e1370e548: Waiting 02:54:42 d9c7d2e4e75e: Waiting 02:54:42 4cc291be95ef: Verifying Checksum 02:54:42 4cc291be95ef: Download complete 02:54:42 5c3c966382ef: Download complete 02:54:42 4f4fb700ef54: Download complete 02:54:42 43c4264eed91: Download complete 02:54:42 43c4264eed91: Pull complete 02:54:42 d9c7d2e4e75e: Verifying Checksum 02:54:42 d9c7d2e4e75e: Download complete 02:54:42 4cc291be95ef: Pull complete 02:54:42 2ac1f1163629: Verifying Checksum 02:54:42 2ac1f1163629: Download complete 02:54:43 9c3e1370e548: Verifying Checksum 02:54:43 9c3e1370e548: Download complete 02:54:45 2ac1f1163629: Pull complete 02:54:46 5c3c966382ef: Pull complete 02:54:46 4f4fb700ef54: Pull complete 02:54:47 d9c7d2e4e75e: Pull complete 02:54:52 9c3e1370e548: Pull complete 02:54:52 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:54:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:52 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:54:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:54:57 $ docker top d276b9321d5291741b8fd8d928449de10af963cf7989f9525578421c743b1112 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:54:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:54:58 + set -o pipefail 02:54:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:55:08 02:55:08 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:55:08 02:55:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/b43bbcd3-5955-406f-9791-5f477446cc0c 02:55:08 02:55:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:55:08 02:55:08 02:55:08 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:55:08 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:55:08 $ docker stop --time=1 d276b9321d5291741b8fd8d928449de10af963cf7989f9525578421c743b1112 02:55:12 $ docker rm -f --volumes d276b9321d5291741b8fd8d928449de10af963cf7989f9525578421c743b1112 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:13 + git log --format=format:%s -1 ee9b976c78f7b645c9e1559e0d6ced2f706be125 [Pipeline] sh 02:55:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:55:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:55:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:14 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:55:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:55:14 $ docker top 6322e754ffe3d42f9007a67423b5f2424e35ecaeed18d191b6719f7d6e49700a -eo pid,comm 02:55:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:55:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:55:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:14 [ssh-agent] Looking for ssh-agent implementation... 02:55:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:14 $ docker exec 6322e754ffe3d42f9007a67423b5f2424e35ecaeed18d191b6719f7d6e49700a ssh-agent 02:55:15 SSH_AUTH_SOCK=/tmp/ssh-gcu3ZtRCmytk/agent.32 02:55:15 SSH_AGENT_PID=38 02:55:15 Running ssh-add (command line suppressed) 02:55:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16074271321087288899.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16074271321087288899.key) 02:55:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:15 + git semver tag 02:55:15 2025-01-20 02:55:15,659 [run_tag] DEBUG tag force:False 02:55:15 2025-01-20 02:55:15,659 [check_head_tag] DEBUG check head tag 02:55:15 2025-01-20 02:55:15,660 [execute] INFO git cat-file --batch-check 02:55:15 2025-01-20 02:55:15,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:55:15 2025-01-20 02:55:15,663 [execute] INFO git cat-file --batch 02:55:15 2025-01-20 02:55:15,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:55:15 2025-01-20 02:55:15,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:15 2025-01-20 02:55:15,682 [execute] INFO git tag -a v4.0.0-dev.10 -m v4.0.0-dev.10 02:55:15 2025-01-20 02:55:15,682 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.10', '-m', 'v4.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:55:15 2025-01-20 02:55:15,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:15 4.0.0-dev.10 [Pipeline] } 02:55:15 $ docker exec --env ******** --env ******** 6322e754ffe3d42f9007a67423b5f2424e35ecaeed18d191b6719f7d6e49700a ssh-agent -k 02:55:15 unset SSH_AUTH_SOCK; 02:55:15 unset SSH_AGENT_PID; 02:55:15 echo Agent pid 38 killed; 02:55:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:55:16 + git semver [Pipeline] } 02:55:16 $ docker stop --time=1 6322e754ffe3d42f9007a67423b5f2424e35ecaeed18d191b6719f7d6e49700a 02:55:17 $ docker rm -f --volumes 6322e754ffe3d42f9007a67423b5f2424e35ecaeed18d191b6719f7d6e49700a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:18 02:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:18 0.23.1-centos7: Pulling from edgex-lftools 02:55:18 ab5ef0e58194: Pulling fs layer 02:55:18 9712f1f96733: Pulling fs layer 02:55:18 63f879dbbcfc: Pulling fs layer 02:55:18 0d9ebad4ef96: Pulling fs layer 02:55:18 e9a5061849ea: Pulling fs layer 02:55:18 d747dcd14b5f: Pulling fs layer 02:55:18 2de7ff778b66: Pulling fs layer 02:55:18 0d9ebad4ef96: Waiting 02:55:18 e9a5061849ea: Waiting 02:55:18 d747dcd14b5f: Waiting 02:55:18 2de7ff778b66: Waiting 02:55:18 9712f1f96733: Verifying Checksum 02:55:18 9712f1f96733: Download complete 02:55:18 63f879dbbcfc: Verifying Checksum 02:55:18 63f879dbbcfc: Download complete 02:55:18 e9a5061849ea: Verifying Checksum 02:55:18 e9a5061849ea: Download complete 02:55:18 d747dcd14b5f: Verifying Checksum 02:55:18 d747dcd14b5f: Download complete 02:55:19 ab5ef0e58194: Verifying Checksum 02:55:19 ab5ef0e58194: Download complete 02:55:19 0d9ebad4ef96: Verifying Checksum 02:55:19 0d9ebad4ef96: Download complete 02:55:19 2de7ff778b66: Verifying Checksum 02:55:19 2de7ff778b66: Download complete 02:55:21 ab5ef0e58194: Pull complete 02:55:21 9712f1f96733: Pull complete 02:55:22 63f879dbbcfc: Pull complete 02:55:26 0d9ebad4ef96: Pull complete 02:55:26 e9a5061849ea: Pull complete 02:55:26 d747dcd14b5f: Pull complete 02:55:26 2de7ff778b66: Pull complete 02:55:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:26 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:55:32 $ docker top c1c480b2353d9902d8c061dd37d1439c39a6173ad565711c0f532be80eac91cc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:55:32 provisioning config files... 02:55:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15611392891054306901tmp 02:55:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10123020932717688207tmp 02:55:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2756428264925356741tmp [Pipeline] { [Pipeline] echo 02:55:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:55:33 ---> sigul-configuration.sh 02:55:33 gpg: directory `/root/.gnupg' created 02:55:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:55:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:55:33 gpg: keyring `/root/.gnupg/secring.gpg' created 02:55:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:55:33 gpg: CAST5 encrypted data 02:55:33 gpg: encrypted with 1 passphrase 02:55:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:55:33 + mkdir /home/jenkins 02:55:33 + mkdir /home/jenkins/sigul [Pipeline] sh 02:55:33 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:55:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:55:34 ---> sigul-install.sh 02:55:34 Sigul already installed; skipping installation. [Pipeline] sh 02:55:34 + git tag --list 02:55:34 0.7.1 02:55:34 v1.0.0 02:55:34 v1.1.0 02:55:34 v1.1.1 02:55:34 v1.2.2 02:55:34 v1.3.0 02:55:34 v1.3.1 02:55:34 v2.0.0 02:55:34 v2.1.0 02:55:34 v2.1.1 02:55:34 v2.2.0 02:55:34 v2.3.0 02:55:34 v3.0 02:55:34 v3.0.0 02:55:34 v3.1 02:55:34 v3.1.0 02:55:34 v3.1.0-dev.1 02:55:34 v3.1.0-dev.10 02:55:34 v3.1.0-dev.11 02:55:34 v3.1.0-dev.12 02:55:34 v3.1.0-dev.13 02:55:34 v3.1.0-dev.14 02:55:34 v3.1.0-dev.15 02:55:34 v3.1.0-dev.16 02:55:34 v3.1.0-dev.17 02:55:34 v3.1.0-dev.18 02:55:34 v3.1.0-dev.19 02:55:34 v3.1.0-dev.2 02:55:34 v3.1.0-dev.20 02:55:34 v3.1.0-dev.21 02:55:34 v3.1.0-dev.22 02:55:34 v3.1.0-dev.23 02:55:34 v3.1.0-dev.24 02:55:34 v3.1.0-dev.25 02:55:34 v3.1.0-dev.3 02:55:34 v3.1.0-dev.4 02:55:34 v3.1.0-dev.5 02:55:34 v3.1.0-dev.6 02:55:34 v3.1.0-dev.7 02:55:34 v3.1.0-dev.8 02:55:34 v3.1.0-dev.9 02:55:34 v3.1.1 02:55:34 v3.2.0-dev.1 02:55:34 v3.2.0-dev.10 02:55:34 v3.2.0-dev.11 02:55:34 v3.2.0-dev.12 02:55:34 v3.2.0-dev.13 02:55:34 v3.2.0-dev.14 02:55:34 v3.2.0-dev.15 02:55:34 v3.2.0-dev.16 02:55:34 v3.2.0-dev.17 02:55:34 v3.2.0-dev.18 02:55:34 v3.2.0-dev.19 02:55:34 v3.2.0-dev.2 02:55:34 v3.2.0-dev.20 02:55:34 v3.2.0-dev.21 02:55:34 v3.2.0-dev.22 02:55:34 v3.2.0-dev.23 02:55:34 v3.2.0-dev.3 02:55:34 v3.2.0-dev.4 02:55:34 v3.2.0-dev.5 02:55:34 v3.2.0-dev.6 02:55:34 v3.2.0-dev.7 02:55:34 v3.2.0-dev.8 02:55:34 v3.2.0-dev.9 02:55:34 v4.0.0-dev.1 02:55:34 v4.0.0-dev.10 02:55:34 v4.0.0-dev.2 02:55:34 v4.0.0-dev.3 02:55:34 v4.0.0-dev.4 02:55:34 v4.0.0-dev.5 02:55:34 v4.0.0-dev.6 02:55:34 v4.0.0-dev.7 02:55:34 v4.0.0-dev.8 02:55:34 v4.0.0-dev.9 [Pipeline] sh 02:55:34 + lftools sign git-tag v4.0.0-dev.10 02:55:35 Signing Git tag with Sigul... 02:55:35 Signing v4.0.0-dev.10 [Pipeline] echo 02:55:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:55:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:55:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:55:36 $ docker stop --time=1 c1c480b2353d9902d8c061dd37d1439c39a6173ad565711c0f532be80eac91cc 02:55:37 $ docker rm -f --volumes c1c480b2353d9902d8c061dd37d1439c39a6173ad565711c0f532be80eac91cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:55:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:55:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:55:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:38 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:55:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:55:38 $ docker top 8cdcb3c5cd4e989ad50f36406faca58417650848a32c221c03067eeb35d00df7 -eo pid,comm 02:55:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:55:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:38 [ssh-agent] Looking for ssh-agent implementation... 02:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:38 $ docker exec 8cdcb3c5cd4e989ad50f36406faca58417650848a32c221c03067eeb35d00df7 ssh-agent 02:55:38 SSH_AUTH_SOCK=/tmp/ssh-JoMDG55hR21h/agent.32 02:55:38 SSH_AGENT_PID=38 02:55:38 Running ssh-add (command line suppressed) 02:55:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18158791660211821760.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18158791660211821760.key) 02:55:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:39 + git semver bump pre 02:55:39 2025-01-20 02:55:39,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:39 2025-01-20 02:55:39,591 [bump_version] DEBUG bumping version:4.0.0-dev.10 on axis:pre with prefix:dev 02:55:39 2025-01-20 02:55:39,591 [bump_version] DEBUG bumped version:4.0.0-dev.11 02:55:39 2025-01-20 02:55:39,591 [write_version] DEBUG write version:4.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:55:39 2025-01-20 02:55:39,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:39 2025-01-20 02:55:39,592 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:39 2025-01-20 02:55:39,594 [execute] INFO git cat-file --batch-check 02:55:39 2025-01-20 02:55:39,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:55:39 2025-01-20 02:55:39,600 [execute] INFO git cat-file --batch 02:55:39 2025-01-20 02:55:39,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:55:39 2025-01-20 02:55:39,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:39 4.0.0-dev.11 [Pipeline] } 02:55:39 $ docker exec --env ******** --env ******** 8cdcb3c5cd4e989ad50f36406faca58417650848a32c221c03067eeb35d00df7 ssh-agent -k 02:55:39 unset SSH_AUTH_SOCK; 02:55:39 unset SSH_AGENT_PID; 02:55:39 echo Agent pid 38 killed; 02:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:55:40 + git semver [Pipeline] } 02:55:40 $ docker stop --time=1 8cdcb3c5cd4e989ad50f36406faca58417650848a32c221c03067eeb35d00df7 02:55:41 $ docker rm -f --volumes 8cdcb3c5cd4e989ad50f36406faca58417650848a32c221c03067eeb35d00df7 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:55:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:55:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:42 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:55:42 $ docker top 7e7b1edbc6c597c79aa9af007c539a73facdf421ef071dc435321149e91ffb41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:42 [ssh-agent] Looking for ssh-agent implementation... 02:55:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:43 $ docker exec 7e7b1edbc6c597c79aa9af007c539a73facdf421ef071dc435321149e91ffb41 ssh-agent 02:55:43 SSH_AUTH_SOCK=/tmp/ssh-BNf94Y6HXOfl/agent.32 02:55:43 SSH_AGENT_PID=38 02:55:43 Running ssh-add (command line suppressed) 02:55:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17317016747095135860.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17317016747095135860.key) 02:55:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:43 + git semver push 02:55:43 2025-01-20 02:55:43,775 [run_push] DEBUG push 02:55:43 2025-01-20 02:55:43,775 [execute] INFO git cat-file --batch-check 02:55:43 2025-01-20 02:55:43,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:55:43 2025-01-20 02:55:43,779 [execute] INFO git rev-list 34746fb59406729a94678fe6d1eee7ffe5fd82e9 -- 02:55:43 2025-01-20 02:55:43,779 [execute] DEBUG Popen(['git', 'rev-list', '34746fb59406729a94678fe6d1eee7ffe5fd82e9', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:55:43 2025-01-20 02:55:43,789 [execute] INFO git fetch -v origin 02:55:43 2025-01-20 02:55:43,789 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:55:44 2025-01-20 02:55:44,251 [run_push] DEBUG no remote changes detected 02:55:44 2025-01-20 02:55:44,252 [execute] INFO git push origin semver 02:55:44 2025-01-20 02:55:44,252 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:55:45 2025-01-20 02:55:44,853 [run_push] DEBUG push all version tags 02:55:45 2025-01-20 02:55:44,854 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:55:45 2025-01-20 02:55:44,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:55:47 2025-01-20 02:55:47,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:55:47 4.0.0-dev.11 [Pipeline] } 02:55:47 $ docker exec --env ******** --env ******** 7e7b1edbc6c597c79aa9af007c539a73facdf421ef071dc435321149e91ffb41 ssh-agent -k 02:55:47 unset SSH_AUTH_SOCK; 02:55:47 unset SSH_AGENT_PID; 02:55:47 echo Agent pid 38 killed; 02:55:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:55:48 + git semver [Pipeline] } 02:55:48 $ docker stop --time=1 7e7b1edbc6c597c79aa9af007c539a73facdf421ef071dc435321149e91ffb41 02:55:49 $ docker rm -f --volumes 7e7b1edbc6c597c79aa9af007c539a73facdf421ef071dc435321149e91ffb41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:55:50 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:55:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:55:50 total 16 02:55:50 drwxr-xr-x 3 root root 4096 Jan 20 02:47 . 02:55:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 02:55 .. 02:55:50 drwxr-xr-x 2 root root 4096 Jan 20 02:47 cost 02:55:50 -rw-r--r-- 1 root root 86 Jan 20 02:47 cost.csv 02:55:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:55:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:55:50 total 16 02:55:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 02:47 . 02:55:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 02:55 .. 02:55:50 drwxr-xr-x 2 jenkins jenkins 4096 Jan 20 02:47 cost 02:55:50 -rw-r--r-- 1 jenkins jenkins 86 Jan 20 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:55:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:55:51 ---> package-listing.sh 02:55:51 ++ facter osfamily 02:55:51 ++ tr '[:upper:]' '[:lower:]' 02:55:51 + OS_FAMILY=debian 02:55:51 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:55:51 + START_PACKAGES=/tmp/packages_start.txt 02:55:51 + END_PACKAGES=/tmp/packages_end.txt 02:55:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:55:51 + PACKAGES=/tmp/packages_start.txt 02:55:51 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:55:51 + PACKAGES=/tmp/packages_end.txt 02:55:51 + case "${OS_FAMILY}" in 02:55:51 + dpkg -l 02:55:51 + grep '^ii' 02:55:51 + '[' -f /tmp/packages_start.txt ']' 02:55:51 + '[' -f /tmp/packages_end.txt ']' 02:55:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:55:51 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:55:51 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:55:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:55:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:55:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:52 prd-ubuntu20.04-docker-8c-8g-37204 does not seem to be running inside a container 02:55:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:55:52 $ docker top cdc16e13670843aff14d28db760a1bf5a3f7288edcb476f99cc87429ad3b8661 -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:55:53 + mkdir -p /var/log/sysstat [Pipeline] sh 02:55:53 + ls /var/log/sa-host 02:55:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:55:53 provisioning config files... 02:55:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1780788737845508486tmp [Pipeline] { [Pipeline] echo 02:55:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:55:54 ---> create-netrc.sh [Pipeline] } 02:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:55:54 ---> python-tools-install.sh [Pipeline] echo 02:55:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:55:54 ---> sudo-logs.sh 02:55:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:55:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:55:55 ---> job-cost.sh 02:55:55 lf-activate-venv: SKIPPING 02:55:55 DEBUG: total: 0.2199999988079071 02:55:55 INFO: Retrieving Stack Cost... 02:55:55 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:56 INFO: Archiving Costs [Pipeline] echo 02:55:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:55:56 ---> logs-deploy.sh 02:55:56 lf-activate-venv: SKIPPING 02:55:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/188 02:55:56 INFO: archiving workspace using pattern(s): 02:55:57 Archives upload complete. 02:55:57 INFO: archiving logs to Nexus