Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33b0dc6b274c5eb124b636b2b410181079e3ed13 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-ssh16868695602319921430.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9967970753027131430.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14179019959532678049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh16846437530605608226.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1050240123695704518.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, buildSnap:false] ========================================================= [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.20 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-17203 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 33b0dc6b274c5eb124b636b2b410181079e3ed13 (main) Commit message: "Merge pull request #611 from jumpingliu/update-readme" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33b0dc6b274c5eb124b636b2b410181079e3ed13 # timeout=10 > git rev-list --no-walk 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:36:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:36:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:36:46 ========================================================= 23:36:46 EdgeX Global Pipelines Version Info 23:36:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:36:46 ------------------- 23:36:46 stable info: 23:36:46 ------------------- 23:36:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:36:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:36:46 Message: update stable to v1.0.249 23:36:47 ------------------- 23:36:47 experimental info: 23:36:47 ------------------- 23:36:47 Commited By: **** collab-it+edgex@linuxfoundation.org 23:36:47 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:36:47 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:36:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:36:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] echo 23:36:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33b0dc6 [Pipeline] echo 23:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:48 provisioning config files... 23:36:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10124705760457343787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:48 ---> docker-login.sh 23:36:48 nexus3.edgexfoundry.org:10001 23:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:48 Configure a credential helper to remove this warning. See 23:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:48 23:36:48 Login Succeeded 23:36:48 nexus3.edgexfoundry.org:10002 23:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:48 Configure a credential helper to remove this warning. See 23:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:48 23:36:48 Login Succeeded 23:36:48 nexus3.edgexfoundry.org:10003 23:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:48 Configure a credential helper to remove this warning. See 23:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:48 23:36:48 Login Succeeded 23:36:48 nexus3.edgexfoundry.org:10004 23:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:48 Configure a credential helper to remove this warning. See 23:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:48 23:36:48 Login Succeeded 23:36:48 docker.io 23:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:49 Configure a credential helper to remove this warning. See 23:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:49 23:36:49 Login Succeeded 23:36:49 ---> docker-login.sh ends [Pipeline] } 23:36:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:36:49 + git rev-list -1 --merges 33b0dc6b274c5eb124b636b2b410181079e3ed13~1..33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] echo 23:36:49 -----------> git rev-list -1 --merges 33b0dc6b274c5eb124b636b2b410181079e3ed13~1..33b0dc6b274c5eb124b636b2b410181079e3ed13 33b0dc6b274c5eb124b636b2b410181079e3ed13 23:36:49 33b0dc6b274c5eb124b636b2b410181079e3ed13 [false] [Pipeline] sh 23:36:50 + git log --format=format:%s -1 33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] echo 23:36:50 ========================================================= 23:36:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:36:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:50 + git log --format=format:%s -1 33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] echo 23:36:50 [semverPrep] GIT_COMMIT: 33b0dc6b274c5eb124b636b2b410181079e3ed13, Commit Message: Merge pull request #611 from jumpingliu/update-readme [Pipeline] echo 23:36:50 [semverPrep] This is not a build commit. [Pipeline] sh 23:36:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:36:50 + grep -v github /etc/ssh/ssh_known_hosts 23:36:50 + [ -e /tmp/ssh_known_hosts ] 23:36:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:36:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:36:50 + sudo tee -a /etc/ssh/ssh_known_hosts 23:36:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:51 23:36:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:51 0.1.4: Pulling from edgex-devops/py-git-semver 23:36:51 b85a868b505f: Pulling fs layer 23:36:51 e2be974225ed: Pulling fs layer 23:36:51 339a4e72a1f5: Pulling fs layer 23:36:51 988bab9f4d93: Pulling fs layer 23:36:51 1469e6f7b9e6: Pulling fs layer 23:36:51 eaf3925da568: Pulling fs layer 23:36:51 bab4dde63d76: Pulling fs layer 23:36:51 bde34c3a00c8: Pulling fs layer 23:36:51 b352a97aabf1: Pulling fs layer 23:36:51 4872d77fe225: Pulling fs layer 23:36:51 5851b861e8e6: Pulling fs layer 23:36:51 988bab9f4d93: Waiting 23:36:51 1469e6f7b9e6: Waiting 23:36:51 b352a97aabf1: Waiting 23:36:51 bab4dde63d76: Waiting 23:36:51 eaf3925da568: Waiting 23:36:51 bde34c3a00c8: Waiting 23:36:51 4872d77fe225: Waiting 23:36:51 5851b861e8e6: Waiting 23:36:51 e2be974225ed: Download complete 23:36:51 988bab9f4d93: Verifying Checksum 23:36:51 988bab9f4d93: Download complete 23:36:51 1469e6f7b9e6: Verifying Checksum 23:36:51 1469e6f7b9e6: Download complete 23:36:51 eaf3925da568: Download complete 23:36:51 339a4e72a1f5: Verifying Checksum 23:36:51 339a4e72a1f5: Download complete 23:36:51 bde34c3a00c8: Verifying Checksum 23:36:51 bde34c3a00c8: Download complete 23:36:51 b352a97aabf1: Download complete 23:36:51 4872d77fe225: Verifying Checksum 23:36:51 4872d77fe225: Download complete 23:36:51 5851b861e8e6: Download complete 23:36:51 b85a868b505f: Verifying Checksum 23:36:51 b85a868b505f: Download complete 23:36:52 bab4dde63d76: Verifying Checksum 23:36:52 bab4dde63d76: Download complete 23:36:52 b85a868b505f: Pull complete 23:36:53 e2be974225ed: Pull complete 23:36:53 339a4e72a1f5: Pull complete 23:36:53 988bab9f4d93: Pull complete 23:36:54 1469e6f7b9e6: Pull complete 23:36:54 eaf3925da568: Pull complete 23:36:55 bab4dde63d76: Pull complete 23:36:55 bde34c3a00c8: Pull complete 23:36:55 b352a97aabf1: Pull complete 23:36:56 4872d77fe225: Pull complete 23:36:56 5851b861e8e6: Pull complete 23:36:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:56 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:36:57 $ docker top e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 -eo pid,comm 23:36:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:36:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:36:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:57 [ssh-agent] Looking for ssh-agent implementation... 23:36:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:57 $ docker exec e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 ssh-agent 23:36:57 SSH_AUTH_SOCK=/tmp/ssh-zNN5PfWHGmoa/agent.31 23:36:57 SSH_AGENT_PID=37 23:36:57 Running ssh-add (command line suppressed) 23:36:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2969207592107554748.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2969207592107554748.key) 23:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:58 + git tag --points-at HEAD [Pipeline] } 23:36:58 $ docker exec --env ******** --env ******** e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 ssh-agent -k 23:36:58 unset SSH_AUTH_SOCK; 23:36:58 unset SSH_AGENT_PID; 23:36:58 echo Agent pid 37 killed; 23:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:58 [ssh-agent] Looking for ssh-agent implementation... 23:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:58 $ docker exec e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 ssh-agent 23:36:58 SSH_AUTH_SOCK=/tmp/ssh-XtiMYhTtpZMg/agent.70 23:36:58 SSH_AGENT_PID=76 23:36:58 Running ssh-add (command line suppressed) 23:36:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9213854935797269.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9213854935797269.key) 23:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:59 + git semver init 23:36:59 2023-05-29 23:36:59,316 [run_init] DEBUG init version:0.0.0 force:False 23:36:59 2023-05-29 23:36:59,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:36:59 2023-05-29 23:36:59,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:36:59 2023-05-29 23:36:59,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 23:37:00 2023-05-29 23:37:00,039 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 23:37:00 2023-05-29 23:37:00,040 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 23:37:00 2023-05-29 23:37:00,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:37:00 2023-05-29 23:37:00,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:37:00 3.0.0-dev.42 [Pipeline] } 23:37:00 $ docker exec --env ******** --env ******** e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 ssh-agent -k 23:37:00 unset SSH_AUTH_SOCK; 23:37:00 unset SSH_AGENT_PID; 23:37:00 echo Agent pid 76 killed; 23:37:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:00 + git semver [Pipeline] } 23:37:01 $ docker stop --time=1 e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 23:37:02 $ docker rm -f --volumes e16678f09d18efb379fc185912ac2b7147e1e2a83b9237f10343efc884d66c35 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:02 Stashed 1 file(s) [Pipeline] echo 23:37:02 [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:03 provisioning config files... 23:37:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11718345009874026057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:03 ---> docker-login.sh 23:37:03 nexus3.edgexfoundry.org:10001 23:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:03 Configure a credential helper to remove this warning. See 23:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:03 23:37:03 Login Succeeded 23:37:03 nexus3.edgexfoundry.org:10002 23:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:03 Configure a credential helper to remove this warning. See 23:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:03 23:37:03 Login Succeeded 23:37:03 nexus3.edgexfoundry.org:10003 23:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:03 Configure a credential helper to remove this warning. See 23:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:03 23:37:03 Login Succeeded 23:37:03 nexus3.edgexfoundry.org:10004 23:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:03 Configure a credential helper to remove this warning. See 23:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:03 23:37:03 Login Succeeded 23:37:03 docker.io 23:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:03 Configure a credential helper to remove this warning. See 23:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:03 23:37:03 Login Succeeded 23:37:03 ---> docker-login.sh ends [Pipeline] } 23:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:03 ========================================================= 23:37:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:37:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:37:04 Sending build context to Docker daemon 6.609MB 23:37:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:37:04 Step 2/12 : FROM ${BASE} AS builder 23:37:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:04 f56be85fc22e: Pulling fs layer 23:37:04 85791d961cd3: Pulling fs layer 23:37:04 d694b5ae8c79: Pulling fs layer 23:37:04 9f32a84ed3da: Pulling fs layer 23:37:04 4d19c01a9841: Pulling fs layer 23:37:04 9325e15d5711: Pulling fs layer 23:37:04 556b6ee489ea: Pulling fs layer 23:37:04 c5a4b2cf53e6: Pulling fs layer 23:37:04 9325e15d5711: Waiting 23:37:04 556b6ee489ea: Waiting 23:37:04 c5a4b2cf53e6: Waiting 23:37:04 4d19c01a9841: Waiting 23:37:04 9f32a84ed3da: Waiting 23:37:04 85791d961cd3: Verifying Checksum 23:37:04 85791d961cd3: Download complete 23:37:04 9f32a84ed3da: Verifying Checksum 23:37:04 9f32a84ed3da: Download complete 23:37:04 4d19c01a9841: Verifying Checksum 23:37:04 4d19c01a9841: Download complete 23:37:04 f56be85fc22e: Verifying Checksum 23:37:04 f56be85fc22e: Download complete 23:37:04 9325e15d5711: Verifying Checksum 23:37:04 9325e15d5711: Download complete 23:37:04 f56be85fc22e: Pull complete 23:37:04 85791d961cd3: Pull complete 23:37:05 c5a4b2cf53e6: Verifying Checksum 23:37:05 d694b5ae8c79: Verifying Checksum 23:37:05 d694b5ae8c79: Download complete 23:37:05 556b6ee489ea: Verifying Checksum 23:37:05 556b6ee489ea: Download complete 23:37:08 d694b5ae8c79: Pull complete 23:37:08 9f32a84ed3da: Pull complete 23:37:08 4d19c01a9841: Pull complete 23:37:08 9325e15d5711: Pull complete 23:37:11 556b6ee489ea: Pull complete 23:37:11 c5a4b2cf53e6: Pull complete 23:37:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:37:11 ---> c4be618373d6 23:37:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:37:13 ---> Running in 1acb03b4897c 23:37:13 Removing intermediate container 1acb03b4897c 23:37:13 ---> 31743fd66776 23:37:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:13 ---> Running in d4625a10e930 23:37:13 Removing intermediate container d4625a10e930 23:37:13 ---> 8619a9d5c2ce 23:37:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:37:13 ---> Running in 52c500088ca4 23:37:13 Removing intermediate container 52c500088ca4 23:37:13 ---> cd12e4e7f879 23:37:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:37:13 ---> Running in 3f828296976a 23:37:13 Removing intermediate container 3f828296976a 23:37:13 ---> 9d6aa4323803 23:37:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:13 ---> Running in a32d09def730 23:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:37:14 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:37:14 (2/4) Installing libedit (20221030.3.1-r0) 23:37:14 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:37:14 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:37:14 Executing busybox-1.35.0-r29.trigger 23:37:14 OK: 269 MiB in 57 packages 23:37:14 Removing intermediate container a32d09def730 23:37:14 ---> 8caf5cc190ed 23:37:14 Step 8/12 : WORKDIR /device-mqtt-go 23:37:14 ---> Running in ea5278eccaa7 23:37:14 Removing intermediate container ea5278eccaa7 23:37:14 ---> a244f6289641 23:37:14 Step 9/12 : COPY go.mod vendor* ./ 23:37:15 ---> fd4509290cf2 23:37:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:15 ---> Running in 0f72c417c976 23:37:17 Still waiting to schedule task 23:37:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:37:37 Removing intermediate container 0f72c417c976 23:37:37 ---> 5def1137e113 23:37:37 Step 11/12 : COPY . . 23:37:37 ---> df44cc15ee0c 23:37:37 Step 12/12 : RUN $MAKE 23:37:37 ---> Running in 982594ac5ccd 23:37:37 noop 23:37:37 Removing intermediate container 982594ac5ccd 23:37:37 ---> 13a5cb44b970 23:37:37 Successfully built 13a5cb44b970 23:37:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:37 + docker inspect -f . ci-base-image-x86_64 23:37:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:37 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:37:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:38 $ docker top 26ecc56b8835e8a30de31256092a2ea958bcd1a1da14b9d1571faf66e03a5d7a -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:38 + go version 23:37:38 go version go1.20.2 linux/amd64 [Pipeline] } 23:37:38 $ docker stop --time=1 26ecc56b8835e8a30de31256092a2ea958bcd1a1da14b9d1571faf66e03a5d7a 23:37:39 $ docker rm -f --volumes 26ecc56b8835e8a30de31256092a2ea958bcd1a1da14b9d1571faf66e03a5d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:40 + docker inspect -f . ci-base-image-x86_64 23:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:40 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:40 $ docker top 8236591c39a1d82d4e28dc1fbc9d0bc2de88b1062188fdf29d4ef8e214a49b58 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 23:37:41 + make test 23:37:41 go test ./... -coverprofile=coverage.out ./... 23:37:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:37:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:37:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:37:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 22.8% of statements 23:38:04 go vet ./... 23:38:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:38:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:38:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:38:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:38:08 $ docker stop --time=1 8236591c39a1d82d4e28dc1fbc9d0bc2de88b1062188fdf29d4ef8e214a49b58 23:38:10 $ docker rm -f --volumes 8236591c39a1d82d4e28dc1fbc9d0bc2de88b1062188fdf29d4ef8e214a49b58 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:38:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:11 + ls -al . 23:38:11 total 184 23:38:11 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:37 . 23:38:11 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:36 .. 23:38:11 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:36 .dockerignore 23:38:11 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:37 .git 23:38:11 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:36 .github 23:38:11 -rw-rw-r-- 1 jenkins jenkins 329 May 29 23:36 .gitignore 23:38:11 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:36 .golangci.yml 23:38:11 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:37 .semver 23:38:11 -rw-rw-r-- 1 jenkins jenkins 9417 May 29 23:36 Attribution.txt 23:38:11 -rw-rw-r-- 1 jenkins jenkins 17522 May 29 23:36 CHANGELOG.md 23:38:11 -rw-rw-r-- 1 jenkins jenkins 1689 May 29 23:36 Dockerfile 23:38:11 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:36 GOVERNANCE.md 23:38:11 -rw-rw-r-- 1 jenkins jenkins 678 May 29 23:36 Jenkinsfile 23:38:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:36 LICENSE 23:38:11 -rw-rw-r-- 1 jenkins jenkins 1732 May 29 23:36 Makefile 23:38:11 -rw-rw-r-- 1 jenkins jenkins 620 May 29 23:36 OWNERS.md 23:38:11 -rw-rw-r-- 1 jenkins jenkins 3189 May 29 23:36 README.md 23:38:11 -rw-rw-r-- 1 jenkins jenkins 12 May 29 23:37 VERSION 23:38:11 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:36 bin 23:38:11 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:36 cmd 23:38:11 -rw-r--r-- 1 jenkins jenkins 18506 May 29 23:37 coverage.out 23:38:11 -rw-rw-r-- 1 jenkins jenkins 3285 May 29 23:36 go.mod 23:38:11 -rw-rw-r-- 1 jenkins jenkins 31232 May 29 23:36 go.sum 23:38:11 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:36 internal 23:38:11 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:36 mock 23:38:11 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:36 snap 23:38:11 -rw-rw-r-- 1 jenkins jenkins 227 May 29 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:12 + 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=33b0dc6b274c5eb124b636b2b410181079e3ed13 --label arch=amd64 --label version=3.0.0-dev.42 . 23:38:12 Sending build context to Docker daemon 6.629MB 23:38:12 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:38:12 Step 2/24 : FROM ${BASE} AS builder 23:38:12 ---> 13a5cb44b970 23:38:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:38:12 ---> Running in 511798f7953d 23:38:12 Removing intermediate container 511798f7953d 23:38:12 ---> 45c57d35b3fe 23:38:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:12 ---> Running in f19754478b66 23:38:12 Removing intermediate container f19754478b66 23:38:12 ---> 3a51f28fd0d1 23:38:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:38:12 ---> Running in 55aa951a1dd1 23:38:12 Removing intermediate container 55aa951a1dd1 23:38:12 ---> 00459ab1e8f2 23:38:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:38:12 ---> Running in 13b8ff5dee8c 23:38:12 Removing intermediate container 13b8ff5dee8c 23:38:12 ---> d74d9d8c83cd 23:38:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:12 ---> Running in b6ce600078da 23:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:38:13 OK: 269 MiB in 57 packages 23:38:13 Removing intermediate container b6ce600078da 23:38:13 ---> b2e9b65d9fe7 23:38:13 Step 8/24 : WORKDIR /device-mqtt-go 23:38:13 ---> Running in 9cf736fd314d 23:38:13 Removing intermediate container 9cf736fd314d 23:38:13 ---> 2c31d12b94b8 23:38:13 Step 9/24 : COPY go.mod vendor* ./ 23:38:13 ---> 58ebcd950929 23:38:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:14 ---> Running in 6ae5221c3009 23:38:14 Removing intermediate container 6ae5221c3009 23:38:14 ---> 704c25f963a3 23:38:14 Step 11/24 : COPY . . 23:38:14 ---> ce27664235dc 23:38:14 Step 12/24 : RUN $MAKE 23:38:14 ---> Running in 71eb8e206a53 23:38:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:38:33 Removing intermediate container 71eb8e206a53 23:38:33 ---> 11642ce5ad74 23:38:33 Step 13/24 : FROM alpine:3.17 23:38:33 3.17: Pulling from library/alpine 23:38:33 f56be85fc22e: Already exists 23:38:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:38:33 Status: Downloaded newer image for alpine:3.17 23:38:33 ---> 9ed4aefc74f6 23:38:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:38:33 ---> Running in 3a959b9a5154 23:38:33 Removing intermediate container 3a959b9a5154 23:38:33 ---> e73ed153270e 23:38:33 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:38:33 ---> Running in 1c15ea7effad 23:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:38:34 (1/1) Installing dumb-init (1.2.5-r2) 23:38:34 Executing busybox-1.35.0-r29.trigger 23:38:34 OK: 7 MiB in 16 packages 23:38:34 Removing intermediate container 1c15ea7effad 23:38:34 ---> a3a808f1b9dd 23:38:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:38:35 ---> 187a3526f034 23:38:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:38:35 ---> 526facee0de2 23:38:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:38:35 ---> 0ba146b96fba 23:38:35 Step 19/24 : EXPOSE 59982 23:38:35 ---> Running in e534a59f89a2 23:38:35 Removing intermediate container e534a59f89a2 23:38:35 ---> e1dc3112a12f 23:38:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:38:35 ---> Running in d9eeb048e35b 23:38:35 Removing intermediate container d9eeb048e35b 23:38:35 ---> b87b77b5ed53 23:38:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:38:35 ---> Running in 466441288acf 23:38:35 Removing intermediate container 466441288acf 23:38:35 ---> 611f1809903e 23:38:35 Step 22/24 : LABEL arch=amd64 23:38:35 ---> Running in c15ad4d752aa 23:38:35 Removing intermediate container c15ad4d752aa 23:38:35 ---> 97a59749b13e 23:38:35 Step 23/24 : LABEL git_sha=33b0dc6b274c5eb124b636b2b410181079e3ed13 23:38:35 ---> Running in 4c11377d0b96 23:38:35 Removing intermediate container 4c11377d0b96 23:38:35 ---> de4c4c73c99d 23:38:35 Step 24/24 : LABEL version=3.0.0-dev.42 23:38:35 ---> Running in 8d51d2b85f1d 23:38:36 Removing intermediate container 8d51d2b85f1d 23:38:36 ---> a616fbfff6e8 23:38:36 [Warning] One or more build-args [ARCH] were not consumed 23:38:36 Successfully built a616fbfff6e8 23:38:36 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:36 provisioning config files... 23:38:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8427266908312878295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:36 ---> docker-login.sh 23:38:36 nexus3.edgexfoundry.org:10001 23:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:36 Configure a credential helper to remove this warning. See 23:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:36 23:38:36 Login Succeeded 23:38:36 nexus3.edgexfoundry.org:10002 23:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:36 Configure a credential helper to remove this warning. See 23:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:36 23:38:36 Login Succeeded 23:38:36 nexus3.edgexfoundry.org:10003 23:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:36 Configure a credential helper to remove this warning. See 23:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:36 23:38:36 Login Succeeded 23:38:36 nexus3.edgexfoundry.org:10004 23:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:36 Configure a credential helper to remove this warning. See 23:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:36 23:38:36 Login Succeeded 23:38:36 docker.io 23:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:37 Configure a credential helper to remove this warning. See 23:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:37 23:38:37 Login Succeeded 23:38:37 ---> docker-login.sh ends [Pipeline] } 23:38:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:37 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:38:37 33b0dc6b274c5eb124b636b2b410181079e3ed13 23:38:37 latest 23:38:37 3.0.0-dev.42 23:38:37 33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:38:37 main 23:38:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13 23:38:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:38:37 c6883182ef93: Preparing 23:38:37 2ef063cfda1c: Preparing 23:38:37 d348650e29b7: Preparing 23:38:37 7cacbec7c10f: Preparing 23:38:37 f1417ff83b31: Preparing 23:38:37 f1417ff83b31: Layer already exists 23:38:37 7cacbec7c10f: Pushed 23:38:37 c6883182ef93: Pushed 23:38:37 2ef063cfda1c: Pushed 23:38:40 d348650e29b7: Pushed 23:38:40 33b0dc6b274c5eb124b636b2b410181079e3ed13: digest: sha256:03bd4dd8ba38cee48f13191fc51381c6bf7ea2d359488fe0a3495159cde8e4dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:38:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:38:40 c6883182ef93: Preparing 23:38:40 2ef063cfda1c: Preparing 23:38:40 d348650e29b7: Preparing 23:38:40 7cacbec7c10f: Preparing 23:38:40 f1417ff83b31: Preparing 23:38:40 7cacbec7c10f: Layer already exists 23:38:40 c6883182ef93: Layer already exists 23:38:40 2ef063cfda1c: Layer already exists 23:38:40 f1417ff83b31: Layer already exists 23:38:40 d348650e29b7: Layer already exists 23:38:40 latest: digest: sha256:03bd4dd8ba38cee48f13191fc51381c6bf7ea2d359488fe0a3495159cde8e4dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.42 23:38:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:38:41 c6883182ef93: Preparing 23:38:41 2ef063cfda1c: Preparing 23:38:41 d348650e29b7: Preparing 23:38:41 7cacbec7c10f: Preparing 23:38:41 f1417ff83b31: Preparing 23:38:41 2ef063cfda1c: Layer already exists 23:38:41 d348650e29b7: Layer already exists 23:38:41 c6883182ef93: Layer already exists 23:38:41 f1417ff83b31: Layer already exists 23:38:41 7cacbec7c10f: Layer already exists 23:38:41 3.0.0-dev.42: digest: sha256:03bd4dd8ba38cee48f13191fc51381c6bf7ea2d359488fe0a3495159cde8e4dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:38:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:38:42 c6883182ef93: Preparing 23:38:42 2ef063cfda1c: Preparing 23:38:42 d348650e29b7: Preparing 23:38:42 7cacbec7c10f: Preparing 23:38:42 f1417ff83b31: Preparing 23:38:42 7cacbec7c10f: Layer already exists 23:38:42 d348650e29b7: Layer already exists 23:38:42 f1417ff83b31: Layer already exists 23:38:42 2ef063cfda1c: Layer already exists 23:38:42 c6883182ef93: Layer already exists 23:38:42 33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42: digest: sha256:03bd4dd8ba38cee48f13191fc51381c6bf7ea2d359488fe0a3495159cde8e4dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 23:38:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:38:42 c6883182ef93: Preparing 23:38:42 2ef063cfda1c: Preparing 23:38:42 d348650e29b7: Preparing 23:38:42 7cacbec7c10f: Preparing 23:38:42 f1417ff83b31: Preparing 23:38:42 2ef063cfda1c: Layer already exists 23:38:42 c6883182ef93: Layer already exists 23:38:42 f1417ff83b31: Layer already exists 23:38:42 d348650e29b7: Layer already exists 23:38:42 7cacbec7c10f: Layer already exists 23:38:42 main: digest: sha256:03bd4dd8ba38cee48f13191fc51381c6bf7ea2d359488fe0a3495159cde8e4dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:38:42 ===================================================== [Pipeline] echo 23:38:42 taggedImages: 23:38:42 - nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13 23:38:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:38:42 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.42 23:38:42 - nexus3.edgexfoundry.org:10004/device-mqtt:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:38:42 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:43 23:38:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:43 latest: Pulling from edgex-lftools-log-publisher 23:38:43 5eb5b503b376: Pulling fs layer 23:38:43 5c69ac0246d0: Pulling fs layer 23:38:43 ec43610c2a17: Pulling fs layer 23:38:43 3a2ae6a8a46f: Pulling fs layer 23:38:43 33b1e0a273af: Pulling fs layer 23:38:43 5d3b04190fa2: Pulling fs layer 23:38:43 2f39f015ded8: Pulling fs layer 23:38:43 33b1e0a273af: Waiting 23:38:43 5d3b04190fa2: Waiting 23:38:43 3a2ae6a8a46f: Waiting 23:38:43 2f39f015ded8: Waiting 23:38:43 5c69ac0246d0: Verifying Checksum 23:38:43 5c69ac0246d0: Download complete 23:38:43 3a2ae6a8a46f: Verifying Checksum 23:38:43 3a2ae6a8a46f: Download complete 23:38:43 33b1e0a273af: Verifying Checksum 23:38:43 33b1e0a273af: Download complete 23:38:43 5d3b04190fa2: Download complete 23:38:43 ec43610c2a17: Verifying Checksum 23:38:43 ec43610c2a17: Download complete 23:38:43 5eb5b503b376: Verifying Checksum 23:38:43 5eb5b503b376: Download complete 23:38:44 2f39f015ded8: Download complete 23:38:44 5eb5b503b376: Pull complete 23:38:44 5c69ac0246d0: Pull complete 23:38:45 ec43610c2a17: Pull complete 23:38:45 3a2ae6a8a46f: Pull complete 23:38:45 33b1e0a273af: Pull complete 23:38:45 5d3b04190fa2: Pull complete 23:38:49 2f39f015ded8: Pull complete 23:38:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:49 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:38:52 $ docker top fdd83be8df0dbecc46c85a87237c201058579cb2f71f0b3a5c48f0f784f57756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:52 ---> job-cost.sh 23:38:52 lf-activate-venv: SKIPPING 23:38:52 INFO: No Stack... 23:38:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:38:53 INFO: Archiving Costs [Pipeline] sh 23:38:53 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 23:38:53 + cut -d, -f6 [Pipeline] lock 23:38:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] 23:38:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] did not exist. Created. 23:38:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:38:53 + echo total: 0.2199999988079071 [Pipeline] stash 23:38:53 Stashed 1 file(s) [Pipeline] } 23:38:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 23:38:53 $ docker stop --time=1 fdd83be8df0dbecc46c85a87237c201058579cb2f71f0b3a5c48f0f784f57756 23:38:54 $ docker rm -f --volumes fdd83be8df0dbecc46c85a87237c201058579cb2f71f0b3a5c48f0f784f57756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:40:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17205 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:40:13 Running in /w/workspace/device-mqtt-go/126 [Pipeline] { [Pipeline] checkout 23:40:13 Selected Git installation does not exist. Using Default 23:40:13 The recommended git tool is: NONE 23:40:21 using credential edgex-jenkins-ssh 23:40:21 Cloning the remote Git repository 23:40:21 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:40:21 > git init /w/workspace/device-mqtt-go/126 # timeout=10 23:40:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:40:21 > git --version # timeout=10 23:40:21 > git --version # 'git version 2.25.1' 23:40:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:23 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:40:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:24 Avoid second fetch 23:40:24 Checking out Revision 33b0dc6b274c5eb124b636b2b410181079e3ed13 (main) 23:40:24 > git config core.sparsecheckout # timeout=10 23:40:24 > git checkout -f 33b0dc6b274c5eb124b636b2b410181079e3ed13 # timeout=10 23:40:25 Commit message: "Merge pull request #611 from jumpingliu/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:40:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:26 Dload Upload Total Spent Left Speed 23:40:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 23:40:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:40:27 + sudo tee /etc/docker/daemon.new 23:40:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:40:27 { 23:40:27 "registry-mirrors": [ 23:40:27 "https://nexus3.edgexfoundry.org:10001" 23:40:27 ], 23:40:27 "bip": "10.250.0.254/24", 23:40:27 "hosts": [ 23:40:27 "tcp://0.0.0.0:5555", 23:40:27 "unix:///var/run/docker.sock" 23:40:27 ], 23:40:27 "mtu": 1458, 23:40:27 "selinux-enabled": true, 23:40:27 "seccomp-profile": "/etc/docker/seccomp.json" 23:40:27 } [Pipeline] sh 23:40:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:40:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:47 provisioning config files... 23:40:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/126@tmp/config4995096709847449909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:47 ---> docker-login.sh 23:40:47 nexus3.edgexfoundry.org:10001 23:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:47 Configure a credential helper to remove this warning. See 23:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:47 23:40:47 Login Succeeded 23:40:47 nexus3.edgexfoundry.org:10002 23:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:48 Configure a credential helper to remove this warning. See 23:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:48 23:40:48 Login Succeeded 23:40:48 nexus3.edgexfoundry.org:10003 23:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:48 Configure a credential helper to remove this warning. See 23:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:48 23:40:48 Login Succeeded 23:40:48 nexus3.edgexfoundry.org:10004 23:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:49 Configure a credential helper to remove this warning. See 23:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:49 23:40:49 Login Succeeded 23:40:49 docker.io 23:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:49 Configure a credential helper to remove this warning. See 23:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:49 23:40:49 Login Succeeded 23:40:49 ---> docker-login.sh ends [Pipeline] } 23:40:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:49 ========================================================= 23:40:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:40:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:40:50 Sending build context to Docker daemon 3.442MB 23:40:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:40:50 Step 2/12 : FROM ${BASE} AS builder 23:40:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:40:50 c41833b44d91: Pulling fs layer 23:40:50 ed15518f5707: Pulling fs layer 23:40:50 feae8fd75edb: Pulling fs layer 23:40:50 242c74f7c9fa: Pulling fs layer 23:40:50 3cdef696dda3: Pulling fs layer 23:40:50 2ced38df9373: Pulling fs layer 23:40:50 58f1dce35555: Pulling fs layer 23:40:50 242c74f7c9fa: Waiting 23:40:50 3cdef696dda3: Waiting 23:40:50 2ced38df9373: Waiting 23:40:50 58f1dce35555: Waiting 23:40:50 ed15518f5707: Download complete 23:40:51 242c74f7c9fa: Download complete 23:40:51 3cdef696dda3: Verifying Checksum 23:40:51 3cdef696dda3: Download complete 23:40:51 c41833b44d91: Download complete 23:40:52 c41833b44d91: Pull complete 23:40:52 58f1dce35555: Verifying Checksum 23:40:52 58f1dce35555: Download complete 23:40:52 ed15518f5707: Pull complete 23:40:53 feae8fd75edb: Verifying Checksum 23:40:53 feae8fd75edb: Download complete 23:40:53 2ced38df9373: Verifying Checksum 23:40:53 2ced38df9373: Download complete 23:41:06 feae8fd75edb: Pull complete 23:41:06 242c74f7c9fa: Pull complete 23:41:06 3cdef696dda3: Pull complete 23:41:13 2ced38df9373: Pull complete 23:41:15 58f1dce35555: Pull complete 23:41:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:41:15 ---> fadd8f120f05 23:41:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:41:17 ---> Running in 122071aadb6c 23:41:17 Removing intermediate container 122071aadb6c 23:41:17 ---> b5b288b27a3d 23:41:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:41:17 ---> Running in aad2f0e9ecb7 23:41:17 Removing intermediate container aad2f0e9ecb7 23:41:17 ---> ce2c6450f85c 23:41:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:41:17 ---> Running in 84e3bb7f4202 23:41:18 Removing intermediate container 84e3bb7f4202 23:41:18 ---> cb9eb3fba52a 23:41:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:41:18 ---> Running in f595bd9cda9a 23:41:18 Removing intermediate container f595bd9cda9a 23:41:18 ---> fe5a94ef8645 23:41:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:18 ---> Running in b3dcad28e96a 23:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:41:21 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:41:21 (2/4) Installing libedit (20221030.3.1-r0) 23:41:21 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:41:21 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:41:21 Executing busybox-1.35.0-r29.trigger 23:41:21 OK: 268 MiB in 57 packages 23:41:22 Removing intermediate container b3dcad28e96a 23:41:22 ---> 57102b85ad70 23:41:22 Step 8/12 : WORKDIR /device-mqtt-go 23:41:22 ---> Running in 36264666cea9 23:41:23 Removing intermediate container 36264666cea9 23:41:23 ---> 6d6005247df2 23:41:23 Step 9/12 : COPY go.mod vendor* ./ 23:41:23 ---> 74e417e61b53 23:41:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:23 ---> Running in e41547ac1a60 23:42:31 Removing intermediate container e41547ac1a60 23:42:31 ---> db83d0158a77 23:42:31 Step 11/12 : COPY . . 23:42:31 ---> eaeb5c1e310a 23:42:31 Step 12/12 : RUN $MAKE 23:42:31 ---> Running in a92fb191c557 23:42:31 noop 23:42:31 Removing intermediate container a92fb191c557 23:42:31 ---> 84748ccfdf39 23:42:31 Successfully built 84748ccfdf39 23:42:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:32 + docker inspect -f . ci-base-image-arm64 23:42:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:32 prd-ubuntu20.04-docker-arm64-4c-16g-17205 does not seem to be running inside a container 23:42:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/126 -v /w/workspace/device-mqtt-go/126:/w/workspace/device-mqtt-go/126:rw,z -v /w/workspace/device-mqtt-go/126@tmp:/w/workspace/device-mqtt-go/126@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 23:42:34 $ docker top 935fe06031d2f398509fa889b0367d08eb9f0305d41cda8148a09f58bbcad473 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:35 + go version 23:42:35 go version go1.20.2 linux/arm64 [Pipeline] } 23:42:35 $ docker stop --time=1 935fe06031d2f398509fa889b0367d08eb9f0305d41cda8148a09f58bbcad473 23:42:36 $ docker rm -f --volumes 935fe06031d2f398509fa889b0367d08eb9f0305d41cda8148a09f58bbcad473 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:37 + docker inspect -f . ci-base-image-arm64 23:42:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:37 prd-ubuntu20.04-docker-arm64-4c-16g-17205 does not seem to be running inside a container 23:42:37 $ 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/126 -v /w/workspace/device-mqtt-go/126:/w/workspace/device-mqtt-go/126:rw,z -v /w/workspace/device-mqtt-go/126@tmp:/w/workspace/device-mqtt-go/126@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 23:42:38 $ docker top 31ef4332712121680c7a51d1c8f35370c81048620e5a48e1e9cae829d00e71fe -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:39 + git config --global --add safe.directory /w/workspace/device-mqtt-go/126 [Pipeline] fileExists [Pipeline] sh 23:42:39 + make test 23:42:39 go test ./... -coverprofile=coverage.out ./... 23:43:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:45:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:45:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:45:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.086s coverage: 22.8% of statements 23:45:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:45:18 go vet ./... 23:45:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:40 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:40 $ docker stop --time=1 31ef4332712121680c7a51d1c8f35370c81048620e5a48e1e9cae829d00e71fe 23:45:42 $ docker rm -f --volumes 31ef4332712121680c7a51d1c8f35370c81048620e5a48e1e9cae829d00e71fe [Pipeline] // withDockerContainer [Pipeline] sh 23:45:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:44 Warning: overwriting stash ‘coverage-report’ 23:45:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:45 + ls -al . 23:45:45 total 180 23:45:45 drwxrwxr-x 9 jenkins jenkins 4096 May 29 23:42 . 23:45:45 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:40 .. 23:45:45 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:40 .dockerignore 23:45:45 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:40 .git 23:45:45 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:40 .github 23:45:45 -rw-rw-r-- 1 jenkins jenkins 329 May 29 23:40 .gitignore 23:45:45 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:40 .golangci.yml 23:45:45 -rw-rw-r-- 1 jenkins jenkins 9417 May 29 23:40 Attribution.txt 23:45:45 -rw-rw-r-- 1 jenkins jenkins 17522 May 29 23:40 CHANGELOG.md 23:45:45 -rw-rw-r-- 1 jenkins jenkins 1689 May 29 23:40 Dockerfile 23:45:45 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:40 GOVERNANCE.md 23:45:45 -rw-rw-r-- 1 jenkins jenkins 678 May 29 23:40 Jenkinsfile 23:45:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:40 LICENSE 23:45:45 -rw-rw-r-- 1 jenkins jenkins 1732 May 29 23:40 Makefile 23:45:45 -rw-rw-r-- 1 jenkins jenkins 620 May 29 23:40 OWNERS.md 23:45:45 -rw-rw-r-- 1 jenkins jenkins 3189 May 29 23:40 README.md 23:45:45 -rw-rw-r-- 1 jenkins jenkins 12 May 29 23:37 VERSION 23:45:45 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:40 bin 23:45:45 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:40 cmd 23:45:45 -rw-r--r-- 1 jenkins jenkins 18506 May 29 23:45 coverage.out 23:45:45 -rw-rw-r-- 1 jenkins jenkins 3285 May 29 23:40 go.mod 23:45:45 -rw-rw-r-- 1 jenkins jenkins 31232 May 29 23:40 go.sum 23:45:45 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:40 internal 23:45:45 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:40 mock 23:45:45 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:40 snap 23:45:45 -rw-rw-r-- 1 jenkins jenkins 227 May 29 23:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:46 + 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=33b0dc6b274c5eb124b636b2b410181079e3ed13 --label arch=arm64 --label version=3.0.0-dev.42 . 23:45:46 Sending build context to Docker daemon 3.461MB 23:45:46 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:45:46 Step 2/24 : FROM ${BASE} AS builder 23:45:46 ---> 84748ccfdf39 23:45:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:45:46 ---> Running in c5d5e3d8c261 23:45:46 Removing intermediate container c5d5e3d8c261 23:45:46 ---> 5a6a2f5182ae 23:45:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:47 ---> Running in d7ec4694e85f 23:45:47 Removing intermediate container d7ec4694e85f 23:45:47 ---> f1813b307f79 23:45:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:45:47 ---> Running in 54f924de9102 23:45:47 Removing intermediate container 54f924de9102 23:45:47 ---> 8b3e8b7d4511 23:45:47 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:45:47 ---> Running in 756b4e907db8 23:45:48 Removing intermediate container 756b4e907db8 23:45:48 ---> 445541fc75fa 23:45:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:48 ---> Running in 883e9adb77f5 23:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:45:51 OK: 268 MiB in 57 packages 23:45:52 Removing intermediate container 883e9adb77f5 23:45:52 ---> aa5cc08ec440 23:45:52 Step 8/24 : WORKDIR /device-mqtt-go 23:45:52 ---> Running in 158a0fd2fae8 23:45:52 Removing intermediate container 158a0fd2fae8 23:45:52 ---> 413577a6c9f2 23:45:52 Step 9/24 : COPY go.mod vendor* ./ 23:45:53 ---> 08fbcba2b2be 23:45:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:53 ---> Running in 143539c4127e 23:45:56 Removing intermediate container 143539c4127e 23:45:56 ---> fbf154d129eb 23:45:56 Step 11/24 : COPY . . 23:45:57 ---> 77d820ad22bd 23:45:57 Step 12/24 : RUN $MAKE 23:45:57 ---> Running in db0b86e70185 23:45:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:48:35 Removing intermediate container db0b86e70185 23:48:35 ---> b13253e4f7b1 23:48:35 Step 13/24 : FROM alpine:3.17 23:48:35 3.17: Pulling from library/alpine 23:48:35 c41833b44d91: Already exists 23:48:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:48:35 Status: Downloaded newer image for alpine:3.17 23:48:35 ---> 51e60588ff2c 23:48:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:48:35 ---> Running in 493ab4601c8a 23:48:35 Removing intermediate container 493ab4601c8a 23:48:35 ---> 4fe5ec09af30 23:48:35 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:48:35 ---> Running in 367f639c2f9b 23:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:48:35 (1/1) Installing dumb-init (1.2.5-r2) 23:48:35 Executing busybox-1.35.0-r29.trigger 23:48:35 OK: 8 MiB in 16 packages 23:48:35 Removing intermediate container 367f639c2f9b 23:48:35 ---> e1e01374aa1f 23:48:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:48:35 ---> 1abdf37c15a5 23:48:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:48:35 ---> 4b65aecd3b19 23:48:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:48:35 ---> 75110e4e4aff 23:48:35 Step 19/24 : EXPOSE 59982 23:48:35 ---> Running in b83a652af933 23:48:35 Removing intermediate container b83a652af933 23:48:35 ---> 90d6201744ef 23:48:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:48:35 ---> Running in d37911648ed6 23:48:35 Removing intermediate container d37911648ed6 23:48:35 ---> 6256dd0ce21a 23:48:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:48:35 ---> Running in d2c4e2b4f16b 23:48:35 Removing intermediate container d2c4e2b4f16b 23:48:35 ---> 5b138a6d6af2 23:48:35 Step 22/24 : LABEL arch=arm64 23:48:35 ---> Running in a1058cc3e454 23:48:35 Removing intermediate container a1058cc3e454 23:48:35 ---> 76a981141729 23:48:35 Step 23/24 : LABEL git_sha=33b0dc6b274c5eb124b636b2b410181079e3ed13 23:48:35 ---> Running in 7a5f0fabf8f2 23:48:35 Removing intermediate container 7a5f0fabf8f2 23:48:35 ---> 945128f96090 23:48:35 Step 24/24 : LABEL version=3.0.0-dev.42 23:48:35 ---> Running in 9bb9d8b024dc 23:48:35 Removing intermediate container 9bb9d8b024dc 23:48:35 ---> 87e0da0d13c3 23:48:35 [Warning] One or more build-args [ARCH] were not consumed 23:48:35 Successfully built 87e0da0d13c3 23:48:35 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:35 provisioning config files... 23:48:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/126@tmp/config9051520225625471050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:35 ---> docker-login.sh 23:48:35 nexus3.edgexfoundry.org:10001 23:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:35 Configure a credential helper to remove this warning. See 23:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:35 23:48:35 Login Succeeded 23:48:35 nexus3.edgexfoundry.org:10002 23:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:36 Configure a credential helper to remove this warning. See 23:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:36 23:48:36 Login Succeeded 23:48:36 nexus3.edgexfoundry.org:10003 23:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:36 Configure a credential helper to remove this warning. See 23:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:36 23:48:36 Login Succeeded 23:48:36 nexus3.edgexfoundry.org:10004 23:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:37 Configure a credential helper to remove this warning. See 23:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:37 23:48:37 Login Succeeded 23:48:37 docker.io 23:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:37 Configure a credential helper to remove this warning. See 23:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:37 23:48:37 Login Succeeded 23:48:37 ---> docker-login.sh ends [Pipeline] } 23:48:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:48:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:37 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:48:37 33b0dc6b274c5eb124b636b2b410181079e3ed13 23:48:37 latest 23:48:37 3.0.0-dev.42 23:48:37 33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:48:37 main 23:48:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13 23:48:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:48:38 aaae28c8f8eb: Preparing 23:48:38 488a2758ca0b: Preparing 23:48:38 9bef1427282c: Preparing 23:48:38 d001dbaacf05: Preparing 23:48:38 26cbea5cba74: Preparing 23:48:38 26cbea5cba74: Layer already exists 23:48:38 aaae28c8f8eb: Pushed 23:48:38 488a2758ca0b: Pushed 23:48:38 d001dbaacf05: Pushed 23:48:43 9bef1427282c: Pushed 23:48:44 33b0dc6b274c5eb124b636b2b410181079e3ed13: digest: sha256:ba52becb694a191498a48e4dcbbe6ebc715628034ca00ef5ccb98d93030ac41f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:48:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:48:44 aaae28c8f8eb: Preparing 23:48:44 488a2758ca0b: Preparing 23:48:44 9bef1427282c: Preparing 23:48:44 d001dbaacf05: Preparing 23:48:44 26cbea5cba74: Preparing 23:48:44 aaae28c8f8eb: Layer already exists 23:48:44 d001dbaacf05: Layer already exists 23:48:44 488a2758ca0b: Layer already exists 23:48:44 26cbea5cba74: Layer already exists 23:48:44 9bef1427282c: Layer already exists 23:48:44 latest: digest: sha256:ba52becb694a191498a48e4dcbbe6ebc715628034ca00ef5ccb98d93030ac41f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.42 23:48:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:48:45 aaae28c8f8eb: Preparing 23:48:45 488a2758ca0b: Preparing 23:48:45 9bef1427282c: Preparing 23:48:45 d001dbaacf05: Preparing 23:48:45 26cbea5cba74: Preparing 23:48:45 488a2758ca0b: Layer already exists 23:48:45 d001dbaacf05: Layer already exists 23:48:45 9bef1427282c: Layer already exists 23:48:45 26cbea5cba74: Layer already exists 23:48:45 aaae28c8f8eb: Layer already exists 23:48:45 3.0.0-dev.42: digest: sha256:ba52becb694a191498a48e4dcbbe6ebc715628034ca00ef5ccb98d93030ac41f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:48:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:48:46 aaae28c8f8eb: Preparing 23:48:46 488a2758ca0b: Preparing 23:48:46 9bef1427282c: Preparing 23:48:46 d001dbaacf05: Preparing 23:48:46 26cbea5cba74: Preparing 23:48:46 9bef1427282c: Layer already exists 23:48:46 26cbea5cba74: Layer already exists 23:48:46 488a2758ca0b: Layer already exists 23:48:46 d001dbaacf05: Layer already exists 23:48:46 aaae28c8f8eb: Layer already exists 23:48:46 33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42: digest: sha256:ba52becb694a191498a48e4dcbbe6ebc715628034ca00ef5ccb98d93030ac41f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 23:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:48:47 aaae28c8f8eb: Preparing 23:48:47 488a2758ca0b: Preparing 23:48:47 9bef1427282c: Preparing 23:48:47 d001dbaacf05: Preparing 23:48:47 26cbea5cba74: Preparing 23:48:47 26cbea5cba74: Layer already exists 23:48:47 9bef1427282c: Layer already exists 23:48:47 aaae28c8f8eb: Layer already exists 23:48:47 488a2758ca0b: Layer already exists 23:48:47 d001dbaacf05: Layer already exists 23:48:47 main: digest: sha256:ba52becb694a191498a48e4dcbbe6ebc715628034ca00ef5ccb98d93030ac41f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:48:47 ===================================================== [Pipeline] echo 23:48:47 taggedImages: 23:48:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13 23:48:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:48:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.42 23:48:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:33b0dc6b274c5eb124b636b2b410181079e3ed13-3.0.0-dev.42 23:48:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:48 23:48:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:48 arm64: Pulling from edgex-lftools-log-publisher 23:48:48 8998bd30e6a1: Pulling fs layer 23:48:48 04944245beec: Pulling fs layer 23:48:48 699f458cf7ca: Pulling fs layer 23:48:48 765212b225bb: Pulling fs layer 23:48:48 f23df028b6ca: Pulling fs layer 23:48:48 d65c8cfc05b1: Pulling fs layer 23:48:48 2437ff75d9bd: Pulling fs layer 23:48:48 765212b225bb: Waiting 23:48:48 d65c8cfc05b1: Waiting 23:48:48 f23df028b6ca: Waiting 23:48:48 04944245beec: Verifying Checksum 23:48:48 04944245beec: Download complete 23:48:48 765212b225bb: Verifying Checksum 23:48:48 765212b225bb: Download complete 23:48:48 f23df028b6ca: Download complete 23:48:48 d65c8cfc05b1: Verifying Checksum 23:48:48 d65c8cfc05b1: Download complete 23:48:49 699f458cf7ca: Verifying Checksum 23:48:49 699f458cf7ca: Download complete 23:48:49 8998bd30e6a1: Verifying Checksum 23:48:49 8998bd30e6a1: Download complete 23:48:51 2437ff75d9bd: Verifying Checksum 23:48:51 2437ff75d9bd: Download complete 23:48:53 8998bd30e6a1: Pull complete 23:48:53 04944245beec: Pull complete 23:48:55 699f458cf7ca: Pull complete 23:48:55 765212b225bb: Pull complete 23:48:56 f23df028b6ca: Pull complete 23:48:56 d65c8cfc05b1: Pull complete 23:49:11 2437ff75d9bd: Pull complete 23:49:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:49:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:11 prd-ubuntu20.04-docker-arm64-4c-16g-17205 does not seem to be running inside a container 23:49:11 $ 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/126 -v /w/workspace/device-mqtt-go/126:/w/workspace/device-mqtt-go/126:rw,z -v /w/workspace/device-mqtt-go/126@tmp:/w/workspace/device-mqtt-go/126@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 23:49:14 $ docker top de53dffe2c32d01cccedd8b9f53f11127978587df48971f6b74157d583512cfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:15 ---> job-cost.sh 23:49:15 lf-activate-venv: SKIPPING 23:49:15 INFO: No Stack... 23:49:15 INFO: Retrieving Pricing Info for: v3-standard-4 23:49:16 INFO: Archiving Costs [Pipeline] sh 23:49:17 + cat /w/workspace/device-mqtt-go/126/archives/cost.csv 23:49:17 + cut -d, -f6 [Pipeline] lock 23:49:17 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] 23:49:17 Resource [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] did not exist. Created. 23:49:17 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:17 /w/workspace/device-mqtt-go/126@tmp/durable-62e308bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:49:18 + echo total: 0.10999999940395355 [Pipeline] stash 23:49:18 Warning: overwriting stash ‘stack-cost’ 23:49:18 Stashed 1 file(s) [Pipeline] } 23:49:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 23:49:18 $ docker stop --time=1 de53dffe2c32d01cccedd8b9f53f11127978587df48971f6b74157d583512cfb 23:49:21 $ docker rm -f --volumes de53dffe2c32d01cccedd8b9f53f11127978587df48971f6b74157d583512cfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:49:21 provisioning config files... 23:49:21 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4949587401322535364tmp [Pipeline] { [Pipeline] sh 23:49:22 + set +x 23:49:22 + curl -s https://codecov.io/bash 23:49:22 + bash -s -- 23:49:22 23:49:22 _____ _ 23:49:22 / ____| | | 23:49:22 | | ___ __| | ___ ___ _____ __ 23:49:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:49:22 | |___| (_) | (_| | __/ (_| (_) \ V / 23:49:22 \_____\___/ \__,_|\___|\___\___/ \_/ 23:49:22 Bash-1.0.6 23:49:22 23:49:22 23:49:22 ==> git version 2.25.1 found 23:49:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:49:22 Release-Date: 2020-01-08 23:49:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:49:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:49:22 ==> Jenkins CI detected. 23:49:22 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 23:49:22 project root: . 23:49:22 --> token set from env 23:49:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:49:22 ==> Running gcov in . (disable via -X gcov) 23:49:22 ==> Python coveragepy not found 23:49:22 ==> Searching for coverage reports in: 23:49:22 + . 23:49:22 -> Found 1 reports 23:49:22 ==> Detecting git/mercurial file structure 23:49:22 ==> Reading reports 23:49:22 + ./coverage.out bytes=18506 23:49:22 ==> Appending adjustments 23:49:22 https://docs.codecov.io/docs/fixing-reports 23:49:22 + Found adjustments 23:49:22 ==> Gzipping contents 23:49:22 4.0K /tmp/codecov.r8zye8.gz 23:49:22 ==> Uploading reports 23:49:22 url: https://codecov.io 23:49:22 query: branch=main&commit=33b0dc6b274c5eb124b636b2b410181079e3ed13&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:22 -> Pinging Codecov 23:49:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=33b0dc6b274c5eb124b636b2b410181079e3ed13&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:22 -> Uploading to 23:49:22 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/7D719EC7BBE17E464838252E33014C33/33b0dc6b274c5eb124b636b2b410181079e3ed13/2e9746d4-ac33-4bbe-bfc6-2374902ca39a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T234922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e915d85649f748aa3f7c02fbf542fdcfc206876c018d2a3d73eae4bd6f2f424 23:49:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:49:22 Dload Upload Total Spent Left Speed 23:49:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16853 --:--:-- --:--:-- --:--:-- 16853 23:49:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] } 23:49:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:49:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:49:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:23 23:49:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:49:23 df9b9388f04a: Pulling fs layer 23:49:23 52dc419b0ee2: Pulling fs layer 23:49:23 25bc292e5bac: Pulling fs layer 23:49:23 114826534d7a: Pulling fs layer 23:49:23 4657fd5d0bcf: Pulling fs layer 23:49:23 6ad1cebc031e: Pulling fs layer 23:49:23 8a3aa393b2d8: Pulling fs layer 23:49:23 6ad1cebc031e: Waiting 23:49:23 8a3aa393b2d8: Waiting 23:49:23 114826534d7a: Waiting 23:49:23 4657fd5d0bcf: Waiting 23:49:23 25bc292e5bac: Verifying Checksum 23:49:23 25bc292e5bac: Download complete 23:49:23 52dc419b0ee2: Download complete 23:49:23 4657fd5d0bcf: Verifying Checksum 23:49:23 4657fd5d0bcf: Download complete 23:49:23 df9b9388f04a: Pull complete 23:49:23 6ad1cebc031e: Verifying Checksum 23:49:23 6ad1cebc031e: Download complete 23:49:23 52dc419b0ee2: Pull complete 23:49:23 25bc292e5bac: Pull complete 23:49:24 114826534d7a: Verifying Checksum 23:49:24 114826534d7a: Download complete 23:49:24 8a3aa393b2d8: Verifying Checksum 23:49:24 8a3aa393b2d8: Download complete 23:49:27 114826534d7a: Pull complete 23:49:27 4657fd5d0bcf: Pull complete 23:49:27 6ad1cebc031e: Pull complete 23:49:30 8a3aa393b2d8: Pull complete 23:49:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:30 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:49:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:49:32 $ docker top 805e2e78fafd76725a99d4290b3fb1e84d56b8e649869648586304ec5fe8897b -eo pid,comm [Pipeline] { [Pipeline] echo 23:49:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 23:49:32 + set -o pipefail 23:49:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 23:49:36 23:49:36 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 23:49:36 23:49:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/2c070eee-2380-4fd0-97a6-bec29e7ebdd7 23:49:36 23:49:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:49:36 23:49:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:49:36 23:49:37 23:49:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:49:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:49:37 More details here: https://snyk.co/ue1NS [Pipeline] } 23:49:38 $ docker stop --time=1 805e2e78fafd76725a99d4290b3fb1e84d56b8e649869648586304ec5fe8897b 23:49:40 $ docker rm -f --volumes 805e2e78fafd76725a99d4290b3fb1e84d56b8e649869648586304ec5fe8897b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:41 + git log --format=format:%s -1 33b0dc6b274c5eb124b636b2b410181079e3ed13 [Pipeline] sh 23:49:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:49:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:49:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:41 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:49:42 $ docker top ffcc4649669764aaecfa8e3178618f4bc36164003690034282ce028c1d93d654 -eo pid,comm 23:49:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:49:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:49:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:49:42 [ssh-agent] Looking for ssh-agent implementation... 23:49:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:49:42 $ docker exec ffcc4649669764aaecfa8e3178618f4bc36164003690034282ce028c1d93d654 ssh-agent 23:49:42 SSH_AUTH_SOCK=/tmp/ssh-gC61ibAsCV0n/agent.32 23:49:42 SSH_AGENT_PID=38 23:49:42 Running ssh-add (command line suppressed) 23:49:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2390654947951351635.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2390654947951351635.key) 23:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:49:43 + git semver tag 23:49:43 2023-05-29 23:49:43,200 [run_tag] DEBUG tag force:False 23:49:43 2023-05-29 23:49:43,200 [check_head_tag] DEBUG check head tag 23:49:43 2023-05-29 23:49:43,202 [execute] INFO git cat-file --batch-check 23:49:43 2023-05-29 23:49:43,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 23:49:43 2023-05-29 23:49:43,206 [execute] INFO git cat-file --batch 23:49:43 2023-05-29 23:49:43,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 23:49:43 2023-05-29 23:49:43,231 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:49:43 2023-05-29 23:49:43,231 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 23:49:43 2023-05-29 23:49:43,231 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 23:49:43 2023-05-29 23:49:43,236 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:49:43 3.0.0-dev.42 [Pipeline] } 23:49:43 $ docker exec --env ******** --env ******** ffcc4649669764aaecfa8e3178618f4bc36164003690034282ce028c1d93d654 ssh-agent -k 23:49:43 unset SSH_AUTH_SOCK; 23:49:43 unset SSH_AGENT_PID; 23:49:43 echo Agent pid 38 killed; 23:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:49:43 + git semver [Pipeline] } 23:49:43 $ docker stop --time=1 ffcc4649669764aaecfa8e3178618f4bc36164003690034282ce028c1d93d654 23:49:45 $ docker rm -f --volumes ffcc4649669764aaecfa8e3178618f4bc36164003690034282ce028c1d93d654 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:49:45 23:49:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:49:45 0.23.1-centos7: Pulling from edgex-lftools 23:49:45 ab5ef0e58194: Pulling fs layer 23:49:45 9712f1f96733: Pulling fs layer 23:49:45 63f879dbbcfc: Pulling fs layer 23:49:45 0d9ebad4ef96: Pulling fs layer 23:49:45 e9a5061849ea: Pulling fs layer 23:49:45 d747dcd14b5f: Pulling fs layer 23:49:45 2de7ff778b66: Pulling fs layer 23:49:45 0d9ebad4ef96: Waiting 23:49:45 e9a5061849ea: Waiting 23:49:45 d747dcd14b5f: Waiting 23:49:45 2de7ff778b66: Waiting 23:49:45 9712f1f96733: Verifying Checksum 23:49:46 63f879dbbcfc: Verifying Checksum 23:49:46 63f879dbbcfc: Download complete 23:49:46 0d9ebad4ef96: Verifying Checksum 23:49:46 0d9ebad4ef96: Download complete 23:49:46 ab5ef0e58194: Download complete 23:49:46 e9a5061849ea: Verifying Checksum 23:49:46 e9a5061849ea: Download complete 23:49:46 d747dcd14b5f: Verifying Checksum 23:49:46 d747dcd14b5f: Download complete 23:49:46 2de7ff778b66: Verifying Checksum 23:49:46 2de7ff778b66: Download complete 23:49:49 ab5ef0e58194: Pull complete 23:49:49 9712f1f96733: Pull complete 23:49:50 63f879dbbcfc: Pull complete 23:49:54 0d9ebad4ef96: Pull complete 23:49:54 e9a5061849ea: Pull complete 23:49:54 d747dcd14b5f: Pull complete 23:49:55 2de7ff778b66: Pull complete 23:49:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:55 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:49:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:49:58 $ docker top 76268c29743a275fc19c127865ae8a983ecc72e425b271689ce2072f4f4e96c3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:49:58 provisioning config files... 23:49:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8699830608717045156tmp 23:49:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14393910431934345644tmp 23:49:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11589189450644410431tmp [Pipeline] { [Pipeline] echo 23:49:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:49:58 ---> sigul-configuration.sh 23:49:58 gpg: directory `/root/.gnupg' created 23:49:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:49:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:49:58 gpg: keyring `/root/.gnupg/secring.gpg' created 23:49:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:49:58 gpg: CAST5 encrypted data 23:49:58 gpg: encrypted with 1 passphrase 23:49:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:49:58 + mkdir /home/jenkins 23:49:58 + mkdir /home/jenkins/sigul [Pipeline] sh 23:49:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:49:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:49:59 ---> sigul-install.sh 23:49:59 Sigul already installed; skipping installation. [Pipeline] sh 23:49:59 + git tag --list 23:49:59 0.7.1 23:49:59 v1.0.0 23:49:59 v1.1.0 23:49:59 v1.1.1 23:49:59 v1.2.2 23:49:59 v1.3.0 23:49:59 v1.3.1 23:49:59 v2.0.0 23:49:59 v2.1.0 23:49:59 v2.1.1 23:49:59 v2.1.1-dev.1 23:49:59 v2.1.1-dev.2 23:49:59 v2.2.0 23:49:59 v2.2.1-dev.1 23:49:59 v2.2.1-dev.10 23:49:59 v2.2.1-dev.2 23:49:59 v2.2.1-dev.3 23:49:59 v2.2.1-dev.4 23:49:59 v2.2.1-dev.5 23:49:59 v2.2.1-dev.6 23:49:59 v2.2.1-dev.7 23:49:59 v2.2.1-dev.8 23:49:59 v2.2.1-dev.9 23:49:59 v2.3.0 23:49:59 v2.3.0-dev.10 23:49:59 v2.3.0-dev.11 23:49:59 v2.3.0-dev.12 23:49:59 v2.3.0-dev.13 23:49:59 v2.3.0-dev.14 23:49:59 v2.3.0-dev.15 23:49:59 v2.3.0-dev.16 23:49:59 v2.3.0-dev.17 23:49:59 v2.3.0-dev.18 23:49:59 v2.3.0-dev.19 23:49:59 v2.3.0-dev.20 23:49:59 v2.3.0-dev.21 23:49:59 v2.3.0-dev.22 23:49:59 v2.3.0-dev.23 23:49:59 v2.3.0-dev.24 23:49:59 v2.3.0-dev.25 23:49:59 v2.3.0-dev.26 23:49:59 v2.3.0-dev.27 23:49:59 v2.3.0-dev.28 23:49:59 v2.3.0-dev.29 23:49:59 v2.3.0-dev.30 23:49:59 v2.3.0-dev.31 23:49:59 v2.3.0-dev.32 23:49:59 v2.3.0-dev.33 23:49:59 v2.3.0-dev.34 23:49:59 v3.0.0-dev.1 23:49:59 v3.0.0-dev.10 23:49:59 v3.0.0-dev.11 23:49:59 v3.0.0-dev.12 23:49:59 v3.0.0-dev.13 23:49:59 v3.0.0-dev.14 23:49:59 v3.0.0-dev.15 23:49:59 v3.0.0-dev.16 23:49:59 v3.0.0-dev.17 23:49:59 v3.0.0-dev.18 23:49:59 v3.0.0-dev.19 23:49:59 v3.0.0-dev.2 23:49:59 v3.0.0-dev.20 23:49:59 v3.0.0-dev.21 23:49:59 v3.0.0-dev.22 23:49:59 v3.0.0-dev.23 23:49:59 v3.0.0-dev.24 23:49:59 v3.0.0-dev.25 23:49:59 v3.0.0-dev.26 23:49:59 v3.0.0-dev.27 23:49:59 v3.0.0-dev.28 23:49:59 v3.0.0-dev.29 23:49:59 v3.0.0-dev.3 23:49:59 v3.0.0-dev.30 23:49:59 v3.0.0-dev.31 23:49:59 v3.0.0-dev.32 23:49:59 v3.0.0-dev.33 23:49:59 v3.0.0-dev.34 23:49:59 v3.0.0-dev.35 23:49:59 v3.0.0-dev.36 23:49:59 v3.0.0-dev.37 23:49:59 v3.0.0-dev.38 23:49:59 v3.0.0-dev.39 23:49:59 v3.0.0-dev.4 23:49:59 v3.0.0-dev.40 23:49:59 v3.0.0-dev.41 23:49:59 v3.0.0-dev.42 23:49:59 v3.0.0-dev.5 23:49:59 v3.0.0-dev.6 23:49:59 v3.0.0-dev.7 23:49:59 v3.0.0-dev.8 23:49:59 v3.0.0-dev.9 [Pipeline] sh 23:49:59 + lftools sign git-tag v3.0.0-dev.42 23:50:00 Signing Git tag with Sigul... 23:50:00 Signing v3.0.0-dev.42 [Pipeline] echo 23:50:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:50:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:50:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:50:01 $ docker stop --time=1 76268c29743a275fc19c127865ae8a983ecc72e425b271689ce2072f4f4e96c3 23:50:02 $ docker rm -f --volumes 76268c29743a275fc19c127865ae8a983ecc72e425b271689ce2072f4f4e96c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:50:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:50:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:03 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:50:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:50:03 $ docker top d8fae40be2e0933d85a4f9b3ceab92a900b30879809c172f090fa4ee337737e9 -eo pid,comm 23:50:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:50:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:50:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:03 [ssh-agent] Looking for ssh-agent implementation... 23:50:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:03 $ docker exec d8fae40be2e0933d85a4f9b3ceab92a900b30879809c172f090fa4ee337737e9 ssh-agent 23:50:03 SSH_AUTH_SOCK=/tmp/ssh-1ztYCRIQxuGh/agent.31 23:50:03 SSH_AGENT_PID=37 23:50:03 Running ssh-add (command line suppressed) 23:50:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13976884466762007470.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13976884466762007470.key) 23:50:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:04 + git semver bump pre 23:50:04 2023-05-29 23:50:04,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:50:04 2023-05-29 23:50:04,337 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev 23:50:04 2023-05-29 23:50:04,337 [bump_version] DEBUG bumped version:3.0.0-dev.43 23:50:04 2023-05-29 23:50:04,337 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 23:50:04 2023-05-29 23:50:04,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:50:04 2023-05-29 23:50:04,337 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:50:04 2023-05-29 23:50:04,340 [execute] INFO git cat-file --batch-check 23:50:04 2023-05-29 23:50:04,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:50:04 2023-05-29 23:50:04,345 [execute] INFO git cat-file --batch 23:50:04 2023-05-29 23:50:04,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:50:04 2023-05-29 23:50:04,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:50:04 3.0.0-dev.43 [Pipeline] } 23:50:04 $ docker exec --env ******** --env ******** d8fae40be2e0933d85a4f9b3ceab92a900b30879809c172f090fa4ee337737e9 ssh-agent -k 23:50:04 unset SSH_AUTH_SOCK; 23:50:04 unset SSH_AGENT_PID; 23:50:04 echo Agent pid 37 killed; 23:50:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:04 + git semver [Pipeline] } 23:50:05 $ docker stop --time=1 d8fae40be2e0933d85a4f9b3ceab92a900b30879809c172f090fa4ee337737e9 23:50:06 $ docker rm -f --volumes d8fae40be2e0933d85a4f9b3ceab92a900b30879809c172f090fa4ee337737e9 [Pipeline] // withDockerContainer [Pipeline] sh 23:50:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:50:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:07 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:50:07 $ docker top e3354f0ac587aabb47e183d22ba6a98762289bd313bed9ae3fa67959159e9848 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:50:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:07 [ssh-agent] Looking for ssh-agent implementation... 23:50:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:07 $ docker exec e3354f0ac587aabb47e183d22ba6a98762289bd313bed9ae3fa67959159e9848 ssh-agent 23:50:07 SSH_AUTH_SOCK=/tmp/ssh-DWe07wJeUaqE/agent.33 23:50:07 SSH_AGENT_PID=39 23:50:07 Running ssh-add (command line suppressed) 23:50:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1199445541053210935.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1199445541053210935.key) 23:50:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:08 + git semver push 23:50:08 2023-05-29 23:50:08,299 [run_push] DEBUG push 23:50:08 2023-05-29 23:50:08,300 [execute] INFO git cat-file --batch-check 23:50:08 2023-05-29 23:50:08,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:50:08 2023-05-29 23:50:08,303 [execute] INFO git rev-list 1e3dfe6a9b1e402800de5ff03dd90aeae8d1da1b -- 23:50:08 2023-05-29 23:50:08,304 [execute] DEBUG Popen(['git', 'rev-list', '1e3dfe6a9b1e402800de5ff03dd90aeae8d1da1b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:50:08 2023-05-29 23:50:08,310 [execute] INFO git fetch -v origin 23:50:08 2023-05-29 23:50:08,310 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:50:08 2023-05-29 23:50:08,780 [run_push] DEBUG no remote changes detected 23:50:08 2023-05-29 23:50:08,780 [execute] INFO git push origin semver 23:50:08 2023-05-29 23:50:08,781 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:50:09 2023-05-29 23:50:09,501 [run_push] DEBUG push all version tags 23:50:09 2023-05-29 23:50:09,501 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:50:09 2023-05-29 23:50:09,502 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 23:50:10 2023-05-29 23:50:10,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:50:10 3.0.0-dev.43 [Pipeline] } 23:50:10 $ docker exec --env ******** --env ******** e3354f0ac587aabb47e183d22ba6a98762289bd313bed9ae3fa67959159e9848 ssh-agent -k 23:50:10 unset SSH_AUTH_SOCK; 23:50:10 unset SSH_AGENT_PID; 23:50:10 echo Agent pid 39 killed; 23:50:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:10 + git semver [Pipeline] } 23:50:11 $ docker stop --time=1 e3354f0ac587aabb47e183d22ba6a98762289bd313bed9ae3fa67959159e9848 23:50:12 $ docker rm -f --volumes e3354f0ac587aabb47e183d22ba6a98762289bd313bed9ae3fa67959159e9848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:50:13 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 23:50:13 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:50:13 total 16 23:50:13 drwxr-xr-x 3 root root 4096 May 29 23:38 . 23:50:13 drwxrwxr-x 11 jenkins jenkins 4096 May 29 23:49 .. 23:50:13 drwxr-xr-x 2 root root 4096 May 29 23:38 cost 23:50:13 -rw-r--r-- 1 root root 86 May 29 23:38 cost.csv 23:50:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:50:13 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:50:13 total 16 23:50:13 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:38 . 23:50:13 drwxrwxr-x 11 jenkins jenkins 4096 May 29 23:49 .. 23:50:13 drwxr-xr-x 2 jenkins jenkins 4096 May 29 23:38 cost 23:50:13 -rw-r--r-- 1 jenkins jenkins 86 May 29 23:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:50:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:14 ---> package-listing.sh 23:50:14 ++ facter osfamily 23:50:14 ++ tr '[:upper:]' '[:lower:]' 23:50:14 + OS_FAMILY=debian 23:50:14 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 23:50:14 + START_PACKAGES=/tmp/packages_start.txt 23:50:14 + END_PACKAGES=/tmp/packages_end.txt 23:50:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:14 + PACKAGES=/tmp/packages_start.txt 23:50:14 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:50:14 + PACKAGES=/tmp/packages_end.txt 23:50:14 + case "${OS_FAMILY}" in 23:50:14 + dpkg -l 23:50:14 + grep '^ii' 23:50:14 + '[' -f /tmp/packages_start.txt ']' 23:50:14 + '[' -f /tmp/packages_end.txt ']' 23:50:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:14 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:50:14 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 23:50:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 23:50:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:15 prd-ubuntu20.04-docker-8c-8g-17203 does not seem to be running inside a container 23:50:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:15 $ docker top c6da781cd1ca0ed8a06ff9d001b30a33284a1ea523431eb432ac33467d63226e -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:15 + touch /tmp/pre-build-complete [Pipeline] sh 23:50:16 + mkdir -p /var/log/sysstat [Pipeline] sh 23:50:16 + ls /var/log/sa-host 23:50:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:16 provisioning config files... 23:50:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11409864429851004310tmp [Pipeline] { [Pipeline] echo 23:50:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:50:16 ---> create-netrc.sh [Pipeline] } 23:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:50:17 ---> python-tools-install.sh [Pipeline] echo 23:50:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:50:17 ---> sudo-logs.sh 23:50:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:50:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:50:17 ---> job-cost.sh 23:50:17 lf-activate-venv: SKIPPING 23:50:17 DEBUG: total: 0.2199999988079071 23:50:17 INFO: Retrieving Stack Cost... 23:50:18 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:18 INFO: Archiving Costs [Pipeline] echo 23:50:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:50:18 ---> logs-deploy.sh 23:50:18 lf-activate-venv: SKIPPING 23:50:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/126 23:50:18 INFO: archiving workspace using pattern(s): 23:50:19 Archives upload complete. 23:50:19 INFO: archiving logs to Nexus