Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 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-ssh4085769584995032065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7607548065344239161.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12758827795564809030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13355867889217383904.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-ssh4364647969100737592.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-34759’ Running on prd-ubuntu20.04-docker-8c-8g-34761 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 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce (main) Commit message: "Merge pull request #714 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.9" > 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 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce # timeout=10 > git rev-list --no-walk 7bcf2a01f0ca0871350a0480051ec51dd105a569 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:52:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:52:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:52:56 ========================================================= 03:52:56 EdgeX Global Pipelines Version Info 03:52:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:52:57 ------------------- 03:52:57 stable info: 03:52:57 ------------------- 03:52:57 Commited By: Cherry Wang cherry@iotechsys.com 03:52:57 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:52:57 Message: update stable to v1.0.269 03:52:58 ------------------- 03:52:58 experimental info: 03:52:58 ------------------- 03:52:58 Commited By: **** collab-it+edgex@linuxfoundation.org 03:52:58 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:52:58 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 858a887 [Pipeline] echo 03:52:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:58 provisioning config files... 03:52:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3635946173308110484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:59 ---> ****-login.sh 03:52:59 nexus3.edgexfoundry.org:10001 03:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:59 Configure a credential helper to remove this warning. See 03:52:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:59 03:52:59 Login Succeeded 03:52:59 nexus3.edgexfoundry.org:10002 03:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:59 Configure a credential helper to remove this warning. See 03:52:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:59 03:52:59 Login Succeeded 03:52:59 nexus3.edgexfoundry.org:10003 03:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:59 Configure a credential helper to remove this warning. See 03:52:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:59 03:52:59 Login Succeeded 03:52:59 nexus3.edgexfoundry.org:10004 03:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:59 Configure a credential helper to remove this warning. See 03:52:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:59 03:52:59 Login Succeeded 03:52:59 ****.io 03:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:00 Configure a credential helper to remove this warning. See 03:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:00 03:53:00 Login Succeeded 03:53:00 ---> ****-login.sh ends [Pipeline] } 03:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:53:00 + git rev-list -1 --merges 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce~1..858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] echo 03:53:00 -----------> git rev-list -1 --merges 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce~1..858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 03:53:00 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [false] [Pipeline] sh 03:53:00 + git log --format=format:%s -1 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] echo 03:53:00 ========================================================= 03:53:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:53:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:53:01 + git log --format=format:%s -1 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] echo 03:53:01 [semverPrep] GIT_COMMIT: 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce, Commit Message: Merge pull request #714 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.9 [Pipeline] echo 03:53:01 [semverPrep] This is not a build commit. [Pipeline] sh 03:53:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:01 + grep -v github /etc/ssh/ssh_known_hosts 03:53:01 + [ -e /tmp/ssh_known_hosts ] 03:53:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:53:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:53:01 + sudo tee -a /etc/ssh/ssh_known_hosts 03:53:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:01 03:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:02 0.1.4: Pulling from edgex-devops/py-git-semver 03:53:02 b85a868b505f: Pulling fs layer 03:53:02 e2be974225ed: Pulling fs layer 03:53:02 339a4e72a1f5: Pulling fs layer 03:53:02 988bab9f4d93: Pulling fs layer 03:53:02 1469e6f7b9e6: Pulling fs layer 03:53:02 eaf3925da568: Pulling fs layer 03:53:02 bab4dde63d76: Pulling fs layer 03:53:02 bde34c3a00c8: Pulling fs layer 03:53:02 b352a97aabf1: Pulling fs layer 03:53:02 4872d77fe225: Pulling fs layer 03:53:02 5851b861e8e6: Pulling fs layer 03:53:02 bab4dde63d76: Waiting 03:53:02 5851b861e8e6: Waiting 03:53:02 988bab9f4d93: Waiting 03:53:02 4872d77fe225: Waiting 03:53:02 bde34c3a00c8: Waiting 03:53:02 b352a97aabf1: Waiting 03:53:02 1469e6f7b9e6: Waiting 03:53:02 e2be974225ed: Verifying Checksum 03:53:02 e2be974225ed: Download complete 03:53:02 988bab9f4d93: Verifying Checksum 03:53:02 988bab9f4d93: Download complete 03:53:02 1469e6f7b9e6: Verifying Checksum 03:53:02 1469e6f7b9e6: Download complete 03:53:02 339a4e72a1f5: Verifying Checksum 03:53:02 339a4e72a1f5: Download complete 03:53:02 eaf3925da568: Download complete 03:53:02 bde34c3a00c8: Download complete 03:53:02 b352a97aabf1: Verifying Checksum 03:53:02 b352a97aabf1: Download complete 03:53:02 4872d77fe225: Download complete 03:53:02 5851b861e8e6: Verifying Checksum 03:53:02 5851b861e8e6: Download complete 03:53:02 b85a868b505f: Verifying Checksum 03:53:02 b85a868b505f: Download complete 03:53:02 bab4dde63d76: Verifying Checksum 03:53:02 bab4dde63d76: Download complete 03:53:03 b85a868b505f: Pull complete 03:53:03 e2be974225ed: Pull complete 03:53:04 339a4e72a1f5: Pull complete 03:53:04 988bab9f4d93: Pull complete 03:53:04 1469e6f7b9e6: Pull complete 03:53:04 eaf3925da568: Pull complete 03:53:06 bab4dde63d76: Pull complete 03:53:06 bde34c3a00c8: Pull complete 03:53:06 b352a97aabf1: Pull complete 03:53:06 4872d77fe225: Pull complete 03:53:06 5851b861e8e6: Pull complete 03:53:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:06 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 03:53:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:10 $ docker top 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea -eo pid,comm 03:53:10 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:53:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:10 [ssh-agent] Looking for ssh-agent implementation... 03:53:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:10 $ docker exec 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea ssh-agent 03:53:10 SSH_AUTH_SOCK=/tmp/ssh-HpEoUW55ybfV/agent.33 03:53:10 SSH_AGENT_PID=39 03:53:10 Running ssh-add (command line suppressed) 03:53:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7937265588658548298.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7937265588658548298.key) 03:53:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:11 + git tag --points-at HEAD [Pipeline] } 03:53:11 $ docker exec --env ******** --env ******** 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea ssh-agent -k 03:53:11 unset SSH_AUTH_SOCK; 03:53:11 unset SSH_AGENT_PID; 03:53:11 echo Agent pid 39 killed; 03:53:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:53:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:11 [ssh-agent] Looking for ssh-agent implementation... 03:53:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:11 $ docker exec 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea ssh-agent 03:53:11 SSH_AUTH_SOCK=/tmp/ssh-0c3Qja0ZoeQ9/agent.73 03:53:11 SSH_AGENT_PID=79 03:53:11 Running ssh-add (command line suppressed) 03:53:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12540261581284216454.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12540261581284216454.key) 03:53:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:12 + git semver init 03:53:12 2024-12-09 03:53:12,294 [run_init] DEBUG init version:0.0.0 force:False 03:53:12 2024-12-09 03:53:12,295 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:53:12 2024-12-09 03:53:12,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:53:12 2024-12-09 03:53:12,295 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:53:14 2024-12-09 03:53:14,023 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 03:53:14 2024-12-09 03:53:14,024 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 03:53:14 2024-12-09 03:53:14,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:14 2024-12-09 03:53:14,025 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:14 4.0.0-dev.6 [Pipeline] } 03:53:14 $ docker exec --env ******** --env ******** 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea ssh-agent -k 03:53:14 unset SSH_AUTH_SOCK; 03:53:14 unset SSH_AGENT_PID; 03:53:14 echo Agent pid 79 killed; 03:53:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:14 + git semver [Pipeline] } 03:53:15 $ docker stop --time=1 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea 03:53:16 $ docker rm -f --volumes 90c3282498d2f0b2432c7591bdb02558c94e3570ea52d149db148312d54beeea [Pipeline] // withDockerContainer [Pipeline] sh 03:53:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:53:16 Stashed 1 file(s) [Pipeline] echo 03:53:16 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:17 provisioning config files... 03:53:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13785937247308980159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:17 ---> ****-login.sh 03:53:17 nexus3.edgexfoundry.org:10001 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 nexus3.edgexfoundry.org:10002 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 nexus3.edgexfoundry.org:10003 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 nexus3.edgexfoundry.org:10004 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 ****.io 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 ---> ****-login.sh ends [Pipeline] } 03:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:18 ========================================================= 03:53:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:53:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:53:18 Sending build context to Docker daemon 20.98MB 03:53:18 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:53:18 Step 2/12 : FROM ${BASE} AS builder 03:53:18 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:53:18 43c4264eed91: Pulling fs layer 03:53:18 4cc291be95ef: Pulling fs layer 03:53:18 2ac1f1163629: Pulling fs layer 03:53:18 5c3c966382ef: Pulling fs layer 03:53:18 4f4fb700ef54: Pulling fs layer 03:53:18 5d5c8e513c77: Pulling fs layer 03:53:18 5c3c966382ef: Waiting 03:53:18 4f4fb700ef54: Waiting 03:53:18 9f66e0745190: Pulling fs layer 03:53:18 f49a43e4bbc0: Pulling fs layer 03:53:18 561ebcabdf7f: Pulling fs layer 03:53:18 5d5c8e513c77: Waiting 03:53:18 9f66e0745190: Waiting 03:53:18 f49a43e4bbc0: Waiting 03:53:18 561ebcabdf7f: Waiting 03:53:18 4cc291be95ef: Verifying Checksum 03:53:18 4cc291be95ef: Download complete 03:53:18 5c3c966382ef: Verifying Checksum 03:53:18 5c3c966382ef: Download complete 03:53:18 4f4fb700ef54: Verifying Checksum 03:53:18 4f4fb700ef54: Download complete 03:53:18 5d5c8e513c77: Verifying Checksum 03:53:18 5d5c8e513c77: Download complete 03:53:18 43c4264eed91: Verifying Checksum 03:53:18 43c4264eed91: Download complete 03:53:18 9f66e0745190: Verifying Checksum 03:53:18 9f66e0745190: Download complete 03:53:18 43c4264eed91: Pull complete 03:53:18 561ebcabdf7f: Verifying Checksum 03:53:18 561ebcabdf7f: Download complete 03:53:18 4cc291be95ef: Pull complete 03:53:18 2ac1f1163629: Download complete 03:53:19 f49a43e4bbc0: Verifying Checksum 03:53:19 f49a43e4bbc0: Download complete 03:53:22 2ac1f1163629: Pull complete 03:53:22 5c3c966382ef: Pull complete 03:53:22 4f4fb700ef54: Pull complete 03:53:22 5d5c8e513c77: Pull complete 03:53:22 9f66e0745190: Pull complete 03:53:25 f49a43e4bbc0: Pull complete 03:53:25 561ebcabdf7f: Pull complete 03:53:25 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:53:25 ---> 3a752c3f9dda 03:53:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:53:32 Still waiting to schedule task 03:53:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34760’ 03:53:32 ---> Running in 794b4c11248b 03:53:32 Removing intermediate container 794b4c11248b 03:53:32 ---> 3567178aa7f1 03:53:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:53:32 ---> Running in ac79e6db96a6 03:53:32 Removing intermediate container ac79e6db96a6 03:53:32 ---> f11d7e3d518b 03:53:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:53:32 ---> Running in 92a057b3a568 03:53:32 Removing intermediate container 92a057b3a568 03:53:32 ---> 496cba026384 03:53:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:53:32 ---> Running in 818f1ed22281 03:53:32 Removing intermediate container 818f1ed22281 03:53:32 ---> 2d7c7c70cecc 03:53:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:53:32 ---> Running in 854311c5f8c8 03:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:53:32 (1/4) Installing openssh-keygen (9.7_p1-r4) 03:53:32 (2/4) Installing libedit (20240517.3.1-r0) 03:53:32 (3/4) Installing openssh-client-common (9.7_p1-r4) 03:53:32 (4/4) Installing openssh-client-default (9.7_p1-r4) 03:53:32 Executing busybox-1.36.1-r29.trigger 03:53:32 OK: 250 MiB in 58 packages 03:53:32 Removing intermediate container 854311c5f8c8 03:53:32 ---> ad4e928c1e79 03:53:32 Step 8/12 : WORKDIR /device-mqtt-go 03:53:32 ---> Running in 5ec34b787068 03:53:32 Removing intermediate container 5ec34b787068 03:53:32 ---> 51ea803abf60 03:53:32 Step 9/12 : COPY go.mod vendor* ./ 03:53:33 ---> 997afd4ac5cc 03:53:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:53:33 ---> Running in 3d81c3f597de 03:54:19 Removing intermediate container 3d81c3f597de 03:54:19 ---> e8138b0a3460 03:54:19 Step 11/12 : COPY . . 03:54:19 ---> f6a68a130024 03:54:19 Step 12/12 : RUN $MAKE 03:54:19 ---> Running in f27e95c54de1 03:54:19 noop 03:54:19 Removing intermediate container f27e95c54de1 03:54:19 ---> 67b050cfa02a 03:54:19 Successfully built 67b050cfa02a 03:54:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:20 + docker inspect -f . ci-base-image-x86_64 03:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:20 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 03:54:20 $ 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 ******** ci-base-image-x86_64 cat 03:54:20 $ docker top f1913bec3365d0487dff2be0516d6fdd9970ab7f62bb307811acc5e11ad4d062 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:21 + go version 03:54:21 go version go1.23.2 linux/amd64 [Pipeline] } 03:54:21 $ docker stop --time=1 f1913bec3365d0487dff2be0516d6fdd9970ab7f62bb307811acc5e11ad4d062 03:54:22 $ docker rm -f --volumes f1913bec3365d0487dff2be0516d6fdd9970ab7f62bb307811acc5e11ad4d062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:22 + docker inspect -f . ci-base-image-x86_64 03:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:22 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 03:54:22 $ 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 ******** ci-base-image-x86_64 cat 03:54:23 $ docker top 5ccc9ce07b34d01c880d246b5b8e375d8b5eded58f869e8fe72b0d54434bc2d3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 03:54:23 + make test 03:54:23 go test ./... -coverprofile=coverage.out ./... 03:54:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:54:43 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 03:54:43 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 03:54:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 03:54:51 go vet ./... 03:54:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:54:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:54:56 ./bin/test-attribution-txt.sh [Pipeline] echo 03:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:54:56 $ docker stop --time=1 5ccc9ce07b34d01c880d246b5b8e375d8b5eded58f869e8fe72b0d54434bc2d3 03:55:01 $ docker rm -f --volumes 5ccc9ce07b34d01c880d246b5b8e375d8b5eded58f869e8fe72b0d54434bc2d3 [Pipeline] // withDockerContainer [Pipeline] sh 03:55:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:55:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:55:02 + ls -al . 03:55:02 total 252 03:55:02 drwxrwxr-x 9 jenkins jenkins 4096 Dec 9 03:54 . 03:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 03:52 .. 03:55:02 -rw-rw-r-- 1 jenkins jenkins 140 Dec 9 03:52 .dockerignore 03:55:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 03:54 .git 03:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:52 .github 03:55:02 -rw-rw-r-- 1 jenkins jenkins 264 Dec 9 03:52 .gitignore 03:55:02 -rw-rw-r-- 1 jenkins jenkins 41 Dec 9 03:52 .golangci.yml 03:55:02 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 03:53 .semver 03:55:02 -rw-rw-r-- 1 jenkins jenkins 19106 Dec 9 03:52 Attribution.txt 03:55:02 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 9 03:52 CHANGELOG.md 03:55:02 -rw-rw-r-- 1 jenkins jenkins 1803 Dec 9 03:52 Dockerfile 03:55:02 -rw-rw-r-- 1 jenkins jenkins 677 Dec 9 03:52 GOVERNANCE.md 03:55:02 -rw-rw-r-- 1 jenkins jenkins 657 Dec 9 03:52 Jenkinsfile 03:55:02 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 9 03:52 LICENSE 03:55:02 -rw-rw-r-- 1 jenkins jenkins 2545 Dec 9 03:52 Makefile 03:55:02 -rw-rw-r-- 1 jenkins jenkins 620 Dec 9 03:52 OWNERS.md 03:55:02 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 9 03:52 README.md 03:55:02 -rw-rw-r-- 1 jenkins jenkins 11 Dec 9 03:53 VERSION 03:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 03:52 bin 03:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:52 cmd 03:55:02 -rw-r--r-- 1 jenkins jenkins 21039 Dec 9 03:54 coverage.out 03:55:02 -rw-rw-r-- 1 jenkins jenkins 6266 Dec 9 03:52 go.mod 03:55:02 -rw-rw-r-- 1 jenkins jenkins 87150 Dec 9 03:52 go.sum 03:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:52 internal 03:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 03:52 mock 03:55:02 -rw-rw-r-- 1 jenkins jenkins 227 Dec 9 03:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:03 + 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=858a887cbaf8a0b5761b88e9c26f4f16d121c8ce --label arch=amd64 --label version=4.0.0-dev.6 . 03:55:03 Sending build context to Docker daemon 21MB 03:55:03 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 03:55:03 Step 2/25 : FROM ${BASE} AS builder 03:55:03 ---> 67b050cfa02a 03:55:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:55:03 ---> Running in 2999b2e391e4 03:55:03 Removing intermediate container 2999b2e391e4 03:55:03 ---> 50f3a35c8824 03:55:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:03 ---> Running in 7772c772d898 03:55:03 Removing intermediate container 7772c772d898 03:55:03 ---> ec073e71cb77 03:55:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:55:03 ---> Running in a3a943ea29c6 03:55:03 Removing intermediate container a3a943ea29c6 03:55:03 ---> dbf71e9d06db 03:55:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:55:03 ---> Running in 6656ce25f566 03:55:03 Removing intermediate container 6656ce25f566 03:55:03 ---> 8eb090a94e87 03:55:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:03 ---> Running in 0af37b08e8eb 03:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:55:04 OK: 250 MiB in 58 packages 03:55:04 Removing intermediate container 0af37b08e8eb 03:55:04 ---> 59fbc4a5f49e 03:55:04 Step 8/25 : WORKDIR /device-mqtt-go 03:55:04 ---> Running in 1bf2ece811b0 03:55:04 Removing intermediate container 1bf2ece811b0 03:55:04 ---> 8fe304ae8050 03:55:04 Step 9/25 : COPY go.mod vendor* ./ 03:55:05 ---> 35310fd18782 03:55:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:05 ---> Running in fd73cd618fc1 03:55:05 Removing intermediate container fd73cd618fc1 03:55:05 ---> 633c855a5b46 03:55:05 Step 11/25 : COPY . . 03:55:06 ---> 120b20baf97a 03:55:06 Step 12/25 : RUN $MAKE 03:55:06 ---> Running in f123cb2f216e 03:55:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:55:39 Removing intermediate container f123cb2f216e 03:55:39 ---> 3634a7ae5e51 03:55:39 Step 13/25 : FROM alpine:3.20 03:55:39 3.20: Pulling from library/alpine 03:55:39 da9db072f522: Pulling fs layer 03:55:39 da9db072f522: Verifying Checksum 03:55:39 da9db072f522: Download complete 03:55:39 da9db072f522: Pull complete 03:55:39 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 03:55:39 Status: Downloaded newer image for alpine:3.20 03:55:39 ---> 63b790fccc90 03:55:39 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 03:55:39 ---> Running in 79483addbe48 03:55:39 Removing intermediate container 79483addbe48 03:55:39 ---> da5c82decb93 03:55:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:55:39 ---> Running in bf7b15cf90a4 03:55:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:55:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:55:40 (1/1) Installing dumb-init (1.2.5-r3) 03:55:40 Executing busybox-1.36.1-r29.trigger 03:55:40 OK: 8 MiB in 15 packages 03:55:40 Removing intermediate container bf7b15cf90a4 03:55:40 ---> aac08b19de20 03:55:40 Step 16/25 : RUN apk --no-cache upgrade 03:55:40 ---> Running in a0c6d44e3057 03:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:55:41 Upgrading critical system libraries and apk-tools: 03:55:41 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:55:41 Executing busybox-1.36.1-r29.trigger 03:55:41 Continuing the upgrade transaction with new apk-tools: 03:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:55:41 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:55:41 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:55:41 OK: 8 MiB in 15 packages 03:55:42 Removing intermediate container a0c6d44e3057 03:55:42 ---> 6e170706b554 03:55:42 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:55:43 ---> 4f658f00143d 03:55:43 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:55:43 ---> cf422f9b0c99 03:55:43 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:55:43 ---> 13f2ddefcd3a 03:55:43 Step 20/25 : EXPOSE 59982 03:55:43 ---> Running in 44acd50b2dd7 03:55:44 Removing intermediate container 44acd50b2dd7 03:55:44 ---> 88929212bdbd 03:55:44 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:55:44 ---> Running in 7bdb1507add9 03:55:44 Removing intermediate container 7bdb1507add9 03:55:44 ---> b86b52909b7e 03:55:44 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:55:44 ---> Running in c79770957f68 03:55:44 Removing intermediate container c79770957f68 03:55:44 ---> c30602586652 03:55:44 Step 23/25 : LABEL arch=amd64 03:55:44 ---> Running in 413993fe3dc1 03:55:44 Removing intermediate container 413993fe3dc1 03:55:44 ---> 190c0236d665 03:55:44 Step 24/25 : LABEL git_sha=858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 03:55:44 ---> Running in 26f55720693c 03:55:44 Removing intermediate container 26f55720693c 03:55:44 ---> 98176f60aae0 03:55:44 Step 25/25 : LABEL version=4.0.0-dev.6 03:55:44 ---> Running in f7090ef73792 03:55:44 Removing intermediate container f7090ef73792 03:55:44 ---> c7a99e56d22f 03:55:44 [Warning] One or more build-args [ARCH] were not consumed 03:55:44 Successfully built c7a99e56d22f 03:55:44 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:44 provisioning config files... 03:55:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11027864690574645446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:44 ---> ****-login.sh 03:55:44 nexus3.edgexfoundry.org:10001 03:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:44 Configure a credential helper to remove this warning. See 03:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:44 03:55:44 Login Succeeded 03:55:44 nexus3.edgexfoundry.org:10002 03:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:44 Configure a credential helper to remove this warning. See 03:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:44 03:55:44 Login Succeeded 03:55:44 nexus3.edgexfoundry.org:10003 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 nexus3.edgexfoundry.org:10004 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 ****.io 03:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:45 Configure a credential helper to remove this warning. See 03:55:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:45 03:55:45 Login Succeeded 03:55:45 ---> ****-login.sh ends [Pipeline] } 03:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:55:45 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:55:45 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 03:55:45 latest 03:55:45 4.0.0-dev.6 03:55:45 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 03:55:45 main 03:55:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 03:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:55:46 990ca8e63e03: Preparing 03:55:46 842e57995b37: Preparing 03:55:46 7c979f58a13a: Preparing 03:55:46 923fb08ca1ed: Preparing 03:55:46 67e583eae09b: Preparing 03:55:46 75654b8eeebd: Preparing 03:55:46 75654b8eeebd: Waiting 03:55:46 842e57995b37: Pushed 03:55:46 67e583eae09b: Pushed 03:55:46 990ca8e63e03: Pushed 03:55:46 75654b8eeebd: Layer already exists 03:55:46 923fb08ca1ed: Pushed 03:55:51 7c979f58a13a: Pushed 03:55:51 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce: digest: sha256:1d5788ffc846b4f0eaf199ea7b90a44329be389b8b65e1f8a91cdb9289319e25 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:55:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:55:51 990ca8e63e03: Preparing 03:55:51 842e57995b37: Preparing 03:55:51 7c979f58a13a: Preparing 03:55:51 923fb08ca1ed: Preparing 03:55:51 67e583eae09b: Preparing 03:55:51 75654b8eeebd: Preparing 03:55:51 75654b8eeebd: Waiting 03:55:51 990ca8e63e03: Layer already exists 03:55:51 7c979f58a13a: Layer already exists 03:55:51 923fb08ca1ed: Layer already exists 03:55:51 842e57995b37: Layer already exists 03:55:51 67e583eae09b: Layer already exists 03:55:51 75654b8eeebd: Layer already exists 03:55:51 latest: digest: sha256:1d5788ffc846b4f0eaf199ea7b90a44329be389b8b65e1f8a91cdb9289319e25 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.6 03:55:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:55:52 990ca8e63e03: Preparing 03:55:52 842e57995b37: Preparing 03:55:52 7c979f58a13a: Preparing 03:55:52 923fb08ca1ed: Preparing 03:55:52 67e583eae09b: Preparing 03:55:52 75654b8eeebd: Preparing 03:55:52 75654b8eeebd: Waiting 03:55:52 7c979f58a13a: Layer already exists 03:55:52 842e57995b37: Layer already exists 03:55:52 67e583eae09b: Layer already exists 03:55:52 923fb08ca1ed: Layer already exists 03:55:52 990ca8e63e03: Layer already exists 03:55:52 75654b8eeebd: Layer already exists 03:55:52 4.0.0-dev.6: digest: sha256:1d5788ffc846b4f0eaf199ea7b90a44329be389b8b65e1f8a91cdb9289319e25 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 03:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:55:53 990ca8e63e03: Preparing 03:55:53 842e57995b37: Preparing 03:55:53 7c979f58a13a: Preparing 03:55:53 923fb08ca1ed: Preparing 03:55:53 67e583eae09b: Preparing 03:55:53 75654b8eeebd: Preparing 03:55:53 75654b8eeebd: Waiting 03:55:53 923fb08ca1ed: Layer already exists 03:55:53 7c979f58a13a: Layer already exists 03:55:53 67e583eae09b: Layer already exists 03:55:53 842e57995b37: Layer already exists 03:55:53 990ca8e63e03: Layer already exists 03:55:53 75654b8eeebd: Layer already exists 03:55:53 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6: digest: sha256:1d5788ffc846b4f0eaf199ea7b90a44329be389b8b65e1f8a91cdb9289319e25 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:55:53 990ca8e63e03: Preparing 03:55:53 842e57995b37: Preparing 03:55:53 7c979f58a13a: Preparing 03:55:53 923fb08ca1ed: Preparing 03:55:53 67e583eae09b: Preparing 03:55:53 75654b8eeebd: Preparing 03:55:53 75654b8eeebd: Waiting 03:55:53 990ca8e63e03: Layer already exists 03:55:53 923fb08ca1ed: Layer already exists 03:55:53 67e583eae09b: Layer already exists 03:55:53 7c979f58a13a: Layer already exists 03:55:53 842e57995b37: Layer already exists 03:55:53 75654b8eeebd: Layer already exists 03:55:53 main: digest: sha256:1d5788ffc846b4f0eaf199ea7b90a44329be389b8b65e1f8a91cdb9289319e25 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:55:53 ===================================================== [Pipeline] echo 03:55:53 taggedImages: 03:55:53 - nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 03:55:53 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:55:53 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.6 03:55:53 - nexus3.edgexfoundry.org:10004/device-mqtt:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 03:55:53 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:54 03:55:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:54 latest: Pulling from edgex-lftools-log-publisher 03:55:54 5eb5b503b376: Pulling fs layer 03:55:54 5c69ac0246d0: Pulling fs layer 03:55:54 ec43610c2a17: Pulling fs layer 03:55:54 3a2ae6a8a46f: Pulling fs layer 03:55:54 33b1e0a273af: Pulling fs layer 03:55:54 5d3b04190fa2: Pulling fs layer 03:55:54 2f39f015ded8: Pulling fs layer 03:55:54 33b1e0a273af: Waiting 03:55:54 2f39f015ded8: Waiting 03:55:54 5d3b04190fa2: Waiting 03:55:54 3a2ae6a8a46f: Waiting 03:55:54 5c69ac0246d0: Verifying Checksum 03:55:54 5c69ac0246d0: Download complete 03:55:54 3a2ae6a8a46f: Verifying Checksum 03:55:54 3a2ae6a8a46f: Download complete 03:55:54 33b1e0a273af: Verifying Checksum 03:55:54 33b1e0a273af: Download complete 03:55:54 ec43610c2a17: Verifying Checksum 03:55:54 ec43610c2a17: Download complete 03:55:54 5d3b04190fa2: Download complete 03:55:54 5eb5b503b376: Verifying Checksum 03:55:54 5eb5b503b376: Download complete 03:55:55 2f39f015ded8: Download complete 03:55:56 5eb5b503b376: Pull complete 03:55:56 5c69ac0246d0: Pull complete 03:55:56 ec43610c2a17: Pull complete 03:55:56 3a2ae6a8a46f: Pull complete 03:55:56 33b1e0a273af: Pull complete 03:55:56 5d3b04190fa2: Pull complete 03:56:01 2f39f015ded8: Pull complete 03:56:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:01 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 03:56:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:56:06 $ docker top efc5d49303c1e0fb83b33d274bf979b18b6dc0d2a080513e24a1da5371357f2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:06 ---> job-cost.sh 03:56:06 lf-activate-venv: SKIPPING 03:56:06 INFO: No Stack... 03:56:07 INFO: Retrieving Pricing Info for: v3-standard-8 03:56:07 INFO: Archiving Costs [Pipeline] sh 03:56:07 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:56:07 + cut -d, -f6 [Pipeline] lock 03:56:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] 03:56:07 Resource [jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] did not exist. Created. 03:56:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:08 + echo total: 0.2199999988079071 [Pipeline] stash 03:56:08 Stashed 1 file(s) [Pipeline] } 03:56:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 03:56:08 $ docker stop --time=1 efc5d49303c1e0fb83b33d274bf979b18b6dc0d2a080513e24a1da5371357f2e 03:56:09 $ docker rm -f --volumes efc5d49303c1e0fb83b33d274bf979b18b6dc0d2a080513e24a1da5371357f2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:57:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34762 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:57:00 Running in /w/workspace/device-mqtt-go/184 [Pipeline] { [Pipeline] checkout 03:57:00 The recommended git tool is: git 03:57:08 using credential edgex-jenkins-ssh 03:57:08 Cloning the remote Git repository 03:57:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:57:08 > git init /w/workspace/device-mqtt-go/184 # timeout=10 03:57:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:57:08 > git --version # timeout=10 03:57:08 > git --version # 'git version 2.25.1' 03:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:13 Avoid second fetch 03:57:13 Checking out Revision 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce (main) 03:57:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:57:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:13 > git config core.sparsecheckout # timeout=10 03:57:13 > git checkout -f 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce # timeout=10 03:57:14 Commit message: "Merge pull request #714 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:57:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:57:19 % Total % Received % Xferd Average Speed Time Time Time Current 03:57:19 Dload Upload Total Spent Left Speed 03:57:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 03:57:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:57:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:57:19 + sudo tee /etc/docker/daemon.new 03:57:19 { 03:57:19 "registry-mirrors": [ 03:57:19 "https://nexus3.edgexfoundry.org:10001" 03:57:19 ], 03:57:19 "bip": "10.250.0.254/24", 03:57:19 "hosts": [ 03:57:19 "tcp://0.0.0.0:5555", 03:57:19 "unix:///var/run/docker.sock" 03:57:19 ], 03:57:19 "mtu": 1458, 03:57:19 "selinux-enabled": true, 03:57:19 "seccomp-profile": "/etc/docker/seccomp.json" 03:57:19 } [Pipeline] sh 03:57:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:57:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:38 provisioning config files... 03:57:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/184@tmp/config7900381533733926008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:39 ---> ****-login.sh 03:57:39 nexus3.edgexfoundry.org:10001 03:57:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:57:39 Configure a credential helper to remove this warning. See 03:57:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:57:39 03:57:39 Login Succeeded 03:57:39 nexus3.edgexfoundry.org:10002 03:57:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:57:39 Configure a credential helper to remove this warning. See 03:57:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:57:39 03:57:39 Login Succeeded 03:57:39 nexus3.edgexfoundry.org:10003 03:57:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:57:40 Configure a credential helper to remove this warning. See 03:57:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:57:40 03:57:40 Login Succeeded 03:57:40 nexus3.edgexfoundry.org:10004 03:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:57:40 Configure a credential helper to remove this warning. See 03:57:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:57:40 03:57:40 Login Succeeded 03:57:40 ****.io 03:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:57:40 Configure a credential helper to remove this warning. See 03:57:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:57:40 03:57:40 Login Succeeded 03:57:40 ---> ****-login.sh ends [Pipeline] } 03:57:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:57:41 ========================================================= 03:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:57:42 #0 building with "default" instance using docker driver 03:57:42 03:57:42 #1 [internal] load build definition from Dockerfile 03:57:42 #1 transferring dockerfile: 1.84kB 0.0s done 03:57:42 #1 DONE 0.1s 03:57:42 03:57:42 #2 [internal] load .dockerignore 03:57:42 #2 transferring context: 182B done 03:57:42 #2 DONE 0.1s 03:57:42 03:57:42 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:57:42 #3 DONE 0.1s 03:57:43 03:57:43 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:57:43 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 0.0s done 03:57:43 #4 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 293.52kB / 293.52kB 0.1s done 03:57:43 #4 sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 1.99kB / 1.99kB done 03:57:43 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s 03:57:43 #4 sha256:be29e6b0f0d48c82f8b7b9eee484c4dc135732b9e314d3ddccdbbf7107de97ad 5.39kB / 5.39kB done 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 0B / 70.64MB 0.1s 03:57:43 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s done 03:57:43 #4 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s done 03:57:43 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 03:57:43 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 10.49MB / 70.64MB 0.4s 03:57:43 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s done 03:57:43 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 03:57:43 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.05MB / 12.73MB 0.4s 03:57:43 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 2.10MB / 95.52MB 0.4s 03:57:43 #4 ... 03:57:43 03:57:43 #5 [internal] load build context 03:57:43 #5 transferring context: 10.48MB 0.4s done 03:57:43 #5 DONE 0.5s 03:57:43 03:57:43 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 14.68MB / 70.64MB 0.5s 03:57:43 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 4.19MB / 12.73MB 0.5s 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 19.36MB / 70.64MB 0.6s 03:57:43 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 8.13MB / 12.73MB 0.6s 03:57:43 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 9.78MB / 95.52MB 0.6s 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 29.34MB / 70.64MB 0.8s 03:57:43 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 0.5s done 03:57:43 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 11.91MB / 12.73MB 0.7s 03:57:43 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 17.83MB / 95.52MB 0.8s 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 34.60MB / 70.64MB 0.9s 03:57:43 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.7s done 03:57:43 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 23.07MB / 95.52MB 0.9s 03:57:43 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 38.80MB / 70.64MB 1.0s 03:57:43 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 28.31MB / 95.52MB 1.0s 03:57:43 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.1s 03:57:44 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 48.23MB / 70.64MB 1.2s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 38.80MB / 95.52MB 1.2s 03:57:44 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.2s done 03:57:44 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 53.48MB / 70.64MB 1.3s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 44.04MB / 95.52MB 1.3s 03:57:44 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 62.76MB / 70.64MB 1.5s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 52.43MB / 95.52MB 1.5s 03:57:44 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 68.16MB / 70.64MB 1.6s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 57.67MB / 95.52MB 1.6s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 63.77MB / 95.52MB 1.7s 03:57:44 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.7s done 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 74.45MB / 95.52MB 1.9s 03:57:44 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 79.69MB / 95.52MB 2.0s 03:57:44 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 84.93MB / 95.52MB 2.1s 03:57:45 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 90.80MB / 95.52MB 2.2s 03:57:45 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.4s done 03:57:52 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.5s 03:57:56 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.5s 03:58:04 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 19.5s done 03:58:05 #4 extracting sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea done 03:58:05 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 03:58:05 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 03:58:05 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 done 03:58:05 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 03:58:11 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 5.1s 03:58:13 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 8.0s done 03:58:14 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 03:58:16 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 2.4s done 03:58:17 #4 DONE 34.1s 03:58:17 03:58:17 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 03:58:17 #6 0.798 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:58:18 #6 1.189 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:58:20 #6 2.912 (1/4) Installing openssh-keygen (9.7_p1-r4) 03:58:20 #6 2.938 (2/4) Installing libedit (20240517.3.1-r0) 03:58:20 #6 2.951 (3/4) Installing openssh-client-common (9.7_p1-r4) 03:58:20 #6 3.021 (4/4) Installing openssh-client-default (9.7_p1-r4) 03:58:20 #6 3.048 Executing busybox-1.36.1-r29.trigger 03:58:20 #6 3.085 OK: 242 MiB in 58 packages 03:58:22 #6 DONE 5.1s 03:58:22 03:58:22 #7 [builder 3/7] WORKDIR /device-mqtt-go 03:58:22 #7 DONE 0.1s 03:58:22 03:58:22 #8 [builder 4/7] COPY go.mod vendor* ./ 03:58:22 #8 DONE 0.1s 03:58:22 03:58:22 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:59:01 #9 DONE 35.2s 03:59:01 03:59:01 #10 [builder 6/7] COPY . . 03:59:01 #10 DONE 0.3s 03:59:01 03:59:01 #11 [builder 7/7] RUN echo noop 03:59:01 #11 0.616 noop 03:59:01 #11 DONE 0.7s 03:59:01 03:59:01 #12 exporting to image 03:59:01 #12 exporting layers 03:59:40 #12 exporting layers 35.6s done 03:59:40 #12 writing image sha256:9676275fdc605301d0bb35173e2c7c53375d597750a38aedc7232a15b54cfdb5 done 03:59:40 #12 naming to docker.io/library/ci-base-image-arm64 done 03:59:40 #12 DONE 35.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:40 + docker inspect -f . ci-base-image-arm64 03:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:40 prd-ubuntu20.04-docker-arm64-4c-16g-34762 does not seem to be running inside a container 03:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/184 -v /w/workspace/device-mqtt-go/184:/w/workspace/device-mqtt-go/184:rw,z -v /w/workspace/device-mqtt-go/184@tmp:/w/workspace/device-mqtt-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:41 $ docker top bdb853683fdb99d90cda5be8ac96033f114ff4627beae993b322b6c72cd0ac49 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:42 + go version 03:59:42 go version go1.23.2 linux/arm64 [Pipeline] } 03:59:42 $ docker stop --time=1 bdb853683fdb99d90cda5be8ac96033f114ff4627beae993b322b6c72cd0ac49 03:59:44 $ docker rm -f --volumes bdb853683fdb99d90cda5be8ac96033f114ff4627beae993b322b6c72cd0ac49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:44 + docker inspect -f . ci-base-image-arm64 03:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:44 prd-ubuntu20.04-docker-arm64-4c-16g-34762 does not seem to be running inside a container 03:59:45 $ 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/184 -v /w/workspace/device-mqtt-go/184:/w/workspace/device-mqtt-go/184:rw,z -v /w/workspace/device-mqtt-go/184@tmp:/w/workspace/device-mqtt-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:45 $ docker top 55466169e1d1b9772cde5ef7a76be90c41288db618d17b8d7f75b839688865d7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:46 + git config --global --add safe.directory /w/workspace/device-mqtt-go/184 [Pipeline] fileExists [Pipeline] sh 03:59:46 + make test 03:59:46 go test ./... -coverprofile=coverage.out ./... 03:59:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:01:45 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 04:01:45 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 04:01:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements 04:01:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:45 go vet ./... 04:02:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:12 ./bin/test-attribution-txt.sh [Pipeline] echo 04:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:02:12 $ docker stop --time=1 55466169e1d1b9772cde5ef7a76be90c41288db618d17b8d7f75b839688865d7 04:02:14 $ docker rm -f --volumes 55466169e1d1b9772cde5ef7a76be90c41288db618d17b8d7f75b839688865d7 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:16 Warning: overwriting stash ‘coverage-report’ 04:02:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:17 + ls -al . 04:02:17 total 248 04:02:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 03:59 . 04:02:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 03:57 .. 04:02:17 -rw-rw-r-- 1 jenkins jenkins 140 Dec 9 03:57 .dockerignore 04:02:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 03:57 .git 04:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:57 .github 04:02:17 -rw-rw-r-- 1 jenkins jenkins 264 Dec 9 03:57 .gitignore 04:02:17 -rw-rw-r-- 1 jenkins jenkins 41 Dec 9 03:57 .golangci.yml 04:02:17 -rw-rw-r-- 1 jenkins jenkins 19106 Dec 9 03:57 Attribution.txt 04:02:17 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 9 03:57 CHANGELOG.md 04:02:17 -rw-rw-r-- 1 jenkins jenkins 1803 Dec 9 03:57 Dockerfile 04:02:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 9 03:57 GOVERNANCE.md 04:02:17 -rw-rw-r-- 1 jenkins jenkins 657 Dec 9 03:57 Jenkinsfile 04:02:17 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 9 03:57 LICENSE 04:02:17 -rw-rw-r-- 1 jenkins jenkins 2545 Dec 9 03:57 Makefile 04:02:17 -rw-rw-r-- 1 jenkins jenkins 620 Dec 9 03:57 OWNERS.md 04:02:17 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 9 03:57 README.md 04:02:17 -rw-rw-r-- 1 jenkins jenkins 11 Dec 9 03:53 VERSION 04:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 03:57 bin 04:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:57 cmd 04:02:17 -rw-r--r-- 1 jenkins jenkins 21039 Dec 9 04:01 coverage.out 04:02:17 -rw-rw-r-- 1 jenkins jenkins 6266 Dec 9 03:57 go.mod 04:02:17 -rw-rw-r-- 1 jenkins jenkins 87150 Dec 9 03:57 go.sum 04:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 03:57 internal 04:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 03:57 mock 04:02:17 -rw-rw-r-- 1 jenkins jenkins 227 Dec 9 03:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:17 + 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=858a887cbaf8a0b5761b88e9c26f4f16d121c8ce --label arch=arm64 --label version=4.0.0-dev.6 . 04:02:18 #0 building with "default" instance using docker driver 04:02:18 04:02:18 #1 [internal] load build definition from Dockerfile 04:02:18 #1 transferring dockerfile: 1.84kB 0.0s done 04:02:18 #1 DONE 0.0s 04:02:18 04:02:18 #2 [internal] load .dockerignore 04:02:18 #2 transferring context: 182B 0.0s done 04:02:18 #2 DONE 0.0s 04:02:18 04:02:18 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:02:18 #3 DONE 0.0s 04:02:18 04:02:18 #4 [internal] load metadata for docker.io/library/alpine:3.20 04:02:18 #4 DONE 0.3s 04:02:18 04:02:18 #5 [internal] load build context 04:02:18 #5 transferring context: 28.23kB 0.1s done 04:02:18 #5 DONE 0.1s 04:02:18 04:02:18 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 04:02:18 #6 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done 04:02:18 #6 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done 04:02:18 #6 sha256:ea3c5a9671f7b3f7eb47eab06f73bc6591df978b0d5955689a9e6f943aa368c0 1.02kB / 1.02kB done 04:02:18 #6 sha256:511a44083d3a23416fadc62847c45d14c25cbace86e7a72b2b350436978a0450 616B / 616B done 04:02:18 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 2.10MB / 4.09MB 0.1s 04:02:18 #6 ... 04:02:18 04:02:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:02:18 #7 DONE 0.2s 04:02:18 04:02:18 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 04:02:18 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.1s done 04:02:18 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 04:02:19 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 04:02:19 #6 DONE 1.0s 04:02:19 04:02:19 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 04:02:20 #8 0.625 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:02:20 #8 0.922 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:02:21 #8 ... 04:02:21 04:02:21 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 04:02:21 #9 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:02:21 #9 1.125 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:02:21 #9 2.492 OK: 242 MiB in 58 packages 04:02:21 #9 DONE 2.8s 04:02:21 04:02:21 #10 [builder 3/7] WORKDIR /device-mqtt-go 04:02:21 #10 DONE 0.1s 04:02:21 04:02:21 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 04:02:21 #8 2.196 (1/1) Installing dumb-init (1.2.5-r3) 04:02:21 #8 2.210 Executing busybox-1.36.1-r29.trigger 04:02:21 #8 2.241 OK: 9 MiB in 15 packages 04:02:21 #8 ... 04:02:21 04:02:21 #11 [builder 4/7] COPY go.mod vendor* ./ 04:02:21 #11 DONE 0.2s 04:02:22 04:02:22 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:22 #12 ... 04:02:22 04:02:22 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 04:02:22 #8 DONE 2.6s 04:02:22 04:02:22 #13 [stage-1 3/6] RUN apk --no-cache upgrade 04:02:22 #13 0.712 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:02:23 #13 1.018 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:02:23 #13 ... 04:02:23 04:02:23 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:23 #12 DONE 1.4s 04:02:23 04:02:23 #14 [builder 6/7] COPY . . 04:02:23 #14 DONE 0.4s 04:02:23 04:02:23 #15 [builder 7/7] RUN make build 04:02:24 #15 0.679 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 04:02:27 #15 ... 04:02:27 04:02:27 #13 [stage-1 3/6] RUN apk --no-cache upgrade 04:02:27 #13 2.413 Upgrading critical system libraries and apk-tools: 04:02:27 #13 2.413 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:02:27 #13 2.431 Executing busybox-1.36.1-r29.trigger 04:02:27 #13 2.720 Continuing the upgrade transaction with new apk-tools: 04:02:27 #13 2.743 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:02:27 #13 3.059 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:02:27 #13 4.392 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:02:27 #13 4.517 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:02:27 #13 4.546 OK: 9 MiB in 15 packages 04:02:27 #13 DONE 4.9s 04:02:27 04:02:27 #15 [builder 7/7] RUN make build 04:04:33 #15 DONE 120.4s 04:04:33 04:04:33 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 04:04:33 #16 DONE 0.4s 04:04:33 04:04:33 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 04:04:33 #17 DONE 0.1s 04:04:33 04:04:33 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 04:04:33 #18 DONE 0.1s 04:04:33 04:04:33 #19 exporting to image 04:04:33 #19 exporting layers 04:04:33 #19 exporting layers 0.6s done 04:04:33 #19 writing image sha256:1e034b87b32579091bdae470d00b90ad8baab62a779ccdd626a641ea7e012e54 done 04:04:33 #19 naming to docker.io/library/device-mqtt-arm64 done 04:04:33 #19 DONE 0.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:33 provisioning config files... 04:04:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/184@tmp/config12289988589013675961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:34 ---> ****-login.sh 04:04:34 nexus3.edgexfoundry.org:10001 04:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:34 Configure a credential helper to remove this warning. See 04:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:34 04:04:34 Login Succeeded 04:04:34 nexus3.edgexfoundry.org:10002 04:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:34 Configure a credential helper to remove this warning. See 04:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:34 04:04:34 Login Succeeded 04:04:34 nexus3.edgexfoundry.org:10003 04:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:35 Configure a credential helper to remove this warning. See 04:04:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:35 04:04:35 Login Succeeded 04:04:35 nexus3.edgexfoundry.org:10004 04:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:35 Configure a credential helper to remove this warning. See 04:04:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:35 04:04:35 Login Succeeded 04:04:35 ****.io 04:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:35 Configure a credential helper to remove this warning. See 04:04:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:35 04:04:35 Login Succeeded 04:04:35 ---> ****-login.sh ends [Pipeline] } 04:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:04:35 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:04:35 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 04:04:35 latest 04:04:35 4.0.0-dev.6 04:04:35 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 04:04:35 main 04:04:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 04:04:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:04:36 6c7c38c00368: Preparing 04:04:36 95c675312fc1: Preparing 04:04:36 09571505cc20: Preparing 04:04:36 20529d91e997: Preparing 04:04:36 d752625f2b70: Preparing 04:04:36 651d9022c234: Preparing 04:04:36 651d9022c234: Waiting 04:04:36 95c675312fc1: Pushed 04:04:36 6c7c38c00368: Pushed 04:04:36 d752625f2b70: Pushed 04:04:36 651d9022c234: Layer already exists 04:04:38 20529d91e997: Pushed 04:04:46 09571505cc20: Pushed 04:04:46 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce: digest: sha256:37020014344633233c3569f4efe61264f3c9696595f6b72e809d0832aebe6af5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:04:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:04:46 6c7c38c00368: Preparing 04:04:46 95c675312fc1: Preparing 04:04:46 09571505cc20: Preparing 04:04:46 20529d91e997: Preparing 04:04:46 d752625f2b70: Preparing 04:04:46 651d9022c234: Preparing 04:04:46 651d9022c234: Waiting 04:04:46 09571505cc20: Layer already exists 04:04:46 6c7c38c00368: Layer already exists 04:04:46 d752625f2b70: Layer already exists 04:04:46 95c675312fc1: Layer already exists 04:04:46 20529d91e997: Layer already exists 04:04:46 651d9022c234: Layer already exists 04:04:47 latest: digest: sha256:37020014344633233c3569f4efe61264f3c9696595f6b72e809d0832aebe6af5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.6 04:04:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:04:47 6c7c38c00368: Preparing 04:04:47 95c675312fc1: Preparing 04:04:47 09571505cc20: Preparing 04:04:47 20529d91e997: Preparing 04:04:47 d752625f2b70: Preparing 04:04:47 651d9022c234: Preparing 04:04:47 651d9022c234: Waiting 04:04:47 d752625f2b70: Layer already exists 04:04:47 09571505cc20: Layer already exists 04:04:47 95c675312fc1: Layer already exists 04:04:47 20529d91e997: Layer already exists 04:04:47 6c7c38c00368: Layer already exists 04:04:47 651d9022c234: Layer already exists 04:04:48 4.0.0-dev.6: digest: sha256:37020014344633233c3569f4efe61264f3c9696595f6b72e809d0832aebe6af5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 04:04:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:04:48 6c7c38c00368: Preparing 04:04:48 95c675312fc1: Preparing 04:04:48 09571505cc20: Preparing 04:04:48 20529d91e997: Preparing 04:04:48 d752625f2b70: Preparing 04:04:48 651d9022c234: Preparing 04:04:48 651d9022c234: Waiting 04:04:48 20529d91e997: Layer already exists 04:04:48 6c7c38c00368: Layer already exists 04:04:48 95c675312fc1: Layer already exists 04:04:48 09571505cc20: Layer already exists 04:04:48 d752625f2b70: Layer already exists 04:04:48 651d9022c234: Layer already exists 04:04:49 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6: digest: sha256:37020014344633233c3569f4efe61264f3c9696595f6b72e809d0832aebe6af5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:04:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:04:49 6c7c38c00368: Preparing 04:04:49 95c675312fc1: Preparing 04:04:49 09571505cc20: Preparing 04:04:49 20529d91e997: Preparing 04:04:49 d752625f2b70: Preparing 04:04:49 651d9022c234: Preparing 04:04:49 651d9022c234: Waiting 04:04:49 09571505cc20: Layer already exists 04:04:49 6c7c38c00368: Layer already exists 04:04:49 20529d91e997: Layer already exists 04:04:49 d752625f2b70: Layer already exists 04:04:49 95c675312fc1: Layer already exists 04:04:49 651d9022c234: Layer already exists 04:04:50 main: digest: sha256:37020014344633233c3569f4efe61264f3c9696595f6b72e809d0832aebe6af5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:50 ===================================================== [Pipeline] echo 04:04:50 taggedImages: 04:04:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce 04:04:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:04:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.6 04:04:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:858a887cbaf8a0b5761b88e9c26f4f16d121c8ce-4.0.0-dev.6 04:04:50 - 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 04:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:50 04:04:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:50 arm64: Pulling from edgex-lftools-log-publisher 04:04:50 8998bd30e6a1: Pulling fs layer 04:04:50 04944245beec: Pulling fs layer 04:04:50 699f458cf7ca: Pulling fs layer 04:04:50 765212b225bb: Pulling fs layer 04:04:50 f23df028b6ca: Pulling fs layer 04:04:50 d65c8cfc05b1: Pulling fs layer 04:04:50 2437ff75d9bd: Pulling fs layer 04:04:50 765212b225bb: Waiting 04:04:50 f23df028b6ca: Waiting 04:04:50 d65c8cfc05b1: Waiting 04:04:50 2437ff75d9bd: Waiting 04:04:51 04944245beec: Verifying Checksum 04:04:51 04944245beec: Download complete 04:04:51 765212b225bb: Verifying Checksum 04:04:51 765212b225bb: Download complete 04:04:51 f23df028b6ca: Download complete 04:04:51 d65c8cfc05b1: Verifying Checksum 04:04:51 d65c8cfc05b1: Download complete 04:04:51 699f458cf7ca: Verifying Checksum 04:04:51 699f458cf7ca: Download complete 04:04:51 8998bd30e6a1: Verifying Checksum 04:04:51 8998bd30e6a1: Download complete 04:04:53 2437ff75d9bd: Download complete 04:04:57 8998bd30e6a1: Pull complete 04:04:58 04944245beec: Pull complete 04:05:00 699f458cf7ca: Pull complete 04:05:00 765212b225bb: Pull complete 04:05:01 f23df028b6ca: Pull complete 04:05:01 d65c8cfc05b1: Pull complete 04:05:27 2437ff75d9bd: Pull complete 04:05:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:05:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:27 prd-ubuntu20.04-docker-arm64-4c-16g-34762 does not seem to be running inside a container 04:05:28 $ 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/184 -v /w/workspace/device-mqtt-go/184:/w/workspace/device-mqtt-go/184:rw,z -v /w/workspace/device-mqtt-go/184@tmp:/w/workspace/device-mqtt-go/184@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 04:05:30 $ docker top 9d16a1b65c6b1d031c1093a2c799691565aac427dda56d253b93e596b7944ba8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:30 ---> job-cost.sh 04:05:30 lf-activate-venv: SKIPPING 04:05:30 INFO: No Stack... 04:05:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:32 INFO: Archiving Costs [Pipeline] sh 04:05:32 + cat /w/workspace/device-mqtt-go/184/archives/cost.csv 04:05:32 + cut -d, -f6 [Pipeline] lock 04:05:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] 04:05:32 Resource [jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] did not exist. Created. 04:05:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:32 /w/workspace/device-mqtt-go/184@tmp/durable-c5d293f6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:05:33 + echo total: 0.2199999988079071 [Pipeline] stash 04:05:33 Warning: overwriting stash ‘stack-cost’ 04:05:33 Stashed 1 file(s) [Pipeline] } 04:05:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:33 $ docker stop --time=1 9d16a1b65c6b1d031c1093a2c799691565aac427dda56d253b93e596b7944ba8 04:05:34 $ docker rm -f --volumes 9d16a1b65c6b1d031c1093a2c799691565aac427dda56d253b93e596b7944ba8 [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 04:05:35 provisioning config files... 04:05:35 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11308317915026826762tmp [Pipeline] { [Pipeline] sh 04:05:35 + set +x 04:05:35 + + curl -s https://codecov.io/bash 04:05:35 bash -s -- 04:05:35 04:05:35 _____ _ 04:05:35 / ____| | | 04:05:35 | | ___ __| | ___ ___ _____ __ 04:05:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:05:35 | |___| (_) | (_| | __/ (_| (_) \ V / 04:05:35 \_____\___/ \__,_|\___|\___\___/ \_/ 04:05:35 Bash-1.0.6 04:05:35 04:05:35 04:05:35 ==> git version 2.25.1 found 04:05:35 ==> 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 04:05:35 Release-Date: 2020-01-08 04:05:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:05:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:05:35 ==> Jenkins CI detected. 04:05:35 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:05:35 project root: . 04:05:35 --> token set from env 04:05:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:05:35 ==> Running gcov in . (disable via -X gcov) 04:05:35 ==> Python coveragepy not found 04:05:35 ==> Searching for coverage reports in: 04:05:35 + . 04:05:35 -> Found 1 reports 04:05:35 ==> Detecting git/mercurial file structure 04:05:35 ==> Reading reports 04:05:35 + ./coverage.out bytes=21039 04:05:35 ==> Appending adjustments 04:05:35 https://docs.codecov.io/docs/fixing-reports 04:05:35 + Found adjustments 04:05:35 ==> Gzipping contents 04:05:35 4.0K /tmp/codecov.zqiLQp.gz 04:05:35 ==> Uploading reports 04:05:35 url: https://codecov.io 04:05:35 query: branch=main&commit=858a887cbaf8a0b5761b88e9c26f4f16d121c8ce&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:05:35 -> Pinging Codecov 04:05:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=858a887cbaf8a0b5761b88e9c26f4f16d121c8ce&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:05:36 -> Uploading to 04:05:36 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/858a887cbaf8a0b5761b88e9c26f4f16d121c8ce/256eed92-fcc1-4c45-b64a-37b0afee4957.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241209%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241209T040535Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5d5541c4e6e70d1425e382da0a8d508e6e3556ffceab31bff619f24ac9fa6453 04:05:36 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:36 Dload Upload Total Spent Left Speed 04:05:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 17703 --:--:-- --:--:-- --:--:-- 17703 04:05:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] } 04:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:05:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:05:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:05:36 04:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:05:36 latest: Pulling from edgex-devops/edgex-snyk-go 04:05:36 43c4264eed91: Already exists 04:05:36 4cc291be95ef: Already exists 04:05:36 2ac1f1163629: Already exists 04:05:36 5c3c966382ef: Already exists 04:05:36 4f4fb700ef54: Already exists 04:05:36 d9c7d2e4e75e: Pulling fs layer 04:05:36 9c3e1370e548: Pulling fs layer 04:05:37 d9c7d2e4e75e: Verifying Checksum 04:05:37 d9c7d2e4e75e: Download complete 04:05:37 d9c7d2e4e75e: Pull complete 04:05:37 9c3e1370e548: Verifying Checksum 04:05:37 9c3e1370e548: Download complete 04:05:40 9c3e1370e548: Pull complete 04:05:40 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 04:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:05:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:40 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:05:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:05:41 $ docker top 3bcb88e70e61f5f304d24f6ce0f00b793d41af669003186c160ded8f83288b0f -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 04:05:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:05:42 + set -o pipefail 04:05:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:05:50 04:05:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:05:50 04:05:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/4ec953f7-f2a9-4384-9ea5-e31b927cae0f 04:05:50 04:05:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:05:50 04:05:50 04:05:50 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 04:05:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:05:50 $ docker stop --time=1 3bcb88e70e61f5f304d24f6ce0f00b793d41af669003186c160ded8f83288b0f 04:05:52 $ docker rm -f --volumes 3bcb88e70e61f5f304d24f6ce0f00b793d41af669003186c160ded8f83288b0f [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 04:05:53 + git log --format=format:%s -1 858a887cbaf8a0b5761b88e9c26f4f16d121c8ce [Pipeline] sh 04:05:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:54 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:05:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:54 $ docker top eef3330ba59cd98463a8ebc3bdefe069142c368d156e887526ef1183f89cd84a -eo pid,comm 04:05: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). 04:05:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:54 [ssh-agent] Looking for ssh-agent implementation... 04:05:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:54 $ docker exec eef3330ba59cd98463a8ebc3bdefe069142c368d156e887526ef1183f89cd84a ssh-agent 04:05:54 SSH_AUTH_SOCK=/tmp/ssh-53IzigMkE6uL/agent.33 04:05:54 SSH_AGENT_PID=39 04:05:54 Running ssh-add (command line suppressed) 04:05:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9098964224838732458.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9098964224838732458.key) 04:05:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:55 + git semver tag 04:05:55 2024-12-09 04:05:55,387 [run_tag] DEBUG tag force:False 04:05:55 2024-12-09 04:05:55,387 [check_head_tag] DEBUG check head tag 04:05:55 2024-12-09 04:05:55,388 [execute] INFO git cat-file --batch-check 04:05:55 2024-12-09 04:05:55,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:05:55 2024-12-09 04:05:55,392 [execute] INFO git cat-file --batch 04:05:55 2024-12-09 04:05:55,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:05:55 2024-12-09 04:05:55,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:05:55 2024-12-09 04:05:55,415 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 04:05:55 2024-12-09 04:05:55,415 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:05:55 2024-12-09 04:05:55,420 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:05:55 4.0.0-dev.6 [Pipeline] } 04:05:55 $ docker exec --env ******** --env ******** eef3330ba59cd98463a8ebc3bdefe069142c368d156e887526ef1183f89cd84a ssh-agent -k 04:05:55 unset SSH_AUTH_SOCK; 04:05:55 unset SSH_AGENT_PID; 04:05:55 echo Agent pid 39 killed; 04:05:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:55 + git semver [Pipeline] } 04:05:56 $ docker stop --time=1 eef3330ba59cd98463a8ebc3bdefe069142c368d156e887526ef1183f89cd84a 04:05:57 $ docker rm -f --volumes eef3330ba59cd98463a8ebc3bdefe069142c368d156e887526ef1183f89cd84a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:05:57 04:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:05:58 0.23.1-centos7: Pulling from edgex-lftools 04:05:58 ab5ef0e58194: Pulling fs layer 04:05:58 9712f1f96733: Pulling fs layer 04:05:58 63f879dbbcfc: Pulling fs layer 04:05:58 0d9ebad4ef96: Pulling fs layer 04:05:58 e9a5061849ea: Pulling fs layer 04:05:58 d747dcd14b5f: Pulling fs layer 04:05:58 0d9ebad4ef96: Waiting 04:05:58 e9a5061849ea: Waiting 04:05:58 2de7ff778b66: Pulling fs layer 04:05:58 d747dcd14b5f: Waiting 04:05:58 2de7ff778b66: Waiting 04:05:58 9712f1f96733: Verifying Checksum 04:05:58 9712f1f96733: Download complete 04:05:58 63f879dbbcfc: Verifying Checksum 04:05:58 63f879dbbcfc: Download complete 04:05:58 e9a5061849ea: Verifying Checksum 04:05:58 e9a5061849ea: Download complete 04:05:58 d747dcd14b5f: Verifying Checksum 04:05:58 d747dcd14b5f: Download complete 04:05:58 0d9ebad4ef96: Verifying Checksum 04:05:58 0d9ebad4ef96: Download complete 04:05:58 ab5ef0e58194: Verifying Checksum 04:05:58 ab5ef0e58194: Download complete 04:05:58 2de7ff778b66: Download complete 04:06:01 ab5ef0e58194: Pull complete 04:06:01 9712f1f96733: Pull complete 04:06:01 63f879dbbcfc: Pull complete 04:06:05 0d9ebad4ef96: Pull complete 04:06:05 e9a5061849ea: Pull complete 04:06:05 d747dcd14b5f: Pull complete 04:06:06 2de7ff778b66: Pull complete 04:06:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:06:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:06:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:06 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:06: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:06:08 $ docker top 0c1f09d9960ba2270b55d79a6a9a9296cfb2fcba142b71aeddc3ee75793fc778 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:06:08 provisioning config files... 04:06:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13356431867761086208tmp 04:06:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17380679915176179493tmp 04:06:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17302414694845081374tmp [Pipeline] { [Pipeline] echo 04:06:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:06:08 ---> sigul-configuration.sh 04:06:08 gpg: directory `/root/.gnupg' created 04:06:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:06:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:06:08 gpg: keyring `/root/.gnupg/secring.gpg' created 04:06:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:06:08 gpg: CAST5 encrypted data 04:06:08 gpg: encrypted with 1 passphrase 04:06:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:06:08 + mkdir /home/jenkins 04:06:08 + mkdir /home/jenkins/sigul [Pipeline] sh 04:06:09 + 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 04:06:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:06:09 ---> sigul-install.sh 04:06:09 Sigul already installed; skipping installation. [Pipeline] sh 04:06:09 + git tag --list 04:06:09 0.7.1 04:06:09 v1.0.0 04:06:09 v1.1.0 04:06:09 v1.1.1 04:06:09 v1.2.2 04:06:09 v1.3.0 04:06:09 v1.3.1 04:06:09 v2.0.0 04:06:09 v2.1.0 04:06:09 v2.1.1 04:06:09 v2.2.0 04:06:09 v2.3.0 04:06:09 v3.0 04:06:09 v3.0.0 04:06:09 v3.1 04:06:09 v3.1.0 04:06:09 v3.1.0-dev.1 04:06:09 v3.1.0-dev.10 04:06:09 v3.1.0-dev.11 04:06:09 v3.1.0-dev.12 04:06:09 v3.1.0-dev.13 04:06:09 v3.1.0-dev.14 04:06:09 v3.1.0-dev.15 04:06:09 v3.1.0-dev.16 04:06:09 v3.1.0-dev.17 04:06:09 v3.1.0-dev.18 04:06:09 v3.1.0-dev.19 04:06:09 v3.1.0-dev.2 04:06:09 v3.1.0-dev.20 04:06:09 v3.1.0-dev.21 04:06:09 v3.1.0-dev.22 04:06:09 v3.1.0-dev.23 04:06:09 v3.1.0-dev.24 04:06:09 v3.1.0-dev.25 04:06:09 v3.1.0-dev.3 04:06:09 v3.1.0-dev.4 04:06:09 v3.1.0-dev.5 04:06:09 v3.1.0-dev.6 04:06:09 v3.1.0-dev.7 04:06:09 v3.1.0-dev.8 04:06:09 v3.1.0-dev.9 04:06:09 v3.1.1 04:06:09 v3.2.0-dev.1 04:06:09 v3.2.0-dev.10 04:06:09 v3.2.0-dev.11 04:06:09 v3.2.0-dev.12 04:06:09 v3.2.0-dev.13 04:06:09 v3.2.0-dev.14 04:06:09 v3.2.0-dev.15 04:06:09 v3.2.0-dev.16 04:06:09 v3.2.0-dev.17 04:06:09 v3.2.0-dev.18 04:06:09 v3.2.0-dev.19 04:06:09 v3.2.0-dev.2 04:06:09 v3.2.0-dev.20 04:06:09 v3.2.0-dev.21 04:06:09 v3.2.0-dev.22 04:06:09 v3.2.0-dev.23 04:06:09 v3.2.0-dev.3 04:06:09 v3.2.0-dev.4 04:06:09 v3.2.0-dev.5 04:06:09 v3.2.0-dev.6 04:06:09 v3.2.0-dev.7 04:06:09 v3.2.0-dev.8 04:06:09 v3.2.0-dev.9 04:06:09 v4.0.0-dev.1 04:06:09 v4.0.0-dev.2 04:06:09 v4.0.0-dev.3 04:06:09 v4.0.0-dev.4 04:06:09 v4.0.0-dev.5 04:06:09 v4.0.0-dev.6 [Pipeline] sh 04:06:10 + lftools sign git-tag v4.0.0-dev.6 04:06:10 Signing Git tag with Sigul... 04:06:10 Signing v4.0.0-dev.6 [Pipeline] echo 04:06:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:06:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:06:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:06:11 $ docker stop --time=1 0c1f09d9960ba2270b55d79a6a9a9296cfb2fcba142b71aeddc3ee75793fc778 04:06:12 $ docker rm -f --volumes 0c1f09d9960ba2270b55d79a6a9a9296cfb2fcba142b71aeddc3ee75793fc778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:06:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:13 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:06:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:13 $ docker top 15e3068e4871572f3504d85d7d8a8020e3e58fef76536a6723666e998f641785 -eo pid,comm 04:06:13 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). 04:06:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:13 [ssh-agent] Looking for ssh-agent implementation... 04:06:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:13 $ docker exec 15e3068e4871572f3504d85d7d8a8020e3e58fef76536a6723666e998f641785 ssh-agent 04:06:14 SSH_AUTH_SOCK=/tmp/ssh-3m67jKQdjNEf/agent.32 04:06:14 SSH_AGENT_PID=39 04:06:14 Running ssh-add (command line suppressed) 04:06:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16535998310710732910.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16535998310710732910.key) 04:06:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:14 + git semver bump pre 04:06:14 2024-12-09 04:06:14,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:06:14 2024-12-09 04:06:14,614 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 04:06:14 2024-12-09 04:06:14,614 [bump_version] DEBUG bumped version:4.0.0-dev.7 04:06:14 2024-12-09 04:06:14,614 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:06:14 2024-12-09 04:06:14,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:06:14 2024-12-09 04:06:14,614 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:06:14 2024-12-09 04:06:14,615 [execute] INFO git cat-file --batch-check 04:06:14 2024-12-09 04:06:14,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:06:14 2024-12-09 04:06:14,620 [execute] INFO git cat-file --batch 04:06:14 2024-12-09 04:06:14,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:06:14 2024-12-09 04:06:14,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:06:14 4.0.0-dev.7 [Pipeline] } 04:06:14 $ docker exec --env ******** --env ******** 15e3068e4871572f3504d85d7d8a8020e3e58fef76536a6723666e998f641785 ssh-agent -k 04:06:14 unset SSH_AUTH_SOCK; 04:06:14 unset SSH_AGENT_PID; 04:06:14 echo Agent pid 39 killed; 04:06:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:15 + git semver [Pipeline] } 04:06:15 $ docker stop --time=1 15e3068e4871572f3504d85d7d8a8020e3e58fef76536a6723666e998f641785 04:06:16 $ docker rm -f --volumes 15e3068e4871572f3504d85d7d8a8020e3e58fef76536a6723666e998f641785 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:17 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:06: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:17 $ docker top ab1fca562b8b9b81a4027b20a851da2043da61e97dc4a7cec110117949540ea4 -eo pid,comm 04:06: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). 04:06:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:17 [ssh-agent] Looking for ssh-agent implementation... 04:06:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:17 $ docker exec ab1fca562b8b9b81a4027b20a851da2043da61e97dc4a7cec110117949540ea4 ssh-agent 04:06:18 SSH_AUTH_SOCK=/tmp/ssh-rqPYBx8mSVfT/agent.32 04:06:18 SSH_AGENT_PID=38 04:06:18 Running ssh-add (command line suppressed) 04:06:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11382471868960803104.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11382471868960803104.key) 04:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:18 + git semver push 04:06:18 2024-12-09 04:06:18,648 [run_push] DEBUG push 04:06:18 2024-12-09 04:06:18,649 [execute] INFO git cat-file --batch-check 04:06:18 2024-12-09 04:06:18,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:06:18 2024-12-09 04:06:18,654 [execute] INFO git rev-list 6b758eea29dbb6e4fb505b88a68bfe7d0928cb24 -- 04:06:18 2024-12-09 04:06:18,654 [execute] DEBUG Popen(['git', 'rev-list', '6b758eea29dbb6e4fb505b88a68bfe7d0928cb24', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:06:18 2024-12-09 04:06:18,664 [execute] INFO git fetch -v origin 04:06:18 2024-12-09 04:06:18,664 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:06:19 2024-12-09 04:06:19,171 [run_push] DEBUG no remote changes detected 04:06:19 2024-12-09 04:06:19,171 [execute] INFO git push origin semver 04:06:19 2024-12-09 04:06:19,172 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:06:19 2024-12-09 04:06:19,808 [run_push] DEBUG push all version tags 04:06:19 2024-12-09 04:06:19,808 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:06:19 2024-12-09 04:06:19,809 [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) 04:06:20 2024-12-09 04:06:20,451 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:06:20 4.0.0-dev.7 [Pipeline] } 04:06:20 $ docker exec --env ******** --env ******** ab1fca562b8b9b81a4027b20a851da2043da61e97dc4a7cec110117949540ea4 ssh-agent -k 04:06:20 unset SSH_AUTH_SOCK; 04:06:20 unset SSH_AGENT_PID; 04:06:20 echo Agent pid 38 killed; 04:06:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:21 + git semver [Pipeline] } 04:06:21 $ docker stop --time=1 ab1fca562b8b9b81a4027b20a851da2043da61e97dc4a7cec110117949540ea4 04:06:22 $ docker rm -f --volumes ab1fca562b8b9b81a4027b20a851da2043da61e97dc4a7cec110117949540ea4 [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 04:06:23 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:06:23 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:06:23 total 16 04:06:23 drwxr-xr-x 3 root root 4096 Dec 9 03:56 . 04:06:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 04:06 .. 04:06:23 drwxr-xr-x 2 root root 4096 Dec 9 03:56 cost 04:06:23 -rw-r--r-- 1 root root 86 Dec 9 03:56 cost.csv 04:06:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:06:23 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:06:23 total 16 04:06:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 03:56 . 04:06:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 04:06 .. 04:06:23 drwxr-xr-x 2 jenkins jenkins 4096 Dec 9 03:56 cost 04:06:23 -rw-r--r-- 1 jenkins jenkins 86 Dec 9 03:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:06:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:06:24 ---> package-listing.sh 04:06:24 ++ tr '[:upper:]' '[:lower:]' 04:06:24 ++ facter osfamily 04:06:24 + OS_FAMILY=debian 04:06:24 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:06:24 + START_PACKAGES=/tmp/packages_start.txt 04:06:24 + END_PACKAGES=/tmp/packages_end.txt 04:06:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:06:24 + PACKAGES=/tmp/packages_start.txt 04:06:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:06:24 + PACKAGES=/tmp/packages_end.txt 04:06:24 + case "${OS_FAMILY}" in 04:06:24 + dpkg -l 04:06:24 + grep '^ii' 04:06:24 + '[' -f /tmp/packages_start.txt ']' 04:06:24 + '[' -f /tmp/packages_end.txt ']' 04:06:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:06:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:06:24 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:06:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:06:24 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 04:06:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:25 prd-ubuntu20.04-docker-8c-8g-34761 does not seem to be running inside a container 04:06:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:06:26 $ docker top 1ea18439d782cbefff6d612785a82f1f499744967c0260c8f4be2c983d6e6657 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:26 + touch /tmp/pre-build-complete [Pipeline] sh 04:06:26 + mkdir -p /var/log/sysstat [Pipeline] sh 04:06:26 + ls /var/log/sa-host 04:06:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:27 provisioning config files... 04:06:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9286615116452534139tmp [Pipeline] { [Pipeline] echo 04:06:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:06:27 ---> create-netrc.sh [Pipeline] } 04:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:06:27 ---> python-tools-install.sh [Pipeline] echo 04:06:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:06:28 ---> sudo-logs.sh 04:06:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:06:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:06:28 ---> job-cost.sh 04:06:28 lf-activate-venv: SKIPPING 04:06:28 DEBUG: total: 0.2199999988079071 04:06:28 INFO: Retrieving Stack Cost... 04:06:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:06:29 INFO: Archiving Costs [Pipeline] echo 04:06:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:06:29 ---> logs-deploy.sh 04:06:29 lf-activate-venv: SKIPPING 04:06:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/184 04:06:29 INFO: archiving workspace using pattern(s): 04:06:30 Archives upload complete. 04:06:30 INFO: archiving logs to Nexus