Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 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 dabaf310096f55ca97d0e997aba8433d12ae90b5 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-ssh9628192668615549379.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7743654767597185192.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6143422663942315990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh17738865754538754967.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-ssh1528479287854998673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2004 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 dabaf310096f55ca97d0e997aba8433d12ae90b5 (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @7a6fdf0" > git config core.sparsecheckout # timeout=10 > git checkout -f dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 > git rev-list --no-walk dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:48 ========================================================= 09:40:48 EdgeX Global Pipelines Version Info 09:40:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:48 ------------------- 09:40:48 stable info: 09:40:48 ------------------- 09:40:48 Commited By: Ginny Guan ginny@iotechsys.com 09:40:48 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:40:48 Message: update stable to v1.0.260 09:40:49 ------------------- 09:40:49 experimental info: 09:40:49 ------------------- 09:40:49 Commited By: Ginny Guan ginny@iotechsys.com 09:40:49 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:40:49 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 09:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 09:40:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 09:40:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo 09:40:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dabaf31 [Pipeline] echo 09:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:50 provisioning config files... 09:40:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config17398735266882523288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:50 ---> ****-login.sh 09:40:50 nexus3.edgexfoundry.org:10001 09:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:50 Configure a credential helper to remove this warning. See 09:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:50 09:40:50 Login Succeeded 09:40:50 nexus3.edgexfoundry.org:10002 09:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:50 Configure a credential helper to remove this warning. See 09:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:50 09:40:50 Login Succeeded 09:40:50 nexus3.edgexfoundry.org:10003 09:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:51 Configure a credential helper to remove this warning. See 09:40:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:51 09:40:51 Login Succeeded 09:40:51 nexus3.edgexfoundry.org:10004 09:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:51 Configure a credential helper to remove this warning. See 09:40:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:51 09:40:51 Login Succeeded 09:40:51 ****.io 09:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:51 Configure a credential helper to remove this warning. See 09:40:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:51 09:40:51 Login Succeeded 09:40:51 ---> ****-login.sh ends [Pipeline] } 09:40:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:51 + git rev-list -1 --merges dabaf310096f55ca97d0e997aba8433d12ae90b5~1..dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo 09:40:51 -----------> git rev-list -1 --merges dabaf310096f55ca97d0e997aba8433d12ae90b5~1..dabaf310096f55ca97d0e997aba8433d12ae90b5 dabaf310096f55ca97d0e997aba8433d12ae90b5 [false] [Pipeline] sh 09:40:52 + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo 09:40:52 ========================================================= 09:40:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:40:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:52 + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo 09:40:52 [semverPrep] GIT_COMMIT: dabaf310096f55ca97d0e997aba8433d12ae90b5, Commit Message: ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] echo 09:40:52 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:52 + grep -v github /etc/ssh/ssh_known_hosts 09:40:52 + [ -e /tmp/ssh_known_hosts ] 09:40:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:52 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:52 sudo tee -a /etc/ssh/ssh_known_hosts 09:40:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:53 09:40:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:53 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:53 b85a868b505f: Pulling fs layer 09:40:53 e2be974225ed: Pulling fs layer 09:40:53 339a4e72a1f5: Pulling fs layer 09:40:53 988bab9f4d93: Pulling fs layer 09:40:53 1469e6f7b9e6: Pulling fs layer 09:40:53 eaf3925da568: Pulling fs layer 09:40:53 bab4dde63d76: Pulling fs layer 09:40:53 bde34c3a00c8: Pulling fs layer 09:40:53 b352a97aabf1: Pulling fs layer 09:40:53 4872d77fe225: Pulling fs layer 09:40:53 5851b861e8e6: Pulling fs layer 09:40:53 bab4dde63d76: Waiting 09:40:53 4872d77fe225: Waiting 09:40:53 5851b861e8e6: Waiting 09:40:53 1469e6f7b9e6: Waiting 09:40:53 988bab9f4d93: Waiting 09:40:53 eaf3925da568: Waiting 09:40:53 b352a97aabf1: Waiting 09:40:53 bde34c3a00c8: Waiting 09:40:53 e2be974225ed: Download complete 09:40:53 988bab9f4d93: Verifying Checksum 09:40:53 988bab9f4d93: Download complete 09:40:53 1469e6f7b9e6: Verifying Checksum 09:40:53 1469e6f7b9e6: Download complete 09:40:53 eaf3925da568: Verifying Checksum 09:40:53 eaf3925da568: Download complete 09:40:53 339a4e72a1f5: Verifying Checksum 09:40:53 339a4e72a1f5: Download complete 09:40:53 bde34c3a00c8: Download complete 09:40:53 b352a97aabf1: Verifying Checksum 09:40:53 b352a97aabf1: Download complete 09:40:53 4872d77fe225: Download complete 09:40:53 b85a868b505f: Verifying Checksum 09:40:53 b85a868b505f: Download complete 09:40:53 5851b861e8e6: Verifying Checksum 09:40:53 5851b861e8e6: Download complete 09:40:54 bab4dde63d76: Verifying Checksum 09:40:54 bab4dde63d76: Download complete 09:40:55 b85a868b505f: Pull complete 09:40:55 e2be974225ed: Pull complete 09:40:55 339a4e72a1f5: Pull complete 09:40:56 988bab9f4d93: Pull complete 09:40:56 1469e6f7b9e6: Pull complete 09:40:56 eaf3925da568: Pull complete 09:40:58 bab4dde63d76: Pull complete 09:40:58 bde34c3a00c8: Pull complete 09:40:58 b352a97aabf1: Pull complete 09:40:59 4872d77fe225: Pull complete 09:40:59 5851b861e8e6: Pull complete 09:40:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:59 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:40:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:41:05 $ docker top 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 -eo pid,comm 09:41:05 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). 09:41:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:41:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:05 [ssh-agent] Looking for ssh-agent implementation... 09:41:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:05 $ docker exec 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent 09:41:06 SSH_AUTH_SOCK=/tmp/ssh-hVK7fFINwpHf/agent.32 09:41:06 SSH_AGENT_PID=38 09:41:06 Running ssh-add (command line suppressed) 09:41:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_1924725801580903352.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_1924725801580903352.key) 09:41:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:06 + git tag --points-at dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } 09:41:06 $ docker exec --env ******** --env ******** 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent -k 09:41:06 unset SSH_AUTH_SOCK; 09:41:06 unset SSH_AGENT_PID; 09:41:06 echo Agent pid 38 killed; 09:41:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:41:06 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 09:41:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:06 [ssh-agent] Looking for ssh-agent implementation... 09:41:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:06 $ docker exec 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent 09:41:06 SSH_AUTH_SOCK=/tmp/ssh-Ppc8HBDiIAW1/agent.72 09:41:06 SSH_AGENT_PID=78 09:41:06 Running ssh-add (command line suppressed) 09:41:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_686973089903022136.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_686973089903022136.key) 09:41:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:07 + git semver init 09:41:07 2024-05-31 09:41:07,529 [run_init] DEBUG init version:0.0.0 force:False 09:41:07 2024-05-31 09:41:07,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver 09:41:07 2024-05-31 09:41:07,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver 09:41:07 2024-05-31 09:41:07,530 [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) 09:41:08 2024-05-31 09:41:08,845 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude 09:41:08 2024-05-31 09:41:08,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False 09:41:08 2024-05-31 09:41:08,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa 09:41:08 2024-05-31 09:41:08,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa 09:41:08 3.1.1 [Pipeline] } 09:41:08 $ docker exec --env ******** --env ******** 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent -k 09:41:09 unset SSH_AUTH_SOCK; 09:41:09 unset SSH_AGENT_PID; 09:41:09 echo Agent pid 78 killed; 09:41:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:09 + git semver [Pipeline] } 09:41:09 $ docker stop --time=1 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 09:41:11 $ docker rm -f --volumes 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:11 Stashed 1 file(s) [Pipeline] echo 09:41:11 [edgeXSemver]: initialized semver on version 3.1.1 [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 09:41:12 + git checkout dabaf310096f55ca97d0e997aba8433d12ae90b5 09:41:12 HEAD is now at dabaf31 ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:12 provisioning config files... 09:41:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config4969773628987567247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:12 ---> ****-login.sh 09:41:12 nexus3.edgexfoundry.org:10001 09:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:12 Configure a credential helper to remove this warning. See 09:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:12 09:41:12 Login Succeeded 09:41:12 nexus3.edgexfoundry.org:10002 09:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:12 Configure a credential helper to remove this warning. See 09:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:12 09:41:12 Login Succeeded 09:41:12 nexus3.edgexfoundry.org:10003 09:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:12 Configure a credential helper to remove this warning. See 09:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:12 09:41:12 Login Succeeded 09:41:12 nexus3.edgexfoundry.org:10004 09:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:12 Configure a credential helper to remove this warning. See 09:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:12 09:41:12 Login Succeeded 09:41:12 ****.io 09:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:13 Configure a credential helper to remove this warning. See 09:41:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:13 09:41:13 Login Succeeded 09:41:13 ---> ****-login.sh ends [Pipeline] } 09:41:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:13 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:41:13 + grep ^go [0-9].[0-9]* go.mod 09:41:13 + cut -d -f 2 [Pipeline] echo 09:41:13 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:13 ========================================================= 09:41:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:41:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:13 + 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 . 09:41:14 Sending build context to Docker daemon 48.69MB 09:41:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:41:14 Step 2/12 : FROM ${BASE} AS builder 09:41:14 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:41:14 619be1103602: Pulling fs layer 09:41:14 7862e08f4a3e: Pulling fs layer 09:41:14 5df492c9dc93: Pulling fs layer 09:41:14 7629e6793208: Pulling fs layer 09:41:14 4f4fb700ef54: Pulling fs layer 09:41:14 8de7f028bff5: Pulling fs layer 09:41:14 7629e6793208: Waiting 09:41:14 4f4fb700ef54: Waiting 09:41:14 44042ff1420b: Pulling fs layer 09:41:14 5cdaf54b7214: Pulling fs layer 09:41:14 38f3e5a9071a: Pulling fs layer 09:41:14 44042ff1420b: Waiting 09:41:14 38f3e5a9071a: Waiting 09:41:14 5cdaf54b7214: Waiting 09:41:14 7862e08f4a3e: Download complete 09:41:14 7629e6793208: Verifying Checksum 09:41:14 7629e6793208: Download complete 09:41:14 4f4fb700ef54: Download complete 09:41:14 8de7f028bff5: Verifying Checksum 09:41:14 8de7f028bff5: Download complete 09:41:14 619be1103602: Verifying Checksum 09:41:14 619be1103602: Download complete 09:41:14 44042ff1420b: Verifying Checksum 09:41:14 44042ff1420b: Download complete 09:41:14 619be1103602: Pull complete 09:41:14 38f3e5a9071a: Verifying Checksum 09:41:14 38f3e5a9071a: Download complete 09:41:14 7862e08f4a3e: Pull complete 09:41:14 5df492c9dc93: Verifying Checksum 09:41:14 5df492c9dc93: Download complete 09:41:15 5cdaf54b7214: Verifying Checksum 09:41:18 5df492c9dc93: Pull complete 09:41:18 7629e6793208: Pull complete 09:41:18 4f4fb700ef54: Pull complete 09:41:18 8de7f028bff5: Pull complete 09:41:18 44042ff1420b: Pull complete 09:41:20 5cdaf54b7214: Pull complete 09:41:21 38f3e5a9071a: Pull complete 09:41:21 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:41:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:41:21 ---> 60b93f829570 09:41:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:41:26 Still waiting to schedule task 09:41:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ 09:41:34 ---> Running in 6f758e9147db 09:41:34 Removing intermediate container 6f758e9147db 09:41:34 ---> ebefdd4e0096 09:41:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:34 ---> Running in 3f7f5fe89038 09:41:34 Removing intermediate container 3f7f5fe89038 09:41:34 ---> 49e005470f69 09:41:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:41:34 ---> Running in d6c844d81e08 09:41:34 Removing intermediate container d6c844d81e08 09:41:34 ---> e0ee0802853b 09:41:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:41:34 ---> Running in 6629a9504afe 09:41:34 Removing intermediate container 6629a9504afe 09:41:34 ---> 01067fd5271e 09:41:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:34 ---> Running in 62244b4f6021 09:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:34 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:41:34 (2/4) Installing libedit (20221030.3.1-r1) 09:41:34 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:41:34 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:41:34 Executing busybox-1.36.1-r5.trigger 09:41:34 OK: 268 MiB in 56 packages 09:41:34 Removing intermediate container 62244b4f6021 09:41:34 ---> aac413e63a31 09:41:34 Step 8/12 : WORKDIR /device-mqtt-go 09:41:34 ---> Running in 7ddc166a0c30 09:41:34 Removing intermediate container 7ddc166a0c30 09:41:34 ---> 405f63958713 09:41:34 Step 9/12 : COPY go.mod vendor* ./ 09:41:37 ---> 15a2c9c95efe 09:41:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:37 ---> Running in 08b19d62fcde 09:42:24 Removing intermediate container 08b19d62fcde 09:42:24 ---> 001cd8701d9d 09:42:24 Step 11/12 : COPY . . 09:42:24 ---> 9c0aa4bbe08e 09:42:24 Step 12/12 : RUN $MAKE 09:42:24 ---> Running in 2c6f518f3a44 09:42:24 noop 09:42:24 Removing intermediate container 2c6f518f3a44 09:42:24 ---> f1e0af35c816 09:42:24 Successfully built f1e0af35c816 09:42:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:24 + docker inspect -f . ci-base-image-x86_64 09:42:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:25 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:42:25 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:42:25 $ docker top 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:25 + go version 09:42:25 go version go1.21.9 linux/amd64 [Pipeline] } 09:42:25 $ docker stop --time=1 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 09:42:27 $ docker rm -f --volumes 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:27 + docker inspect -f . ci-base-image-x86_64 09:42:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:27 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:42:27 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:42:27 $ docker top 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh 09:42:28 + make test 09:42:28 go test ./... -coverprofile=coverage.out ./... 09:42:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:42:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:42:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:42:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements 09:42:47 go vet ./... 09:42:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:42:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:42:49 ./bin/test-attribution-txt.sh [Pipeline] echo 09:42:49 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:42:50 + go mod tidy [Pipeline] } 09:42:50 $ docker stop --time=1 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 09:42:54 $ docker rm -f --volumes 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 [Pipeline] // withDockerContainer [Pipeline] sh 09:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:42:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:55 + ls -al . 09:42:55 total 188 09:42:55 drwxrwxr-x 10 jenkins jenkins 4096 May 31 09:42 . 09:42:55 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 .. 09:42:55 -rw-rw-r-- 1 jenkins jenkins 140 May 31 09:40 .dockerignore 09:42:55 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git 09:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 .github 09:42:55 -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:40 .gitignore 09:42:55 -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:40 .golangci.yml 09:42:55 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver 09:42:55 -rw-rw-r-- 1 jenkins jenkins 10405 May 31 09:40 Attribution.txt 09:42:55 -rw-rw-r-- 1 jenkins jenkins 18574 May 31 09:40 CHANGELOG.md 09:42:55 -rw-rw-r-- 1 jenkins jenkins 1798 May 31 09:40 Dockerfile 09:42:55 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:40 GOVERNANCE.md 09:42:55 -rw-rw-r-- 1 jenkins jenkins 657 May 31 09:40 Jenkinsfile 09:42:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:40 LICENSE 09:42:55 -rw-rw-r-- 1 jenkins jenkins 1963 May 31 09:40 Makefile 09:42:55 -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:40 OWNERS.md 09:42:55 -rw-rw-r-- 1 jenkins jenkins 3599 May 31 09:40 README.md 09:42:55 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:42:55 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 bin 09:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 cmd 09:42:55 -rw-r--r-- 1 jenkins jenkins 18506 May 31 09:42 coverage.out 09:42:55 -rw-rw-r-- 1 jenkins jenkins 3745 May 31 09:40 go.mod 09:42:55 -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:40 go.sum 09:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 internal 09:42:55 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 mock 09:42:55 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:40 vendor 09:42:55 -rw-rw-r-- 1 jenkins jenkins 227 May 31 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:55 + 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=dabaf310096f55ca97d0e997aba8433d12ae90b5 --label arch=amd64 --label version=3.1.1 . 09:42:56 Sending build context to Docker daemon 48.71MB 09:42:56 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 09:42:56 Step 2/25 : FROM ${BASE} AS builder 09:42:56 ---> f1e0af35c816 09:42:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:42:57 ---> Running in e4e2ddb3f9f2 09:42:57 Removing intermediate container e4e2ddb3f9f2 09:42:57 ---> e02dcd2bd92b 09:42:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:57 ---> Running in 700f944c9567 09:42:57 Removing intermediate container 700f944c9567 09:42:57 ---> 0219b60aca7d 09:42:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:42:57 ---> Running in 4ce93236fd64 09:42:58 Removing intermediate container 4ce93236fd64 09:42:58 ---> d1b02c654721 09:42:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:42:58 ---> Running in cc6643054433 09:42:58 Removing intermediate container cc6643054433 09:42:58 ---> dbe777d88398 09:42:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:58 ---> Running in ef519edc052f 09:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:59 OK: 268 MiB in 56 packages 09:43:00 Removing intermediate container ef519edc052f 09:43:00 ---> 3020dc5cdc04 09:43:00 Step 8/25 : WORKDIR /device-mqtt-go 09:43:00 ---> Running in c1c31af3b4af 09:43:00 Removing intermediate container c1c31af3b4af 09:43:00 ---> 4333b0cb14c0 09:43:00 Step 9/25 : COPY go.mod vendor* ./ 09:43:02 ---> c90844b9f5c1 09:43:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:03 ---> Running in 50f8855954d9 09:43:04 skipping... 09:43:04 Removing intermediate container 50f8855954d9 09:43:04 ---> f0c60d9b5b90 09:43:04 Step 11/25 : COPY . . 09:43:07 ---> 6c3fda2fa9f9 09:43:07 Step 12/25 : RUN $MAKE 09:43:08 ---> Running in c22826b4b59b 09:43:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 09:43:34 Removing intermediate container c22826b4b59b 09:43:34 ---> 9105b8ee4299 09:43:34 Step 13/25 : FROM alpine:3.18 09:43:34 3.18: Pulling from library/alpine 09:43:35 619be1103602: Already exists 09:43:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:43:35 Status: Downloaded newer image for alpine:3.18 09:43:35 ---> d3782b16ccc9 09:43:35 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:43:35 ---> Running in 4690a665727d 09:43:35 Removing intermediate container 4690a665727d 09:43:35 ---> 514b3dff55e1 09:43:35 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:43:35 ---> Running in 4efa4c2073e8 09:43:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:36 (1/1) Installing dumb-init (1.2.5-r2) 09:43:36 Executing busybox-1.36.1-r5.trigger 09:43:36 OK: 7 MiB in 16 packages 09:43:36 Removing intermediate container 4efa4c2073e8 09:43:36 ---> f09791fbf9cf 09:43:36 Step 16/25 : RUN apk --no-cache upgrade 09:43:36 ---> Running in 8f785f708d74 09:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:37 Upgrading critical system libraries and apk-tools: 09:43:37 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:43:37 Executing busybox-1.36.1-r5.trigger 09:43:37 Continuing the upgrade transaction with new apk-tools: 09:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:37 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:43:37 Executing busybox-1.36.1-r6.post-upgrade 09:43:37 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:43:37 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:43:37 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:43:37 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:43:37 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:43:37 Executing busybox-1.36.1-r6.trigger 09:43:37 OK: 7 MiB in 16 packages 09:43:38 Removing intermediate container 8f785f708d74 09:43:38 ---> ab8ad4729c9b 09:43:38 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 09:43:40 ---> 5eda399de675 09:43:40 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 09:43:40 ---> 915a4bd7c1df 09:43:40 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:43:40 ---> 819303cd0a92 09:43:40 Step 20/25 : EXPOSE 59982 09:43:40 ---> Running in ba7ae7182e6c 09:43:40 Removing intermediate container ba7ae7182e6c 09:43:40 ---> fe9e5d629b40 09:43:40 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 09:43:40 ---> Running in b5584e1df849 09:43:41 Removing intermediate container b5584e1df849 09:43:41 ---> 7afd1eb22296 09:43:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:43:41 ---> Running in c601bd8f7158 09:43:41 Removing intermediate container c601bd8f7158 09:43:41 ---> a529a0094ac6 09:43:41 Step 23/25 : LABEL arch=amd64 09:43:41 ---> Running in 1e584cfb5368 09:43:41 Removing intermediate container 1e584cfb5368 09:43:41 ---> 1944021d7ee0 09:43:41 Step 24/25 : LABEL git_sha=dabaf310096f55ca97d0e997aba8433d12ae90b5 09:43:41 ---> Running in 0bd56f9a3821 09:43:41 Removing intermediate container 0bd56f9a3821 09:43:41 ---> 48b9fd35b24a 09:43:41 Step 25/25 : LABEL version=3.1.1 09:43:41 ---> Running in 8ecd62741ace 09:43:42 Removing intermediate container 8ecd62741ace 09:43:42 ---> 85eb533e301b 09:43:42 [Warning] One or more build-args [ARCH] were not consumed 09:43:42 Successfully built 85eb533e301b 09:43:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:42 provisioning config files... 09:43:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config8384180635437641835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:42 ---> ****-login.sh 09:43:42 nexus3.edgexfoundry.org:10001 09:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:42 Configure a credential helper to remove this warning. See 09:43:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:42 09:43:42 Login Succeeded 09:43:42 nexus3.edgexfoundry.org:10002 09:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:42 Configure a credential helper to remove this warning. See 09:43:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:42 09:43:42 Login Succeeded 09:43:42 nexus3.edgexfoundry.org:10003 09:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:42 Configure a credential helper to remove this warning. See 09:43:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:42 09:43:42 Login Succeeded 09:43:42 nexus3.edgexfoundry.org:10004 09:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:42 Configure a credential helper to remove this warning. See 09:43:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:42 09:43:42 Login Succeeded 09:43:42 ****.io 09:43:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:43 Configure a credential helper to remove this warning. See 09:43:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:43 09:43:43 Login Succeeded 09:43:43 ---> ****-login.sh ends [Pipeline] } 09:43:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 09:43:43 dabaf310096f55ca97d0e997aba8433d12ae90b5 09:43:43 3.1.1 09:43:43 dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:43:43 napa 09:43:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 09:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:43:43 a2362383f93b: Preparing 09:43:43 960f93543135: Preparing 09:43:43 c3718893224b: Preparing 09:43:43 23d06601e331: Preparing 09:43:43 7de1851af60e: Preparing 09:43:43 aedc3bda2944: Preparing 09:43:43 aedc3bda2944: Waiting 09:43:43 7de1851af60e: Pushed 09:43:43 a2362383f93b: Pushed 09:43:43 960f93543135: Pushed 09:43:43 aedc3bda2944: Layer already exists 09:43:44 23d06601e331: Pushed 09:43:47 c3718893224b: Pushed 09:43:47 dabaf310096f55ca97d0e997aba8433d12ae90b5: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 09:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:43:47 a2362383f93b: Preparing 09:43:47 960f93543135: Preparing 09:43:47 c3718893224b: Preparing 09:43:47 23d06601e331: Preparing 09:43:47 7de1851af60e: Preparing 09:43:47 aedc3bda2944: Preparing 09:43:47 aedc3bda2944: Waiting 09:43:47 7de1851af60e: Layer already exists 09:43:47 c3718893224b: Layer already exists 09:43:47 a2362383f93b: Layer already exists 09:43:47 960f93543135: Layer already exists 09:43:47 23d06601e331: Layer already exists 09:43:47 aedc3bda2944: Layer already exists 09:43:47 3.1.1: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:43:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:43:48 a2362383f93b: Preparing 09:43:48 960f93543135: Preparing 09:43:48 c3718893224b: Preparing 09:43:48 23d06601e331: Preparing 09:43:48 7de1851af60e: Preparing 09:43:48 aedc3bda2944: Preparing 09:43:48 aedc3bda2944: Waiting 09:43:48 960f93543135: Layer already exists 09:43:48 c3718893224b: Layer already exists 09:43:48 a2362383f93b: Layer already exists 09:43:48 23d06601e331: Layer already exists 09:43:48 7de1851af60e: Layer already exists 09:43:48 aedc3bda2944: Layer already exists 09:43:48 dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa 09:43:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:43:49 a2362383f93b: Preparing 09:43:49 960f93543135: Preparing 09:43:49 c3718893224b: Preparing 09:43:49 23d06601e331: Preparing 09:43:49 7de1851af60e: Preparing 09:43:49 aedc3bda2944: Preparing 09:43:49 aedc3bda2944: Waiting 09:43:49 a2362383f93b: Layer already exists 09:43:49 960f93543135: Layer already exists 09:43:49 c3718893224b: Layer already exists 09:43:49 23d06601e331: Layer already exists 09:43:49 7de1851af60e: Layer already exists 09:43:49 aedc3bda2944: Layer already exists 09:43:49 napa: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:49 ===================================================== [Pipeline] echo 09:43:49 taggedImages: 09:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 09:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 09:43:49 - nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:43:49 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:49 09:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:50 latest: Pulling from edgex-lftools-log-publisher 09:43:50 5eb5b503b376: Pulling fs layer 09:43:50 5c69ac0246d0: Pulling fs layer 09:43:50 ec43610c2a17: Pulling fs layer 09:43:50 3a2ae6a8a46f: Pulling fs layer 09:43:50 33b1e0a273af: Pulling fs layer 09:43:50 5d3b04190fa2: Pulling fs layer 09:43:50 2f39f015ded8: Pulling fs layer 09:43:50 33b1e0a273af: Waiting 09:43:50 5d3b04190fa2: Waiting 09:43:50 5c69ac0246d0: Download complete 09:43:50 3a2ae6a8a46f: Verifying Checksum 09:43:50 3a2ae6a8a46f: Download complete 09:43:50 33b1e0a273af: Verifying Checksum 09:43:50 33b1e0a273af: Download complete 09:43:50 5d3b04190fa2: Verifying Checksum 09:43:50 5d3b04190fa2: Download complete 09:43:50 ec43610c2a17: Verifying Checksum 09:43:50 5eb5b503b376: Verifying Checksum 09:43:50 5eb5b503b376: Download complete 09:43:50 2f39f015ded8: Verifying Checksum 09:43:50 2f39f015ded8: Download complete 09:43:51 5eb5b503b376: Pull complete 09:43:52 5c69ac0246d0: Pull complete 09:43:52 ec43610c2a17: Pull complete 09:43:52 3a2ae6a8a46f: Pull complete 09:43:52 33b1e0a273af: Pull complete 09:43:52 5d3b04190fa2: Pull complete 09:43:57 2f39f015ded8: Pull complete 09:43:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:57 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:43:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:43:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2016 in /w/workspace/edgexfoundry_device-mqtt-go_napa 09:44:04 $ docker top e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:44:04 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 09:44:04 The recommended git tool is: git 09:44:04 ---> job-cost.sh 09:44:04 lf-activate-venv: SKIPPING 09:44:04 INFO: No Stack... 09:44:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:44:05 INFO: Archiving Costs [Pipeline] sh 09:44:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv 09:44:05 + cut -d, -f6 [Pipeline] lock 09:44:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] 09:44:05 Resource [jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] did not exist. Created. 09:44:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:06 + echo total: 0.2199999988079071 [Pipeline] stash 09:44:06 Stashed 1 file(s) [Pipeline] } 09:44:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:06 $ docker stop --time=1 e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 09:44:07 $ docker rm -f --volumes e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:44:10 using credential edgex-jenkins-ssh 09:44:10 Cloning the remote Git repository 09:44:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:44:10 > git init /w/workspace/device-mqtt-go/8 # timeout=10 09:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:44:10 > git --version # timeout=10 09:44:10 > git --version # 'git version 2.25.1' 09:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:44:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:14 Avoid second fetch 09:44:14 Checking out Revision dabaf310096f55ca97d0e997aba8433d12ae90b5 (napa) 09:44:14 > git config core.sparsecheckout # timeout=10 09:44:14 > git checkout -f dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 09:44:15 Commit message: "ci(lts-release): LTS release v3.1.1 @7a6fdf0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:20 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:20 Dload Upload Total Spent Left Speed 09:44:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 09:44:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:21 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 09:44:21 /etc/docker/daemon.json 09:44:21 { 09:44:21 "registry-mirrors": [ 09:44:21 "https://nexus3.edgexfoundry.org:10001" 09:44:21 ], 09:44:21 "bip": "10.250.0.254/24", 09:44:21 "hosts": [ 09:44:21 "tcp://0.0.0.0:5555", 09:44:21 "unix:///var/run/docker.sock" 09:44:21 ], 09:44:21 "mtu": 1458, 09:44:21 "selinux-enabled": true, 09:44:21 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:21 } [Pipeline] sh 09:44:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:21 + sudo service docker restart [Pipeline] sh 09:44:40 + git checkout dabaf310096f55ca97d0e997aba8433d12ae90b5 09:44:40 HEAD is now at dabaf31 ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:40 provisioning config files... 09:44:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config13041000429951776769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:41 ---> ****-login.sh 09:44:41 nexus3.edgexfoundry.org:10001 09:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:41 Configure a credential helper to remove this warning. See 09:44:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:41 09:44:41 Login Succeeded 09:44:41 nexus3.edgexfoundry.org:10002 09:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:42 Configure a credential helper to remove this warning. See 09:44:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:42 09:44:42 Login Succeeded 09:44:42 nexus3.edgexfoundry.org:10003 09:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:42 Configure a credential helper to remove this warning. See 09:44:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:42 09:44:42 Login Succeeded 09:44:42 nexus3.edgexfoundry.org:10004 09:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:42 Configure a credential helper to remove this warning. See 09:44:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:42 09:44:42 Login Succeeded 09:44:42 ****.io 09:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 ---> ****-login.sh ends [Pipeline] } 09:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:44:43 + grep ^go [0-9].[0-9]* go.mod 09:44:43 + cut -d -f 2 [Pipeline] echo 09:44:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:44 ========================================================= 09:44:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 09:44:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:44 + 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 . 09:44:46 Sending build context to Docker daemon 38.31MB 09:44:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:44:46 Step 2/12 : FROM ${BASE} AS builder 09:44:46 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:46 c6b39de5b339: Pulling fs layer 09:44:46 a69c41024577: Pulling fs layer 09:44:46 d6de4b400683: Pulling fs layer 09:44:46 35cb2a7552d0: Pulling fs layer 09:44:46 4f4fb700ef54: Pulling fs layer 09:44:46 9e011611b7f5: Pulling fs layer 09:44:46 3bd174042beb: Pulling fs layer 09:44:46 4476f39b5e91: Pulling fs layer 09:44:46 9e011611b7f5: Waiting 09:44:46 3bd174042beb: Waiting 09:44:46 4476f39b5e91: Waiting 09:44:46 35cb2a7552d0: Waiting 09:44:46 4f4fb700ef54: Waiting 09:44:46 a69c41024577: Verifying Checksum 09:44:46 a69c41024577: Download complete 09:44:46 35cb2a7552d0: Verifying Checksum 09:44:46 35cb2a7552d0: Download complete 09:44:46 4f4fb700ef54: Verifying Checksum 09:44:46 4f4fb700ef54: Download complete 09:44:46 9e011611b7f5: Verifying Checksum 09:44:46 9e011611b7f5: Download complete 09:44:46 c6b39de5b339: Verifying Checksum 09:44:46 c6b39de5b339: Download complete 09:44:47 4476f39b5e91: Verifying Checksum 09:44:47 4476f39b5e91: Download complete 09:44:47 c6b39de5b339: Pull complete 09:44:48 a69c41024577: Pull complete 09:44:49 d6de4b400683: Download complete 09:44:49 3bd174042beb: Verifying Checksum 09:44:49 3bd174042beb: Download complete 09:45:02 d6de4b400683: Pull complete 09:45:02 35cb2a7552d0: Pull complete 09:45:02 4f4fb700ef54: Pull complete 09:45:02 9e011611b7f5: Pull complete 09:45:12 3bd174042beb: Pull complete 09:45:14 4476f39b5e91: Pull complete 09:45:14 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 09:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 09:45:14 ---> 981a0608b64a 09:45:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:45:16 ---> Running in fb531a65d2b2 09:45:16 Removing intermediate container fb531a65d2b2 09:45:16 ---> bf69ba8d43b5 09:45:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:45:16 ---> Running in ea3ae4ad011f 09:45:16 Removing intermediate container ea3ae4ad011f 09:45:16 ---> 2662ad40662a 09:45:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:45:16 ---> Running in ebb1a6e219e1 09:45:17 Removing intermediate container ebb1a6e219e1 09:45:17 ---> bb44c27187a6 09:45:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:45:17 ---> Running in cc08e104e856 09:45:17 Removing intermediate container cc08e104e856 09:45:17 ---> 432a1e05a3d1 09:45:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:45:17 ---> Running in b0708995213c 09:45:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:45:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:45:20 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:45:20 (2/4) Installing libedit (20221030.3.1-r1) 09:45:20 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:45:20 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:45:20 Executing busybox-1.36.1-r5.trigger 09:45:20 OK: 271 MiB in 56 packages 09:45:22 Removing intermediate container b0708995213c 09:45:22 ---> b2f01fcd3145 09:45:22 Step 8/12 : WORKDIR /device-mqtt-go 09:45:22 ---> Running in 37bf9846e3ef 09:45:22 Removing intermediate container 37bf9846e3ef 09:45:22 ---> 6276589460e9 09:45:22 Step 9/12 : COPY go.mod vendor* ./ 09:45:29 ---> 9320b9735da9 09:45:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:29 ---> Running in 869b99d2b18c 09:46:37 Removing intermediate container 869b99d2b18c 09:46:37 ---> 2a1d66de46a3 09:46:37 Step 11/12 : COPY . . 09:46:37 ---> 69886e2b2467 09:46:37 Step 12/12 : RUN $MAKE 09:46:37 ---> Running in 97f227adf783 09:46:37 noop 09:46:37 Removing intermediate container 97f227adf783 09:46:37 ---> 5206804daade 09:46:37 Successfully built 5206804daade 09:46:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:37 + docker inspect -f . ci-base-image-arm64 09:46:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:38 prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container 09:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:46:39 $ docker top d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:40 + go version 09:46:40 go version go1.21.9 linux/arm64 [Pipeline] } 09:46:40 $ docker stop --time=1 d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 09:46:41 $ docker rm -f --volumes d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:42 + docker inspect -f . ci-base-image-arm64 09:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:42 prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container 09:46:42 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:46:44 $ docker top 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/8 [Pipeline] fileExists [Pipeline] sh 09:46:45 + make test 09:46:45 go test ./... -coverprofile=coverage.out ./... 09:46:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:49:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:49:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:49:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 22.8% of statements 09:49:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:10 go vet ./... 09:49:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:49:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:49:32 ./bin/test-attribution-txt.sh [Pipeline] echo 09:49:33 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:49:34 + go mod tidy [Pipeline] } 09:49:37 $ docker stop --time=1 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a 09:49:39 $ docker rm -f --volumes 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a [Pipeline] // withDockerContainer [Pipeline] sh 09:49:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:49:40 Warning: overwriting stash ‘coverage-report’ 09:49:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:49:42 + ls -al . 09:49:42 total 184 09:49:42 drwxrwxr-x 9 jenkins jenkins 4096 May 31 09:46 . 09:49:42 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:44 .. 09:49:42 -rw-rw-r-- 1 jenkins jenkins 140 May 31 09:44 .dockerignore 09:49:42 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:44 .git 09:49:42 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 .github 09:49:42 -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:44 .gitignore 09:49:42 -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:44 .golangci.yml 09:49:42 -rw-rw-r-- 1 jenkins jenkins 10405 May 31 09:44 Attribution.txt 09:49:42 -rw-rw-r-- 1 jenkins jenkins 18574 May 31 09:44 CHANGELOG.md 09:49:42 -rw-rw-r-- 1 jenkins jenkins 1798 May 31 09:44 Dockerfile 09:49:42 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:44 GOVERNANCE.md 09:49:42 -rw-rw-r-- 1 jenkins jenkins 657 May 31 09:44 Jenkinsfile 09:49:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:44 LICENSE 09:49:42 -rw-rw-r-- 1 jenkins jenkins 1963 May 31 09:44 Makefile 09:49:42 -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:44 OWNERS.md 09:49:42 -rw-rw-r-- 1 jenkins jenkins 3599 May 31 09:44 README.md 09:49:42 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:49:42 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:44 bin 09:49:42 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 cmd 09:49:42 -rw-r--r-- 1 jenkins jenkins 18506 May 31 09:49 coverage.out 09:49:42 -rw-rw-r-- 1 jenkins jenkins 3745 May 31 09:44 go.mod 09:49:42 -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:44 go.sum 09:49:42 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 internal 09:49:42 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:44 mock 09:49:42 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:44 vendor 09:49:42 -rw-rw-r-- 1 jenkins jenkins 227 May 31 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:43 + 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=dabaf310096f55ca97d0e997aba8433d12ae90b5 --label arch=arm64 --label version=3.1.1 . 09:49:45 Sending build context to Docker daemon 38.33MB 09:49:45 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 09:49:45 Step 2/25 : FROM ${BASE} AS builder 09:49:45 ---> 5206804daade 09:49:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:49:45 ---> Running in f24ca3652a09 09:49:45 Removing intermediate container f24ca3652a09 09:49:45 ---> a77130907df7 09:49:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:49:46 ---> Running in abd76863ca86 09:49:46 Removing intermediate container abd76863ca86 09:49:46 ---> 6af4fc5576f3 09:49:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:49:46 ---> Running in 06855f8c34ee 09:49:46 Removing intermediate container 06855f8c34ee 09:49:46 ---> 0890725eb6ff 09:49:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:49:46 ---> Running in f4a0cf11cff5 09:49:46 Removing intermediate container f4a0cf11cff5 09:49:46 ---> 1823dde33379 09:49:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:49:47 ---> Running in 0a8feecf9bca 09:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:49:49 OK: 271 MiB in 56 packages 09:49:50 Removing intermediate container 0a8feecf9bca 09:49:50 ---> f5e3b65cebbe 09:49:50 Step 8/25 : WORKDIR /device-mqtt-go 09:49:50 ---> Running in f17aa20175ed 09:49:51 Removing intermediate container f17aa20175ed 09:49:51 ---> 168ef12a4035 09:49:51 Step 9/25 : COPY go.mod vendor* ./ 09:49:59 ---> c7d2baf89759 09:49:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:59 ---> Running in b8f18e612d1c 09:49:59 skipping... 09:49:59 Removing intermediate container b8f18e612d1c 09:49:59 ---> c052397b94f7 09:49:59 Step 11/25 : COPY . . 09:50:07 ---> fa37abe605df 09:50:07 Step 12/25 : RUN $MAKE 09:50:07 ---> Running in f55cd9c4736d 09:50:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 09:52:29 Removing intermediate container f55cd9c4736d 09:52:29 ---> aac4f6236354 09:52:29 Step 13/25 : FROM alpine:3.18 09:52:29 3.18: Pulling from library/alpine 09:52:29 c6b39de5b339: Already exists 09:52:29 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:52:29 Status: Downloaded newer image for alpine:3.18 09:52:29 ---> 33abbf032149 09:52:29 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:52:29 ---> Running in 618f0bcf5161 09:52:29 Removing intermediate container 618f0bcf5161 09:52:29 ---> 6d2935141f56 09:52:29 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:52:29 ---> Running in 52fd1c59efba 09:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:29 (1/1) Installing dumb-init (1.2.5-r2) 09:52:29 Executing busybox-1.36.1-r5.trigger 09:52:29 OK: 8 MiB in 16 packages 09:52:29 Removing intermediate container 52fd1c59efba 09:52:29 ---> 87c2082ebbd6 09:52:29 Step 16/25 : RUN apk --no-cache upgrade 09:52:29 ---> Running in f894f7f40037 09:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:31 Upgrading critical system libraries and apk-tools: 09:52:31 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:52:31 Executing busybox-1.36.1-r5.trigger 09:52:32 Continuing the upgrade transaction with new apk-tools: 09:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:33 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:52:33 Executing busybox-1.36.1-r6.post-upgrade 09:52:33 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:52:33 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:52:33 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:52:33 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:52:33 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:52:33 Executing busybox-1.36.1-r6.trigger 09:52:33 OK: 8 MiB in 16 packages 09:52:35 Removing intermediate container f894f7f40037 09:52:35 ---> 4edfd7dd8a30 09:52:35 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 09:52:36 ---> de12e2312dba 09:52:36 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 09:52:36 ---> dc35961bf4bb 09:52:36 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:52:37 ---> 4fb85f748c18 09:52:37 Step 20/25 : EXPOSE 59982 09:52:37 ---> Running in 17020b7ed841 09:52:38 Removing intermediate container 17020b7ed841 09:52:38 ---> 8603a5285c90 09:52:38 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 09:52:38 ---> Running in 8432982a097c 09:52:38 Removing intermediate container 8432982a097c 09:52:38 ---> 94a4acfee191 09:52:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:52:38 ---> Running in a35e9e7507b9 09:52:38 Removing intermediate container a35e9e7507b9 09:52:38 ---> 8d12b72e4fd9 09:52:38 Step 23/25 : LABEL arch=arm64 09:52:38 ---> Running in 469a70faab39 09:52:39 Removing intermediate container 469a70faab39 09:52:39 ---> 4048b22acbee 09:52:39 Step 24/25 : LABEL git_sha=dabaf310096f55ca97d0e997aba8433d12ae90b5 09:52:39 ---> Running in 5b4c96c47416 09:52:39 Removing intermediate container 5b4c96c47416 09:52:39 ---> 8712aa387253 09:52:39 Step 25/25 : LABEL version=3.1.1 09:52:39 ---> Running in 87e9bdc2f017 09:52:40 Removing intermediate container 87e9bdc2f017 09:52:40 ---> 6e48a1f7dd43 09:52:40 [Warning] One or more build-args [ARCH] were not consumed 09:52:40 Successfully built 6e48a1f7dd43 09:52:40 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 09:52:40 provisioning config files... 09:52:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config16659932925337745362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:40 ---> ****-login.sh 09:52:40 nexus3.edgexfoundry.org:10001 09:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:52:41 Configure a credential helper to remove this warning. See 09:52:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:52:41 09:52:41 Login Succeeded 09:52:41 nexus3.edgexfoundry.org:10002 09:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:52:41 Configure a credential helper to remove this warning. See 09:52:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:52:41 09:52:41 Login Succeeded 09:52:41 nexus3.edgexfoundry.org:10003 09:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:52:41 Configure a credential helper to remove this warning. See 09:52:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:52:41 09:52:41 Login Succeeded 09:52:41 nexus3.edgexfoundry.org:10004 09:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:52:42 Configure a credential helper to remove this warning. See 09:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:52:42 09:52:42 Login Succeeded 09:52:42 ****.io 09:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:52:42 Configure a credential helper to remove this warning. See 09:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:52:42 09:52:42 Login Succeeded 09:52:42 ---> ****-login.sh ends [Pipeline] } 09:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:52:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:52:43 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 09:52:43 dabaf310096f55ca97d0e997aba8433d12ae90b5 09:52:43 3.1.1 09:52:43 dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:52:43 napa 09:52:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 09:52:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:52:43 c4950e85f502: Preparing 09:52:43 bdd8fb2c07f9: Preparing 09:52:43 472c7e5103d0: Preparing 09:52:43 5f4c64a00f1e: Preparing 09:52:43 ee23e6b0eaee: Preparing 09:52:43 7c504f21be85: Preparing 09:52:43 7c504f21be85: Waiting 09:52:44 bdd8fb2c07f9: Pushed 09:52:44 c4950e85f502: Pushed 09:52:44 ee23e6b0eaee: Pushed 09:52:44 7c504f21be85: Layer already exists 09:52:45 5f4c64a00f1e: Pushed 09:52:49 472c7e5103d0: Pushed 09:52:49 dabaf310096f55ca97d0e997aba8433d12ae90b5: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 09:52:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:52:50 c4950e85f502: Preparing 09:52:50 bdd8fb2c07f9: Preparing 09:52:50 472c7e5103d0: Preparing 09:52:50 5f4c64a00f1e: Preparing 09:52:50 ee23e6b0eaee: Preparing 09:52:50 7c504f21be85: Preparing 09:52:50 bdd8fb2c07f9: Layer already exists 09:52:50 5f4c64a00f1e: Layer already exists 09:52:50 472c7e5103d0: Layer already exists 09:52:50 ee23e6b0eaee: Layer already exists 09:52:50 c4950e85f502: Layer already exists 09:52:50 7c504f21be85: Layer already exists 09:52:50 3.1.1: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:52:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:52:51 c4950e85f502: Preparing 09:52:51 bdd8fb2c07f9: Preparing 09:52:51 472c7e5103d0: Preparing 09:52:51 5f4c64a00f1e: Preparing 09:52:51 ee23e6b0eaee: Preparing 09:52:51 7c504f21be85: Preparing 09:52:51 7c504f21be85: Waiting 09:52:51 c4950e85f502: Layer already exists 09:52:51 ee23e6b0eaee: Layer already exists 09:52:51 472c7e5103d0: Layer already exists 09:52:51 5f4c64a00f1e: Layer already exists 09:52:51 bdd8fb2c07f9: Layer already exists 09:52:51 7c504f21be85: Layer already exists 09:52:51 dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa 09:52:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:52:52 c4950e85f502: Preparing 09:52:52 bdd8fb2c07f9: Preparing 09:52:52 472c7e5103d0: Preparing 09:52:52 5f4c64a00f1e: Preparing 09:52:52 ee23e6b0eaee: Preparing 09:52:52 7c504f21be85: Preparing 09:52:52 7c504f21be85: Waiting 09:52:52 472c7e5103d0: Layer already exists 09:52:52 ee23e6b0eaee: Layer already exists 09:52:52 c4950e85f502: Layer already exists 09:52:52 5f4c64a00f1e: Layer already exists 09:52:52 bdd8fb2c07f9: Layer already exists 09:52:52 7c504f21be85: Layer already exists 09:52:52 napa: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:52:53 ===================================================== [Pipeline] echo 09:52:53 taggedImages: 09:52:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 09:52:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 09:52:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 09:52:53 - 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 09:52:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:53 09:52:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:54 arm64: Pulling from edgex-lftools-log-publisher 09:52:54 8998bd30e6a1: Pulling fs layer 09:52:54 04944245beec: Pulling fs layer 09:52:54 699f458cf7ca: Pulling fs layer 09:52:54 765212b225bb: Pulling fs layer 09:52:54 f23df028b6ca: Pulling fs layer 09:52:54 d65c8cfc05b1: Pulling fs layer 09:52:54 2437ff75d9bd: Pulling fs layer 09:52:54 f23df028b6ca: Waiting 09:52:54 765212b225bb: Waiting 09:52:54 d65c8cfc05b1: Waiting 09:52:54 2437ff75d9bd: Waiting 09:52:54 04944245beec: Verifying Checksum 09:52:54 04944245beec: Download complete 09:52:54 765212b225bb: Verifying Checksum 09:52:54 765212b225bb: Download complete 09:52:54 f23df028b6ca: Verifying Checksum 09:52:54 f23df028b6ca: Download complete 09:52:54 d65c8cfc05b1: Verifying Checksum 09:52:54 d65c8cfc05b1: Download complete 09:52:54 699f458cf7ca: Verifying Checksum 09:52:54 699f458cf7ca: Download complete 09:52:54 8998bd30e6a1: Verifying Checksum 09:52:54 8998bd30e6a1: Download complete 09:52:57 2437ff75d9bd: Verifying Checksum 09:52:57 2437ff75d9bd: Download complete 09:52:59 8998bd30e6a1: Pull complete 09:53:00 04944245beec: Pull complete 09:53:01 699f458cf7ca: Pull complete 09:53:01 765212b225bb: Pull complete 09:53:02 f23df028b6ca: Pull complete 09:53:02 d65c8cfc05b1: Pull complete 09:53:21 2437ff75d9bd: Pull complete 09:53:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container 09:53:21 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:53:24 $ docker top 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:25 ---> job-cost.sh 09:53:25 lf-activate-venv: SKIPPING 09:53:25 INFO: No Stack... 09:53:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:26 INFO: Archiving Costs [Pipeline] sh 09:53:26 + cat /w/workspace/device-mqtt-go/8/archives/cost.csv 09:53:26 + cut -d, -f6 [Pipeline] lock 09:53:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] 09:53:27 Resource [jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] did not exist. Created. 09:53:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:27 /w/workspace/device-mqtt-go/8@tmp/durable-554ad13b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:28 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:28 Warning: overwriting stash ‘stack-cost’ 09:53:28 Stashed 1 file(s) [Pipeline] } 09:53:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:28 $ docker stop --time=1 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 09:53:30 $ docker rm -f --volumes 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 [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 09:53:30 provisioning config files... 09:53:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config11970254112145949812tmp [Pipeline] { [Pipeline] sh 09:53:31 + set +x 09:53:31 + bash -s -- 09:53:31 + curl -s https://codecov.io/bash 09:53:31 09:53:31 _____ _ 09:53:31 / ____| | | 09:53:31 | | ___ __| | ___ ___ _____ __ 09:53:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:31 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:31 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:31 Bash-1.0.6 09:53:31 09:53:31 09:53:31 ==> git version 2.25.1 found 09:53:31 ==> 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 09:53:31 Release-Date: 2020-01-08 09:53:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:53:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:53:31 ==> Jenkins CI detected. 09:53:31 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa 09:53:31 project root: . 09:53:31 --> token set from env 09:53:31 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 09:53:31 ==> Running gcov in . (disable via -X gcov) 09:53:31 ==> Python coveragepy not found 09:53:31 ==> Searching for coverage reports in: 09:53:31 + . 09:53:31 -> Found 1 reports 09:53:31 ==> Detecting git/mercurial file structure 09:53:31 ==> Reading reports 09:53:31 + ./coverage.out bytes=18506 09:53:31 ==> Appending adjustments 09:53:31 https://docs.codecov.io/docs/fixing-reports 09:53:31 + Found adjustments 09:53:31 ==> Gzipping contents 09:53:31 16K /tmp/codecov.fCOqwW.gz 09:53:31 ==> Uploading reports 09:53:31 url: https://codecov.io 09:53:31 query: branch=napa&commit=dabaf310096f55ca97d0e997aba8433d12ae90b5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:53:31 -> Pinging Codecov 09:53:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=dabaf310096f55ca97d0e997aba8433d12ae90b5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:53:31 -> Uploading to 09:53:31 https://storage.googleapis.com/codecov/v4/raw/2024-05-31/7D719EC7BBE17E464838252E33014C33/dabaf310096f55ca97d0e997aba8433d12ae90b5/a2bd7fd2-ac86-4b8b-9f2c-1ad0ddff8656.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T095331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c763b2f32fef1b5ae5e844ce41d6de5f9fd977d62acc800e0cc74a263d224e8 09:53:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:31 Dload Upload Total Spent Left Speed 09:53:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 59143 --:--:-- --:--:-- --:--:-- 59380 09:53:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } 09:53:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:53:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:53:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:53:32 09:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:53:32 latest: Pulling from edgex-devops/edgex-snyk-go 09:53:32 619be1103602: Already exists 09:53:32 f8ea3408117e: Pulling fs layer 09:53:32 91320369b822: Pulling fs layer 09:53:32 0406650e8295: Pulling fs layer 09:53:32 4f4fb700ef54: Pulling fs layer 09:53:32 96d80e3f36e1: Pulling fs layer 09:53:32 4f4fb700ef54: Waiting 09:53:32 bcf3aedb951c: Pulling fs layer 09:53:32 96d80e3f36e1: Waiting 09:53:32 bcf3aedb951c: Waiting 09:53:32 0406650e8295: Download complete 09:53:32 f8ea3408117e: Download complete 09:53:32 4f4fb700ef54: Verifying Checksum 09:53:32 4f4fb700ef54: Download complete 09:53:32 f8ea3408117e: Pull complete 09:53:32 96d80e3f36e1: Verifying Checksum 09:53:32 96d80e3f36e1: Download complete 09:53:32 91320369b822: Verifying Checksum 09:53:32 91320369b822: Download complete 09:53:33 bcf3aedb951c: Verifying Checksum 09:53:33 bcf3aedb951c: Download complete 09:53:36 91320369b822: Pull complete 09:53:36 0406650e8295: Pull complete 09:53:36 4f4fb700ef54: Pull complete 09:53:36 96d80e3f36e1: Pull complete 09:53:40 bcf3aedb951c: Pull complete 09:53:40 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 09:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:53:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:40 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:53:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:53:44 $ docker top 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] echo 09:53:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh 09:53:45 + set -o pipefail 09:53:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' 09:53:47 09:53:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa (github.com/edgexfoundry/device-mqtt-go)... 09:53:47 09:53:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d340511-a444-4c02-947c-30fc9298d6ce/history/7964dd80-df6c-45de-94ad-791632bbb0d3 09:53:47 09:53:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:53:47 09:53:48 09:53:48 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:53:48 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:53:48 $ docker stop --time=1 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 09:53:49 $ docker rm -f --volumes 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:50 + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] sh 09:53:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:53:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:51 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:53:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:53:51 $ docker top 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 -eo pid,comm 09:53:51 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). 09:53:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:53:51 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:53:52 + git semver [Pipeline] } 09:53:52 $ docker stop --time=1 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 09:53:53 $ docker rm -f --volumes 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:53:53 09:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:53:54 0.23.1-centos7: Pulling from edgex-lftools 09:53:54 ab5ef0e58194: Pulling fs layer 09:53:54 9712f1f96733: Pulling fs layer 09:53:54 63f879dbbcfc: Pulling fs layer 09:53:54 0d9ebad4ef96: Pulling fs layer 09:53:54 e9a5061849ea: Pulling fs layer 09:53:54 d747dcd14b5f: Pulling fs layer 09:53:54 2de7ff778b66: Pulling fs layer 09:53:54 d747dcd14b5f: Waiting 09:53:54 0d9ebad4ef96: Waiting 09:53:54 e9a5061849ea: Waiting 09:53:54 2de7ff778b66: Waiting 09:53:54 9712f1f96733: Download complete 09:53:54 63f879dbbcfc: Verifying Checksum 09:53:54 63f879dbbcfc: Download complete 09:53:54 e9a5061849ea: Verifying Checksum 09:53:54 e9a5061849ea: Download complete 09:53:54 d747dcd14b5f: Download complete 09:53:54 0d9ebad4ef96: Download complete 09:53:54 ab5ef0e58194: Verifying Checksum 09:53:54 ab5ef0e58194: Download complete 09:53:54 2de7ff778b66: Verifying Checksum 09:53:57 ab5ef0e58194: Pull complete 09:53:57 9712f1f96733: Pull complete 09:53:57 63f879dbbcfc: Pull complete 09:54:01 0d9ebad4ef96: Pull complete 09:54:01 e9a5061849ea: Pull complete 09:54:01 d747dcd14b5f: Pull complete 09:54:02 2de7ff778b66: Pull complete 09:54:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:02 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:54:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:54:08 $ docker top 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:54:08 provisioning config files... 09:54:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config5898032510539832338tmp 09:54:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6951937577485200469tmp 09:54:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config4904806845897718181tmp [Pipeline] { [Pipeline] echo 09:54:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:54:09 ---> sigul-configuration.sh 09:54:09 gpg: directory `/root/.gnupg' created 09:54:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:54:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:54:09 gpg: keyring `/root/.gnupg/secring.gpg' created 09:54:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:54:09 gpg: CAST5 encrypted data 09:54:09 gpg: encrypted with 1 passphrase 09:54:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:54:09 + mkdir /home/jenkins 09:54:09 + mkdir /home/jenkins/sigul [Pipeline] sh 09:54:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:54:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:54:09 ---> sigul-install.sh 09:54:09 Sigul already installed; skipping installation. [Pipeline] sh 09:54:10 + git tag --list 09:54:10 0.7.1 09:54:10 v1.0.0 09:54:10 v1.1.0 09:54:10 v1.1.1 09:54:10 v1.2.2 09:54:10 v1.3.0 09:54:10 v1.3.1 09:54:10 v2.0.0 09:54:10 v2.1.0 09:54:10 v2.1.1 09:54:10 v2.2.0 09:54:10 v2.3.0 09:54:10 v3.0 09:54:10 v3.0.0 09:54:10 v3.1 09:54:10 v3.1.0 09:54:10 v3.1.0-dev.1 09:54:10 v3.1.0-dev.10 09:54:10 v3.1.0-dev.11 09:54:10 v3.1.0-dev.12 09:54:10 v3.1.0-dev.13 09:54:10 v3.1.0-dev.14 09:54:10 v3.1.0-dev.15 09:54:10 v3.1.0-dev.16 09:54:10 v3.1.0-dev.17 09:54:10 v3.1.0-dev.18 09:54:10 v3.1.0-dev.19 09:54:10 v3.1.0-dev.2 09:54:10 v3.1.0-dev.20 09:54:10 v3.1.0-dev.21 09:54:10 v3.1.0-dev.22 09:54:10 v3.1.0-dev.23 09:54:10 v3.1.0-dev.24 09:54:10 v3.1.0-dev.25 09:54:10 v3.1.0-dev.3 09:54:10 v3.1.0-dev.4 09:54:10 v3.1.0-dev.5 09:54:10 v3.1.0-dev.6 09:54:10 v3.1.0-dev.7 09:54:10 v3.1.0-dev.8 09:54:10 v3.1.0-dev.9 09:54:10 v3.1.1 09:54:10 v3.2.0-dev.1 09:54:10 v3.2.0-dev.10 09:54:10 v3.2.0-dev.11 09:54:10 v3.2.0-dev.12 09:54:10 v3.2.0-dev.2 09:54:10 v3.2.0-dev.3 09:54:10 v3.2.0-dev.4 09:54:10 v3.2.0-dev.5 09:54:10 v3.2.0-dev.6 09:54:10 v3.2.0-dev.7 09:54:10 v3.2.0-dev.8 09:54:10 v3.2.0-dev.9 [Pipeline] sh 09:54:10 + lftools sign git-tag v3.1.1 09:54:11 Signing Git tag with Sigul... 09:54:11 Signing v3.1.1 [Pipeline] echo 09:54:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:54:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:54:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:54:11 $ docker stop --time=1 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 09:54:13 $ docker rm -f --volumes 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:54:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:13 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:54:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:54:14 $ docker top fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 -eo pid,comm 09:54:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:54:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:54:14 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:14 + git semver [Pipeline] } 09:54:14 $ docker stop --time=1 fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 09:54:16 $ docker rm -f --volumes fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 [Pipeline] // withDockerContainer [Pipeline] sh 09:54:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:16 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:54:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:54:17 $ docker top 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:54:17 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:17 + git semver [Pipeline] } 09:54:17 $ docker stop --time=1 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 09:54:19 $ docker rm -f --volumes 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:54:19 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] 09:54:19 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 09:54:19 total 16 09:54:19 drwxr-xr-x 3 root root 4096 May 31 09:44 . 09:54:19 drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:54 .. 09:54:19 drwxr-xr-x 2 root root 4096 May 31 09:44 cost 09:54:19 -rw-r--r-- 1 root root 84 May 31 09:44 cost.csv 09:54:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 09:54:19 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives 09:54:19 total 16 09:54:19 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:44 . 09:54:19 drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:54 .. 09:54:19 drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:44 cost 09:54:19 -rw-r--r-- 1 jenkins jenkins 84 May 31 09:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:54:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:20 ---> package-listing.sh 09:54:20 ++ facter osfamily 09:54:20 ++ tr '[:upper:]' '[:lower:]' 09:54:21 + OS_FAMILY=debian 09:54:21 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa 09:54:21 + START_PACKAGES=/tmp/packages_start.txt 09:54:21 + END_PACKAGES=/tmp/packages_end.txt 09:54:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:21 + PACKAGES=/tmp/packages_start.txt 09:54:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' 09:54:21 + PACKAGES=/tmp/packages_end.txt 09:54:21 + case "${OS_FAMILY}" in 09:54:21 + dpkg -l 09:54:21 + grep '^ii' 09:54:21 + '[' -f /tmp/packages_start.txt ']' 09:54:21 + '[' -f /tmp/packages_end.txt ']' 09:54:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' 09:54:21 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ 09:54:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo 09:54:21 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 09:54:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:22 prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container 09:54:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:22 $ docker top 0a028f95570c4d28a7fba3780f6b304d3c0504fb14de3a88529eddbc11812745 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:22 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:23 + mkdir -p /var/log/sysstat [Pipeline] sh 09:54:23 + ls /var/log/sa-host 09:54:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:23 provisioning config files... 09:54:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config14971576694381930720tmp [Pipeline] { [Pipeline] echo 09:54:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:23 ---> create-netrc.sh [Pipeline] } 09:54:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> python-tools-install.sh [Pipeline] echo 09:54:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> sudo-logs.sh 09:54:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> job-cost.sh 09:54:24 lf-activate-venv: SKIPPING 09:54:24 DEBUG: total: 0.2199999988079071 09:54:24 INFO: Retrieving Stack Cost... 09:54:24 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:25 INFO: Archiving Costs [Pipeline] echo 09:54:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:54:25 ---> logs-deploy.sh 09:54:25 lf-activate-venv: SKIPPING 09:54:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/8 09:54:25 INFO: archiving workspace using pattern(s): 09:54:26 Archives upload complete. 09:54:26 INFO: archiving logs to Nexus