Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7ea162f49cc88b1fd5543c209327df7c238676c 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-ssh6006327682986610226.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6320095348664499241.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh9442232972361701306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh12047872576925508981.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-ssh15887190467594926405.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9794 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 a7ea162f49cc88b1fd5543c209327df7c238676c (main) Commit message: "Merge pull request #693 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > 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 a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-list --no-walk cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:11 ========================================================= 02:45:11 EdgeX Global Pipelines Version Info 02:45:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:12 ------------------- 02:45:12 stable info: 02:45:12 ------------------- 02:45:12 Commited By: Cherry Wang cherry@iotechsys.com 02:45:12 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 02:45:12 Message: update stable to v1.0.263 02:45:12 ------------------- 02:45:12 experimental info: 02:45:12 ------------------- 02:45:12 Commited By: Cherry Wang cherry@iotechsys.com 02:45:12 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 02:45:12 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7ea162 [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:13 provisioning config files... 02:45:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11808509928866627652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:14 ---> ****-login.sh 02:45:14 nexus3.edgexfoundry.org:10001 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 nexus3.edgexfoundry.org:10002 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 nexus3.edgexfoundry.org:10003 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 nexus3.edgexfoundry.org:10004 02:45:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:16 Configure a credential helper to remove this warning. See 02:45:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:16 02:45:16 Login Succeeded 02:45:16 ****.io 02:45:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:16 Configure a credential helper to remove this warning. See 02:45:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:16 02:45:16 Login Succeeded 02:45:16 ---> ****-login.sh ends [Pipeline] } 02:45:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:45:16 + git rev-list -1 --merges a7ea162f49cc88b1fd5543c209327df7c238676c~1..a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] echo 02:45:16 -----------> git rev-list -1 --merges a7ea162f49cc88b1fd5543c209327df7c238676c~1..a7ea162f49cc88b1fd5543c209327df7c238676c a7ea162f49cc88b1fd5543c209327df7c238676c 02:45:16 a7ea162f49cc88b1fd5543c209327df7c238676c [false] [Pipeline] sh 02:45:17 + git log --format=format:%s -1 a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] echo 02:45:17 ========================================================= 02:45:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:45:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:17 + git log --format=format:%s -1 a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] echo 02:45:17 [semverPrep] GIT_COMMIT: a7ea162f49cc88b1fd5543c209327df7c238676c, Commit Message: Merge pull request #693 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 02:45:17 [semverPrep] This is not a build commit. [Pipeline] sh 02:45:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:17 + grep -v github /etc/ssh/ssh_known_hosts 02:45:17 + [ -e /tmp/ssh_known_hosts ] 02:45:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:45:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:45:17 + sudo tee -a /etc/ssh/ssh_known_hosts 02:45:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:18 02:45:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:18 0.1.4: Pulling from edgex-devops/py-git-semver 02:45:18 b85a868b505f: Pulling fs layer 02:45:18 e2be974225ed: Pulling fs layer 02:45:18 339a4e72a1f5: Pulling fs layer 02:45:18 988bab9f4d93: Pulling fs layer 02:45:18 1469e6f7b9e6: Pulling fs layer 02:45:18 eaf3925da568: Pulling fs layer 02:45:18 bab4dde63d76: Pulling fs layer 02:45:18 bde34c3a00c8: Pulling fs layer 02:45:18 988bab9f4d93: Waiting 02:45:18 b352a97aabf1: Pulling fs layer 02:45:18 4872d77fe225: Pulling fs layer 02:45:18 1469e6f7b9e6: Waiting 02:45:18 5851b861e8e6: Pulling fs layer 02:45:18 eaf3925da568: Waiting 02:45:18 bab4dde63d76: Waiting 02:45:18 4872d77fe225: Waiting 02:45:18 bde34c3a00c8: Waiting 02:45:18 5851b861e8e6: Waiting 02:45:18 b352a97aabf1: Waiting 02:45:18 e2be974225ed: Verifying Checksum 02:45:18 e2be974225ed: Download complete 02:45:18 988bab9f4d93: Download complete 02:45:18 339a4e72a1f5: Verifying Checksum 02:45:18 339a4e72a1f5: Download complete 02:45:19 eaf3925da568: Verifying Checksum 02:45:19 eaf3925da568: Download complete 02:45:19 1469e6f7b9e6: Verifying Checksum 02:45:19 1469e6f7b9e6: Download complete 02:45:19 bde34c3a00c8: Verifying Checksum 02:45:19 bde34c3a00c8: Download complete 02:45:19 b352a97aabf1: Download complete 02:45:19 4872d77fe225: Verifying Checksum 02:45:19 4872d77fe225: Download complete 02:45:19 5851b861e8e6: Download complete 02:45:19 b85a868b505f: Download complete 02:45:19 bab4dde63d76: Verifying Checksum 02:45:19 bab4dde63d76: Download complete 02:45:20 b85a868b505f: Pull complete 02:45:21 e2be974225ed: Pull complete 02:45:21 339a4e72a1f5: Pull complete 02:45:21 988bab9f4d93: Pull complete 02:45:22 1469e6f7b9e6: Pull complete 02:45:22 eaf3925da568: Pull complete 02:45:24 bab4dde63d76: Pull complete 02:45:24 bde34c3a00c8: Pull complete 02:45:24 b352a97aabf1: Pull complete 02:45:24 4872d77fe225: Pull complete 02:45:24 5851b861e8e6: Pull complete 02:45:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:24 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:45:24 $ 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:45:27 $ docker top 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 -eo pid,comm 02:45:27 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:45:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:28 [ssh-agent] Looking for ssh-agent implementation... 02:45:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:28 $ docker exec 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 ssh-agent 02:45:28 SSH_AUTH_SOCK=/tmp/ssh-gw5CNnpadcMm/agent.34 02:45:28 SSH_AGENT_PID=40 02:45:28 Running ssh-add (command line suppressed) 02:45:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3530005459882158011.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3530005459882158011.key) 02:45:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:28 + git tag --points-at HEAD [Pipeline] } 02:45:28 $ docker exec --env ******** --env ******** 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 ssh-agent -k 02:45:28 unset SSH_AUTH_SOCK; 02:45:28 unset SSH_AGENT_PID; 02:45:28 echo Agent pid 40 killed; 02:45:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:28 [ssh-agent] Looking for ssh-agent implementation... 02:45:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:29 $ docker exec 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 ssh-agent 02:45:29 SSH_AUTH_SOCK=/tmp/ssh-LYe5gD0gi7G8/agent.73 02:45:29 SSH_AGENT_PID=79 02:45:29 Running ssh-add (command line suppressed) 02:45:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5199917806081887025.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5199917806081887025.key) 02:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:29 + git semver init 02:45:29 2024-09-09 02:45:29,747 [run_init] DEBUG init version:0.0.0 force:False 02:45:29 2024-09-09 02:45:29,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:45:29 2024-09-09 02:45:29,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:45:29 2024-09-09 02:45:29,748 [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:45:31 2024-09-09 02:45:31,316 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:45:31 2024-09-09 02:45:31,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:45:31 2024-09-09 02:45:31,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:31 2024-09-09 02:45:31,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:31 3.2.0-dev.19 [Pipeline] } 02:45:31 $ docker exec --env ******** --env ******** 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 ssh-agent -k 02:45:31 unset SSH_AUTH_SOCK; 02:45:31 unset SSH_AGENT_PID; 02:45:31 echo Agent pid 79 killed; 02:45:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:32 + git semver [Pipeline] } 02:45:32 $ docker stop --time=1 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 02:45:33 $ docker rm -f --volumes 976dc1fc96cc7fe341c1799bf36d1e04ce8cc2ce599d37f7405a9e42ed40f0f9 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:34 Stashed 1 file(s) [Pipeline] echo 02:45:34 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [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:45:34 provisioning config files... 02:45:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12849411498860175833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:35 ---> ****-login.sh 02:45:35 nexus3.edgexfoundry.org:10001 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10002 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10003 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10004 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 ****.io 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 ---> ****-login.sh ends [Pipeline] } 02:45:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:45:35 ========================================================= 02:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:45:36 Sending build context to Docker daemon 20.83MB 02:45:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:45:36 Step 2/12 : FROM ${BASE} AS builder 02:45:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:36 619be1103602: Pulling fs layer 02:45:36 7862e08f4a3e: Pulling fs layer 02:45:36 5df492c9dc93: Pulling fs layer 02:45:36 7629e6793208: Pulling fs layer 02:45:36 4f4fb700ef54: Pulling fs layer 02:45:36 fb5054dd5b73: Pulling fs layer 02:45:36 eeca6798cff9: Pulling fs layer 02:45:36 aa269ceb94a6: Pulling fs layer 02:45:36 ada007ff1a6a: Pulling fs layer 02:45:36 fb5054dd5b73: Waiting 02:45:36 eeca6798cff9: Waiting 02:45:36 aa269ceb94a6: Waiting 02:45:36 ada007ff1a6a: Waiting 02:45:36 7629e6793208: Waiting 02:45:36 4f4fb700ef54: Waiting 02:45:36 7862e08f4a3e: Verifying Checksum 02:45:36 7862e08f4a3e: Download complete 02:45:36 7629e6793208: Verifying Checksum 02:45:36 7629e6793208: Download complete 02:45:36 4f4fb700ef54: Verifying Checksum 02:45:36 4f4fb700ef54: Download complete 02:45:36 619be1103602: Verifying Checksum 02:45:36 619be1103602: Download complete 02:45:36 fb5054dd5b73: Verifying Checksum 02:45:36 fb5054dd5b73: Download complete 02:45:36 eeca6798cff9: Verifying Checksum 02:45:36 eeca6798cff9: Download complete 02:45:36 619be1103602: Pull complete 02:45:36 ada007ff1a6a: Verifying Checksum 02:45:36 ada007ff1a6a: Download complete 02:45:36 7862e08f4a3e: Pull complete 02:45:36 5df492c9dc93: Verifying Checksum 02:45:36 5df492c9dc93: Download complete 02:45:37 aa269ceb94a6: Verifying Checksum 02:45:37 aa269ceb94a6: Download complete 02:45:40 5df492c9dc93: Pull complete 02:45:40 7629e6793208: Pull complete 02:45:40 4f4fb700ef54: Pull complete 02:45:40 fb5054dd5b73: Pull complete 02:45:40 eeca6798cff9: Pull complete 02:45:43 aa269ceb94a6: Pull complete 02:45:43 ada007ff1a6a: Pull complete 02:45:43 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:45:43 ---> f489d0715acc 02:45:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:45:49 Still waiting to schedule task 02:45:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:45:51 ---> Running in 006c36fabf14 02:45:51 Removing intermediate container 006c36fabf14 02:45:51 ---> c1824eea62ab 02:45:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:45:51 ---> Running in 93876b469c73 02:45:51 Removing intermediate container 93876b469c73 02:45:51 ---> 78b63b2bc07f 02:45:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:51 ---> Running in 636784894d81 02:45:51 Removing intermediate container 636784894d81 02:45:51 ---> e8f422a56b00 02:45:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:45:51 ---> Running in d8309a6066e9 02:45:51 Removing intermediate container d8309a6066e9 02:45:51 ---> f9b7aaeeeb09 02:45:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:51 ---> Running in 731aca8c877c 02:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:45:51 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:45:51 (2/4) Installing libedit (20221030.3.1-r1) 02:45:52 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:45:52 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:45:52 Executing busybox-1.36.1-r5.trigger 02:45:52 OK: 268 MiB in 56 packages 02:45:52 Removing intermediate container 731aca8c877c 02:45:52 ---> 945db61ecbd4 02:45:52 Step 8/12 : WORKDIR /device-mqtt-go 02:45:52 ---> Running in 3faea921ad63 02:45:52 Removing intermediate container 3faea921ad63 02:45:52 ---> 002b62248235 02:45:52 Step 9/12 : COPY go.mod vendor* ./ 02:45:52 ---> ddcc500c44ac 02:45:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:52 ---> Running in a153bbd29f79 02:47:00 Removing intermediate container a153bbd29f79 02:47:00 ---> fc10c2d97d49 02:47:00 Step 11/12 : COPY . . 02:47:01 ---> bc8ed309c2a1 02:47:01 Step 12/12 : RUN $MAKE 02:47:01 ---> Running in 3d78468c9863 02:47:02 noop 02:47:02 Removing intermediate container 3d78468c9863 02:47:02 ---> d65e25f9ceda 02:47:02 Successfully built d65e25f9ceda 02:47:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:02 + docker inspect -f . ci-base-image-x86_64 02:47:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:02 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:47:02 $ 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:47:03 $ docker top 88bd7b233578ab5312c5b74356965523c1e4b4a40f4d01a4754e7f6bc48413e9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:03 + go version 02:47:03 go version go1.21.9 linux/amd64 [Pipeline] } 02:47:03 $ docker stop --time=1 88bd7b233578ab5312c5b74356965523c1e4b4a40f4d01a4754e7f6bc48413e9 02:47:04 $ docker rm -f --volumes 88bd7b233578ab5312c5b74356965523c1e4b4a40f4d01a4754e7f6bc48413e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:05 + docker inspect -f . ci-base-image-x86_64 02:47:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:05 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:47:05 $ 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:47:05 $ docker top 81a561e229945b76d081f704af09555b9bd6514b205a98bf9c5338551613253d -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:47:06 + make test 02:47:06 go test ./... -coverprofile=coverage.out ./... 02:47:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:47:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9795 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:47:20 Running in /w/workspace/device-mqtt-go/174 [Pipeline] { [Pipeline] checkout 02:47:24 The recommended git tool is: git 02:47:26 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:47:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:47:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 02:47:32 using credential edgex-jenkins-ssh 02:47:32 Cloning the remote Git repository 02:47:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:47:32 > git init /w/workspace/device-mqtt-go/174 # timeout=10 02:47:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:47:32 > git --version # timeout=10 02:47:32 > git --version # 'git version 2.25.1' 02:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:47:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:36 go vet ./... 02:47:36 Avoid second fetch 02:47:36 Checking out Revision a7ea162f49cc88b1fd5543c209327df7c238676c (main) 02:47:36 > git config core.sparsecheckout # timeout=10 02:47:36 > git checkout -f a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 02:47:37 Commit message: "Merge pull request #693 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" 02:47:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:47:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:47:41 ./bin/test-attribution-txt.sh 02:47:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:47:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:47:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:47:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:47:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:47:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:47:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:47:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:47:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:47:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:47:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:47:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:47:41 $ docker stop --time=1 81a561e229945b76d081f704af09555b9bd6514b205a98bf9c5338551613253d 02:47:46 $ docker rm -f --volumes 81a561e229945b76d081f704af09555b9bd6514b205a98bf9c5338551613253d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:47:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:47:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:47 Dload Upload Total Spent Left Speed 02:47:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [Pipeline] sh 02:47:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:47:47 + ls -al . 02:47:47 total 252 02:47:47 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 02:47 . 02:47:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 02:45 .. 02:47:47 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 02:45 .dockerignore 02:47:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 02:47 .git 02:47:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:45 .github 02:47:47 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 02:45 .gitignore 02:47:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 02:45 .golangci.yml 02:47:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 02:45 .semver 02:47:47 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 02:45 Attribution.txt 02:47:47 -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 02:45 CHANGELOG.md 02:47:47 -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 02:45 Dockerfile 02:47:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 02:45 GOVERNANCE.md 02:47:47 -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 02:45 Jenkinsfile 02:47:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 02:45 LICENSE 02:47:47 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 02:45 Makefile 02:47:47 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 02:45 OWNERS.md 02:47:47 -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 02:45 README.md 02:47:47 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 02:45 VERSION 02:47:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 02:45 bin 02:47:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:45 cmd 02:47:47 -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 02:47 coverage.out 02:47:47 -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 02:45 go.mod 02:47:47 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 02:45 go.sum 02:47:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:45 internal 02:47:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 02:45 mock 02:47:47 -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 02:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:47:47 + sudo tee /etc/docker/daemon.new 02:47:47 { 02:47:47 "registry-mirrors": [ 02:47:47 "https://nexus3.edgexfoundry.org:10001" 02:47:47 ], 02:47:47 "bip": "10.250.0.254/24", 02:47:47 "hosts": [ 02:47:47 "tcp://0.0.0.0:5555", 02:47:47 "unix:///var/run/docker.sock" 02:47:47 ], 02:47:47 "mtu": 1458, 02:47:47 "selinux-enabled": true, 02:47:47 "seccomp-profile": "/etc/docker/seccomp.json" 02:47:47 } [Pipeline] sh 02:47:48 + 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=a7ea162f49cc88b1fd5543c209327df7c238676c --label arch=amd64 --label version=3.2.0-dev.19 . 02:47:48 Sending build context to Docker daemon 20.85MB 02:47:48 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:47:48 Step 2/25 : FROM ${BASE} AS builder 02:47:48 ---> d65e25f9ceda 02:47:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:47:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:47:48 + sudo service docker restart 02:47:48 ---> Running in 1182463e341c 02:47:48 Removing intermediate container 1182463e341c 02:47:48 ---> 6a755740a038 02:47:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:47:48 ---> Running in dfe1bc52a705 02:47:48 Removing intermediate container dfe1bc52a705 02:47:48 ---> da160bb3fe8f 02:47:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:47:48 ---> Running in 8c7031bfa30c 02:47:48 Removing intermediate container 8c7031bfa30c 02:47:48 ---> ebf88d62a62f 02:47:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:47:48 ---> Running in 7ddfbb911e99 02:47:48 Removing intermediate container 7ddfbb911e99 02:47:48 ---> 0826f7164ff9 02:47:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:47:48 ---> Running in 230aeca617f6 02:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:47:49 OK: 268 MiB in 56 packages 02:47:49 Removing intermediate container 230aeca617f6 02:47:49 ---> d83f706a4685 02:47:49 Step 8/25 : WORKDIR /device-mqtt-go 02:47:49 ---> Running in cf5b82382932 02:47:49 Removing intermediate container cf5b82382932 02:47:49 ---> 5e642fa3910d 02:47:49 Step 9/25 : COPY go.mod vendor* ./ 02:47:49 ---> 61db4b1684a7 02:47:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:47:49 ---> Running in a5079d3a0505 02:47:50 Removing intermediate container a5079d3a0505 02:47:50 ---> 67410fc7be4b 02:47:50 Step 11/25 : COPY . . 02:47:51 ---> c636d4b4ad9a 02:47:51 Step 12/25 : RUN $MAKE 02:47:51 ---> Running in d969fe5352c1 02:47:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:06 provisioning config files... 02:48:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/174@tmp/config15745425336456156583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:07 ---> ****-login.sh 02:48:07 nexus3.edgexfoundry.org:10001 02:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:07 Configure a credential helper to remove this warning. See 02:48:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:07 02:48:07 Login Succeeded 02:48:07 nexus3.edgexfoundry.org:10002 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 nexus3.edgexfoundry.org:10003 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 nexus3.edgexfoundry.org:10004 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 ****.io 02:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:09 Configure a credential helper to remove this warning. See 02:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:09 02:48:09 Login Succeeded 02:48:09 ---> ****-login.sh ends [Pipeline] } 02:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:09 ========================================================= 02:48:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:48:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:48:10 Sending build context to Docker daemon 10.52MB 02:48:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:48:10 Step 2/12 : FROM ${BASE} AS builder 02:48:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:11 c6b39de5b339: Pulling fs layer 02:48:11 a69c41024577: Pulling fs layer 02:48:11 d6de4b400683: Pulling fs layer 02:48:11 35cb2a7552d0: Pulling fs layer 02:48:11 4f4fb700ef54: Pulling fs layer 02:48:11 464afbd9ba4c: Pulling fs layer 02:48:11 00f215d4a9da: Pulling fs layer 02:48:11 d496ad576159: Pulling fs layer 02:48:11 35cb2a7552d0: Waiting 02:48:11 4f4fb700ef54: Waiting 02:48:11 00f215d4a9da: Waiting 02:48:11 d496ad576159: Waiting 02:48:11 464afbd9ba4c: Waiting 02:48:11 a69c41024577: Verifying Checksum 02:48:11 a69c41024577: Download complete 02:48:11 35cb2a7552d0: Verifying Checksum 02:48:11 35cb2a7552d0: Download complete 02:48:11 4f4fb700ef54: Verifying Checksum 02:48:11 4f4fb700ef54: Download complete 02:48:11 464afbd9ba4c: Verifying Checksum 02:48:11 464afbd9ba4c: Download complete 02:48:11 c6b39de5b339: Download complete 02:48:11 d496ad576159: Verifying Checksum 02:48:11 d496ad576159: Download complete 02:48:11 c6b39de5b339: Pull complete 02:48:12 a69c41024577: Pull complete 02:48:12 d6de4b400683: Download complete 02:48:14 00f215d4a9da: Verifying Checksum 02:48:14 00f215d4a9da: Download complete 02:48:23 Removing intermediate container d969fe5352c1 02:48:23 ---> edb99b06c576 02:48:23 Step 13/25 : FROM alpine:3.18 02:48:23 3.18: Pulling from library/alpine 02:48:23 1cc3d825d8b2: Pulling fs layer 02:48:23 1cc3d825d8b2: Download complete 02:48:23 1cc3d825d8b2: Pull complete 02:48:23 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:48:23 Status: Downloaded newer image for alpine:3.18 02:48:23 ---> 2c64cf60f6f0 02:48:23 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:48:23 ---> Running in b4706b36e688 02:48:23 Removing intermediate container b4706b36e688 02:48:23 ---> bbed604c1504 02:48:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:48:23 ---> Running in a4f4b2f00e71 02:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:48:23 (1/1) Installing dumb-init (1.2.5-r2) 02:48:23 Executing busybox-1.36.1-r7.trigger 02:48:23 OK: 7 MiB in 16 packages 02:48:23 Removing intermediate container a4f4b2f00e71 02:48:23 ---> a23c26e46385 02:48:23 Step 16/25 : RUN apk --no-cache upgrade 02:48:23 ---> Running in 910c23986368 02:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:48:23 OK: 7 MiB in 16 packages 02:48:23 Removing intermediate container 910c23986368 02:48:23 ---> b01830eed003 02:48:23 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:48:25 ---> 52952c2f212d 02:48:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:48:25 ---> d938c03830ee 02:48:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:48:25 ---> 845a660cc216 02:48:25 Step 20/25 : EXPOSE 59982 02:48:25 ---> Running in 8c5a945c9625 02:48:25 Removing intermediate container 8c5a945c9625 02:48:25 ---> 5d5550b70391 02:48:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:48:25 ---> Running in a613936c15e8 02:48:26 Removing intermediate container a613936c15e8 02:48:26 ---> 64469f634740 02:48:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:48:26 ---> Running in b0b134aa6b44 02:48:26 Removing intermediate container b0b134aa6b44 02:48:26 ---> 798d3e018df7 02:48:26 Step 23/25 : LABEL arch=amd64 02:48:26 ---> Running in cb73bb40bf88 02:48:26 Removing intermediate container cb73bb40bf88 02:48:26 ---> 58e27c7dfb5a 02:48:26 Step 24/25 : LABEL git_sha=a7ea162f49cc88b1fd5543c209327df7c238676c 02:48:26 ---> Running in 206c0902d1ec 02:48:26 Removing intermediate container 206c0902d1ec 02:48:26 ---> 281af788ce30 02:48:26 Step 25/25 : LABEL version=3.2.0-dev.19 02:48:26 ---> Running in d60b9c5d1ac3 02:48:26 Removing intermediate container d60b9c5d1ac3 02:48:26 ---> 12cfc2f002fc 02:48:26 [Warning] One or more build-args [ARCH] were not consumed 02:48:26 Successfully built 12cfc2f002fc 02:48:26 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:48:26 provisioning config files... 02:48:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7847502919757629247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:26 d6de4b400683: Pull complete 02:48:26 35cb2a7552d0: Pull complete 02:48:26 4f4fb700ef54: Pull complete 02:48:26 464afbd9ba4c: Pull complete 02:48:26 ---> ****-login.sh 02:48:26 nexus3.edgexfoundry.org:10001 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:26 Configure a credential helper to remove this warning. See 02:48:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:26 02:48:26 Login Succeeded 02:48:26 nexus3.edgexfoundry.org:10002 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 nexus3.edgexfoundry.org:10003 02:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 nexus3.edgexfoundry.org:10004 02:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 ****.io 02:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 ---> ****-login.sh ends [Pipeline] } 02:48:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:27 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:48:27 a7ea162f49cc88b1fd5543c209327df7c238676c 02:48:27 latest 02:48:27 3.2.0-dev.19 02:48:27 a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:48:27 main 02:48:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c 02:48:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:48:28 83a9e0f5da28: Preparing 02:48:28 1e5f88004fd4: Preparing 02:48:28 1d4a379616ed: Preparing 02:48:28 a0500f39ef0b: Preparing 02:48:28 5790d5bbd379: Preparing 02:48:28 d62a02444d39: Preparing 02:48:28 83a9e0f5da28: Pushed 02:48:28 d62a02444d39: Layer already exists 02:48:28 a0500f39ef0b: Pushed 02:48:28 5790d5bbd379: Pushed 02:48:28 1e5f88004fd4: Pushed 02:48:33 1d4a379616ed: Pushed 02:48:33 a7ea162f49cc88b1fd5543c209327df7c238676c: digest: sha256:0279d1e5de5aca1d070b6cc3488e3e0667b252d32cedede36f6e83134883caa2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:48:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:48:33 83a9e0f5da28: Preparing 02:48:33 1e5f88004fd4: Preparing 02:48:33 1d4a379616ed: Preparing 02:48:33 a0500f39ef0b: Preparing 02:48:33 5790d5bbd379: Preparing 02:48:33 d62a02444d39: Preparing 02:48:33 d62a02444d39: Waiting 02:48:33 1e5f88004fd4: Layer already exists 02:48:33 1d4a379616ed: Layer already exists 02:48:33 5790d5bbd379: Layer already exists 02:48:33 a0500f39ef0b: Layer already exists 02:48:33 83a9e0f5da28: Layer already exists 02:48:33 d62a02444d39: Layer already exists 02:48:34 latest: digest: sha256:0279d1e5de5aca1d070b6cc3488e3e0667b252d32cedede36f6e83134883caa2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 02:48:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:48:34 83a9e0f5da28: Preparing 02:48:34 1e5f88004fd4: Preparing 02:48:34 1d4a379616ed: Preparing 02:48:34 a0500f39ef0b: Preparing 02:48:34 5790d5bbd379: Preparing 02:48:34 d62a02444d39: Preparing 02:48:34 d62a02444d39: Waiting 02:48:34 5790d5bbd379: Layer already exists 02:48:34 d62a02444d39: Layer already exists 02:48:34 1e5f88004fd4: Layer already exists 02:48:34 1d4a379616ed: Layer already exists 02:48:34 a0500f39ef0b: Layer already exists 02:48:34 83a9e0f5da28: Layer already exists 02:48:34 00f215d4a9da: Pull complete 02:48:34 3.2.0-dev.19: digest: sha256:0279d1e5de5aca1d070b6cc3488e3e0667b252d32cedede36f6e83134883caa2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:48:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:48:35 83a9e0f5da28: Preparing 02:48:35 1e5f88004fd4: Preparing 02:48:35 1d4a379616ed: Preparing 02:48:35 a0500f39ef0b: Preparing 02:48:35 5790d5bbd379: Preparing 02:48:35 d62a02444d39: Preparing 02:48:35 d62a02444d39: Waiting 02:48:35 83a9e0f5da28: Layer already exists 02:48:35 1d4a379616ed: Layer already exists 02:48:35 a0500f39ef0b: Layer already exists 02:48:35 5790d5bbd379: Layer already exists 02:48:35 1e5f88004fd4: Layer already exists 02:48:35 d62a02444d39: Layer already exists 02:48:35 a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19: digest: sha256:0279d1e5de5aca1d070b6cc3488e3e0667b252d32cedede36f6e83134883caa2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:36 d496ad576159: Pull complete 02:48:36 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:48:36 ---> f246e2811388 02:48:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:48:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:48:36 83a9e0f5da28: Preparing 02:48:36 1e5f88004fd4: Preparing 02:48:36 1d4a379616ed: Preparing 02:48:36 a0500f39ef0b: Preparing 02:48:36 5790d5bbd379: Preparing 02:48:36 d62a02444d39: Preparing 02:48:36 d62a02444d39: Waiting 02:48:36 1e5f88004fd4: Layer already exists 02:48:36 1d4a379616ed: Layer already exists 02:48:36 a0500f39ef0b: Layer already exists 02:48:36 5790d5bbd379: Layer already exists 02:48:36 83a9e0f5da28: Layer already exists 02:48:36 d62a02444d39: Layer already exists 02:48:36 main: digest: sha256:0279d1e5de5aca1d070b6cc3488e3e0667b252d32cedede36f6e83134883caa2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:36 ===================================================== [Pipeline] echo 02:48:36 taggedImages: 02:48:36 - nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c 02:48:36 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:48:36 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 02:48:36 - nexus3.edgexfoundry.org:10004/device-mqtt:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:48:36 - 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:48:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:37 02:48:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:37 latest: Pulling from edgex-lftools-log-publisher 02:48:37 5eb5b503b376: Pulling fs layer 02:48:37 5c69ac0246d0: Pulling fs layer 02:48:37 ec43610c2a17: Pulling fs layer 02:48:37 3a2ae6a8a46f: Pulling fs layer 02:48:37 33b1e0a273af: Pulling fs layer 02:48:37 5d3b04190fa2: Pulling fs layer 02:48:37 2f39f015ded8: Pulling fs layer 02:48:37 33b1e0a273af: Waiting 02:48:37 5d3b04190fa2: Waiting 02:48:37 2f39f015ded8: Waiting 02:48:37 3a2ae6a8a46f: Waiting 02:48:37 5c69ac0246d0: Download complete 02:48:37 3a2ae6a8a46f: Verifying Checksum 02:48:37 3a2ae6a8a46f: Download complete 02:48:37 33b1e0a273af: Verifying Checksum 02:48:37 33b1e0a273af: Download complete 02:48:37 5d3b04190fa2: Download complete 02:48:37 ec43610c2a17: Verifying Checksum 02:48:37 ec43610c2a17: Download complete 02:48:37 5eb5b503b376: Verifying Checksum 02:48:37 5eb5b503b376: Download complete 02:48:38 ---> Running in 8c02894798e6 02:48:38 Removing intermediate container 8c02894798e6 02:48:38 ---> 3385ef03b09f 02:48:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:38 ---> Running in 7cc5342aaec9 02:48:38 Removing intermediate container 7cc5342aaec9 02:48:38 ---> 5171a7f6dbd0 02:48:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:48:38 2f39f015ded8: Verifying Checksum 02:48:38 2f39f015ded8: Download complete 02:48:38 ---> Running in b32e72e39042 02:48:38 5eb5b503b376: Pull complete 02:48:38 Removing intermediate container b32e72e39042 02:48:38 ---> 8ae3e3614a35 02:48:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:48:38 ---> Running in 7d7769caae5d 02:48:39 5c69ac0246d0: Pull complete 02:48:39 Removing intermediate container 7d7769caae5d 02:48:39 ---> 11ca482009cc 02:48:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:39 ---> Running in 0e0fa37b48e7 02:48:39 ec43610c2a17: Pull complete 02:48:39 3a2ae6a8a46f: Pull complete 02:48:39 33b1e0a273af: Pull complete 02:48:39 5d3b04190fa2: Pull complete 02:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:48:42 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:48:42 (2/4) Installing libedit (20221030.3.1-r1) 02:48:42 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:48:42 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:48:42 Executing busybox-1.36.1-r5.trigger 02:48:42 OK: 271 MiB in 56 packages 02:48:43 Removing intermediate container 0e0fa37b48e7 02:48:43 ---> c302da8f9cee 02:48:43 Step 8/12 : WORKDIR /device-mqtt-go 02:48:43 ---> Running in 6474be5c0a03 02:48:44 2f39f015ded8: Pull complete 02:48:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:44 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:48:44 Removing intermediate container 6474be5c0a03 02:48:44 ---> cacd3d405284 02:48:44 Step 9/12 : COPY go.mod vendor* ./ 02:48:44 $ 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:48:44 ---> 689565e3a8e2 02:48:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:44 ---> Running in 89c11de8f1d7 02:48:48 $ docker top fce358e125eb8106351ea15bd51e5fc1c0875d69be19be9569381d06bdd41271 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:48 ---> job-cost.sh 02:48:48 lf-activate-venv: SKIPPING 02:48:48 INFO: No Stack... 02:48:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:48:49 INFO: Archiving Costs [Pipeline] sh 02:48:50 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:48:50 + cut -d, -f6 [Pipeline] lock 02:48:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] 02:48:50 Resource [jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] did not exist. Created. 02:48:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:48:50 + echo total: 0.2199999988079071 [Pipeline] stash 02:48:50 Stashed 1 file(s) [Pipeline] } 02:48:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 02:48:50 $ docker stop --time=1 fce358e125eb8106351ea15bd51e5fc1c0875d69be19be9569381d06bdd41271 02:48:51 $ docker rm -f --volumes fce358e125eb8106351ea15bd51e5fc1c0875d69be19be9569381d06bdd41271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:50:36 Removing intermediate container 89c11de8f1d7 02:50:36 ---> f3fab78952b7 02:50:36 Step 11/12 : COPY . . 02:50:36 ---> c9585911dbba 02:50:36 Step 12/12 : RUN $MAKE 02:50:36 ---> Running in 729f39d5ce10 02:50:36 noop 02:50:36 Removing intermediate container 729f39d5ce10 02:50:36 ---> 7accedf9df8b 02:50:36 Successfully built 7accedf9df8b 02:50:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:36 + docker inspect -f . ci-base-image-arm64 02:50:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:37 prd-ubuntu20.04-docker-arm64-4c-16g-9795 does not seem to be running inside a container 02:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/174 -v /w/workspace/device-mqtt-go/174:/w/workspace/device-mqtt-go/174:rw,z -v /w/workspace/device-mqtt-go/174@tmp:/w/workspace/device-mqtt-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:50:38 $ docker top 86159447e5edcf38ef02d65e4576eae8382dcffa162e25035b86b964f7311f73 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:39 + go version 02:50:39 go version go1.21.9 linux/arm64 [Pipeline] } 02:50:39 $ docker stop --time=1 86159447e5edcf38ef02d65e4576eae8382dcffa162e25035b86b964f7311f73 02:50:40 $ docker rm -f --volumes 86159447e5edcf38ef02d65e4576eae8382dcffa162e25035b86b964f7311f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:41 + docker inspect -f . ci-base-image-arm64 02:50:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-9795 does not seem to be running inside a container 02:50:41 $ 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/174 -v /w/workspace/device-mqtt-go/174:/w/workspace/device-mqtt-go/174:rw,z -v /w/workspace/device-mqtt-go/174@tmp:/w/workspace/device-mqtt-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:50:42 $ docker top 3c20c99aa57e881fad621035704147c95ab22c09cb2063c720eb97d618d821c1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:43 + git config --global --add safe.directory /w/workspace/device-mqtt-go/174 [Pipeline] fileExists [Pipeline] sh 02:50:44 + make test 02:50:44 go test ./... -coverprofile=coverage.out ./... 02:50:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:53:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:53:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:53:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.049s coverage: 22.8% of statements 02:54:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:54:00 go vet ./... 02:54:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:47 ./bin/test-attribution-txt.sh 02:54:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:54:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:54:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:54:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:54:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:54:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:54:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:54:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:54:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:54:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:54:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:54:47 $ docker stop --time=1 3c20c99aa57e881fad621035704147c95ab22c09cb2063c720eb97d618d821c1 02:54:49 $ docker rm -f --volumes 3c20c99aa57e881fad621035704147c95ab22c09cb2063c720eb97d618d821c1 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:50 Warning: overwriting stash ‘coverage-report’ 02:54:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:52 + ls -al . 02:54:52 total 248 02:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 02:50 . 02:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 02:47 .. 02:54:52 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 02:47 .dockerignore 02:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 02:47 .git 02:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:47 .github 02:54:52 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 02:47 .gitignore 02:54:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 02:47 .golangci.yml 02:54:52 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 02:47 Attribution.txt 02:54:52 -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 02:47 CHANGELOG.md 02:54:52 -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 02:47 Dockerfile 02:54:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 02:47 GOVERNANCE.md 02:54:52 -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 02:47 Jenkinsfile 02:54:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 02:47 LICENSE 02:54:52 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 02:47 Makefile 02:54:52 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 02:47 OWNERS.md 02:54:52 -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 02:47 README.md 02:54:52 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 02:45 VERSION 02:54:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 02:47 bin 02:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:47 cmd 02:54:52 -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 02:53 coverage.out 02:54:52 -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 02:47 go.mod 02:54:52 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 02:47 go.sum 02:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 02:47 internal 02:54:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 02:47 mock 02:54:52 -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 02:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:52 + 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=a7ea162f49cc88b1fd5543c209327df7c238676c --label arch=arm64 --label version=3.2.0-dev.19 . 02:54:52 Sending build context to Docker daemon 10.54MB 02:54:52 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:54:52 Step 2/25 : FROM ${BASE} AS builder 02:54:52 ---> 7accedf9df8b 02:54:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:54:52 ---> Running in 1c03d6edfd8a 02:54:53 Removing intermediate container 1c03d6edfd8a 02:54:53 ---> 50d7f7afa8d6 02:54:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:54:53 ---> Running in d3e0e762b5fc 02:54:53 Removing intermediate container d3e0e762b5fc 02:54:53 ---> aa4e6e0c4233 02:54:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:54:53 ---> Running in d246a6f7355a 02:54:54 Removing intermediate container d246a6f7355a 02:54:54 ---> 1d4c81f0de60 02:54:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:54:54 ---> Running in f17bd12ff867 02:54:54 Removing intermediate container f17bd12ff867 02:54:54 ---> fb9fff172ea0 02:54:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:54 ---> Running in aaddc2761a04 02:54:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:54:57 OK: 271 MiB in 56 packages 02:54:57 Removing intermediate container aaddc2761a04 02:54:57 ---> 8f2b52d29573 02:54:57 Step 8/25 : WORKDIR /device-mqtt-go 02:54:57 ---> Running in 5e99e0117b1b 02:54:58 Removing intermediate container 5e99e0117b1b 02:54:58 ---> 17478eef58f5 02:54:58 Step 9/25 : COPY go.mod vendor* ./ 02:54:58 ---> d60f6c74a3a6 02:54:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:58 ---> Running in 4eefe417febe 02:55:00 Removing intermediate container 4eefe417febe 02:55:00 ---> efe8b934318f 02:55:00 Step 11/25 : COPY . . 02:55:02 ---> 763a1cfe0cc2 02:55:02 Step 12/25 : RUN $MAKE 02:55:02 ---> Running in 015fcfd1632e 02:55:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:58:24 Removing intermediate container 015fcfd1632e 02:58:24 ---> 39fa019b51e5 02:58:24 Step 13/25 : FROM alpine:3.18 02:58:24 3.18: Pulling from library/alpine 02:58:24 720f3032cd11: Pulling fs layer 02:58:24 720f3032cd11: Verifying Checksum 02:58:24 720f3032cd11: Download complete 02:58:24 720f3032cd11: Pull complete 02:58:24 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:58:24 Status: Downloaded newer image for alpine:3.18 02:58:24 ---> 3e834921e367 02:58:24 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:58:24 ---> Running in 0992656260a1 02:58:24 Removing intermediate container 0992656260a1 02:58:24 ---> a45f156c88e9 02:58:24 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:58:24 ---> Running in 2072e0534345 02:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:24 (1/1) Installing dumb-init (1.2.5-r2) 02:58:24 Executing busybox-1.36.1-r7.trigger 02:58:24 OK: 8 MiB in 16 packages 02:58:24 Removing intermediate container 2072e0534345 02:58:24 ---> 53adb23d2d1b 02:58:24 Step 16/25 : RUN apk --no-cache upgrade 02:58:24 ---> Running in 43e866bf919a 02:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:24 OK: 8 MiB in 16 packages 02:58:25 Removing intermediate container 43e866bf919a 02:58:25 ---> 0627181c20b0 02:58:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:58:27 ---> 938393c1283f 02:58:27 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:58:27 ---> 8fba6a937037 02:58:27 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:58:28 ---> 6f81b7aa26c6 02:58:28 Step 20/25 : EXPOSE 59982 02:58:28 ---> Running in 61c9887c724b 02:58:28 Removing intermediate container 61c9887c724b 02:58:28 ---> 4d244e2dea6c 02:58:28 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:58:29 ---> Running in 548085965a71 02:58:29 Removing intermediate container 548085965a71 02:58:29 ---> 3e914ba1b4c9 02:58:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:58:29 ---> Running in 22c02edafe67 02:58:29 Removing intermediate container 22c02edafe67 02:58:29 ---> 098b799a06f0 02:58:29 Step 23/25 : LABEL arch=arm64 02:58:29 ---> Running in 91d210d9c280 02:58:29 Removing intermediate container 91d210d9c280 02:58:29 ---> 83f95883d657 02:58:29 Step 24/25 : LABEL git_sha=a7ea162f49cc88b1fd5543c209327df7c238676c 02:58:30 ---> Running in 61a4805785c3 02:58:30 Removing intermediate container 61a4805785c3 02:58:30 ---> e3892acdc14f 02:58:30 Step 25/25 : LABEL version=3.2.0-dev.19 02:58:30 ---> Running in 09a7967aac73 02:58:30 Removing intermediate container 09a7967aac73 02:58:30 ---> 38efefdc7963 02:58:30 [Warning] One or more build-args [ARCH] were not consumed 02:58:30 Successfully built 38efefdc7963 02:58:30 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:58:30 provisioning config files... 02:58:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/174@tmp/config17100711033586840078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:31 ---> ****-login.sh 02:58:31 nexus3.edgexfoundry.org:10001 02:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:31 Configure a credential helper to remove this warning. See 02:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:31 02:58:31 Login Succeeded 02:58:31 nexus3.edgexfoundry.org:10002 02:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:31 Configure a credential helper to remove this warning. See 02:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:31 02:58:31 Login Succeeded 02:58:31 nexus3.edgexfoundry.org:10003 02:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:31 Configure a credential helper to remove this warning. See 02:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:31 02:58:31 Login Succeeded 02:58:31 nexus3.edgexfoundry.org:10004 02:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:32 Configure a credential helper to remove this warning. See 02:58:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:32 02:58:32 Login Succeeded 02:58:32 ****.io 02:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:33 Configure a credential helper to remove this warning. See 02:58:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:33 02:58:33 Login Succeeded 02:58:33 ---> ****-login.sh ends [Pipeline] } 02:58:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:58:33 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:58:33 a7ea162f49cc88b1fd5543c209327df7c238676c 02:58:33 latest 02:58:33 3.2.0-dev.19 02:58:33 a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:58:33 main 02:58:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c 02:58:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:33 fb858354735a: Preparing 02:58:33 314272a98645: Preparing 02:58:33 705a69190335: Preparing 02:58:33 8059de80a76a: Preparing 02:58:33 350f623dd318: Preparing 02:58:33 4aeaa0e7d41f: Preparing 02:58:33 4aeaa0e7d41f: Waiting 02:58:34 314272a98645: Pushed 02:58:34 fb858354735a: Pushed 02:58:34 8059de80a76a: Pushed 02:58:34 350f623dd318: Pushed 02:58:34 4aeaa0e7d41f: Layer already exists 02:58:44 705a69190335: Pushed 02:58:44 a7ea162f49cc88b1fd5543c209327df7c238676c: digest: sha256:5dc499d6a2d033c8445c8768fbac4b272b2d2c4ef0158781330b1faa62652be2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:58:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:44 fb858354735a: Preparing 02:58:44 314272a98645: Preparing 02:58:44 705a69190335: Preparing 02:58:44 8059de80a76a: Preparing 02:58:44 350f623dd318: Preparing 02:58:44 4aeaa0e7d41f: Preparing 02:58:44 4aeaa0e7d41f: Waiting 02:58:44 350f623dd318: Layer already exists 02:58:44 fb858354735a: Layer already exists 02:58:44 314272a98645: Layer already exists 02:58:44 705a69190335: Layer already exists 02:58:44 8059de80a76a: Layer already exists 02:58:44 4aeaa0e7d41f: Layer already exists 02:58:44 latest: digest: sha256:5dc499d6a2d033c8445c8768fbac4b272b2d2c4ef0158781330b1faa62652be2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.19 02:58:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:45 fb858354735a: Preparing 02:58:45 314272a98645: Preparing 02:58:45 705a69190335: Preparing 02:58:45 8059de80a76a: Preparing 02:58:45 350f623dd318: Preparing 02:58:45 4aeaa0e7d41f: Preparing 02:58:45 4aeaa0e7d41f: Waiting 02:58:45 705a69190335: Layer already exists 02:58:45 350f623dd318: Layer already exists 02:58:45 314272a98645: Layer already exists 02:58:45 8059de80a76a: Layer already exists 02:58:45 fb858354735a: Layer already exists 02:58:45 4aeaa0e7d41f: Layer already exists 02:58:45 3.2.0-dev.19: digest: sha256:5dc499d6a2d033c8445c8768fbac4b272b2d2c4ef0158781330b1faa62652be2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:46 fb858354735a: Preparing 02:58:46 314272a98645: Preparing 02:58:46 705a69190335: Preparing 02:58:46 8059de80a76a: Preparing 02:58:46 350f623dd318: Preparing 02:58:46 4aeaa0e7d41f: Preparing 02:58:46 4aeaa0e7d41f: Waiting 02:58:46 705a69190335: Layer already exists 02:58:46 350f623dd318: Layer already exists 02:58:46 8059de80a76a: Layer already exists 02:58:46 fb858354735a: Layer already exists 02:58:46 314272a98645: Layer already exists 02:58:46 4aeaa0e7d41f: Layer already exists 02:58:47 a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19: digest: sha256:5dc499d6a2d033c8445c8768fbac4b272b2d2c4ef0158781330b1faa62652be2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:47 fb858354735a: Preparing 02:58:47 314272a98645: Preparing 02:58:47 705a69190335: Preparing 02:58:47 8059de80a76a: Preparing 02:58:47 350f623dd318: Preparing 02:58:47 4aeaa0e7d41f: Preparing 02:58:47 4aeaa0e7d41f: Waiting 02:58:47 350f623dd318: Layer already exists 02:58:47 705a69190335: Layer already exists 02:58:47 314272a98645: Layer already exists 02:58:47 8059de80a76a: Layer already exists 02:58:47 fb858354735a: Layer already exists 02:58:47 4aeaa0e7d41f: Layer already exists 02:58:48 main: digest: sha256:5dc499d6a2d033c8445c8768fbac4b272b2d2c4ef0158781330b1faa62652be2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:48 ===================================================== [Pipeline] echo 02:58:48 taggedImages: 02:58:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c 02:58:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:58:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.19 02:58:48 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7ea162f49cc88b1fd5543c209327df7c238676c-3.2.0-dev.19 02:58:48 - 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:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:48 02:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:48 arm64: Pulling from edgex-lftools-log-publisher 02:58:48 8998bd30e6a1: Pulling fs layer 02:58:48 04944245beec: Pulling fs layer 02:58:48 699f458cf7ca: Pulling fs layer 02:58:48 765212b225bb: Pulling fs layer 02:58:48 f23df028b6ca: Pulling fs layer 02:58:48 765212b225bb: Waiting 02:58:48 d65c8cfc05b1: Pulling fs layer 02:58:48 f23df028b6ca: Waiting 02:58:48 2437ff75d9bd: Pulling fs layer 02:58:48 d65c8cfc05b1: Waiting 02:58:48 2437ff75d9bd: Waiting 02:58:49 04944245beec: Verifying Checksum 02:58:49 04944245beec: Download complete 02:58:49 765212b225bb: Download complete 02:58:49 f23df028b6ca: Download complete 02:58:49 d65c8cfc05b1: Download complete 02:58:49 699f458cf7ca: Verifying Checksum 02:58:49 699f458cf7ca: Download complete 02:58:49 8998bd30e6a1: Verifying Checksum 02:58:49 8998bd30e6a1: Download complete 02:58:52 2437ff75d9bd: Verifying Checksum 02:58:52 2437ff75d9bd: Download complete 02:58:54 8998bd30e6a1: Pull complete 02:58:54 04944245beec: Pull complete 02:58:56 699f458cf7ca: Pull complete 02:58:56 765212b225bb: Pull complete 02:58:57 f23df028b6ca: Pull complete 02:58:57 d65c8cfc05b1: Pull complete 02:59:15 2437ff75d9bd: Pull complete 02:59:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:59:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:16 prd-ubuntu20.04-docker-arm64-4c-16g-9795 does not seem to be running inside a container 02:59:16 $ 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/174 -v /w/workspace/device-mqtt-go/174:/w/workspace/device-mqtt-go/174:rw,z -v /w/workspace/device-mqtt-go/174@tmp:/w/workspace/device-mqtt-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:59:18 $ docker top c2fde26c66522ab0ec9af7cf659e76ca61579740a84b0ede36b09f55e7ab4250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:19 ---> job-cost.sh 02:59:19 lf-activate-venv: SKIPPING 02:59:19 INFO: No Stack... 02:59:20 INFO: Retrieving Pricing Info for: v3-standard-4 02:59:20 INFO: Archiving Costs [Pipeline] sh 02:59:21 + cat /w/workspace/device-mqtt-go/174/archives/cost.csv 02:59:21 + cut -d, -f6 [Pipeline] lock 02:59:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] 02:59:21 Resource [jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] did not exist. Created. 02:59:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:59:22 /w/workspace/device-mqtt-go/174@tmp/durable-0d9491aa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:59:23 + echo total: 0.10999999940395355 [Pipeline] stash 02:59:23 Warning: overwriting stash ‘stack-cost’ 02:59:23 Stashed 1 file(s) [Pipeline] } 02:59:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 02:59:23 $ docker stop --time=1 c2fde26c66522ab0ec9af7cf659e76ca61579740a84b0ede36b09f55e7ab4250 02:59:24 $ docker rm -f --volumes c2fde26c66522ab0ec9af7cf659e76ca61579740a84b0ede36b09f55e7ab4250 [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:59:25 provisioning config files... 02:59:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config259214150620188161tmp [Pipeline] { [Pipeline] sh 02:59:25 + set +x 02:59:25 + bash -s -- 02:59:25 + curl -s https://codecov.io/bash 02:59:25 02:59:25 _____ _ 02:59:25 / ____| | | 02:59:25 | | ___ __| | ___ ___ _____ __ 02:59:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:59:25 | |___| (_) | (_| | __/ (_| (_) \ V / 02:59:25 \_____\___/ \__,_|\___|\___\___/ \_/ 02:59:25 Bash-1.0.6 02:59:25 02:59:25 02:59:25 ==> git version 2.25.1 found 02:59:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:59:25 Release-Date: 2020-01-08 02:59:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:59:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:59:25 ==> Jenkins CI detected. 02:59:25 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:59:25 project root: . 02:59:25 --> token set from env 02:59:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:59:25 ==> Running gcov in . (disable via -X gcov) 02:59:25 ==> Python coveragepy not found 02:59:25 ==> Searching for coverage reports in: 02:59:25 + . 02:59:25 -> Found 1 reports 02:59:25 ==> Detecting git/mercurial file structure 02:59:25 ==> Reading reports 02:59:25 + ./coverage.out bytes=18506 02:59:25 ==> Appending adjustments 02:59:25 https://docs.codecov.io/docs/fixing-reports 02:59:25 + Found adjustments 02:59:25 ==> Gzipping contents 02:59:25 4.0K /tmp/codecov.ZSga5W.gz 02:59:25 ==> Uploading reports 02:59:25 url: https://codecov.io 02:59:25 query: branch=main&commit=a7ea162f49cc88b1fd5543c209327df7c238676c&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:25 -> Pinging Codecov 02:59:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a7ea162f49cc88b1fd5543c209327df7c238676c&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:25 -> Uploading to 02:59:25 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/7D719EC7BBE17E464838252E33014C33/a7ea162f49cc88b1fd5543c209327df7c238676c/bf59f3fa-32d2-4f55-97fc-7b77836ddefc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T025925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc871daa33197667e18afa2b45d5f7d8bc4959757a623403c20676fc761c61ba 02:59:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:25 Dload Upload Total Spent Left Speed 02:59:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12444 --:--:-- --:--:-- --:--:-- 12444 02:59:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] } 02:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:59:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:59:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:26 02:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:27 latest: Pulling from edgex-devops/edgex-snyk-go 02:59:27 619be1103602: Already exists 02:59:27 f8ea3408117e: Pulling fs layer 02:59:27 91320369b822: Pulling fs layer 02:59:27 0406650e8295: Pulling fs layer 02:59:27 4f4fb700ef54: Pulling fs layer 02:59:27 96d80e3f36e1: Pulling fs layer 02:59:27 bcf3aedb951c: Pulling fs layer 02:59:27 4f4fb700ef54: Waiting 02:59:27 bcf3aedb951c: Waiting 02:59:27 96d80e3f36e1: Waiting 02:59:27 0406650e8295: Verifying Checksum 02:59:27 0406650e8295: Download complete 02:59:27 f8ea3408117e: Download complete 02:59:27 4f4fb700ef54: Verifying Checksum 02:59:27 4f4fb700ef54: Download complete 02:59:27 f8ea3408117e: Pull complete 02:59:27 96d80e3f36e1: Verifying Checksum 02:59:27 96d80e3f36e1: Download complete 02:59:27 91320369b822: Verifying Checksum 02:59:27 91320369b822: Download complete 02:59:27 bcf3aedb951c: Verifying Checksum 02:59:27 bcf3aedb951c: Download complete 02:59:30 91320369b822: Pull complete 02:59:30 0406650e8295: Pull complete 02:59:30 4f4fb700ef54: Pull complete 02:59:30 96d80e3f36e1: Pull complete 02:59:34 bcf3aedb951c: Pull complete 02:59:34 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:34 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:59:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/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:59:38 $ docker top 0d6b0fd12a053beee5ba129d8d0881e7f6562a1ffa2f97fc85a1490199af74a9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:59:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:59:38 + set -o pipefail 02:59:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:59:47 02:59:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:59:47 02:59:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/eb41d140-45de-4e0b-afcb-e0af630ac316 02:59:47 02:59:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:59:47 02:59:47 02:59:47 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:59:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:59:47 $ docker stop --time=1 0d6b0fd12a053beee5ba129d8d0881e7f6562a1ffa2f97fc85a1490199af74a9 02:59:52 $ docker rm -f --volumes 0d6b0fd12a053beee5ba129d8d0881e7f6562a1ffa2f97fc85a1490199af74a9 [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:59:53 + git log --format=format:%s -1 a7ea162f49cc88b1fd5543c209327df7c238676c [Pipeline] sh 02:59:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:59:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:53 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 02:59:53 $ 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:59:54 $ docker top c66f1d7dd6ec000b8ccaf6ff76933b184d42935dca991c657ef3430d651ffe8a -eo pid,comm 02:59:54 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:59:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:54 [ssh-agent] Looking for ssh-agent implementation... 02:59:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:54 $ docker exec c66f1d7dd6ec000b8ccaf6ff76933b184d42935dca991c657ef3430d651ffe8a ssh-agent 02:59:54 SSH_AUTH_SOCK=/tmp/ssh-IEGj03VT0YoR/agent.31 02:59:54 SSH_AGENT_PID=37 02:59:54 Running ssh-add (command line suppressed) 02:59:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7374499901131985996.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7374499901131985996.key) 02:59:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:54 + git semver tag 02:59:55 2024-09-09 02:59:55,144 [run_tag] DEBUG tag force:False 02:59:55 2024-09-09 02:59:55,144 [check_head_tag] DEBUG check head tag 02:59:55 2024-09-09 02:59:55,145 [execute] INFO git cat-file --batch-check 02:59:55 2024-09-09 02:59:55,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:59:55 2024-09-09 02:59:55,149 [execute] INFO git cat-file --batch 02:59:55 2024-09-09 02:59:55,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:59:55 2024-09-09 02:59:55,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:55 2024-09-09 02:59:55,167 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 02:59:55 2024-09-09 02:59:55,168 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:59:55 2024-09-09 02:59:55,171 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:55 3.2.0-dev.19 [Pipeline] } 02:59:55 $ docker exec --env ******** --env ******** c66f1d7dd6ec000b8ccaf6ff76933b184d42935dca991c657ef3430d651ffe8a ssh-agent -k 02:59:55 unset SSH_AUTH_SOCK; 02:59:55 unset SSH_AGENT_PID; 02:59:55 echo Agent pid 37 killed; 02:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:59:55 + git semver [Pipeline] } 02:59:55 $ docker stop --time=1 c66f1d7dd6ec000b8ccaf6ff76933b184d42935dca991c657ef3430d651ffe8a 02:59:57 $ docker rm -f --volumes c66f1d7dd6ec000b8ccaf6ff76933b184d42935dca991c657ef3430d651ffe8a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:57 02:59:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:57 0.23.1-centos7: Pulling from edgex-lftools 02:59:57 ab5ef0e58194: Pulling fs layer 02:59:57 9712f1f96733: Pulling fs layer 02:59:57 63f879dbbcfc: Pulling fs layer 02:59:57 0d9ebad4ef96: Pulling fs layer 02:59:57 e9a5061849ea: Pulling fs layer 02:59:57 d747dcd14b5f: Pulling fs layer 02:59:57 2de7ff778b66: Pulling fs layer 02:59:57 0d9ebad4ef96: Waiting 02:59:57 e9a5061849ea: Waiting 02:59:57 d747dcd14b5f: Waiting 02:59:57 2de7ff778b66: Waiting 02:59:57 9712f1f96733: Download complete 02:59:58 63f879dbbcfc: Verifying Checksum 02:59:58 63f879dbbcfc: Download complete 02:59:58 e9a5061849ea: Verifying Checksum 02:59:58 e9a5061849ea: Download complete 02:59:58 d747dcd14b5f: Download complete 02:59:58 ab5ef0e58194: Verifying Checksum 02:59:58 ab5ef0e58194: Download complete 02:59:58 0d9ebad4ef96: Verifying Checksum 02:59:58 0d9ebad4ef96: Download complete 02:59:58 2de7ff778b66: Verifying Checksum 02:59:58 2de7ff778b66: Download complete 03:00:00 ab5ef0e58194: Pull complete 03:00:00 9712f1f96733: Pull complete 03:00:01 63f879dbbcfc: Pull complete 03:00:05 0d9ebad4ef96: Pull complete 03:00:05 e9a5061849ea: Pull complete 03:00:05 d747dcd14b5f: Pull complete 03:00:06 2de7ff778b66: Pull complete 03:00:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:06 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 03:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:00:12 $ docker top a7cf1e7d67a03bfe3f88ac28637c5f6c3ab6a4921222c56c748bfe27308dad4c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:00:12 provisioning config files... 03:00:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8148345001603361753tmp 03:00:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16922351099089980797tmp 03:00:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14110405165680231019tmp [Pipeline] { [Pipeline] echo 03:00:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:00:12 ---> sigul-configuration.sh 03:00:12 gpg: directory `/root/.gnupg' created 03:00:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:00:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:00:12 gpg: keyring `/root/.gnupg/secring.gpg' created 03:00:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:00:12 gpg: CAST5 encrypted data 03:00:12 gpg: encrypted with 1 passphrase 03:00:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:00:12 + mkdir /home/jenkins 03:00:12 + mkdir /home/jenkins/sigul [Pipeline] sh 03:00:13 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:00:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:00:13 ---> sigul-install.sh 03:00:13 Sigul already installed; skipping installation. [Pipeline] sh 03:00:13 + git tag --list 03:00:13 0.7.1 03:00:13 v1.0.0 03:00:13 v1.1.0 03:00:13 v1.1.1 03:00:13 v1.2.2 03:00:13 v1.3.0 03:00:13 v1.3.1 03:00:13 v2.0.0 03:00:13 v2.1.0 03:00:13 v2.1.1 03:00:13 v2.2.0 03:00:13 v2.3.0 03:00:13 v3.0 03:00:13 v3.0.0 03:00:13 v3.1 03:00:13 v3.1.0 03:00:13 v3.1.0-dev.1 03:00:13 v3.1.0-dev.10 03:00:13 v3.1.0-dev.11 03:00:13 v3.1.0-dev.12 03:00:13 v3.1.0-dev.13 03:00:13 v3.1.0-dev.14 03:00:13 v3.1.0-dev.15 03:00:13 v3.1.0-dev.16 03:00:13 v3.1.0-dev.17 03:00:13 v3.1.0-dev.18 03:00:13 v3.1.0-dev.19 03:00:13 v3.1.0-dev.2 03:00:13 v3.1.0-dev.20 03:00:13 v3.1.0-dev.21 03:00:13 v3.1.0-dev.22 03:00:13 v3.1.0-dev.23 03:00:13 v3.1.0-dev.24 03:00:13 v3.1.0-dev.25 03:00:13 v3.1.0-dev.3 03:00:13 v3.1.0-dev.4 03:00:13 v3.1.0-dev.5 03:00:13 v3.1.0-dev.6 03:00:13 v3.1.0-dev.7 03:00:13 v3.1.0-dev.8 03:00:13 v3.1.0-dev.9 03:00:13 v3.1.1 03:00:13 v3.2.0-dev.1 03:00:13 v3.2.0-dev.10 03:00:13 v3.2.0-dev.11 03:00:13 v3.2.0-dev.12 03:00:13 v3.2.0-dev.13 03:00:13 v3.2.0-dev.14 03:00:13 v3.2.0-dev.15 03:00:13 v3.2.0-dev.16 03:00:13 v3.2.0-dev.17 03:00:13 v3.2.0-dev.18 03:00:13 v3.2.0-dev.19 03:00:13 v3.2.0-dev.2 03:00:13 v3.2.0-dev.3 03:00:13 v3.2.0-dev.4 03:00:13 v3.2.0-dev.5 03:00:13 v3.2.0-dev.6 03:00:13 v3.2.0-dev.7 03:00:13 v3.2.0-dev.8 03:00:13 v3.2.0-dev.9 [Pipeline] sh 03:00:14 + lftools sign git-tag v3.2.0-dev.19 03:00:14 Signing Git tag with Sigul... 03:00:14 Signing v3.2.0-dev.19 [Pipeline] echo 03:00:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:00:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:00:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:00:15 $ docker stop --time=1 a7cf1e7d67a03bfe3f88ac28637c5f6c3ab6a4921222c56c748bfe27308dad4c 03:00:16 $ docker rm -f --volumes a7cf1e7d67a03bfe3f88ac28637c5f6c3ab6a4921222c56c748bfe27308dad4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:00:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:17 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 03:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:00:17 $ docker top e86220825ad0ce72fa2707f10f475bb9f6e9c953ccdb040b52ac6136e370648b -eo pid,comm 03:00:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:00:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:17 [ssh-agent] Looking for ssh-agent implementation... 03:00:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:17 $ docker exec e86220825ad0ce72fa2707f10f475bb9f6e9c953ccdb040b52ac6136e370648b ssh-agent 03:00:18 SSH_AUTH_SOCK=/tmp/ssh-GJO8YJU1apU8/agent.33 03:00:18 SSH_AGENT_PID=39 03:00:18 Running ssh-add (command line suppressed) 03:00:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4250164461390711723.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4250164461390711723.key) 03:00:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:18 + git semver bump pre 03:00:18 2024-09-09 03:00:18,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:18 2024-09-09 03:00:18,652 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev 03:00:18 2024-09-09 03:00:18,652 [bump_version] DEBUG bumped version:3.2.0-dev.20 03:00:18 2024-09-09 03:00:18,652 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:00:18 2024-09-09 03:00:18,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:18 2024-09-09 03:00:18,652 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:18 2024-09-09 03:00:18,654 [execute] INFO git cat-file --batch-check 03:00:18 2024-09-09 03:00:18,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:18 2024-09-09 03:00:18,659 [execute] INFO git cat-file --batch 03:00:18 2024-09-09 03:00:18,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:18 2024-09-09 03:00:18,664 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:18 3.2.0-dev.20 [Pipeline] } 03:00:18 $ docker exec --env ******** --env ******** e86220825ad0ce72fa2707f10f475bb9f6e9c953ccdb040b52ac6136e370648b ssh-agent -k 03:00:18 unset SSH_AUTH_SOCK; 03:00:18 unset SSH_AGENT_PID; 03:00:18 echo Agent pid 39 killed; 03:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:19 + git semver [Pipeline] } 03:00:19 $ docker stop --time=1 e86220825ad0ce72fa2707f10f475bb9f6e9c953ccdb040b52ac6136e370648b 03:00:20 $ docker rm -f --volumes e86220825ad0ce72fa2707f10f475bb9f6e9c953ccdb040b52ac6136e370648b [Pipeline] // withDockerContainer [Pipeline] sh 03:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:21 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 03:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:00:21 $ docker top e2516c6b25da549cbd4fba7a3db68a1a46c4de86283dee69837a5acd307e1a33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:22 [ssh-agent] Looking for ssh-agent implementation... 03:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:22 $ docker exec e2516c6b25da549cbd4fba7a3db68a1a46c4de86283dee69837a5acd307e1a33 ssh-agent 03:00:22 SSH_AUTH_SOCK=/tmp/ssh-yRsHbm2RVBUj/agent.31 03:00:22 SSH_AGENT_PID=37 03:00:22 Running ssh-add (command line suppressed) 03:00:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10763093939881794668.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10763093939881794668.key) 03:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:22 + git semver push 03:00:22 2024-09-09 03:00:22,797 [run_push] DEBUG push 03:00:22 2024-09-09 03:00:22,797 [execute] INFO git cat-file --batch-check 03:00:22 2024-09-09 03:00:22,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:22 2024-09-09 03:00:22,801 [execute] INFO git rev-list d0fdc76e46408d8ef2a2a45570c992e15529e195 -- 03:00:22 2024-09-09 03:00:22,801 [execute] DEBUG Popen(['git', 'rev-list', 'd0fdc76e46408d8ef2a2a45570c992e15529e195', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:22 2024-09-09 03:00:22,810 [execute] INFO git fetch -v origin 03:00:22 2024-09-09 03:00:22,810 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:00:23 2024-09-09 03:00:23,253 [run_push] DEBUG no remote changes detected 03:00:23 2024-09-09 03:00:23,253 [execute] INFO git push origin semver 03:00:23 2024-09-09 03:00:23,254 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:24 2024-09-09 03:00:23,918 [run_push] DEBUG push all version tags 03:00:24 2024-09-09 03:00:23,919 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:00:24 2024-09-09 03:00:23,919 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:00:24 2024-09-09 03:00:24,626 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:24 3.2.0-dev.20 [Pipeline] } 03:00:24 $ docker exec --env ******** --env ******** e2516c6b25da549cbd4fba7a3db68a1a46c4de86283dee69837a5acd307e1a33 ssh-agent -k 03:00:25 unset SSH_AUTH_SOCK; 03:00:25 unset SSH_AGENT_PID; 03:00:25 echo Agent pid 37 killed; 03:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:25 + git semver [Pipeline] } 03:00:25 $ docker stop --time=1 e2516c6b25da549cbd4fba7a3db68a1a46c4de86283dee69837a5acd307e1a33 03:00:26 $ docker rm -f --volumes e2516c6b25da549cbd4fba7a3db68a1a46c4de86283dee69837a5acd307e1a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:00:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:00:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:27 total 16 03:00:27 drwxr-xr-x 3 root root 4096 Sep 9 02:48 . 03:00:27 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 03:00 .. 03:00:27 drwxr-xr-x 2 root root 4096 Sep 9 02:48 cost 03:00:27 -rw-r--r-- 1 root root 86 Sep 9 02:48 cost.csv 03:00:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:27 total 16 03:00:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 02:48 . 03:00:27 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 03:00 .. 03:00:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:48 cost 03:00:27 -rw-r--r-- 1 jenkins jenkins 86 Sep 9 02:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:00:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:00:28 ---> package-listing.sh 03:00:28 ++ facter osfamily 03:00:28 ++ tr '[:upper:]' '[:lower:]' 03:00:29 + OS_FAMILY=debian 03:00:29 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:00:29 + START_PACKAGES=/tmp/packages_start.txt 03:00:29 + END_PACKAGES=/tmp/packages_end.txt 03:00:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:00:29 + PACKAGES=/tmp/packages_start.txt 03:00:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:00:29 + PACKAGES=/tmp/packages_end.txt 03:00:29 + case "${OS_FAMILY}" in 03:00:29 + dpkg -l 03:00:29 + grep '^ii' 03:00:29 + '[' -f /tmp/packages_start.txt ']' 03:00:29 + '[' -f /tmp/packages_end.txt ']' 03:00:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:00:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:00:29 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:00:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:00:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:00:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:29 prd-ubuntu20.04-docker-8c-8g-9794 does not seem to be running inside a container 03:00:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:00:30 $ docker top 2acbc89e1677f5370e01e7edf84a4478c182fdf45c5cb074db3d6a69f1c5a625 -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:30 + touch /tmp/pre-build-complete [Pipeline] sh 03:00:30 + mkdir -p /var/log/sysstat [Pipeline] sh 03:00:31 + ls /var/log/sa-host 03:00:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:31 provisioning config files... 03:00:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7960567326672864200tmp [Pipeline] { [Pipeline] echo 03:00:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:00:31 ---> create-netrc.sh [Pipeline] } 03:00:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:00:32 ---> python-tools-install.sh [Pipeline] echo 03:00:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:00:32 ---> sudo-logs.sh 03:00:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:00:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:00:32 ---> job-cost.sh 03:00:32 lf-activate-venv: SKIPPING 03:00:32 DEBUG: total: 0.2199999988079071 03:00:32 INFO: Retrieving Stack Cost... 03:00:32 INFO: Retrieving Pricing Info for: v3-standard-8 03:00:33 INFO: Archiving Costs [Pipeline] echo 03:00:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:00:33 ---> logs-deploy.sh 03:00:33 lf-activate-venv: SKIPPING 03:00:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/174 03:00:33 INFO: archiving workspace using pattern(s): 03:00:34 Archives upload complete. 03:00:34 INFO: archiving logs to Nexus