Started by upstream project "edgexfoundry/cd-management/release-lts" build number 56 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c8369be06a5c5a29b6c14d39caafaee9c646641 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-ssh7878395420716837517.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-ssh17632461840603155333.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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17369694502209468181.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-ssh4066781466516213833.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13619141621994421034.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-ubuntu20.04-docker-8c-8g-18192’ is offline Running on prd-ubuntu20.04-docker-8c-8g-18303 in /w/workspace/edgexfoundry_device-mqtt-go_napa [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_napa # 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 6c8369be06a5c5a29b6c14d39caafaee9c646641 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @2e27f69" > git config core.sparsecheckout # timeout=10 > git checkout -f 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 > git rev-list --no-walk 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:59:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:59:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:59:26 ========================================================= 22:59:26 EdgeX Global Pipelines Version Info 22:59:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:59:27 ------------------- 22:59:27 stable info: 22:59:27 ------------------- 22:59:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:59:27 Message: update stable to v1.0.258 22:59:27 ------------------- 22:59:27 experimental info: 22:59:27 ------------------- 22:59:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:59:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:59:27 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:59:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c8369b [Pipeline] echo 22:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:28 provisioning config files... 22:59:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config16647185927221982739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:28 ---> docker-login.sh 22:59:28 nexus3.edgexfoundry.org:10001 22:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:29 Configure a credential helper to remove this warning. See 22:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:29 22:59:29 Login Succeeded 22:59:29 nexus3.edgexfoundry.org:10002 22:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:29 Configure a credential helper to remove this warning. See 22:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:29 22:59:29 Login Succeeded 22:59:29 nexus3.edgexfoundry.org:10003 22:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:29 Configure a credential helper to remove this warning. See 22:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:29 22:59:29 Login Succeeded 22:59:29 nexus3.edgexfoundry.org:10004 22:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:29 Configure a credential helper to remove this warning. See 22:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:29 22:59:29 Login Succeeded 22:59:29 docker.io 22:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:29 Configure a credential helper to remove this warning. See 22:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:29 22:59:29 Login Succeeded 22:59:29 ---> docker-login.sh ends [Pipeline] } 22:59:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:59:30 + git rev-list -1 --merges 6c8369be06a5c5a29b6c14d39caafaee9c646641~1..6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo 22:59:30 -----------> git rev-list -1 --merges 6c8369be06a5c5a29b6c14d39caafaee9c646641~1..6c8369be06a5c5a29b6c14d39caafaee9c646641 6c8369be06a5c5a29b6c14d39caafaee9c646641 [false] [Pipeline] sh 22:59:30 + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo 22:59:30 ========================================================= 22:59:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:59:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:30 + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo 22:59:30 [semverPrep] GIT_COMMIT: 6c8369be06a5c5a29b6c14d39caafaee9c646641, Commit Message: ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] echo 22:59:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:59:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:59:31 + grep -v github /etc/ssh/ssh_known_hosts 22:59:31 + [ -e /tmp/ssh_known_hosts ] 22:59:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:59:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:59:31 + sudo tee -a /etc/ssh/ssh_known_hosts 22:59:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:31 22:59:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:32 0.1.4: Pulling from edgex-devops/py-git-semver 22:59:32 b85a868b505f: Pulling fs layer 22:59:32 e2be974225ed: Pulling fs layer 22:59:32 339a4e72a1f5: Pulling fs layer 22:59:32 988bab9f4d93: Pulling fs layer 22:59:32 1469e6f7b9e6: Pulling fs layer 22:59:32 eaf3925da568: Pulling fs layer 22:59:32 bab4dde63d76: Pulling fs layer 22:59:32 bde34c3a00c8: Pulling fs layer 22:59:32 b352a97aabf1: Pulling fs layer 22:59:32 988bab9f4d93: Waiting 22:59:32 1469e6f7b9e6: Waiting 22:59:32 eaf3925da568: Waiting 22:59:32 bab4dde63d76: Waiting 22:59:32 bde34c3a00c8: Waiting 22:59:32 4872d77fe225: Pulling fs layer 22:59:32 5851b861e8e6: Pulling fs layer 22:59:32 4872d77fe225: Waiting 22:59:32 e2be974225ed: Verifying Checksum 22:59:32 e2be974225ed: Download complete 22:59:32 988bab9f4d93: Download complete 22:59:32 1469e6f7b9e6: Verifying Checksum 22:59:32 1469e6f7b9e6: Download complete 22:59:32 339a4e72a1f5: Verifying Checksum 22:59:32 339a4e72a1f5: Download complete 22:59:32 eaf3925da568: Verifying Checksum 22:59:32 eaf3925da568: Download complete 22:59:32 bde34c3a00c8: Download complete 22:59:32 b352a97aabf1: Verifying Checksum 22:59:32 b352a97aabf1: Download complete 22:59:32 4872d77fe225: Download complete 22:59:32 5851b861e8e6: Verifying Checksum 22:59:32 5851b861e8e6: Download complete 22:59:32 b85a868b505f: Verifying Checksum 22:59:32 b85a868b505f: Download complete 22:59:32 bab4dde63d76: Verifying Checksum 22:59:32 bab4dde63d76: Download complete 22:59:34 b85a868b505f: Pull complete 22:59:34 e2be974225ed: Pull complete 22:59:34 339a4e72a1f5: Pull complete 22:59:34 988bab9f4d93: Pull complete 22:59:34 1469e6f7b9e6: Pull complete 22:59:34 eaf3925da568: Pull complete 22:59:36 bab4dde63d76: Pull complete 22:59:36 bde34c3a00c8: Pull complete 22:59:37 b352a97aabf1: Pull complete 22:59:37 4872d77fe225: Pull complete 22:59:37 5851b861e8e6: Pull complete 22:59:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:37 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 22:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:59:40 $ docker top d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b -eo pid,comm 22:59:41 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). 22:59:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:41 [ssh-agent] Looking for ssh-agent implementation... 22:59:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:41 $ docker exec d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent 22:59:41 SSH_AUTH_SOCK=/tmp/ssh-SnekNWGXz9At/agent.32 22:59:41 SSH_AGENT_PID=38 22:59:41 Running ssh-add (command line suppressed) 22:59:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_5742013528374615199.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_5742013528374615199.key) 22:59:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:41 + git tag --points-at 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } 22:59:41 $ docker exec --env ******** --env ******** d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent -k 22:59:41 unset SSH_AUTH_SOCK; 22:59:41 unset SSH_AGENT_PID; 22:59:41 echo Agent pid 38 killed; 22:59:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:59:41 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:41 [ssh-agent] Looking for ssh-agent implementation... 22:59:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:41 $ docker exec d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent 22:59:42 SSH_AUTH_SOCK=/tmp/ssh-0dXTCFujO8R4/agent.70 22:59:42 SSH_AGENT_PID=76 22:59:42 Running ssh-add (command line suppressed) 22:59:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_17784169067096667098.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_17784169067096667098.key) 22:59:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:42 + git semver init 22:59:42 2023-11-15 22:59:42,740 [run_init] DEBUG init version:0.0.0 force:False 22:59:42 2023-11-15 22:59:42,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver 22:59:42 2023-11-15 22:59:42,741 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver 22:59:42 2023-11-15 22:59:42,741 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_napa, universal_newlines=False, shell=None, istream=None) 22:59:44 2023-11-15 22:59:43,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude 22:59:44 2023-11-15 22:59:43,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False 22:59:44 2023-11-15 22:59:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa 22:59:44 2023-11-15 22:59:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa 22:59:44 3.1.0 [Pipeline] } 22:59:44 $ docker exec --env ******** --env ******** d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent -k 22:59:44 unset SSH_AUTH_SOCK; 22:59:44 unset SSH_AGENT_PID; 22:59:44 echo Agent pid 76 killed; 22:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:44 + git semver [Pipeline] } 22:59:44 $ docker stop --time=1 d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b 22:59:46 $ docker rm -f --volumes d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b [Pipeline] // withDockerContainer [Pipeline] sh 22:59:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:59:46 Stashed 1 file(s) [Pipeline] echo 22:59:46 [edgeXSemver]: initialized semver on version 3.1.0 [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] sh 22:59:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18300 in /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] { [Pipeline] ws 22:59:47 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 22:59:47 The recommended git tool is: git 22:59:47 + git checkout 6c8369be06a5c5a29b6c14d39caafaee9c646641 22:59:47 HEAD is now at 6c8369b ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:47 provisioning config files... 22:59:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6051311628742285472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:47 ---> docker-login.sh 22:59:47 nexus3.edgexfoundry.org:10001 22:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:47 Configure a credential helper to remove this warning. See 22:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:47 22:59:47 Login Succeeded 22:59:47 nexus3.edgexfoundry.org:10002 22:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:47 Configure a credential helper to remove this warning. See 22:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:47 22:59:47 Login Succeeded 22:59:47 nexus3.edgexfoundry.org:10003 22:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:47 Configure a credential helper to remove this warning. See 22:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:47 22:59:47 Login Succeeded 22:59:47 nexus3.edgexfoundry.org:10004 22:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:47 Configure a credential helper to remove this warning. See 22:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:47 22:59:47 Login Succeeded 22:59:47 docker.io 22:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:48 Configure a credential helper to remove this warning. See 22:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:48 22:59:48 Login Succeeded 22:59:48 ---> docker-login.sh ends [Pipeline] } 22:59:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:48 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:59:48 + grep ^go [0-9].[0-9]* go.mod 22:59:48 + cut -d -f 2 [Pipeline] echo 22:59:48 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:59:48 ========================================================= 22:59:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:59:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:59:49 Sending build context to Docker daemon 44.5MB 22:59:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:59:49 Step 2/12 : FROM ${BASE} AS builder 22:59:49 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:59:49 7264a8db6415: Pulling fs layer 22:59:49 c4d48a809fc2: Pulling fs layer 22:59:49 4f1c88b9dad5: Pulling fs layer 22:59:49 ad3a456e5733: Pulling fs layer 22:59:49 f0163c21ed6d: Pulling fs layer 22:59:49 04c35c34e31e: Pulling fs layer 22:59:49 0c7b0fd20c02: Pulling fs layer 22:59:49 d22eed83c68c: Pulling fs layer 22:59:49 04c35c34e31e: Waiting 22:59:49 0c7b0fd20c02: Waiting 22:59:49 d22eed83c68c: Waiting 22:59:49 ad3a456e5733: Waiting 22:59:49 f0163c21ed6d: Waiting 22:59:49 c4d48a809fc2: Verifying Checksum 22:59:49 c4d48a809fc2: Download complete 22:59:49 ad3a456e5733: Verifying Checksum 22:59:49 ad3a456e5733: Download complete 22:59:49 f0163c21ed6d: Verifying Checksum 22:59:49 f0163c21ed6d: Download complete 22:59:49 7264a8db6415: Verifying Checksum 22:59:49 7264a8db6415: Download complete 22:59:49 04c35c34e31e: Verifying Checksum 22:59:49 04c35c34e31e: Download complete 22:59:49 7264a8db6415: Pull complete 22:59:49 d22eed83c68c: Verifying Checksum 22:59:49 d22eed83c68c: Download complete 22:59:49 c4d48a809fc2: Pull complete 22:59:50 4f1c88b9dad5: Verifying Checksum 22:59:50 4f1c88b9dad5: Download complete 22:59:50 0c7b0fd20c02: Verifying Checksum 22:59:50 0c7b0fd20c02: Download complete 22:59:51 using credential edgex-jenkins-ssh 22:59:51 Cloning the remote Git repository 22:59:51 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:59:51 > git init /w/workspace/device-mqtt-go/4 # timeout=10 22:59:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:59:51 > git --version # timeout=10 22:59:51 > git --version # 'git version 2.25.1' 22:59:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:53 4f1c88b9dad5: Pull complete 22:59:53 ad3a456e5733: Pull complete 22:59:53 f0163c21ed6d: Pull complete 22:59:53 04c35c34e31e: Pull complete 22:59:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:59:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:54 Avoid second fetch 22:59:54 Checking out Revision 6c8369be06a5c5a29b6c14d39caafaee9c646641 (napa) 22:59:55 0c7b0fd20c02: Pull complete 22:59:54 > git config core.sparsecheckout # timeout=10 22:59:54 > git checkout -f 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 22:59:55 Commit message: "ci(lts-release): LTS release v3.1.0 @2e27f69" 22:59:56 d22eed83c68c: Pull complete 22:59:56 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:59:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:59:56 ---> 8a661f5c53af 22:59:56 Step 3/12 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:59:56 % Total % Received % Xferd Average Speed Time Time Time Current 22:59:56 Dload Upload Total Spent Left Speed 22:59:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98310 0 --:--:-- --:--:-- --:--:-- 98310 [Pipeline] sh 22:59:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:59:57 + sudo tee /etc/docker/daemon.new 22:59:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:59:57 { 22:59:57 "registry-mirrors": [ 22:59:57 "https://nexus3.edgexfoundry.org:10001" 22:59:57 ], 22:59:57 "bip": "10.250.0.254/24", 22:59:57 "hosts": [ 22:59:57 "tcp://0.0.0.0:5555", 22:59:57 "unix:///var/run/docker.sock" 22:59:57 ], 22:59:57 "mtu": 1458, 22:59:57 "selinux-enabled": true, 22:59:57 "seccomp-profile": "/etc/docker/seccomp.json" 22:59:57 } [Pipeline] sh 22:59:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:59:58 + sudo service docker restart 23:00:04 ---> Running in 1da41286070f 23:00:04 Removing intermediate container 1da41286070f 23:00:04 ---> 5962b55657b1 23:00:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:00:04 ---> Running in b26ec15f770a 23:00:04 Removing intermediate container b26ec15f770a 23:00:04 ---> 2c0df15ace6e 23:00:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:00:04 ---> Running in b8184042b323 23:00:04 Removing intermediate container b8184042b323 23:00:04 ---> a0726e204404 23:00:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:00:04 ---> Running in e4a51f4e787c 23:00:04 Removing intermediate container e4a51f4e787c 23:00:04 ---> 31410cc63b3e 23:00:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:00:04 ---> Running in bb58cca21eeb 23:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:00:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:00:05 (2/4) Installing libedit (20221030.3.1-r1) 23:00:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:00:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:00:05 Executing busybox-1.36.1-r5.trigger 23:00:05 OK: 268 MiB in 56 packages 23:00:06 Removing intermediate container bb58cca21eeb 23:00:06 ---> 1703cc1797fd 23:00:06 Step 8/12 : WORKDIR /device-mqtt-go 23:00:06 ---> Running in 91b3194a8b4c 23:00:06 Removing intermediate container 91b3194a8b4c 23:00:06 ---> 035cee98ac23 23:00:06 Step 9/12 : COPY go.mod vendor* ./ 23:00:09 ---> d088bbd592e4 23:00:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:09 ---> Running in d1b8e5e4db44 [Pipeline] sh 23:00:16 + git checkout 6c8369be06a5c5a29b6c14d39caafaee9c646641 23:00:17 HEAD is now at 6c8369b ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:17 provisioning config files... 23:00:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config4339644872679686208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:17 ---> docker-login.sh 23:00:17 nexus3.edgexfoundry.org:10001 23:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10002 23:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10003 23:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10004 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 docker.io 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 ---> docker-login.sh ends [Pipeline] } 23:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:19 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 23:00:20 + grep ^go [0-9].[0-9]* go.mod 23:00:20 + cut -d -f 2 [Pipeline] echo 23:00:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:00:20 ========================================================= 23:00:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 23:00:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:00:23 Sending build context to Docker daemon 35.95MB 23:00:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:00:23 Step 2/12 : FROM ${BASE} AS builder 23:00:23 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:00:23 9fda8d8052c6: Pulling fs layer 23:00:23 5d54e960e981: Pulling fs layer 23:00:23 c4a7e357bf2a: Pulling fs layer 23:00:23 f0e02332f6b5: Pulling fs layer 23:00:23 57b776a6bec4: Pulling fs layer 23:00:23 8b19151f9e34: Pulling fs layer 23:00:23 eb6a9f2d7ee3: Pulling fs layer 23:00:23 8b19151f9e34: Waiting 23:00:23 eb6a9f2d7ee3: Waiting 23:00:23 f0e02332f6b5: Waiting 23:00:23 57b776a6bec4: Waiting 23:00:23 5d54e960e981: Verifying Checksum 23:00:23 5d54e960e981: Download complete 23:00:23 f0e02332f6b5: Verifying Checksum 23:00:23 f0e02332f6b5: Download complete 23:00:23 57b776a6bec4: Verifying Checksum 23:00:23 57b776a6bec4: Download complete 23:00:23 9fda8d8052c6: Verifying Checksum 23:00:23 9fda8d8052c6: Download complete 23:00:23 eb6a9f2d7ee3: Verifying Checksum 23:00:23 eb6a9f2d7ee3: Download complete 23:00:24 9fda8d8052c6: Pull complete 23:00:24 5d54e960e981: Pull complete 23:00:24 c4a7e357bf2a: Verifying Checksum 23:00:24 c4a7e357bf2a: Download complete 23:00:25 8b19151f9e34: Verifying Checksum 23:00:25 8b19151f9e34: Download complete 23:00:38 c4a7e357bf2a: Pull complete 23:00:38 f0e02332f6b5: Pull complete 23:00:38 57b776a6bec4: Pull complete 23:00:46 8b19151f9e34: Pull complete 23:00:48 eb6a9f2d7ee3: Pull complete 23:00:48 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 23:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 23:00:48 ---> ca1e05e92614 23:00:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:00:51 Removing intermediate container d1b8e5e4db44 23:00:51 ---> 4419317e33cc 23:00:51 Step 11/12 : COPY . . 23:00:51 ---> Running in 09906a1187db 23:00:51 Removing intermediate container 09906a1187db 23:00:51 ---> 9c61d9070751 23:00:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:00:51 ---> Running in 8037185746c6 23:00:51 Removing intermediate container 8037185746c6 23:00:51 ---> c316b111c4e7 23:00:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:00:51 ---> Running in d7919c878821 23:00:51 Removing intermediate container d7919c878821 23:00:51 ---> 63fab9420b7b 23:00:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:00:51 ---> Running in 2fa60cf0ab19 23:00:51 Removing intermediate container 2fa60cf0ab19 23:00:51 ---> 1b15c761da80 23:00:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:00:51 ---> Running in baed3a6587ee 23:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:00:53 ---> 6bfd3c8fd7a1 23:00:53 Step 12/12 : RUN $MAKE 23:00:53 ---> Running in 5b160ab3dcdf 23:00:53 noop 23:00:53 Removing intermediate container 5b160ab3dcdf 23:00:53 ---> f3dde1fcc417 23:00:53 Successfully built f3dde1fcc417 23:00:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:53 + docker inspect -f . ci-base-image-x86_64 23:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:53 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:00:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:00:53 (2/4) Installing libedit (20221030.3.1-r1) 23:00:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:00:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:00:53 Executing busybox-1.36.1-r5.trigger 23:00:53 OK: 271 MiB in 56 packages 23:00:55 $ docker top dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:54 + go version 23:00:54 go version go1.21.0 linux/amd64 [Pipeline] } 23:00:55 $ docker stop --time=1 dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 23:00:54 Removing intermediate container baed3a6587ee 23:00:54 ---> 17943bd6ba53 23:00:54 Step 8/12 : WORKDIR /device-mqtt-go 23:00:55 ---> Running in e44698f9f362 23:00:55 Removing intermediate container e44698f9f362 23:00:55 ---> a35115c0dbab 23:00:55 Step 9/12 : COPY go.mod vendor* ./ 23:00:57 $ docker rm -f --volumes dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:56 + docker inspect -f . ci-base-image-x86_64 23:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:56 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:00:57 $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:57 $ docker top 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh 23:00:57 + make test 23:00:57 go test ./... -coverprofile=coverage.out ./... 23:00:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:01:02 ---> 0d422cb58bfa 23:01:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:03 ---> Running in e9d16b88af96 23:01:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:01:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:01:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 23:01:16 go vet ./... 23:01:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:01:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:01:20 + go mod tidy [Pipeline] } 23:01:21 $ docker stop --time=1 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a 23:01:24 $ docker rm -f --volumes 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a [Pipeline] // withDockerContainer [Pipeline] sh 23:01:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:01:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:26 + ls -al . 23:01:26 total 188 23:01:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 23:00 . 23:01:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:59 .. 23:01:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:59 .dockerignore 23:01:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:01 .git 23:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 .github 23:01:26 -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:59 .gitignore 23:01:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:59 .golangci.yml 23:01:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:59 .semver 23:01:26 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 15 22:59 Attribution.txt 23:01:26 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 15 22:59 CHANGELOG.md 23:01:26 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 15 22:59 Dockerfile 23:01:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:59 GOVERNANCE.md 23:01:26 -rw-rw-r-- 1 jenkins jenkins 657 Nov 15 22:59 Jenkinsfile 23:01:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:59 LICENSE 23:01:26 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 15 22:59 Makefile 23:01:26 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:59 OWNERS.md 23:01:26 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 15 22:59 README.md 23:01:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:59 VERSION 23:01:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 bin 23:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 cmd 23:01:26 -rw-r--r-- 1 jenkins jenkins 18506 Nov 15 23:01 coverage.out 23:01:26 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 15 22:59 go.mod 23:01:26 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:59 go.sum 23:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 internal 23:01:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 mock 23:01:26 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:59 vendor 23:01:26 -rw-rw-r-- 1 jenkins jenkins 227 Nov 15 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:26 + 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=6c8369be06a5c5a29b6c14d39caafaee9c646641 --label arch=amd64 --label version=3.1.0 . 23:01:27 Sending build context to Docker daemon 44.52MB 23:01:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:01:27 Step 2/25 : FROM ${BASE} AS builder 23:01:27 ---> f3dde1fcc417 23:01:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:01:27 ---> Running in 78276fcfc1d2 23:01:27 Removing intermediate container 78276fcfc1d2 23:01:27 ---> 88e67d8428ee 23:01:27 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:01:27 ---> Running in db2d235e2df2 23:01:27 Removing intermediate container db2d235e2df2 23:01:27 ---> 7b4466d2cf8e 23:01:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:01:27 ---> Running in 625d9c68ea54 23:01:27 Removing intermediate container 625d9c68ea54 23:01:27 ---> cc93ab4362f0 23:01:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:01:27 ---> Running in 51e54abdb85e 23:01:28 Removing intermediate container 51e54abdb85e 23:01:28 ---> d3d22a2aedff 23:01:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:28 ---> Running in fc410a7609ed 23:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:01:29 OK: 268 MiB in 56 packages 23:01:29 Removing intermediate container fc410a7609ed 23:01:29 ---> ddb4923ae772 23:01:29 Step 8/25 : WORKDIR /device-mqtt-go 23:01:29 ---> Running in 8105c8ad3eb1 23:01:29 Removing intermediate container 8105c8ad3eb1 23:01:29 ---> 49d940bcee93 23:01:29 Step 9/25 : COPY go.mod vendor* ./ 23:01:31 ---> ba01dbec1de5 23:01:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:31 ---> Running in f260c7183b9c 23:01:31 skipping... 23:01:31 Removing intermediate container f260c7183b9c 23:01:31 ---> 49dba65d46a5 23:01:31 Step 11/25 : COPY . . 23:01:34 ---> 8c880c76e8c5 23:01:34 Step 12/25 : RUN $MAKE 23:01:34 ---> Running in dc70ba310fed 23:01:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:01:56 Removing intermediate container dc70ba310fed 23:01:56 ---> 63d94afb7f26 23:01:56 Step 13/25 : FROM alpine:3.18 23:01:56 3.18: Pulling from library/alpine 23:01:56 96526aa774ef: Pulling fs layer 23:01:56 96526aa774ef: Verifying Checksum 23:01:56 96526aa774ef: Download complete 23:01:56 96526aa774ef: Pull complete 23:01:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:01:56 Status: Downloaded newer image for alpine:3.18 23:01:56 ---> 8ca4688f4f35 23:01:56 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:01:56 ---> Running in b7938863f5be 23:01:56 Removing intermediate container b7938863f5be 23:01:56 ---> a24ef44a5b71 23:01:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:01:56 ---> Running in 6e884a0ba757 23:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:01:56 (1/1) Installing dumb-init (1.2.5-r2) 23:01:56 Executing busybox-1.36.1-r2.trigger 23:01:56 OK: 7 MiB in 16 packages 23:01:56 Removing intermediate container 6e884a0ba757 23:01:56 ---> c67fbaf3fd5f 23:01:56 Step 16/25 : RUN apk --no-cache upgrade 23:01:56 ---> Running in 62453c70cd61 23:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:01:56 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 23:01:56 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 23:01:56 Executing busybox-1.36.1-r5.post-upgrade 23:01:56 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 23:01:56 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 23:01:56 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 23:01:56 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 23:01:56 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 23:01:56 Executing busybox-1.36.1-r5.trigger 23:01:56 OK: 7 MiB in 16 packages 23:01:57 Removing intermediate container 62453c70cd61 23:01:57 ---> 87fdcbf565b1 23:01:57 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 23:01:58 ---> c4958742d8e0 23:01:58 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 23:01:58 ---> f417530dfb03 23:01:58 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:01:58 ---> 84e320b35392 23:01:58 Step 20/25 : EXPOSE 59982 23:01:58 ---> Running in 3ef3ff9cc807 23:01:58 Removing intermediate container 3ef3ff9cc807 23:01:58 ---> 841eeb5cc23f 23:01:58 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 23:01:58 ---> Running in 81cd7a66fcdb 23:01:58 Removing intermediate container 81cd7a66fcdb 23:01:58 ---> e96dbf5bf17d 23:01:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:01:58 ---> Running in b6ade2dff455 23:01:58 Removing intermediate container b6ade2dff455 23:01:58 ---> 5bcbc163180a 23:01:58 Step 23/25 : LABEL arch=amd64 23:01:58 ---> Running in fee78dfb830c 23:01:59 Removing intermediate container fee78dfb830c 23:01:59 ---> 7b5743107efa 23:01:59 Step 24/25 : LABEL git_sha=6c8369be06a5c5a29b6c14d39caafaee9c646641 23:01:59 ---> Running in d1fbc0311df1 23:01:59 Removing intermediate container d1fbc0311df1 23:01:59 ---> 387ab0bee43c 23:01:59 Step 25/25 : LABEL version=3.1.0 23:01:59 ---> Running in d9f0f31b1969 23:01:59 Removing intermediate container d9f0f31b1969 23:01:59 ---> 9d5d5fa346a1 23:01:59 [Warning] One or more build-args [ARCH] were not consumed 23:01:59 Successfully built 9d5d5fa346a1 23:01:59 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:59 provisioning config files... 23:01:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config16090244795781552827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:59 ---> docker-login.sh 23:01:59 nexus3.edgexfoundry.org:10001 23:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:59 Configure a credential helper to remove this warning. See 23:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:59 23:01:59 Login Succeeded 23:01:59 nexus3.edgexfoundry.org:10002 23:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:59 Configure a credential helper to remove this warning. See 23:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:59 23:01:59 Login Succeeded 23:01:59 nexus3.edgexfoundry.org:10003 23:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:59 Configure a credential helper to remove this warning. See 23:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:59 23:01:59 Login Succeeded 23:01:59 nexus3.edgexfoundry.org:10004 23:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:59 Configure a credential helper to remove this warning. See 23:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:59 23:01:59 Login Succeeded 23:01:59 docker.io 23:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:00 Configure a credential helper to remove this warning. See 23:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:00 23:02:00 Login Succeeded 23:02:00 ---> docker-login.sh ends [Pipeline] } 23:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:02:00 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:02:00 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:02:00 6c8369be06a5c5a29b6c14d39caafaee9c646641 23:02:00 3.1.0 23:02:00 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:02:00 napa 23:02:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 23:02:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:02:00 bbe8d09b4bab: Preparing 23:02:00 0f10c1fffe39: Preparing 23:02:00 fb839d937587: Preparing 23:02:00 f546dc6b8eaa: Preparing 23:02:00 18a5893b6148: Preparing 23:02:00 cc2447e1835a: Preparing 23:02:00 cc2447e1835a: Waiting 23:02:00 0f10c1fffe39: Pushed 23:02:00 bbe8d09b4bab: Pushed 23:02:00 18a5893b6148: Pushed 23:02:00 cc2447e1835a: Layer already exists 23:02:01 f546dc6b8eaa: Pushed 23:02:03 fb839d937587: Pushed 23:02:03 6c8369be06a5c5a29b6c14d39caafaee9c646641: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 23:02:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:02:04 bbe8d09b4bab: Preparing 23:02:04 0f10c1fffe39: Preparing 23:02:04 fb839d937587: Preparing 23:02:04 f546dc6b8eaa: Preparing 23:02:04 18a5893b6148: Preparing 23:02:04 cc2447e1835a: Preparing 23:02:04 cc2447e1835a: Waiting 23:02:04 18a5893b6148: Layer already exists 23:02:04 bbe8d09b4bab: Layer already exists 23:02:04 0f10c1fffe39: Layer already exists 23:02:04 f546dc6b8eaa: Layer already exists 23:02:04 fb839d937587: Layer already exists 23:02:04 cc2447e1835a: Layer already exists 23:02:04 3.1.0: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:02:05 bbe8d09b4bab: Preparing 23:02:05 0f10c1fffe39: Preparing 23:02:05 fb839d937587: Preparing 23:02:05 f546dc6b8eaa: Preparing 23:02:05 18a5893b6148: Preparing 23:02:05 cc2447e1835a: Preparing 23:02:05 0f10c1fffe39: Layer already exists 23:02:05 fb839d937587: Layer already exists 23:02:05 f546dc6b8eaa: Layer already exists 23:02:05 18a5893b6148: Layer already exists 23:02:05 bbe8d09b4bab: Layer already exists 23:02:05 cc2447e1835a: Layer already exists 23:02:05 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa 23:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:02:05 bbe8d09b4bab: Preparing 23:02:05 0f10c1fffe39: Preparing 23:02:05 fb839d937587: Preparing 23:02:05 f546dc6b8eaa: Preparing 23:02:05 18a5893b6148: Preparing 23:02:05 cc2447e1835a: Preparing 23:02:05 cc2447e1835a: Waiting 23:02:05 0f10c1fffe39: Layer already exists 23:02:05 fb839d937587: Layer already exists 23:02:05 bbe8d09b4bab: Layer already exists 23:02:05 18a5893b6148: Layer already exists 23:02:05 f546dc6b8eaa: Layer already exists 23:02:05 cc2447e1835a: Layer already exists 23:02:05 napa: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:02:05 ===================================================== [Pipeline] echo 23:02:05 taggedImages: 23:02:05 - nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 23:02:05 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 23:02:05 - nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:02:05 - nexus3.edgexfoundry.org:10004/device-mqtt:napa [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 23:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:06 23:02:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:06 latest: Pulling from edgex-lftools-log-publisher 23:02:06 5eb5b503b376: Pulling fs layer 23:02:06 5c69ac0246d0: Pulling fs layer 23:02:06 ec43610c2a17: Pulling fs layer 23:02:06 3a2ae6a8a46f: Pulling fs layer 23:02:06 33b1e0a273af: Pulling fs layer 23:02:06 5d3b04190fa2: Pulling fs layer 23:02:06 2f39f015ded8: Pulling fs layer 23:02:06 3a2ae6a8a46f: Waiting 23:02:06 33b1e0a273af: Waiting 23:02:06 5d3b04190fa2: Waiting 23:02:06 2f39f015ded8: Waiting 23:02:06 5c69ac0246d0: Verifying Checksum 23:02:06 5c69ac0246d0: Download complete 23:02:06 3a2ae6a8a46f: Verifying Checksum 23:02:06 3a2ae6a8a46f: Download complete 23:02:06 33b1e0a273af: Verifying Checksum 23:02:06 33b1e0a273af: Download complete 23:02:06 ec43610c2a17: Verifying Checksum 23:02:06 ec43610c2a17: Download complete 23:02:06 5d3b04190fa2: Verifying Checksum 23:02:06 5d3b04190fa2: Download complete 23:02:06 5eb5b503b376: Verifying Checksum 23:02:06 5eb5b503b376: Download complete 23:02:08 5eb5b503b376: Pull complete 23:02:08 5c69ac0246d0: Pull complete 23:02:08 ec43610c2a17: Pull complete 23:02:08 3a2ae6a8a46f: Pull complete 23:02:08 33b1e0a273af: Pull complete 23:02:08 5d3b04190fa2: Pull complete 23:02:12 2f39f015ded8: Pull complete 23:02:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:02:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:13 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:02:13 $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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 23:02:18 $ docker top 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:18 ---> job-cost.sh 23:02:18 lf-activate-venv: SKIPPING 23:02:18 INFO: No Stack... 23:02:19 INFO: Retrieving Pricing Info for: v3-standard-8 23:02:19 INFO: Archiving Costs [Pipeline] sh 23:02:20 + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv 23:02:20 + cut -d, -f6 [Pipeline] lock 23:02:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] 23:02:20 Resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] did not exist. Created. 23:02:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:20 + echo total: 0.2199999988079071 [Pipeline] stash 23:02:20 Stashed 1 file(s) [Pipeline] } 23:02:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:20 $ docker stop --time=1 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc 23:02:21 $ docker rm -f --volumes 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:02:24 Removing intermediate container e9d16b88af96 23:02:24 ---> ab92359afba3 23:02:24 Step 11/12 : COPY . . 23:02:24 ---> c2a514638f73 23:02:24 Step 12/12 : RUN $MAKE 23:02:24 ---> Running in 554e969f5c63 23:02:24 noop 23:02:24 Removing intermediate container 554e969f5c63 23:02:24 ---> e3be1cf3a1ad 23:02:24 Successfully built e3be1cf3a1ad 23:02:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:25 + docker inspect -f . ci-base-image-arm64 23:02:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:25 prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container 23:02:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:26 $ docker top 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:27 + go version 23:02:27 go version go1.21.0 linux/arm64 [Pipeline] } 23:02:27 $ docker stop --time=1 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 23:02:28 $ docker rm -f --volumes 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:29 + docker inspect -f . ci-base-image-arm64 23:02:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:29 prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container 23:02:29 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:30 $ docker top 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:31 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 23:02:31 + make test 23:02:31 go test ./... -coverprofile=coverage.out ./... 23:02:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:04:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:04:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:04:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.8% of statements 23:04:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:04:11 go vet ./... 23:04:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:04:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:04:21 ./bin/test-attribution-txt.sh [Pipeline] echo 23:04:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:04:22 + go mod tidy [Pipeline] } 23:04:25 $ docker stop --time=1 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 23:04:27 $ docker rm -f --volumes 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:04:28 Warning: overwriting stash ‘coverage-report’ 23:04:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:04:30 + ls -al . 23:04:30 total 184 23:04:30 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 23:02 . 23:04:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:59 .. 23:04:30 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:59 .dockerignore 23:04:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:00 .git 23:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 .github 23:04:30 -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:59 .gitignore 23:04:30 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:59 .golangci.yml 23:04:30 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 15 22:59 Attribution.txt 23:04:30 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 15 22:59 CHANGELOG.md 23:04:30 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 15 22:59 Dockerfile 23:04:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:59 GOVERNANCE.md 23:04:30 -rw-rw-r-- 1 jenkins jenkins 657 Nov 15 22:59 Jenkinsfile 23:04:30 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:59 LICENSE 23:04:30 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 15 22:59 Makefile 23:04:30 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:59 OWNERS.md 23:04:30 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 15 22:59 README.md 23:04:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:59 VERSION 23:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 bin 23:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 cmd 23:04:30 -rw-r--r-- 1 jenkins jenkins 18506 Nov 15 23:04 coverage.out 23:04:30 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 15 22:59 go.mod 23:04:30 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:59 go.sum 23:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 internal 23:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 mock 23:04:30 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:59 vendor 23:04:30 -rw-rw-r-- 1 jenkins jenkins 227 Nov 15 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:30 + 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=6c8369be06a5c5a29b6c14d39caafaee9c646641 --label arch=arm64 --label version=3.1.0 . 23:04:33 Sending build context to Docker daemon 35.97MB 23:04:33 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:04:33 Step 2/25 : FROM ${BASE} AS builder 23:04:33 ---> e3be1cf3a1ad 23:04:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:04:33 ---> Running in 5d35fe67e9a0 23:04:33 Removing intermediate container 5d35fe67e9a0 23:04:33 ---> 46c64827f27c 23:04:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:33 ---> Running in 6337c460471f 23:04:33 Removing intermediate container 6337c460471f 23:04:33 ---> 72f98c8dc954 23:04:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:04:33 ---> Running in d77c05633013 23:04:34 Removing intermediate container d77c05633013 23:04:34 ---> c63135c1ee6d 23:04:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:04:34 ---> Running in 8ef73e760330 23:04:34 Removing intermediate container 8ef73e760330 23:04:34 ---> 513cd7f52bf9 23:04:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:34 ---> Running in d1b362c25345 23:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:04:36 OK: 271 MiB in 56 packages 23:04:37 Removing intermediate container d1b362c25345 23:04:37 ---> bee8eb685a0d 23:04:37 Step 8/25 : WORKDIR /device-mqtt-go 23:04:37 ---> Running in 4d903a09adbc 23:04:38 Removing intermediate container 4d903a09adbc 23:04:38 ---> 4b4f238d126a 23:04:38 Step 9/25 : COPY go.mod vendor* ./ 23:04:44 ---> f84536571224 23:04:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:45 ---> Running in 9ca3a1fdb385 23:04:46 skipping... 23:04:46 Removing intermediate container 9ca3a1fdb385 23:04:46 ---> 41cf3233ecb3 23:04:46 Step 11/25 : COPY . . 23:04:54 ---> 0688b49d0327 23:04:54 Step 12/25 : RUN $MAKE 23:04:54 ---> Running in 133f80263d11 23:04:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:06:46 Removing intermediate container 133f80263d11 23:06:46 ---> 6ab9ac87a442 23:06:46 Step 13/25 : FROM alpine:3.18 23:06:46 3.18: Pulling from library/alpine 23:06:46 579b34f0a95b: Pulling fs layer 23:06:46 579b34f0a95b: Verifying Checksum 23:06:46 579b34f0a95b: Download complete 23:06:46 579b34f0a95b: Pull complete 23:06:46 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:06:46 Status: Downloaded newer image for alpine:3.18 23:06:46 ---> 3cc203321400 23:06:46 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:06:46 ---> Running in cd062bb0c897 23:06:46 Removing intermediate container cd062bb0c897 23:06:46 ---> 1daf8fc2e82f 23:06:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:06:46 ---> Running in 75dbad815d11 23:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:06:46 (1/1) Installing dumb-init (1.2.5-r2) 23:06:46 Executing busybox-1.36.1-r2.trigger 23:06:46 OK: 8 MiB in 16 packages 23:06:46 Removing intermediate container 75dbad815d11 23:06:46 ---> d15a8a2d9f0e 23:06:46 Step 16/25 : RUN apk --no-cache upgrade 23:06:46 ---> Running in 10f33ef52331 23:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:06:46 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 23:06:46 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 23:06:46 Executing busybox-1.36.1-r5.post-upgrade 23:06:46 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 23:06:46 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 23:06:46 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 23:06:46 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 23:06:46 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 23:06:46 Executing busybox-1.36.1-r5.trigger 23:06:46 OK: 8 MiB in 16 packages 23:06:46 Removing intermediate container 10f33ef52331 23:06:46 ---> 1914ed86ddaa 23:06:46 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 23:06:46 ---> 10c0fbeb0f9d 23:06:46 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 23:06:46 ---> a320061c1cd9 23:06:46 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:06:46 ---> d3d8dbba4e15 23:06:46 Step 20/25 : EXPOSE 59982 23:06:46 ---> Running in 55ae614ca9ea 23:06:46 Removing intermediate container 55ae614ca9ea 23:06:46 ---> 77db8253de18 23:06:46 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 23:06:46 ---> Running in 2e93f9583439 23:06:47 Removing intermediate container 2e93f9583439 23:06:47 ---> adb939789bc9 23:06:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:06:47 ---> Running in 3198ed17ce18 23:06:47 Removing intermediate container 3198ed17ce18 23:06:47 ---> 003e54dafc9f 23:06:47 Step 23/25 : LABEL arch=arm64 23:06:47 ---> Running in 44ac7c8ac667 23:06:47 Removing intermediate container 44ac7c8ac667 23:06:47 ---> 070bfc86bfb8 23:06:47 Step 24/25 : LABEL git_sha=6c8369be06a5c5a29b6c14d39caafaee9c646641 23:06:47 ---> Running in 7f9bb19eb72d 23:06:48 Removing intermediate container 7f9bb19eb72d 23:06:48 ---> d2ada20192c0 23:06:48 Step 25/25 : LABEL version=3.1.0 23:06:48 ---> Running in 3c75f155decd 23:06:48 Removing intermediate container 3c75f155decd 23:06:48 ---> f55eb785c6d9 23:06:48 [Warning] One or more build-args [ARCH] were not consumed 23:06:48 Successfully built f55eb785c6d9 23:06:48 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:49 provisioning config files... 23:06:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config9361721783434818200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:49 ---> docker-login.sh 23:06:49 nexus3.edgexfoundry.org:10001 23:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:49 Configure a credential helper to remove this warning. See 23:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:49 23:06:49 Login Succeeded 23:06:49 nexus3.edgexfoundry.org:10002 23:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:49 Configure a credential helper to remove this warning. See 23:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:49 23:06:49 Login Succeeded 23:06:49 nexus3.edgexfoundry.org:10003 23:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:50 Configure a credential helper to remove this warning. See 23:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:50 23:06:50 Login Succeeded 23:06:50 nexus3.edgexfoundry.org:10004 23:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:50 Configure a credential helper to remove this warning. See 23:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:50 23:06:50 Login Succeeded 23:06:50 docker.io 23:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:51 Configure a credential helper to remove this warning. See 23:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:51 23:06:51 Login Succeeded 23:06:51 ---> docker-login.sh ends [Pipeline] } 23:06:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:06:51 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:06:51 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:06:51 6c8369be06a5c5a29b6c14d39caafaee9c646641 23:06:51 3.1.0 23:06:51 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:06:51 napa 23:06:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 23:06:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:06:51 8c4ad46b9781: Preparing 23:06:51 8d4d0644ace3: Preparing 23:06:51 9e571ef9d990: Preparing 23:06:51 8bd8c1c139cb: Preparing 23:06:51 17f7d87dec4a: Preparing 23:06:51 5f4d9fc4d98d: Preparing 23:06:51 5f4d9fc4d98d: Waiting 23:06:52 17f7d87dec4a: Pushed 23:06:52 8c4ad46b9781: Pushed 23:06:52 8d4d0644ace3: Pushed 23:06:52 5f4d9fc4d98d: Layer already exists 23:06:53 8bd8c1c139cb: Pushed 23:06:57 9e571ef9d990: Pushed 23:06:58 6c8369be06a5c5a29b6c14d39caafaee9c646641: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 23:06:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:06:58 8c4ad46b9781: Preparing 23:06:58 8d4d0644ace3: Preparing 23:06:58 9e571ef9d990: Preparing 23:06:58 8bd8c1c139cb: Preparing 23:06:58 17f7d87dec4a: Preparing 23:06:58 5f4d9fc4d98d: Preparing 23:06:58 5f4d9fc4d98d: Waiting 23:06:58 17f7d87dec4a: Layer already exists 23:06:58 8d4d0644ace3: Layer already exists 23:06:58 8bd8c1c139cb: Layer already exists 23:06:58 9e571ef9d990: Layer already exists 23:06:58 8c4ad46b9781: Layer already exists 23:06:58 5f4d9fc4d98d: Layer already exists 23:06:58 3.1.0: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:06:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:06:59 8c4ad46b9781: Preparing 23:06:59 8d4d0644ace3: Preparing 23:06:59 9e571ef9d990: Preparing 23:06:59 8bd8c1c139cb: Preparing 23:06:59 17f7d87dec4a: Preparing 23:06:59 5f4d9fc4d98d: Preparing 23:06:59 5f4d9fc4d98d: Waiting 23:06:59 8bd8c1c139cb: Layer already exists 23:06:59 17f7d87dec4a: Layer already exists 23:06:59 8c4ad46b9781: Layer already exists 23:06:59 8d4d0644ace3: Layer already exists 23:06:59 9e571ef9d990: Layer already exists 23:06:59 5f4d9fc4d98d: Layer already exists 23:06:59 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa 23:07:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:07:00 8c4ad46b9781: Preparing 23:07:00 8d4d0644ace3: Preparing 23:07:00 9e571ef9d990: Preparing 23:07:00 8bd8c1c139cb: Preparing 23:07:00 17f7d87dec4a: Preparing 23:07:00 5f4d9fc4d98d: Preparing 23:07:00 5f4d9fc4d98d: Waiting 23:07:00 8bd8c1c139cb: Layer already exists 23:07:00 9e571ef9d990: Layer already exists 23:07:00 17f7d87dec4a: Layer already exists 23:07:00 8c4ad46b9781: Layer already exists 23:07:00 8d4d0644ace3: Layer already exists 23:07:00 5f4d9fc4d98d: Layer already exists 23:07:00 napa: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:07:00 ===================================================== [Pipeline] echo 23:07:00 taggedImages: 23:07:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 23:07:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 23:07:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 23:07:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:00 23:07:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:01 arm64: Pulling from edgex-lftools-log-publisher 23:07:01 8998bd30e6a1: Pulling fs layer 23:07:01 04944245beec: Pulling fs layer 23:07:01 699f458cf7ca: Pulling fs layer 23:07:01 765212b225bb: Pulling fs layer 23:07:01 f23df028b6ca: Pulling fs layer 23:07:01 d65c8cfc05b1: Pulling fs layer 23:07:01 2437ff75d9bd: Pulling fs layer 23:07:01 765212b225bb: Waiting 23:07:01 f23df028b6ca: Waiting 23:07:01 d65c8cfc05b1: Waiting 23:07:01 2437ff75d9bd: Waiting 23:07:01 04944245beec: Verifying Checksum 23:07:01 04944245beec: Download complete 23:07:01 765212b225bb: Verifying Checksum 23:07:01 765212b225bb: Download complete 23:07:01 f23df028b6ca: Download complete 23:07:01 d65c8cfc05b1: Verifying Checksum 23:07:01 d65c8cfc05b1: Download complete 23:07:01 699f458cf7ca: Verifying Checksum 23:07:01 699f458cf7ca: Download complete 23:07:01 8998bd30e6a1: Verifying Checksum 23:07:01 8998bd30e6a1: Download complete 23:07:04 2437ff75d9bd: Verifying Checksum 23:07:04 2437ff75d9bd: Download complete 23:07:06 8998bd30e6a1: Pull complete 23:07:07 04944245beec: Pull complete 23:07:08 699f458cf7ca: Pull complete 23:07:08 765212b225bb: Pull complete 23:07:09 f23df028b6ca: Pull complete 23:07:09 d65c8cfc05b1: Pull complete 23:07:27 2437ff75d9bd: Pull complete 23:07:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:28 prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container 23:07:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:07:30 $ docker top 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:31 ---> job-cost.sh 23:07:31 lf-activate-venv: SKIPPING 23:07:31 INFO: No Stack... 23:07:32 INFO: Retrieving Pricing Info for: v3-standard-4 23:07:32 INFO: Archiving Costs [Pipeline] sh 23:07:33 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 23:07:33 + cut -d, -f6 [Pipeline] lock 23:07:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] 23:07:33 Resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] did not exist. Created. 23:07:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:34 /w/workspace/device-mqtt-go/4@tmp/durable-4b49b5a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:07:34 + echo total: 0.10999999940395355 [Pipeline] stash 23:07:34 Warning: overwriting stash ‘stack-cost’ 23:07:35 Stashed 1 file(s) [Pipeline] } 23:07:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:07:35 $ docker stop --time=1 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed 23:07:36 $ docker rm -f --volumes 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed [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 23:07:37 provisioning config files... 23:07:37 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config11503462486984792911tmp [Pipeline] { [Pipeline] sh 23:07:37 + set +x 23:07:37 + + curl -s https://codecov.io/bash 23:07:37 bash -s -- 23:07:37 23:07:37 _____ _ 23:07:37 / ____| | | 23:07:37 | | ___ __| | ___ ___ _____ __ 23:07:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:07:37 | |___| (_) | (_| | __/ (_| (_) \ V / 23:07:37 \_____\___/ \__,_|\___|\___\___/ \_/ 23:07:37 Bash-1.0.6 23:07:37 23:07:37 23:07:37 ==> git version 2.25.1 found 23:07:37 ==> 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 23:07:37 Release-Date: 2020-01-08 23:07:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:07:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:07:37 ==> Jenkins CI detected. 23:07:37 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa 23:07:37 project root: . 23:07:37 --> token set from env 23:07:37 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 23:07:37 ==> Running gcov in . (disable via -X gcov) 23:07:37 ==> Python coveragepy not found 23:07:37 ==> Searching for coverage reports in: 23:07:37 + . 23:07:37 -> Found 1 reports 23:07:37 ==> Detecting git/mercurial file structure 23:07:37 ==> Reading reports 23:07:37 + ./coverage.out bytes=18506 23:07:37 ==> Appending adjustments 23:07:37 https://docs.codecov.io/docs/fixing-reports 23:07:37 + Found adjustments 23:07:37 ==> Gzipping contents 23:07:37 16K /tmp/codecov.W1NiCd.gz 23:07:37 ==> Uploading reports 23:07:37 url: https://codecov.io 23:07:37 query: branch=napa&commit=6c8369be06a5c5a29b6c14d39caafaee9c646641&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:07:37 -> Pinging Codecov 23:07:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=napa&commit=6c8369be06a5c5a29b6c14d39caafaee9c646641&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:07:37 -> Uploading to 23:07:37 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/7D719EC7BBE17E464838252E33014C33/6c8369be06a5c5a29b6c14d39caafaee9c646641/23577e84-2080-4740-8fd3-2f309cc6bad4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T230737Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df97cfbb7cc4d1da519f42660761c080ef27d184181b9b350cc38c2eaa261a9a 23:07:37 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:37 Dload Upload Total Spent Left Speed 23:07:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14838 0 0 100 14838 0 47254 --:--:-- --:--:-- --:--:-- 47254 23:07:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } 23:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:07:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:07:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:07:38 23:07:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:07:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:07:38 df9b9388f04a: Pulling fs layer 23:07:38 52dc419b0ee2: Pulling fs layer 23:07:38 25bc292e5bac: Pulling fs layer 23:07:38 114826534d7a: Pulling fs layer 23:07:38 4657fd5d0bcf: Pulling fs layer 23:07:38 6ad1cebc031e: Pulling fs layer 23:07:38 8a3aa393b2d8: Pulling fs layer 23:07:38 4657fd5d0bcf: Waiting 23:07:38 6ad1cebc031e: Waiting 23:07:38 114826534d7a: Waiting 23:07:38 8a3aa393b2d8: Waiting 23:07:38 25bc292e5bac: Verifying Checksum 23:07:38 25bc292e5bac: Download complete 23:07:38 52dc419b0ee2: Verifying Checksum 23:07:38 52dc419b0ee2: Download complete 23:07:38 4657fd5d0bcf: Verifying Checksum 23:07:38 4657fd5d0bcf: Download complete 23:07:38 df9b9388f04a: Download complete 23:07:39 df9b9388f04a: Pull complete 23:07:39 6ad1cebc031e: Verifying Checksum 23:07:39 6ad1cebc031e: Download complete 23:07:39 52dc419b0ee2: Pull complete 23:07:39 25bc292e5bac: Pull complete 23:07:39 114826534d7a: Download complete 23:07:40 8a3aa393b2d8: Verifying Checksum 23:07:40 8a3aa393b2d8: Download complete 23:07:44 114826534d7a: Pull complete 23:07:44 4657fd5d0bcf: Pull complete 23:07:44 6ad1cebc031e: Pull complete 23:07:46 8a3aa393b2d8: Pull complete 23:07:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:07:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:46 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:07:46 $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:07:51 $ docker top dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 -eo pid,comm [Pipeline] { [Pipeline] echo 23:07:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh 23:07:52 + set -o pipefail 23:07:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' 23:07:54 23:07:54 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa (github.com/edgexfoundry/device-mqtt-go)... 23:07:54 23:07:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/b39a022b-44c5-437a-bf64-26747daf1255/history/262d2d50-ff09-4ca7-856e-4629b58c530b 23:07:54 23:07:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:07:54 23:07:54 23:07:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:07:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:07:54 More details here: https://snyk.co/ue1NS [Pipeline] } 23:07:54 $ docker stop --time=1 dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 23:07:55 $ docker rm -f --volumes dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 [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 23:07:56 + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] sh 23:07:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:07:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:57 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:07:57 $ docker top 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b -eo pid,comm 23:07:57 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). 23:07:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:07:57 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:07:57 + git semver [Pipeline] } 23:07:58 $ docker stop --time=1 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b 23:07:59 $ docker rm -f --volumes 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:07:59 23:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:07:59 0.23.1-centos7: Pulling from edgex-lftools 23:07:59 ab5ef0e58194: Pulling fs layer 23:07:59 9712f1f96733: Pulling fs layer 23:07:59 63f879dbbcfc: Pulling fs layer 23:07:59 0d9ebad4ef96: Pulling fs layer 23:07:59 e9a5061849ea: Pulling fs layer 23:07:59 d747dcd14b5f: Pulling fs layer 23:07:59 2de7ff778b66: Pulling fs layer 23:07:59 d747dcd14b5f: Waiting 23:07:59 2de7ff778b66: Waiting 23:07:59 0d9ebad4ef96: Waiting 23:07:59 e9a5061849ea: Waiting 23:07:59 9712f1f96733: Verifying Checksum 23:07:59 9712f1f96733: Download complete 23:08:00 63f879dbbcfc: Verifying Checksum 23:08:00 63f879dbbcfc: Download complete 23:08:00 0d9ebad4ef96: Verifying Checksum 23:08:00 0d9ebad4ef96: Download complete 23:08:00 e9a5061849ea: Verifying Checksum 23:08:00 e9a5061849ea: Download complete 23:08:00 d747dcd14b5f: Verifying Checksum 23:08:00 d747dcd14b5f: Download complete 23:08:00 2de7ff778b66: Verifying Checksum 23:08:00 2de7ff778b66: Download complete 23:08:00 ab5ef0e58194: Verifying Checksum 23:08:00 ab5ef0e58194: Download complete 23:08:04 ab5ef0e58194: Pull complete 23:08:04 9712f1f96733: Pull complete 23:08:04 63f879dbbcfc: Pull complete 23:08:08 0d9ebad4ef96: Pull complete 23:08:09 e9a5061849ea: Pull complete 23:08:09 d747dcd14b5f: Pull complete 23:08:10 2de7ff778b66: Pull complete 23:08:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:08:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:08:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:10 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:08:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:08:16 $ docker top 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:08:16 provisioning config files... 23:08:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6446227321263897516tmp 23:08:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config5062129325813128542tmp 23:08:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config17161609231495637218tmp [Pipeline] { [Pipeline] echo 23:08:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:08:16 ---> sigul-configuration.sh 23:08:16 gpg: directory `/root/.gnupg' created 23:08:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:08:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:08:16 gpg: keyring `/root/.gnupg/secring.gpg' created 23:08:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:08:16 gpg: CAST5 encrypted data 23:08:16 gpg: encrypted with 1 passphrase 23:08:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:08:17 + mkdir /home/jenkins 23:08:17 + mkdir /home/jenkins/sigul [Pipeline] sh 23:08:17 + 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 23:08:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:08:17 ---> sigul-install.sh 23:08:17 Sigul already installed; skipping installation. [Pipeline] sh 23:08:17 + git tag --list 23:08:17 0.7.1 23:08:17 v1.0.0 23:08:17 v1.1.0 23:08:17 v1.1.1 23:08:17 v1.2.2 23:08:17 v1.3.0 23:08:17 v1.3.1 23:08:17 v2.0.0 23:08:17 v2.1.0 23:08:17 v2.1.1 23:08:17 v2.2.0 23:08:17 v2.3.0 23:08:17 v3.0 23:08:17 v3.0.0 23:08:17 v3.1 23:08:17 v3.1.0 23:08:17 v3.1.0-dev.1 23:08:17 v3.1.0-dev.10 23:08:17 v3.1.0-dev.11 23:08:17 v3.1.0-dev.12 23:08:17 v3.1.0-dev.13 23:08:17 v3.1.0-dev.14 23:08:17 v3.1.0-dev.15 23:08:17 v3.1.0-dev.16 23:08:17 v3.1.0-dev.17 23:08:17 v3.1.0-dev.18 23:08:17 v3.1.0-dev.19 23:08:17 v3.1.0-dev.2 23:08:17 v3.1.0-dev.20 23:08:17 v3.1.0-dev.21 23:08:17 v3.1.0-dev.22 23:08:17 v3.1.0-dev.23 23:08:17 v3.1.0-dev.24 23:08:17 v3.1.0-dev.25 23:08:17 v3.1.0-dev.3 23:08:17 v3.1.0-dev.4 23:08:17 v3.1.0-dev.5 23:08:17 v3.1.0-dev.6 23:08:17 v3.1.0-dev.7 23:08:17 v3.1.0-dev.8 23:08:17 v3.1.0-dev.9 [Pipeline] sh 23:08:18 + lftools sign git-tag v3.1.0 23:08:18 Signing Git tag with Sigul... 23:08:18 Signing v3.1.0 [Pipeline] echo 23:08:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:08:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:08:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:08:19 $ docker stop --time=1 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 23:08:21 $ docker rm -f --volumes 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:08:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:21 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:22 $ docker top 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 -eo pid,comm 23:08:22 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). 23:08:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:22 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:22 + git semver [Pipeline] } 23:08:22 $ docker stop --time=1 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 23:08:24 $ docker rm -f --volumes 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:24 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:25 $ docker top b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd -eo pid,comm 23:08:25 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). 23:08:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:25 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:25 + git semver [Pipeline] } 23:08:25 $ docker stop --time=1 b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd 23:08:27 $ docker rm -f --volumes b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd [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 23:08:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] 23:08:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 23:08:27 total 16 23:08:27 drwxr-xr-x 3 root root 4096 Nov 15 23:02 . 23:08:27 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 23:08 .. 23:08:27 drwxr-xr-x 2 root root 4096 Nov 15 23:02 cost 23:08:27 -rw-r--r-- 1 root root 84 Nov 15 23:02 cost.csv 23:08:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 23:08:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 23:08:27 total 16 23:08:27 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 23:02 . 23:08:27 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 23:08 .. 23:08:27 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 23:02 cost 23:08:27 -rw-r--r-- 1 jenkins jenkins 84 Nov 15 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:08:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:08:28 ---> package-listing.sh 23:08:28 ++ facter osfamily 23:08:28 ++ tr '[:upper:]' '[:lower:]' 23:08:29 + OS_FAMILY=debian 23:08:29 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa 23:08:29 + START_PACKAGES=/tmp/packages_start.txt 23:08:29 + END_PACKAGES=/tmp/packages_end.txt 23:08:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:08:29 + PACKAGES=/tmp/packages_start.txt 23:08:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' 23:08:29 + PACKAGES=/tmp/packages_end.txt 23:08:29 + case "${OS_FAMILY}" in 23:08:29 + dpkg -l 23:08:29 + grep '^ii' 23:08:29 + '[' -f /tmp/packages_start.txt ']' 23:08:29 + '[' -f /tmp/packages_end.txt ']' 23:08:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:08:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' 23:08:29 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ 23:08:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo 23:08:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:08:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:29 prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container 23:08:29 $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:08:30 $ docker top a704d2256c991bf4b794aed9fad0e74edca519208f5ab7b217de8343c461c053 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:30 + touch /tmp/pre-build-complete [Pipeline] sh 23:08:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:08:31 + ls /var/log/sa-host 23:08:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:31 provisioning config files... 23:08:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config2858819492156458605tmp [Pipeline] { [Pipeline] echo 23:08:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:08:31 ---> create-netrc.sh [Pipeline] } 23:08:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:08:32 ---> python-tools-install.sh [Pipeline] echo 23:08:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:08:32 ---> sudo-logs.sh 23:08:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:08:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:08:32 ---> job-cost.sh 23:08:32 lf-activate-venv: SKIPPING 23:08:32 DEBUG: total: 0.2199999988079071 23:08:32 INFO: Retrieving Stack Cost... 23:08:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:08:33 INFO: Archiving Costs [Pipeline] echo 23:08:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:08:33 ---> logs-deploy.sh 23:08:33 lf-activate-venv: SKIPPING 23:08:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/4 23:08:33 INFO: archiving workspace using pattern(s): 23:08:34 Archives upload complete. 23:08:34 INFO: archiving logs to Nexus