Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 231c33ae3d29d9c6125d3970eea5d57d0e38cccf 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-ssh6671653563322282285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1015142959934765720.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17623720245703718319.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh18308016413086200062.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-ssh2531443328324513892.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27551’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-27552’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-27974’ is offline ‘prd-ubuntu20.04-docker-8c-8g-27975’ is offline Running on prd-ubuntu20.04-docker-8c-8g-27978 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 > 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 Avoid second fetch Checking out Revision 231c33ae3d29d9c6125d3970eea5d57d0e38cccf (main) Commit message: "Merge pull request #660 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" > git config core.sparsecheckout # timeout=10 > git checkout -f 231c33ae3d29d9c6125d3970eea5d57d0e38cccf # timeout=10 > git rev-list --no-walk 2fdb47a393c845e72630de83cb7d4c22e67ebec5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:00 ========================================================= 06:33:00 EdgeX Global Pipelines Version Info 06:33:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:00 ------------------- 06:33:00 stable info: 06:33:00 ------------------- 06:33:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:00 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:33:00 Message: update stable to v1.0.258 06:33:01 ------------------- 06:33:01 experimental info: 06:33:01 ------------------- 06:33:01 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:33:01 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 231c33a [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:02 provisioning config files... 06:33:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10307077404507592401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:03 ---> ****-login.sh 06:33:03 nexus3.edgexfoundry.org:10001 06:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:03 Configure a credential helper to remove this warning. See 06:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:03 06:33:03 Login Succeeded 06:33:03 nexus3.edgexfoundry.org:10002 06:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:03 Configure a credential helper to remove this warning. See 06:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:03 06:33:03 Login Succeeded 06:33:03 nexus3.edgexfoundry.org:10003 06:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:03 Configure a credential helper to remove this warning. See 06:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:03 06:33:03 Login Succeeded 06:33:03 nexus3.edgexfoundry.org:10004 06:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:03 Configure a credential helper to remove this warning. See 06:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:03 06:33:03 Login Succeeded 06:33:03 ****.io 06:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:03 Configure a credential helper to remove this warning. See 06:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:03 06:33:03 Login Succeeded 06:33:03 ---> ****-login.sh ends [Pipeline] } 06:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:33:04 + git rev-list -1 --merges 231c33ae3d29d9c6125d3970eea5d57d0e38cccf~1..231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] echo 06:33:04 -----------> git rev-list -1 --merges 231c33ae3d29d9c6125d3970eea5d57d0e38cccf~1..231c33ae3d29d9c6125d3970eea5d57d0e38cccf 231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:33:04 231c33ae3d29d9c6125d3970eea5d57d0e38cccf [false] [Pipeline] sh 06:33:04 + git log --format=format:%s -1 231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] echo 06:33:04 ========================================================= 06:33:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:33:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:05 + git log --format=format:%s -1 231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] echo 06:33:05 [semverPrep] GIT_COMMIT: 231c33ae3d29d9c6125d3970eea5d57d0e38cccf, Commit Message: Merge pull request #660 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7 [Pipeline] echo 06:33:05 [semverPrep] This is not a build commit. [Pipeline] sh 06:33:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:05 + grep -v github /etc/ssh/ssh_known_hosts 06:33:05 + [ -e /tmp/ssh_known_hosts ] 06:33:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:33:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:33:05 + sudo tee -a /etc/ssh/ssh_known_hosts 06:33:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:06 06:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:06 0.1.4: Pulling from edgex-devops/py-git-semver 06:33:06 b85a868b505f: Pulling fs layer 06:33:06 e2be974225ed: Pulling fs layer 06:33:06 339a4e72a1f5: Pulling fs layer 06:33:06 988bab9f4d93: Pulling fs layer 06:33:06 1469e6f7b9e6: Pulling fs layer 06:33:06 eaf3925da568: Pulling fs layer 06:33:06 bab4dde63d76: Pulling fs layer 06:33:06 bde34c3a00c8: Pulling fs layer 06:33:06 b352a97aabf1: Pulling fs layer 06:33:06 4872d77fe225: Pulling fs layer 06:33:06 5851b861e8e6: Pulling fs layer 06:33:06 988bab9f4d93: Waiting 06:33:06 bab4dde63d76: Waiting 06:33:06 4872d77fe225: Waiting 06:33:06 bde34c3a00c8: Waiting 06:33:06 5851b861e8e6: Waiting 06:33:06 b352a97aabf1: Waiting 06:33:06 eaf3925da568: Waiting 06:33:06 1469e6f7b9e6: Waiting 06:33:06 e2be974225ed: Verifying Checksum 06:33:06 e2be974225ed: Download complete 06:33:06 988bab9f4d93: Verifying Checksum 06:33:06 988bab9f4d93: Download complete 06:33:06 339a4e72a1f5: Verifying Checksum 06:33:06 339a4e72a1f5: Download complete 06:33:06 1469e6f7b9e6: Download complete 06:33:06 eaf3925da568: Download complete 06:33:06 bde34c3a00c8: Download complete 06:33:06 b352a97aabf1: Verifying Checksum 06:33:06 b352a97aabf1: Download complete 06:33:06 5851b861e8e6: Download complete 06:33:06 b85a868b505f: Verifying Checksum 06:33:06 b85a868b505f: Download complete 06:33:06 bab4dde63d76: Verifying Checksum 06:33:06 bab4dde63d76: Download complete 06:33:08 b85a868b505f: Pull complete 06:33:08 e2be974225ed: Pull complete 06:33:08 339a4e72a1f5: Pull complete 06:33:08 988bab9f4d93: Pull complete 06:33:09 1469e6f7b9e6: Pull complete 06:33:09 eaf3925da568: Pull complete 06:33:11 bab4dde63d76: Pull complete 06:33:11 bde34c3a00c8: Pull complete 06:33:11 b352a97aabf1: Pull complete 06:33:11 4872d77fe225: Pull complete 06:33:12 5851b861e8e6: Pull complete 06:33:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:33:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:12 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:33:16 $ docker top 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 -eo pid,comm 06:33:16 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). 06:33:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:17 [ssh-agent] Looking for ssh-agent implementation... 06:33:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:17 $ docker exec 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 ssh-agent 06:33:17 SSH_AUTH_SOCK=/tmp/ssh-mfSwFQvAGb88/agent.32 06:33:17 SSH_AGENT_PID=38 06:33:17 Running ssh-add (command line suppressed) 06:33:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8834370490837210769.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8834370490837210769.key) 06:33:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:17 + git tag --points-at HEAD [Pipeline] } 06:33:17 $ docker exec --env ******** --env ******** 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 ssh-agent -k 06:33:17 unset SSH_AUTH_SOCK; 06:33:17 unset SSH_AGENT_PID; 06:33:17 echo Agent pid 38 killed; 06:33:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:33:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:17 [ssh-agent] Looking for ssh-agent implementation... 06:33:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:18 $ docker exec 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 ssh-agent 06:33:18 SSH_AUTH_SOCK=/tmp/ssh-jqDP544gQc58/agent.70 06:33:18 SSH_AGENT_PID=76 06:33:18 Running ssh-add (command line suppressed) 06:33:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5168392945358170661.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5168392945358170661.key) 06:33:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:18 + git semver init 06:33:18 2024-01-26 06:33:18,837 [run_init] DEBUG init version:0.0.0 force:False 06:33:18 2024-01-26 06:33:18,837 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:33:18 2024-01-26 06:33:18,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:33:18 2024-01-26 06:33:18,838 [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) 06:33:20 2024-01-26 06:33:19,871 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:33:20 2024-01-26 06:33:19,871 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 06:33:20 2024-01-26 06:33:19,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:33:20 2024-01-26 06:33:19,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:33:20 3.2.0-dev.7 [Pipeline] } 06:33:20 $ docker exec --env ******** --env ******** 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 ssh-agent -k 06:33:20 unset SSH_AUTH_SOCK; 06:33:20 unset SSH_AGENT_PID; 06:33:20 echo Agent pid 76 killed; 06:33:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:20 + git semver [Pipeline] } 06:33:21 $ docker stop --time=1 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 06:33:22 $ docker rm -f --volumes 8eb5d6f80788f5bfd14aec3884780ee77d7c94d1c42a90ae3b3922748e199a98 [Pipeline] // withDockerContainer [Pipeline] sh 06:33:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:33:22 Stashed 1 file(s) [Pipeline] echo 06:33:22 [edgeXSemver]: initialized semver on version 3.2.0-dev.7 [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 06:33:23 provisioning config files... 06:33:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1372909442799916620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:23 ---> ****-login.sh 06:33:23 nexus3.edgexfoundry.org:10001 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 nexus3.edgexfoundry.org:10002 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 nexus3.edgexfoundry.org:10003 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 nexus3.edgexfoundry.org:10004 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 ****.io 06:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:24 Configure a credential helper to remove this warning. See 06:33:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:24 06:33:24 Login Succeeded 06:33:24 ---> ****-login.sh ends [Pipeline] } 06:33:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:33:24 ========================================================= 06:33:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:33:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:33:24 Sending build context to Docker daemon 14.88MB 06:33:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:33:24 Step 2/12 : FROM ${BASE} AS builder 06:33:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:24 7264a8db6415: Pulling fs layer 06:33:24 c4d48a809fc2: Pulling fs layer 06:33:24 4f1c88b9dad5: Pulling fs layer 06:33:24 ad3a456e5733: Pulling fs layer 06:33:24 69c7f0334f64: Pulling fs layer 06:33:24 1f1c1a5573a3: Pulling fs layer 06:33:24 ce7588e14bc9: Pulling fs layer 06:33:24 b5e4710f87ac: Pulling fs layer 06:33:24 ad3a456e5733: Waiting 06:33:24 69c7f0334f64: Waiting 06:33:24 b5e4710f87ac: Waiting 06:33:24 ce7588e14bc9: Waiting 06:33:25 c4d48a809fc2: Verifying Checksum 06:33:25 c4d48a809fc2: Download complete 06:33:25 ad3a456e5733: Verifying Checksum 06:33:25 ad3a456e5733: Download complete 06:33:25 69c7f0334f64: Verifying Checksum 06:33:25 69c7f0334f64: Download complete 06:33:25 7264a8db6415: Verifying Checksum 06:33:25 7264a8db6415: Download complete 06:33:25 1f1c1a5573a3: Verifying Checksum 06:33:25 1f1c1a5573a3: Download complete 06:33:25 7264a8db6415: Pull complete 06:33:25 b5e4710f87ac: Verifying Checksum 06:33:25 b5e4710f87ac: Download complete 06:33:25 c4d48a809fc2: Pull complete 06:33:25 4f1c88b9dad5: Verifying Checksum 06:33:25 4f1c88b9dad5: Download complete 06:33:26 ce7588e14bc9: Verifying Checksum 06:33:26 ce7588e14bc9: Download complete 06:33:29 4f1c88b9dad5: Pull complete 06:33:29 ad3a456e5733: Pull complete 06:33:29 69c7f0334f64: Pull complete 06:33:29 1f1c1a5573a3: Pull complete 06:33:31 ce7588e14bc9: Pull complete 06:33:32 b5e4710f87ac: Pull complete 06:33:32 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:33:32 ---> 88b5674ff536 06:33:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:33:36 ---> Running in 97e213dd1ba1 06:33:36 Removing intermediate container 97e213dd1ba1 06:33:36 ---> d2ac72d3389e 06:33:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:33:36 ---> Running in 4da31fc8153b 06:33:36 Removing intermediate container 4da31fc8153b 06:33:36 ---> 3956a6e18a34 06:33:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:33:36 ---> Running in 9147f5d4f8ae 06:33:36 Removing intermediate container 9147f5d4f8ae 06:33:36 ---> 8228b4bd6974 06:33:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:33:36 ---> Running in 8a296e4b17f2 06:33:36 Removing intermediate container 8a296e4b17f2 06:33:36 ---> 549cf018254b 06:33:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:33:36 ---> Running in d35607cac34c 06:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:33:36 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:33:36 (2/4) Installing libedit (20221030.3.1-r1) 06:33:36 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:33:36 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:33:36 Executing busybox-1.36.1-r5.trigger 06:33:36 OK: 268 MiB in 56 packages 06:33:37 Removing intermediate container d35607cac34c 06:33:37 ---> 48c8885dd0d6 06:33:37 Step 8/12 : WORKDIR /device-mqtt-go 06:33:37 ---> Running in ef8319b03111 06:33:37 Removing intermediate container ef8319b03111 06:33:37 ---> 42889a89da4d 06:33:37 Step 9/12 : COPY go.mod vendor* ./ 06:33:37 ---> 883159de4ec8 06:33:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:33:37 ---> Running in 0d895fd6dbd8 06:33:38 Still waiting to schedule task 06:33:38 ‘prd-centos7-blackbox-4c-2g-27551’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:33:38 ‘prd-centos7-blackbox-4c-2g-27552’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:33:38 ‘prd-ubuntu20.04-docker-8c-8g-27977’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:33:38 ‘prd-ubuntu20.04-docker-8c-8g-27979’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:33:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-27980’ is offline 06:34:04 Removing intermediate container 0d895fd6dbd8 06:34:04 ---> c137470c0539 06:34:04 Step 11/12 : COPY . . 06:34:04 ---> da1d96cba283 06:34:04 Step 12/12 : RUN $MAKE 06:34:04 ---> Running in 2acf1ca3d3b3 06:34:04 noop 06:34:04 Removing intermediate container 2acf1ca3d3b3 06:34:04 ---> f8a87aa20878 06:34:04 Successfully built f8a87aa20878 06:34:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:04 + docker inspect -f . ci-base-image-x86_64 06:34:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:04 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:05 $ docker top 2e9ca98fe02a1b793f838c5cb7847d68d115c12b018bc1240950dc550156d475 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:05 + go version 06:34:05 go version go1.21.0 linux/amd64 [Pipeline] } 06:34:05 $ docker stop --time=1 2e9ca98fe02a1b793f838c5cb7847d68d115c12b018bc1240950dc550156d475 06:34:07 $ docker rm -f --volumes 2e9ca98fe02a1b793f838c5cb7847d68d115c12b018bc1240950dc550156d475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:07 + docker inspect -f . ci-base-image-x86_64 06:34:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:07 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:08 $ docker top 71e39c1662d296b5423bc7b7159185b39f69727e94d6610fe54fb83b3c7f1d2a -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 06:34:08 + make test 06:34:08 go test ./... -coverprofile=coverage.out ./... 06:34:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:34:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:34:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:34:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements 06:34:28 go vet ./... 06:34:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:34:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:34:31 ./bin/test-attribution-txt.sh 06:34:31 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:34:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:34:31 $ docker stop --time=1 71e39c1662d296b5423bc7b7159185b39f69727e94d6610fe54fb83b3c7f1d2a 06:34:35 $ docker rm -f --volumes 71e39c1662d296b5423bc7b7159185b39f69727e94d6610fe54fb83b3c7f1d2a [Pipeline] // withDockerContainer [Pipeline] sh 06:34:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:34:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:36 + ls -al . 06:34:36 total 184 06:34:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 06:34 . 06:34:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:32 .. 06:34:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 06:32 .dockerignore 06:34:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:34 .git 06:34:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:32 .github 06:34:36 -rw-rw-r-- 1 jenkins jenkins 264 Jan 26 06:32 .gitignore 06:34:36 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 06:32 .golangci.yml 06:34:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:33 .semver 06:34:36 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 26 06:32 Attribution.txt 06:34:36 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 26 06:32 CHANGELOG.md 06:34:36 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 26 06:32 Dockerfile 06:34:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:32 GOVERNANCE.md 06:34:36 -rw-rw-r-- 1 jenkins jenkins 657 Jan 26 06:32 Jenkinsfile 06:34:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 06:32 LICENSE 06:34:36 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 26 06:32 Makefile 06:34:36 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 06:32 OWNERS.md 06:34:36 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 26 06:32 README.md 06:34:36 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:33 VERSION 06:34:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:32 bin 06:34:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:32 cmd 06:34:36 -rw-r--r-- 1 jenkins jenkins 18506 Jan 26 06:34 coverage.out 06:34:36 -rw-rw-r-- 1 jenkins jenkins 3865 Jan 26 06:32 go.mod 06:34:36 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 26 06:32 go.sum 06:34:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:32 internal 06:34:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:32 mock 06:34:36 -rw-rw-r-- 1 jenkins jenkins 227 Jan 26 06:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:36 + 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=231c33ae3d29d9c6125d3970eea5d57d0e38cccf --label arch=amd64 --label version=3.2.0-dev.7 . 06:34:36 Sending build context to Docker daemon 14.9MB 06:34:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:34:36 Step 2/25 : FROM ${BASE} AS builder 06:34:36 ---> f8a87aa20878 06:34:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:34:37 ---> Running in f23e3cf1f791 06:34:37 Removing intermediate container f23e3cf1f791 06:34:37 ---> 59fa0a5d5c5a 06:34:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:34:37 ---> Running in 0cca0da733a9 06:34:37 Removing intermediate container 0cca0da733a9 06:34:37 ---> 0565357d33a9 06:34:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:34:37 ---> Running in eae970c22be7 06:34:37 Removing intermediate container eae970c22be7 06:34:37 ---> fcf483e0de17 06:34:37 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:34:37 ---> Running in 8cd3978e87f0 06:34:37 Removing intermediate container 8cd3978e87f0 06:34:37 ---> bc018410ad05 06:34:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:37 ---> Running in 7e31e7818ae6 06:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:34:38 OK: 268 MiB in 56 packages 06:34:38 Removing intermediate container 7e31e7818ae6 06:34:38 ---> b8b658287d24 06:34:38 Step 8/25 : WORKDIR /device-mqtt-go 06:34:38 ---> Running in 9734cb46bef8 06:34:38 Removing intermediate container 9734cb46bef8 06:34:38 ---> 79d634e0b867 06:34:38 Step 9/25 : COPY go.mod vendor* ./ 06:34:38 ---> 94f860f03cac 06:34:38 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:38 ---> Running in 1a6a69aac820 06:34:39 Removing intermediate container 1a6a69aac820 06:34:39 ---> 1d665eea9e46 06:34:39 Step 11/25 : COPY . . 06:34:39 ---> 57e529ba0c80 06:34:39 Step 12/25 : RUN $MAKE 06:34:39 ---> Running in b90c77b55f59 06:34:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:35:02 Removing intermediate container b90c77b55f59 06:35:02 ---> d7fa442a0da0 06:35:02 Step 13/25 : FROM alpine:3.18 06:35:02 3.18: Pulling from library/alpine 06:35:02 c926b61bad3b: Pulling fs layer 06:35:02 c926b61bad3b: Download complete 06:35:02 c926b61bad3b: Pull complete 06:35:02 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:35:02 Status: Downloaded newer image for alpine:3.18 06:35:02 ---> b541f2080109 06:35:02 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:35:02 ---> Running in 9bb2b314ce18 06:35:02 Removing intermediate container 9bb2b314ce18 06:35:02 ---> 5b695dda3642 06:35:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:35:02 ---> Running in 77275b609754 06:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:35:02 (1/1) Installing dumb-init (1.2.5-r2) 06:35:02 Executing busybox-1.36.1-r5.trigger 06:35:02 OK: 7 MiB in 16 packages 06:35:02 Removing intermediate container 77275b609754 06:35:02 ---> 35b8ac9ef7cc 06:35:02 Step 16/25 : RUN apk --no-cache upgrade 06:35:02 ---> Running in 478c6fcbcf97 06:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:35:02 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:35:02 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:35:02 OK: 7 MiB in 16 packages 06:35:02 Removing intermediate container 478c6fcbcf97 06:35:02 ---> 98fdb3815528 06:35:02 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 06:35:03 ---> aae434f1c9f4 06:35:03 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 06:35:03 ---> dac3e417323b 06:35:03 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:35:03 ---> 6e96bd38983f 06:35:03 Step 20/25 : EXPOSE 59982 06:35:03 ---> Running in af930866dbe0 06:35:03 Removing intermediate container af930866dbe0 06:35:03 ---> ce0279b0bd69 06:35:03 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 06:35:03 ---> Running in c46b8b51cab1 06:35:03 Removing intermediate container c46b8b51cab1 06:35:03 ---> b89c4127cba8 06:35:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:35:03 ---> Running in c06c0ae09210 06:35:03 Removing intermediate container c06c0ae09210 06:35:03 ---> 9c7095429470 06:35:03 Step 23/25 : LABEL arch=amd64 06:35:03 ---> Running in 449dca2e2617 06:35:03 Removing intermediate container 449dca2e2617 06:35:03 ---> d5ff1625e423 06:35:03 Step 24/25 : LABEL git_sha=231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:35:03 ---> Running in 2e22792c0ec4 06:35:03 Removing intermediate container 2e22792c0ec4 06:35:03 ---> d9ccb9b4fddc 06:35:03 Step 25/25 : LABEL version=3.2.0-dev.7 06:35:03 ---> Running in dfa6c7d67f91 06:35:03 Removing intermediate container dfa6c7d67f91 06:35:03 ---> 715bfda69157 06:35:03 [Warning] One or more build-args [ARCH] were not consumed 06:35:03 Successfully built 715bfda69157 06:35:03 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:04 provisioning config files... 06:35:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config211474604007655384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:04 ---> ****-login.sh 06:35:04 nexus3.edgexfoundry.org:10001 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:04 Configure a credential helper to remove this warning. See 06:35:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:04 06:35:04 Login Succeeded 06:35:04 nexus3.edgexfoundry.org:10002 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:04 Configure a credential helper to remove this warning. See 06:35:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:04 06:35:04 Login Succeeded 06:35:04 nexus3.edgexfoundry.org:10003 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:04 Configure a credential helper to remove this warning. See 06:35:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:04 06:35:04 Login Succeeded 06:35:04 nexus3.edgexfoundry.org:10004 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:04 Configure a credential helper to remove this warning. See 06:35:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:04 06:35:04 Login Succeeded 06:35:04 ****.io 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:05 Configure a credential helper to remove this warning. See 06:35:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:05 06:35:05 Login Succeeded 06:35:05 ---> ****-login.sh ends [Pipeline] } 06:35:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:35:05 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:35:05 231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:35:05 latest 06:35:05 3.2.0-dev.7 06:35:05 231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:35:05 main 06:35:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:35:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:35:06 cbe6b0a75303: Preparing 06:35:06 98bf7fd4e985: Preparing 06:35:06 b9d217bde34a: Preparing 06:35:06 808fa3aac2cf: Preparing 06:35:06 37930886ad15: Preparing 06:35:06 9fe9a137fd00: Preparing 06:35:06 9fe9a137fd00: Waiting 06:35:06 cbe6b0a75303: Pushed 06:35:06 37930886ad15: Pushed 06:35:06 98bf7fd4e985: Pushed 06:35:06 9fe9a137fd00: Layer already exists 06:35:06 808fa3aac2cf: Pushed 06:35:08 b9d217bde34a: Pushed 06:35:08 231c33ae3d29d9c6125d3970eea5d57d0e38cccf: digest: sha256:e12b4db8ef3146d691ed09dc0b8976600d4a13472071c843f217133bdcd360d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:09 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:35:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:35:09 cbe6b0a75303: Preparing 06:35:09 98bf7fd4e985: Preparing 06:35:09 b9d217bde34a: Preparing 06:35:09 808fa3aac2cf: Preparing 06:35:09 37930886ad15: Preparing 06:35:09 9fe9a137fd00: Preparing 06:35:09 9fe9a137fd00: Waiting 06:35:09 808fa3aac2cf: Layer already exists 06:35:09 37930886ad15: Layer already exists 06:35:09 b9d217bde34a: Layer already exists 06:35:09 98bf7fd4e985: Layer already exists 06:35:09 cbe6b0a75303: Layer already exists 06:35:09 9fe9a137fd00: Layer already exists 06:35:09 latest: digest: sha256:e12b4db8ef3146d691ed09dc0b8976600d4a13472071c843f217133bdcd360d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.7 06:35:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:35:10 cbe6b0a75303: Preparing 06:35:10 98bf7fd4e985: Preparing 06:35:10 b9d217bde34a: Preparing 06:35:10 808fa3aac2cf: Preparing 06:35:10 37930886ad15: Preparing 06:35:10 9fe9a137fd00: Preparing 06:35:10 9fe9a137fd00: Waiting 06:35:10 98bf7fd4e985: Layer already exists 06:35:10 b9d217bde34a: Layer already exists 06:35:10 37930886ad15: Layer already exists 06:35:10 9fe9a137fd00: Layer already exists 06:35:10 cbe6b0a75303: Layer already exists 06:35:10 808fa3aac2cf: Layer already exists 06:35:10 3.2.0-dev.7: digest: sha256:e12b4db8ef3146d691ed09dc0b8976600d4a13472071c843f217133bdcd360d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:35:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:35:11 cbe6b0a75303: Preparing 06:35:11 98bf7fd4e985: Preparing 06:35:11 b9d217bde34a: Preparing 06:35:11 808fa3aac2cf: Preparing 06:35:11 37930886ad15: Preparing 06:35:11 9fe9a137fd00: Preparing 06:35:11 9fe9a137fd00: Waiting 06:35:11 98bf7fd4e985: Layer already exists 06:35:11 b9d217bde34a: Layer already exists 06:35:11 37930886ad15: Layer already exists 06:35:11 cbe6b0a75303: Layer already exists 06:35:11 808fa3aac2cf: Layer already exists 06:35:11 9fe9a137fd00: Layer already exists 06:35:11 231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7: digest: sha256:e12b4db8ef3146d691ed09dc0b8976600d4a13472071c843f217133bdcd360d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:35:12 cbe6b0a75303: Preparing 06:35:12 98bf7fd4e985: Preparing 06:35:12 b9d217bde34a: Preparing 06:35:12 808fa3aac2cf: Preparing 06:35:12 37930886ad15: Preparing 06:35:12 9fe9a137fd00: Preparing 06:35:12 9fe9a137fd00: Waiting 06:35:12 b9d217bde34a: Layer already exists 06:35:12 98bf7fd4e985: Layer already exists 06:35:12 cbe6b0a75303: Layer already exists 06:35:12 37930886ad15: Layer already exists 06:35:12 808fa3aac2cf: Layer already exists 06:35:12 9fe9a137fd00: Layer already exists 06:35:12 main: digest: sha256:e12b4db8ef3146d691ed09dc0b8976600d4a13472071c843f217133bdcd360d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:12 ===================================================== [Pipeline] echo 06:35:12 taggedImages: 06:35:12 - nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:35:12 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:35:12 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.7 06:35:12 - nexus3.edgexfoundry.org:10004/device-mqtt:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:35:12 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:13 06:35:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:13 latest: Pulling from edgex-lftools-log-publisher 06:35:13 5eb5b503b376: Pulling fs layer 06:35:13 5c69ac0246d0: Pulling fs layer 06:35:13 ec43610c2a17: Pulling fs layer 06:35:13 3a2ae6a8a46f: Pulling fs layer 06:35:13 33b1e0a273af: Pulling fs layer 06:35:13 3a2ae6a8a46f: Waiting 06:35:13 33b1e0a273af: Waiting 06:35:13 5d3b04190fa2: Pulling fs layer 06:35:13 2f39f015ded8: Pulling fs layer 06:35:13 5d3b04190fa2: Waiting 06:35:13 2f39f015ded8: Waiting 06:35:13 5c69ac0246d0: Verifying Checksum 06:35:13 5c69ac0246d0: Download complete 06:35:13 3a2ae6a8a46f: Verifying Checksum 06:35:13 3a2ae6a8a46f: Download complete 06:35:13 33b1e0a273af: Verifying Checksum 06:35:13 33b1e0a273af: Download complete 06:35:13 5d3b04190fa2: Verifying Checksum 06:35:13 5d3b04190fa2: Download complete 06:35:13 ec43610c2a17: Verifying Checksum 06:35:13 ec43610c2a17: Download complete 06:35:13 5eb5b503b376: Verifying Checksum 06:35:13 5eb5b503b376: Download complete 06:35:14 2f39f015ded8: Verifying Checksum 06:35:14 2f39f015ded8: Download complete 06:35:15 5eb5b503b376: Pull complete 06:35:15 5c69ac0246d0: Pull complete 06:35:15 ec43610c2a17: Pull complete 06:35:15 3a2ae6a8a46f: Pull complete 06:35:15 33b1e0a273af: Pull complete 06:35:16 5d3b04190fa2: Pull complete 06:35:20 2f39f015ded8: Pull complete 06:35:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:35:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:20 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:35:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:35:24 $ docker top 225be62e8b44400cfe14cd9188e3227c0db9993e40ba818ee2df8aa5c9f84c69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:24 ---> job-cost.sh 06:35:24 lf-activate-venv: SKIPPING 06:35:24 INFO: No Stack... 06:35:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:35:25 INFO: Archiving Costs [Pipeline] sh 06:35:25 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:35:25 + cut -d, -f6 [Pipeline] lock 06:35:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] 06:35:25 Resource [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] did not exist. Created. 06:35:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:35:25 + echo total: 0.2199999988079071 [Pipeline] stash 06:35:25 Stashed 1 file(s) [Pipeline] } 06:35:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 06:35:26 $ docker stop --time=1 225be62e8b44400cfe14cd9188e3227c0db9993e40ba818ee2df8aa5c9f84c69 06:35:27 $ docker rm -f --volumes 225be62e8b44400cfe14cd9188e3227c0db9993e40ba818ee2df8aa5c9f84c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:46:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28023 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:46:53 Running in /w/workspace/device-mqtt-go/160 [Pipeline] { [Pipeline] checkout 06:46:53 The recommended git tool is: git 06:46:59 using credential edgex-jenkins-ssh 06:46:59 Cloning the remote Git repository 06:46:59 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:46:59 > git init /w/workspace/device-mqtt-go/160 # timeout=10 06:46:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:46:59 > git --version # timeout=10 06:46:59 > git --version # 'git version 2.25.1' 06:46:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:47:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:47:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:47:04 Avoid second fetch 06:47:04 Checking out Revision 231c33ae3d29d9c6125d3970eea5d57d0e38cccf (main) 06:47:04 Commit message: "Merge pull request #660 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" 06:47:04 > git config core.sparsecheckout # timeout=10 06:47:04 > git checkout -f 231c33ae3d29d9c6125d3970eea5d57d0e38cccf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:47:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:47:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:06 Dload Upload Total Spent Left Speed 06:47:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 06:47:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:47:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:47:06 sudo tee /etc/docker/daemon.new 06:47:06 { 06:47:06 "registry-mirrors": [ 06:47:06 "https://nexus3.edgexfoundry.org:10001" 06:47:06 ], 06:47:06 "bip": "10.250.0.254/24", 06:47:06 "hosts": [ 06:47:06 "tcp://0.0.0.0:5555", 06:47:06 "unix:///var/run/docker.sock" 06:47:06 ], 06:47:06 "mtu": 1458, 06:47:06 "selinux-enabled": true, 06:47:06 "seccomp-profile": "/etc/docker/seccomp.json" 06:47:06 } [Pipeline] sh 06:47:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:47:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:25 provisioning config files... 06:47:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/160@tmp/config8966760839161946270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:26 ---> ****-login.sh 06:47:26 nexus3.edgexfoundry.org:10001 06:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:47:26 Configure a credential helper to remove this warning. See 06:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:47:26 06:47:26 Login Succeeded 06:47:26 nexus3.edgexfoundry.org:10002 06:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:47:27 Configure a credential helper to remove this warning. See 06:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:47:27 06:47:27 Login Succeeded 06:47:27 nexus3.edgexfoundry.org:10003 06:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:47:27 Configure a credential helper to remove this warning. See 06:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:47:27 06:47:27 Login Succeeded 06:47:27 nexus3.edgexfoundry.org:10004 06:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:47:27 Configure a credential helper to remove this warning. See 06:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:47:27 06:47:27 Login Succeeded 06:47:27 ****.io 06:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:47:28 Configure a credential helper to remove this warning. See 06:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:47:28 06:47:28 Login Succeeded 06:47:28 ---> ****-login.sh ends [Pipeline] } 06:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:47:28 ========================================================= 06:47:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:47:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:47:30 #0 building with "default" instance using docker driver 06:47:30 06:47:30 #1 [internal] load .dockerignore 06:47:30 #1 transferring context: 182B 0.0s done 06:47:30 #1 DONE 0.1s 06:47:30 06:47:30 #2 [internal] load build definition from Dockerfile 06:47:30 #2 transferring dockerfile: 1.84kB 0.0s done 06:47:30 #2 DONE 0.1s 06:47:30 06:47:30 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:47:30 #3 DONE 0.1s 06:47:30 06:47:30 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:47:30 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 06:47:30 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 06:47:30 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 06:47:30 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 06:47:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 114.69kB / 63.99MB 0.1s 06:47:30 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 06:47:30 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.2s 06:47:31 #4 ... 06:47:31 06:47:31 #5 [internal] load build context 06:47:31 #5 transferring context: 7.43MB 0.3s done 06:47:31 #5 DONE 0.4s 06:47:31 06:47:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s 06:47:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 06:47:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 06:47:31 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 06:47:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.4s 06:47:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 06:47:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 0.6s 06:47:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.21MB / 97.63MB 0.6s 06:47:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.24MB / 63.99MB 0.8s 06:47:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 06:47:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.71MB / 97.63MB 0.8s 06:47:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.52MB / 63.99MB 0.9s 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.69MB / 63.99MB 1.0s 06:47:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 1.0s 06:47:31 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 06:47:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.90MB / 63.99MB 1.1s 06:47:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.1s 06:47:31 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 06:47:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s 06:47:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.4s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.98MB / 97.63MB 1.4s 06:47:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.5s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.22MB / 97.63MB 1.5s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.6s 06:47:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.7s 06:47:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.8s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.9s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 2.0s 06:47:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.2s 06:47:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s 06:47:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.1s done 06:47:38 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.4s 06:47:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 06:47:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.4s done 06:47:50 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 06:47:50 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 06:47:50 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 06:47:50 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 06:47:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 06:47:58 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.7s done 06:47:58 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 06:47:59 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 06:48:02 #4 DONE 31.7s 06:48:02 06:48:02 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:48:03 #6 0.753 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:48:03 #6 1.150 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:48:04 #6 2.383 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:48:04 #6 2.408 (2/4) Installing libedit (20221030.3.1-r1) 06:48:04 #6 2.420 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:48:04 #6 2.489 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:48:05 #6 2.516 Executing busybox-1.36.1-r5.trigger 06:48:05 #6 2.555 OK: 271 MiB in 56 packages 06:48:07 #6 DONE 4.7s 06:48:07 06:48:07 #7 [builder 3/7] WORKDIR /device-mqtt-go 06:48:07 #7 DONE 0.1s 06:48:07 06:48:07 #8 [builder 4/7] COPY go.mod vendor* ./ 06:48:07 #8 DONE 0.1s 06:48:07 06:48:07 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:48:29 #9 DONE 20.8s 06:48:29 06:48:29 #10 [builder 6/7] COPY . . 06:48:29 #10 DONE 0.3s 06:48:29 06:48:29 #11 [builder 7/7] RUN echo noop 06:48:29 #11 0.606 noop 06:48:31 #11 DONE 3.0s 06:48:31 06:48:31 #12 exporting to image 06:48:31 #12 exporting layers 06:48:49 #12 exporting layers 17.6s done 06:48:49 #12 writing image sha256:855648db31df48cadeadd0473d14d3394a38911ca18b06732ed8bfe41b0e887b done 06:48:49 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 06:48:49 #12 DONE 17.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:50 + docker inspect -f . ci-base-image-arm64 06:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:50 prd-ubuntu20.04-docker-arm64-4c-16g-28023 does not seem to be running inside a container 06:48:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/160 -v /w/workspace/device-mqtt-go/160:/w/workspace/device-mqtt-go/160:rw,z -v /w/workspace/device-mqtt-go/160@tmp:/w/workspace/device-mqtt-go/160@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 06:48:51 $ docker top 9afe69c061aab4d9d250d4cded568b979701b5ef89a6e5b7629b4e982db0c41f -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:52 + go version 06:48:52 go version go1.21.0 linux/arm64 [Pipeline] } 06:48:52 $ docker stop --time=1 9afe69c061aab4d9d250d4cded568b979701b5ef89a6e5b7629b4e982db0c41f 06:48:54 $ docker rm -f --volumes 9afe69c061aab4d9d250d4cded568b979701b5ef89a6e5b7629b4e982db0c41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:55 + docker inspect -f . ci-base-image-arm64 06:48:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:55 prd-ubuntu20.04-docker-arm64-4c-16g-28023 does not seem to be running inside a container 06:48:55 $ 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/160 -v /w/workspace/device-mqtt-go/160:/w/workspace/device-mqtt-go/160:rw,z -v /w/workspace/device-mqtt-go/160@tmp:/w/workspace/device-mqtt-go/160@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 06:48:56 $ docker top de2352cb6e21fe6e855a2c240cd3b971aa925850fd14d18ede1670a23851dae7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:56 + git config --global --add safe.directory /w/workspace/device-mqtt-go/160 [Pipeline] fileExists [Pipeline] sh 06:48:57 + make test 06:48:57 go test ./... -coverprofile=coverage.out ./... 06:49:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:50:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:50:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:50:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements 06:50:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:50:00 go vet ./... 06:50:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:08 ./bin/test-attribution-txt.sh 06:50:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:50:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:50:08 $ docker stop --time=1 de2352cb6e21fe6e855a2c240cd3b971aa925850fd14d18ede1670a23851dae7 06:50:14 $ docker rm -f --volumes de2352cb6e21fe6e855a2c240cd3b971aa925850fd14d18ede1670a23851dae7 [Pipeline] // withDockerContainer [Pipeline] sh 06:50:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:15 Warning: overwriting stash ‘coverage-report’ 06:50:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:16 + ls -al . 06:50:16 total 180 06:50:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:49 . 06:50:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:46 .. 06:50:16 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 06:47 .dockerignore 06:50:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:47 .git 06:50:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:47 .github 06:50:16 -rw-rw-r-- 1 jenkins jenkins 264 Jan 26 06:47 .gitignore 06:50:16 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 06:47 .golangci.yml 06:50:16 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 26 06:47 Attribution.txt 06:50:16 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 26 06:47 CHANGELOG.md 06:50:16 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 26 06:47 Dockerfile 06:50:16 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:47 GOVERNANCE.md 06:50:16 -rw-rw-r-- 1 jenkins jenkins 657 Jan 26 06:47 Jenkinsfile 06:50:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 06:47 LICENSE 06:50:16 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 26 06:47 Makefile 06:50:16 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 06:47 OWNERS.md 06:50:16 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 26 06:47 README.md 06:50:16 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:33 VERSION 06:50:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:47 bin 06:50:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:47 cmd 06:50:16 -rw-r--r-- 1 jenkins jenkins 18506 Jan 26 06:49 coverage.out 06:50:16 -rw-rw-r-- 1 jenkins jenkins 3865 Jan 26 06:47 go.mod 06:50:16 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 26 06:47 go.sum 06:50:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:47 internal 06:50:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:47 mock 06:50:16 -rw-rw-r-- 1 jenkins jenkins 227 Jan 26 06:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50: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=231c33ae3d29d9c6125d3970eea5d57d0e38cccf --label arch=arm64 --label version=3.2.0-dev.7 . 06:50:17 #0 building with "default" instance using docker driver 06:50:17 06:50:17 #1 [internal] load build definition from Dockerfile 06:50:17 #1 transferring dockerfile: 1.84kB 0.0s done 06:50:17 #1 DONE 0.0s 06:50:17 06:50:17 #2 [internal] load .dockerignore 06:50:17 #2 transferring context: 182B 0.0s done 06:50:17 #2 DONE 0.0s 06:50:17 06:50:17 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 06:50:17 #3 DONE 0.0s 06:50:17 06:50:17 #4 [internal] load metadata for docker.io/library/alpine:3.18 06:50:18 #4 DONE 0.3s 06:50:18 06:50:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:50:18 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 06:50:18 #5 ... 06:50:18 06:50:18 #6 [internal] load build context 06:50:18 #6 transferring context: 24.63kB 0.0s done 06:50:18 #6 DONE 0.1s 06:50:18 06:50:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:50:18 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 06:50:18 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 06:50:18 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 06:50:18 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 06:50:18 #5 ... 06:50:18 06:50:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 06:50:18 #7 DONE 0.2s 06:50:18 06:50:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:50:18 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 06:50:18 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 06:50:18 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 06:50:19 #5 DONE 0.9s 06:50:19 06:50:19 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:50:19 #8 0.626 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:50:19 #8 0.952 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:50:20 #8 ... 06:50:20 06:50:20 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:50:20 #9 0.696 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:50:20 #9 1.133 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:50:20 #9 2.274 OK: 271 MiB in 56 packages 06:50:20 #9 DONE 2.6s 06:50:20 06:50:20 #10 [builder 3/7] WORKDIR /device-mqtt-go 06:50:20 #10 DONE 0.1s 06:50:20 06:50:20 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:50:20 #8 1.967 (1/1) Installing dumb-init (1.2.5-r2) 06:50:20 #8 1.990 Executing busybox-1.36.1-r5.trigger 06:50:21 #8 2.014 OK: 8 MiB in 16 packages 06:50:21 #8 ... 06:50:21 06:50:21 #11 [builder 4/7] COPY go.mod vendor* ./ 06:50:21 #11 DONE 0.1s 06:50:21 06:50:21 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:50:21 #8 DONE 2.3s 06:50:21 06:50:21 #12 [stage-1 3/6] RUN apk --no-cache upgrade 06:50:22 #12 0.744 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:50:22 #12 ... 06:50:22 06:50:22 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:22 #13 DONE 1.1s 06:50:22 06:50:22 #14 [builder 6/7] COPY . . 06:50:22 #14 DONE 0.3s 06:50:22 06:50:22 #15 [builder 7/7] RUN make build 06:50:23 #15 0.648 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:50:24 #15 ... 06:50:24 06:50:24 #12 [stage-1 3/6] RUN apk --no-cache upgrade 06:50:24 #12 1.118 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:50:24 #12 2.185 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:50:24 #12 2.292 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:50:24 #12 2.317 OK: 8 MiB in 16 packages 06:50:24 #12 DONE 2.6s 06:50:24 06:50:24 #15 [builder 7/7] RUN make build 06:51:32 #15 DONE 65.0s 06:51:32 06:51:32 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 06:51:32 #16 DONE 0.3s 06:51:32 06:51:32 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 06:51:32 #17 DONE 0.1s 06:51:32 06:51:32 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 06:51:32 #18 DONE 0.1s 06:51:32 06:51:32 #19 exporting to image 06:51:32 #19 exporting layers 06:51:32 #19 exporting layers 0.5s done 06:51:32 #19 writing image sha256:0a44ad5730e935de5e46b33aa896120b8c308cd103ae5c4bd03217d7bba19fe3 done 06:51:32 #19 naming to docker.io/library/device-mqtt-arm64 0.0s done 06:51:32 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:32 provisioning config files... 06:51:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/160@tmp/config1456462968857823687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:32 ---> ****-login.sh 06:51:32 nexus3.edgexfoundry.org:10001 06:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:33 Configure a credential helper to remove this warning. See 06:51:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:33 06:51:33 Login Succeeded 06:51:33 nexus3.edgexfoundry.org:10002 06:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:33 Configure a credential helper to remove this warning. See 06:51:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:33 06:51:33 Login Succeeded 06:51:33 nexus3.edgexfoundry.org:10003 06:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:34 Configure a credential helper to remove this warning. See 06:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:34 06:51:34 Login Succeeded 06:51:34 nexus3.edgexfoundry.org:10004 06:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:34 Configure a credential helper to remove this warning. See 06:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:34 06:51:34 Login Succeeded 06:51:34 ****.io 06:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:34 Configure a credential helper to remove this warning. See 06:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:34 06:51:34 Login Succeeded 06:51:34 ---> ****-login.sh ends [Pipeline] } 06:51:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:51:35 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:51:35 231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:51:35 latest 06:51:35 3.2.0-dev.7 06:51:35 231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:51:35 main 06:51:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:51:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:51:36 05590a25e76c: Preparing 06:51:36 c8d92ba3a1e0: Preparing 06:51:36 9a566a198673: Preparing 06:51:36 69194345325b: Preparing 06:51:36 51d1025c4628: Preparing 06:51:36 0faf9b67be60: Preparing 06:51:36 0faf9b67be60: Waiting 06:51:36 c8d92ba3a1e0: Pushed 06:51:36 51d1025c4628: Pushed 06:51:37 69194345325b: Pushed 06:51:39 0faf9b67be60: Layer already exists 06:51:39 05590a25e76c: Pushed 06:51:42 9a566a198673: Pushed 06:51:42 231c33ae3d29d9c6125d3970eea5d57d0e38cccf: digest: sha256:bc5433fe3bdaf623dc52716930e0a581edfaef95adc8d9e1fb4593cf66652d40 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:51:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:51:43 05590a25e76c: Preparing 06:51:43 c8d92ba3a1e0: Preparing 06:51:43 9a566a198673: Preparing 06:51:43 69194345325b: Preparing 06:51:43 51d1025c4628: Preparing 06:51:43 0faf9b67be60: Preparing 06:51:43 0faf9b67be60: Waiting 06:51:43 69194345325b: Layer already exists 06:51:43 51d1025c4628: Layer already exists 06:51:43 9a566a198673: Layer already exists 06:51:43 05590a25e76c: Layer already exists 06:51:43 c8d92ba3a1e0: Layer already exists 06:51:43 0faf9b67be60: Layer already exists 06:51:43 latest: digest: sha256:bc5433fe3bdaf623dc52716930e0a581edfaef95adc8d9e1fb4593cf66652d40 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.7 06:51:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:51:44 05590a25e76c: Preparing 06:51:44 c8d92ba3a1e0: Preparing 06:51:44 9a566a198673: Preparing 06:51:44 69194345325b: Preparing 06:51:44 51d1025c4628: Preparing 06:51:44 0faf9b67be60: Preparing 06:51:44 0faf9b67be60: Waiting 06:51:44 9a566a198673: Layer already exists 06:51:44 69194345325b: Layer already exists 06:51:44 05590a25e76c: Layer already exists 06:51:44 51d1025c4628: Layer already exists 06:51:44 c8d92ba3a1e0: Layer already exists 06:51:44 0faf9b67be60: Layer already exists 06:51:44 3.2.0-dev.7: digest: sha256:bc5433fe3bdaf623dc52716930e0a581edfaef95adc8d9e1fb4593cf66652d40 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:51:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:51:45 05590a25e76c: Preparing 06:51:45 c8d92ba3a1e0: Preparing 06:51:45 9a566a198673: Preparing 06:51:45 69194345325b: Preparing 06:51:45 51d1025c4628: Preparing 06:51:45 0faf9b67be60: Preparing 06:51:45 0faf9b67be60: Waiting 06:51:45 9a566a198673: Layer already exists 06:51:45 05590a25e76c: Layer already exists 06:51:45 69194345325b: Layer already exists 06:51:45 c8d92ba3a1e0: Layer already exists 06:51:45 51d1025c4628: Layer already exists 06:51:45 0faf9b67be60: Layer already exists 06:51:46 231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7: digest: sha256:bc5433fe3bdaf623dc52716930e0a581edfaef95adc8d9e1fb4593cf66652d40 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:51:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:51:46 05590a25e76c: Preparing 06:51:46 c8d92ba3a1e0: Preparing 06:51:46 9a566a198673: Preparing 06:51:46 69194345325b: Preparing 06:51:46 51d1025c4628: Preparing 06:51:46 0faf9b67be60: Preparing 06:51:46 0faf9b67be60: Waiting 06:51:46 51d1025c4628: Layer already exists 06:51:46 05590a25e76c: Layer already exists 06:51:46 9a566a198673: Layer already exists 06:51:46 c8d92ba3a1e0: Layer already exists 06:51:46 69194345325b: Layer already exists 06:51:46 0faf9b67be60: Layer already exists 06:51:47 main: digest: sha256:bc5433fe3bdaf623dc52716930e0a581edfaef95adc8d9e1fb4593cf66652d40 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:51:47 ===================================================== [Pipeline] echo 06:51:47 taggedImages: 06:51:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf 06:51:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:51:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.7 06:51:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:231c33ae3d29d9c6125d3970eea5d57d0e38cccf-3.2.0-dev.7 06:51:47 - 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 06:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:48 06:51:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:48 arm64: Pulling from edgex-lftools-log-publisher 06:51:48 8998bd30e6a1: Pulling fs layer 06:51:48 04944245beec: Pulling fs layer 06:51:48 699f458cf7ca: Pulling fs layer 06:51:48 765212b225bb: Pulling fs layer 06:51:48 f23df028b6ca: Pulling fs layer 06:51:48 d65c8cfc05b1: Pulling fs layer 06:51:48 2437ff75d9bd: Pulling fs layer 06:51:48 765212b225bb: Waiting 06:51:48 d65c8cfc05b1: Waiting 06:51:48 f23df028b6ca: Waiting 06:51:48 2437ff75d9bd: Waiting 06:51:48 04944245beec: Verifying Checksum 06:51:48 04944245beec: Download complete 06:51:48 765212b225bb: Verifying Checksum 06:51:48 765212b225bb: Download complete 06:51:48 f23df028b6ca: Verifying Checksum 06:51:48 f23df028b6ca: Download complete 06:51:48 d65c8cfc05b1: Download complete 06:51:49 699f458cf7ca: Verifying Checksum 06:51:49 699f458cf7ca: Download complete 06:51:49 8998bd30e6a1: Verifying Checksum 06:51:49 8998bd30e6a1: Download complete 06:51:51 2437ff75d9bd: Verifying Checksum 06:51:51 2437ff75d9bd: Download complete 06:51:55 8998bd30e6a1: Pull complete 06:51:55 04944245beec: Pull complete 06:51:57 699f458cf7ca: Pull complete 06:51:57 765212b225bb: Pull complete 06:51:58 f23df028b6ca: Pull complete 06:51:58 d65c8cfc05b1: Pull complete 06:52:25 2437ff75d9bd: Pull complete 06:52:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:25 prd-ubuntu20.04-docker-arm64-4c-16g-28023 does not seem to be running inside a container 06:52:25 $ 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/160 -v /w/workspace/device-mqtt-go/160:/w/workspace/device-mqtt-go/160:rw,z -v /w/workspace/device-mqtt-go/160@tmp:/w/workspace/device-mqtt-go/160@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 06:52:27 $ docker top 0369996e96773e3c7c1df11fc803fdce117384c3bed2014cc0efde800104cf3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:27 ---> job-cost.sh 06:52:28 lf-activate-venv: SKIPPING 06:52:28 INFO: No Stack... 06:52:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:29 INFO: Archiving Costs [Pipeline] sh 06:52:29 + cat /w/workspace/device-mqtt-go/160/archives/cost.csv 06:52:29 + cut -d, -f6 [Pipeline] lock 06:52:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] 06:52:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] did not exist. Created. 06:52:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:30 /w/workspace/device-mqtt-go/160@tmp/durable-7be78b8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:52:30 + echo total: 0.2199999988079071 [Pipeline] stash 06:52:30 Warning: overwriting stash ‘stack-cost’ 06:52:30 Stashed 1 file(s) [Pipeline] } 06:52:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:30 $ docker stop --time=1 0369996e96773e3c7c1df11fc803fdce117384c3bed2014cc0efde800104cf3c 06:52:32 $ docker rm -f --volumes 0369996e96773e3c7c1df11fc803fdce117384c3bed2014cc0efde800104cf3c [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 06:52:33 provisioning config files... 06:52:33 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13630057612120641135tmp [Pipeline] { [Pipeline] sh 06:52:33 + set +x 06:52:33 + curl -s https://codecov.io/bash 06:52:33 + bash -s -- 06:52:33 06:52:33 _____ _ 06:52:33 / ____| | | 06:52:33 | | ___ __| | ___ ___ _____ __ 06:52:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:33 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:33 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:33 Bash-1.0.6 06:52:33 06:52:33 06:52:33 ==> git version 2.25.1 found 06:52:33 ==> 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 06:52:33 Release-Date: 2020-01-08 06:52:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:52:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:52:33 ==> Jenkins CI detected. 06:52:33 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:52:33 project root: . 06:52:33 --> token set from env 06:52:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:33 ==> Running gcov in . (disable via -X gcov) 06:52:33 ==> Python coveragepy not found 06:52:33 ==> Searching for coverage reports in: 06:52:33 + . 06:52:34 -> Found 1 reports 06:52:34 ==> Detecting git/mercurial file structure 06:52:34 ==> Reading reports 06:52:34 + ./coverage.out bytes=18506 06:52:34 ==> Appending adjustments 06:52:34 https://docs.codecov.io/docs/fixing-reports 06:52:34 + Found adjustments 06:52:34 ==> Gzipping contents 06:52:34 4.0K /tmp/codecov.KXJeKH.gz 06:52:34 ==> Uploading reports 06:52:34 url: https://codecov.io 06:52:34 query: branch=main&commit=231c33ae3d29d9c6125d3970eea5d57d0e38cccf&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:52:34 -> Pinging Codecov 06:52:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=231c33ae3d29d9c6125d3970eea5d57d0e38cccf&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:52:34 -> Uploading to 06:52:34 https://storage.googleapis.com/codecov/v4/raw/2024-01-26/7D719EC7BBE17E464838252E33014C33/231c33ae3d29d9c6125d3970eea5d57d0e38cccf/52a6e33d-47d7-44c4-92c8-c9156358d10b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240126T065233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dddf946241c7d6817ce643cc9b1edd3ab86054724cfddb8fbf4030974ac74d75 06:52:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:34 Dload Upload Total Spent Left Speed 06:52:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12147 --:--:-- --:--:-- --:--:-- 12099 100 3049 0 0 100 3049 0 12147 --:--:-- --:--:-- --:--:-- 12099 06:52:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] } 06:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:52:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:52:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:35 06:52:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:52:35 df9b9388f04a: Pulling fs layer 06:52:35 52dc419b0ee2: Pulling fs layer 06:52:35 25bc292e5bac: Pulling fs layer 06:52:35 114826534d7a: Pulling fs layer 06:52:35 4657fd5d0bcf: Pulling fs layer 06:52:35 6ad1cebc031e: Pulling fs layer 06:52:35 8a3aa393b2d8: Pulling fs layer 06:52:35 6ad1cebc031e: Waiting 06:52:35 114826534d7a: Waiting 06:52:35 8a3aa393b2d8: Waiting 06:52:35 4657fd5d0bcf: Waiting 06:52:35 25bc292e5bac: Verifying Checksum 06:52:35 25bc292e5bac: Download complete 06:52:35 52dc419b0ee2: Verifying Checksum 06:52:35 52dc419b0ee2: Download complete 06:52:35 df9b9388f04a: Download complete 06:52:35 df9b9388f04a: Pull complete 06:52:35 6ad1cebc031e: Verifying Checksum 06:52:35 6ad1cebc031e: Download complete 06:52:36 52dc419b0ee2: Pull complete 06:52:36 25bc292e5bac: Pull complete 06:52:36 114826534d7a: Verifying Checksum 06:52:36 114826534d7a: Download complete 06:52:36 8a3aa393b2d8: Verifying Checksum 06:52:36 8a3aa393b2d8: Download complete 06:52:39 114826534d7a: Pull complete 06:52:39 4657fd5d0bcf: Pull complete 06:52:39 6ad1cebc031e: Pull complete 06:52:42 8a3aa393b2d8: Pull complete 06:52:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:42 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:52:46 $ docker top c2c78d4a4ad262092accab79849479fd7df225b18980157d181a24173b92f7be -eo pid,comm [Pipeline] { [Pipeline] echo 06:52:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:52:46 + set -o pipefail 06:52:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:52:52 06:52:52 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:52:52 06:52:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/853d961d-ec66-4b26-af5a-1b0520810ec9 06:52:52 06:52:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:52:52 06:52:52 06:52:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:52:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:52:52 More details here: https://snyk.co/ue1NS 06:52:52 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:52:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:52:52 $ docker stop --time=1 c2c78d4a4ad262092accab79849479fd7df225b18980157d181a24173b92f7be 06:52:56 $ docker rm -f --volumes c2c78d4a4ad262092accab79849479fd7df225b18980157d181a24173b92f7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:02 + git log --format=format:%s -1 231c33ae3d29d9c6125d3970eea5d57d0e38cccf [Pipeline] sh 06:53:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:53:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:02 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:53:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:53:03 $ docker top 687ee0f9c5a1502f3254897cad6f10b76be2f467bf909266ec8cfa1380cee4df -eo pid,comm 06:53:03 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). 06:53:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:03 [ssh-agent] Looking for ssh-agent implementation... 06:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:03 $ docker exec 687ee0f9c5a1502f3254897cad6f10b76be2f467bf909266ec8cfa1380cee4df ssh-agent 06:53:03 SSH_AUTH_SOCK=/tmp/ssh-NOOjKCmMQmu4/agent.33 06:53:03 SSH_AGENT_PID=39 06:53:03 Running ssh-add (command line suppressed) 06:53:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12616884451361274452.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12616884451361274452.key) 06:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:04 + git semver tag 06:53:04 2024-01-26 06:53:04,466 [run_tag] DEBUG tag force:False 06:53:04 2024-01-26 06:53:04,466 [check_head_tag] DEBUG check head tag 06:53:04 2024-01-26 06:53:04,467 [execute] INFO git cat-file --batch-check 06:53:04 2024-01-26 06:53:04,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:53:04 2024-01-26 06:53:04,471 [execute] INFO git cat-file --batch 06:53:04 2024-01-26 06:53:04,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:53:04 2024-01-26 06:53:04,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:04 2024-01-26 06:53:04,486 [execute] INFO git tag -a v3.2.0-dev.7 -m v3.2.0-dev.7 06:53:04 2024-01-26 06:53:04,486 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.7', '-m', 'v3.2.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:53:04 2024-01-26 06:53:04,490 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:04 3.2.0-dev.7 [Pipeline] } 06:53:04 $ docker exec --env ******** --env ******** 687ee0f9c5a1502f3254897cad6f10b76be2f467bf909266ec8cfa1380cee4df ssh-agent -k 06:53:04 unset SSH_AUTH_SOCK; 06:53:04 unset SSH_AGENT_PID; 06:53:04 echo Agent pid 39 killed; 06:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:05 + git semver [Pipeline] } 06:53:05 $ docker stop --time=1 687ee0f9c5a1502f3254897cad6f10b76be2f467bf909266ec8cfa1380cee4df 06:53:06 $ docker rm -f --volumes 687ee0f9c5a1502f3254897cad6f10b76be2f467bf909266ec8cfa1380cee4df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:53:08 06:53:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:53:08 0.23.1-centos7: Pulling from edgex-lftools 06:53:08 ab5ef0e58194: Pulling fs layer 06:53:08 9712f1f96733: Pulling fs layer 06:53:08 63f879dbbcfc: Pulling fs layer 06:53:08 0d9ebad4ef96: Pulling fs layer 06:53:08 e9a5061849ea: Pulling fs layer 06:53:08 d747dcd14b5f: Pulling fs layer 06:53:08 2de7ff778b66: Pulling fs layer 06:53:08 0d9ebad4ef96: Waiting 06:53:08 e9a5061849ea: Waiting 06:53:08 d747dcd14b5f: Waiting 06:53:08 2de7ff778b66: Waiting 06:53:08 9712f1f96733: Verifying Checksum 06:53:08 9712f1f96733: Download complete 06:53:09 63f879dbbcfc: Verifying Checksum 06:53:09 63f879dbbcfc: Download complete 06:53:09 0d9ebad4ef96: Verifying Checksum 06:53:09 0d9ebad4ef96: Download complete 06:53:09 d747dcd14b5f: Verifying Checksum 06:53:09 d747dcd14b5f: Download complete 06:53:09 e9a5061849ea: Verifying Checksum 06:53:09 e9a5061849ea: Download complete 06:53:09 ab5ef0e58194: Verifying Checksum 06:53:09 ab5ef0e58194: Download complete 06:53:09 2de7ff778b66: Verifying Checksum 06:53:09 2de7ff778b66: Download complete 06:53:12 ab5ef0e58194: Pull complete 06:53:12 9712f1f96733: Pull complete 06:53:12 63f879dbbcfc: Pull complete 06:53:17 0d9ebad4ef96: Pull complete 06:53:17 e9a5061849ea: Pull complete 06:53:17 d747dcd14b5f: Pull complete 06:53:17 2de7ff778b66: Pull complete 06:53:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:53:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:53:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:18 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:53:22 $ docker top b24eb69782c8f0d9ef215bf5a2229d3cc2b48b52615c330f4c5099e935a84ebe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:53:23 provisioning config files... 06:53:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14032421240489674128tmp 06:53:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12290873079955871988tmp 06:53:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1598176764221044636tmp [Pipeline] { [Pipeline] echo 06:53:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:53:23 ---> sigul-configuration.sh 06:53:23 gpg: directory `/root/.gnupg' created 06:53:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:53:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:53:23 gpg: keyring `/root/.gnupg/secring.gpg' created 06:53:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:53:23 gpg: CAST5 encrypted data 06:53:23 gpg: encrypted with 1 passphrase 06:53:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:53:23 + mkdir /home/jenkins 06:53:23 + mkdir /home/jenkins/sigul [Pipeline] sh 06:53:24 + 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 06:53:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:53:24 ---> sigul-install.sh 06:53:24 Sigul already installed; skipping installation. [Pipeline] sh 06:53:24 + git tag --list 06:53:24 0.7.1 06:53:24 v1.0.0 06:53:24 v1.1.0 06:53:24 v1.1.1 06:53:24 v1.2.2 06:53:24 v1.3.0 06:53:24 v1.3.1 06:53:24 v2.0.0 06:53:24 v2.1.0 06:53:24 v2.1.1 06:53:24 v2.2.0 06:53:24 v2.3.0 06:53:24 v3.0 06:53:24 v3.0.0 06:53:24 v3.1 06:53:24 v3.1.0 06:53:24 v3.1.0-dev.1 06:53:24 v3.1.0-dev.10 06:53:24 v3.1.0-dev.11 06:53:24 v3.1.0-dev.12 06:53:24 v3.1.0-dev.13 06:53:24 v3.1.0-dev.14 06:53:24 v3.1.0-dev.15 06:53:24 v3.1.0-dev.16 06:53:24 v3.1.0-dev.17 06:53:24 v3.1.0-dev.18 06:53:24 v3.1.0-dev.19 06:53:24 v3.1.0-dev.2 06:53:24 v3.1.0-dev.20 06:53:24 v3.1.0-dev.21 06:53:24 v3.1.0-dev.22 06:53:24 v3.1.0-dev.23 06:53:24 v3.1.0-dev.24 06:53:24 v3.1.0-dev.25 06:53:24 v3.1.0-dev.3 06:53:24 v3.1.0-dev.4 06:53:24 v3.1.0-dev.5 06:53:24 v3.1.0-dev.6 06:53:24 v3.1.0-dev.7 06:53:24 v3.1.0-dev.8 06:53:24 v3.1.0-dev.9 06:53:24 v3.2.0-dev.1 06:53:24 v3.2.0-dev.2 06:53:24 v3.2.0-dev.3 06:53:24 v3.2.0-dev.4 06:53:24 v3.2.0-dev.5 06:53:24 v3.2.0-dev.6 06:53:24 v3.2.0-dev.7 [Pipeline] sh 06:53:25 + lftools sign git-tag v3.2.0-dev.7 06:53:25 Signing Git tag with Sigul... 06:53:25 Signing v3.2.0-dev.7 [Pipeline] echo 06:53:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:53:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:53:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:53:26 $ docker stop --time=1 b24eb69782c8f0d9ef215bf5a2229d3cc2b48b52615c330f4c5099e935a84ebe 06:53:27 $ docker rm -f --volumes b24eb69782c8f0d9ef215bf5a2229d3cc2b48b52615c330f4c5099e935a84ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:53:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:53:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:53:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:29 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:53:29 $ docker top 7fb619c32bf813eed8c6d0acf2da70da4f4c63edea5ebfdec8df31f63da39fef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:29 [ssh-agent] Looking for ssh-agent implementation... 06:53:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:29 $ docker exec 7fb619c32bf813eed8c6d0acf2da70da4f4c63edea5ebfdec8df31f63da39fef ssh-agent 06:53:30 SSH_AUTH_SOCK=/tmp/ssh-JMOSb2sOQLnc/agent.32 06:53:30 SSH_AGENT_PID=38 06:53:30 Running ssh-add (command line suppressed) 06:53:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16942268544972916378.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16942268544972916378.key) 06:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:30 + git semver bump pre 06:53:30 2024-01-26 06:53:30,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:30 2024-01-26 06:53:30,668 [bump_version] DEBUG bumping version:3.2.0-dev.7 on axis:pre with prefix:dev 06:53:30 2024-01-26 06:53:30,669 [bump_version] DEBUG bumped version:3.2.0-dev.8 06:53:30 2024-01-26 06:53:30,669 [write_version] DEBUG write version:3.2.0-dev.8 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:53:30 2024-01-26 06:53:30,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:30 2024-01-26 06:53:30,669 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:30 2024-01-26 06:53:30,671 [execute] INFO git cat-file --batch-check 06:53:30 2024-01-26 06:53:30,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:53:30 2024-01-26 06:53:30,676 [execute] INFO git cat-file --batch 06:53:30 2024-01-26 06:53:30,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:53:30 2024-01-26 06:53:30,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:30 3.2.0-dev.8 [Pipeline] } 06:53:30 $ docker exec --env ******** --env ******** 7fb619c32bf813eed8c6d0acf2da70da4f4c63edea5ebfdec8df31f63da39fef ssh-agent -k 06:53:30 unset SSH_AUTH_SOCK; 06:53:30 unset SSH_AGENT_PID; 06:53:30 echo Agent pid 38 killed; 06:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:31 + git semver [Pipeline] } 06:53:31 $ docker stop --time=1 7fb619c32bf813eed8c6d0acf2da70da4f4c63edea5ebfdec8df31f63da39fef 06:53:32 $ docker rm -f --volumes 7fb619c32bf813eed8c6d0acf2da70da4f4c63edea5ebfdec8df31f63da39fef [Pipeline] // withDockerContainer [Pipeline] sh 06:53:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:53:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:34 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:53:34 $ docker top fa6a595e5b7bec8bab075c645b4fa321258834a4eba46616479aa6a147f9b91c -eo pid,comm 06:53:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:53:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:34 [ssh-agent] Looking for ssh-agent implementation... 06:53:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:34 $ docker exec fa6a595e5b7bec8bab075c645b4fa321258834a4eba46616479aa6a147f9b91c ssh-agent 06:53:34 SSH_AUTH_SOCK=/tmp/ssh-ugfMNMgFydwK/agent.32 06:53:34 SSH_AGENT_PID=38 06:53:34 Running ssh-add (command line suppressed) 06:53:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11754903570785945924.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11754903570785945924.key) 06:53:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:35 + git semver push 06:53:35 2024-01-26 06:53:35,569 [run_push] DEBUG push 06:53:35 2024-01-26 06:53:35,570 [execute] INFO git cat-file --batch-check 06:53:35 2024-01-26 06:53:35,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:53:35 2024-01-26 06:53:35,574 [execute] INFO git rev-list a3079560a0f5cadc8c0e0bd64ec7450e6119f930 -- 06:53:35 2024-01-26 06:53:35,575 [execute] DEBUG Popen(['git', 'rev-list', 'a3079560a0f5cadc8c0e0bd64ec7450e6119f930', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:53:35 2024-01-26 06:53:35,585 [execute] INFO git fetch -v origin 06:53:35 2024-01-26 06:53:35,585 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:53:36 2024-01-26 06:53:36,073 [run_push] DEBUG no remote changes detected 06:53:36 2024-01-26 06:53:36,074 [execute] INFO git push origin semver 06:53:36 2024-01-26 06:53:36,074 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:53:37 2024-01-26 06:53:36,823 [run_push] DEBUG push all version tags 06:53:37 2024-01-26 06:53:36,823 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:53:37 2024-01-26 06:53:36,824 [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) 06:53:37 2024-01-26 06:53:37,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:53:37 3.2.0-dev.8 [Pipeline] } 06:53:37 $ docker exec --env ******** --env ******** fa6a595e5b7bec8bab075c645b4fa321258834a4eba46616479aa6a147f9b91c ssh-agent -k 06:53:37 unset SSH_AUTH_SOCK; 06:53:37 unset SSH_AGENT_PID; 06:53:37 echo Agent pid 38 killed; 06:53:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:38 + git semver [Pipeline] } 06:53:38 $ docker stop --time=1 fa6a595e5b7bec8bab075c645b4fa321258834a4eba46616479aa6a147f9b91c 06:53:39 $ docker rm -f --volumes fa6a595e5b7bec8bab075c645b4fa321258834a4eba46616479aa6a147f9b91c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:53:41 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:53:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:53:41 total 16 06:53:41 drwxr-xr-x 3 root root 4096 Jan 26 06:35 . 06:53:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:53 .. 06:53:41 drwxr-xr-x 2 root root 4096 Jan 26 06:35 cost 06:53:41 -rw-r--r-- 1 root root 86 Jan 26 06:35 cost.csv 06:53:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:53:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:53:41 total 16 06:53:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:35 . 06:53:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:53 .. 06:53:41 drwxr-xr-x 2 jenkins jenkins 4096 Jan 26 06:35 cost 06:53:41 -rw-r--r-- 1 jenkins jenkins 86 Jan 26 06:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:53:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:42 ---> package-listing.sh 06:53:42 ++ facter osfamily 06:53:42 ++ tr '[:upper:]' '[:lower:]' 06:53:42 + OS_FAMILY=debian 06:53:42 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:53:42 + START_PACKAGES=/tmp/packages_start.txt 06:53:42 + END_PACKAGES=/tmp/packages_end.txt 06:53:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:42 + PACKAGES=/tmp/packages_start.txt 06:53:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:53:42 + PACKAGES=/tmp/packages_end.txt 06:53:42 + case "${OS_FAMILY}" in 06:53:42 + dpkg -l 06:53:42 + grep '^ii' 06:53:42 + '[' -f /tmp/packages_start.txt ']' 06:53:42 + '[' -f /tmp/packages_end.txt ']' 06:53:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:53:42 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:53:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:53:42 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 06:53:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:44 prd-ubuntu20.04-docker-8c-8g-27978 does not seem to be running inside a container 06:53:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:53:44 $ docker top 91c60e2551d15f6c1f9a321e77cb38ef1e43572cd4b431d05bd38ab76788c444 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:45 + mkdir -p /var/log/sysstat [Pipeline] sh 06:53:45 + ls /var/log/sa-host 06:53:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:45 provisioning config files... 06:53:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15306708587700506518tmp [Pipeline] { [Pipeline] echo 06:53:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:45 ---> create-netrc.sh [Pipeline] } 06:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:53:46 ---> python-tools-install.sh [Pipeline] echo 06:53:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:46 ---> sudo-logs.sh 06:53:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:53:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:47 ---> job-cost.sh 06:53:47 lf-activate-venv: SKIPPING 06:53:47 DEBUG: total: 0.2199999988079071 06:53:47 INFO: Retrieving Stack Cost... 06:53:47 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:48 INFO: Archiving Costs [Pipeline] echo 06:53:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:48 ---> logs-deploy.sh 06:53:48 lf-activate-venv: SKIPPING 06:53:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/160 06:53:48 INFO: archiving workspace using pattern(s): 06:53:49 Archives upload complete. 06:53:49 INFO: archiving logs to Nexus