Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db7876f2142a7278c0249a92e31096ef17edc92f 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-ssh10913997389773406612.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-ssh421955145847427178.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-ssh3568260965822662914.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-ssh9345879063502525373.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-ssh17529811968313086812.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 ‘prd-ubuntu20.04-docker-8c-8g-14435’ Running on prd-ubuntu20.04-docker-8c-8g-14439 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 db7876f2142a7278c0249a92e31096ef17edc92f (main) Commit message: "Merge pull request #596 from jumpingliu/ignore-go-mods" > 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 db7876f2142a7278c0249a92e31096ef17edc92f # timeout=10 > git rev-list --no-walk 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:27:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:27:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:27:19 ========================================================= 04:27:19 EdgeX Global Pipelines Version Info 04:27:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:27:19 ------------------- 04:27:19 stable info: 04:27:19 ------------------- 04:27:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:27:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:27:19 Message: update stable to v1.0.249 04:27:20 ------------------- 04:27:20 experimental info: 04:27:20 ------------------- 04:27:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:27:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:27:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db7876f [Pipeline] echo 04:27:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:20 provisioning config files... 04:27:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1877873713851605985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:21 ---> docker-login.sh 04:27:21 nexus3.edgexfoundry.org:10001 04:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:21 Configure a credential helper to remove this warning. See 04:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:21 04:27:21 Login Succeeded 04:27:21 nexus3.edgexfoundry.org:10002 04:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:21 Configure a credential helper to remove this warning. See 04:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:21 04:27:21 Login Succeeded 04:27:21 nexus3.edgexfoundry.org:10003 04:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:21 Configure a credential helper to remove this warning. See 04:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:21 04:27:21 Login Succeeded 04:27:21 nexus3.edgexfoundry.org:10004 04:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:21 Configure a credential helper to remove this warning. See 04:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:21 04:27:21 Login Succeeded 04:27:21 docker.io 04:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:22 Configure a credential helper to remove this warning. See 04:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:22 04:27:22 Login Succeeded 04:27:22 ---> docker-login.sh ends [Pipeline] } 04:27:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:27:22 + git rev-list -1 --merges db7876f2142a7278c0249a92e31096ef17edc92f~1..db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] echo 04:27:22 -----------> git rev-list -1 --merges db7876f2142a7278c0249a92e31096ef17edc92f~1..db7876f2142a7278c0249a92e31096ef17edc92f db7876f2142a7278c0249a92e31096ef17edc92f 04:27:22 db7876f2142a7278c0249a92e31096ef17edc92f [false] [Pipeline] sh 04:27:23 + git log --format=format:%s -1 db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] echo 04:27:23 ========================================================= 04:27:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:27:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:23 + git log --format=format:%s -1 db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] echo 04:27:23 [semverPrep] GIT_COMMIT: db7876f2142a7278c0249a92e31096ef17edc92f, Commit Message: Merge pull request #596 from jumpingliu/ignore-go-mods [Pipeline] echo 04:27:23 [semverPrep] This is not a build commit. [Pipeline] sh 04:27:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:23 + grep -v github /etc/ssh/ssh_known_hosts 04:27:23 + [ -e /tmp/ssh_known_hosts ] 04:27:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:27:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:27:23 + sudo tee -a /etc/ssh/ssh_known_hosts 04:27:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:24 04:27:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:24 0.1.4: Pulling from edgex-devops/py-git-semver 04:27:24 b85a868b505f: Pulling fs layer 04:27:24 e2be974225ed: Pulling fs layer 04:27:24 339a4e72a1f5: Pulling fs layer 04:27:24 988bab9f4d93: Pulling fs layer 04:27:24 1469e6f7b9e6: Pulling fs layer 04:27:24 eaf3925da568: Pulling fs layer 04:27:24 bab4dde63d76: Pulling fs layer 04:27:24 bde34c3a00c8: Pulling fs layer 04:27:24 b352a97aabf1: Pulling fs layer 04:27:24 4872d77fe225: Pulling fs layer 04:27:24 5851b861e8e6: Pulling fs layer 04:27:24 b352a97aabf1: Waiting 04:27:24 bab4dde63d76: Waiting 04:27:24 4872d77fe225: Waiting 04:27:24 5851b861e8e6: Waiting 04:27:24 bde34c3a00c8: Waiting 04:27:24 988bab9f4d93: Waiting 04:27:24 1469e6f7b9e6: Waiting 04:27:24 eaf3925da568: Waiting 04:27:24 e2be974225ed: Download complete 04:27:24 988bab9f4d93: Verifying Checksum 04:27:24 988bab9f4d93: Download complete 04:27:24 339a4e72a1f5: Verifying Checksum 04:27:24 339a4e72a1f5: Download complete 04:27:24 eaf3925da568: Verifying Checksum 04:27:24 eaf3925da568: Download complete 04:27:24 1469e6f7b9e6: Verifying Checksum 04:27:24 1469e6f7b9e6: Download complete 04:27:24 bde34c3a00c8: Verifying Checksum 04:27:24 bde34c3a00c8: Download complete 04:27:24 b352a97aabf1: Verifying Checksum 04:27:24 b352a97aabf1: Download complete 04:27:24 4872d77fe225: Download complete 04:27:24 5851b861e8e6: Verifying Checksum 04:27:24 5851b861e8e6: Download complete 04:27:24 b85a868b505f: Verifying Checksum 04:27:24 b85a868b505f: Download complete 04:27:24 bab4dde63d76: Verifying Checksum 04:27:24 bab4dde63d76: Download complete 04:27:25 b85a868b505f: Pull complete 04:27:26 e2be974225ed: Pull complete 04:27:26 339a4e72a1f5: Pull complete 04:27:26 988bab9f4d93: Pull complete 04:27:26 1469e6f7b9e6: Pull complete 04:27:26 eaf3925da568: Pull complete 04:27:28 bab4dde63d76: Pull complete 04:27:28 bde34c3a00c8: Pull complete 04:27:28 b352a97aabf1: Pull complete 04:27:28 4872d77fe225: Pull complete 04:27:28 5851b861e8e6: Pull complete 04:27:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:29 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:27:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:27:31 $ docker top 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b -eo pid,comm 04:27:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:27:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:31 [ssh-agent] Looking for ssh-agent implementation... 04:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:31 $ docker exec 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b ssh-agent 04:27:31 SSH_AUTH_SOCK=/tmp/ssh-yU2nEHOGM5jP/agent.32 04:27:31 SSH_AGENT_PID=38 04:27:31 Running ssh-add (command line suppressed) 04:27:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17012724626971511140.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17012724626971511140.key) 04:27:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:32 + git tag --points-at HEAD [Pipeline] } 04:27:32 $ docker exec --env ******** --env ******** 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b ssh-agent -k 04:27:32 unset SSH_AUTH_SOCK; 04:27:32 unset SSH_AGENT_PID; 04:27:32 echo Agent pid 38 killed; 04:27:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:27:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:32 [ssh-agent] Looking for ssh-agent implementation... 04:27:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:32 $ docker exec 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b ssh-agent 04:27:32 SSH_AUTH_SOCK=/tmp/ssh-GMh7VpKjqizs/agent.70 04:27:32 SSH_AGENT_PID=76 04:27:32 Running ssh-add (command line suppressed) 04:27:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5706296784448703172.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5706296784448703172.key) 04:27:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:33 + git semver init 04:27:33 2023-05-08 04:27:33,329 [run_init] DEBUG init version:0.0.0 force:False 04:27:33 2023-05-08 04:27:33,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:27:33 2023-05-08 04:27:33,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:27:33 2023-05-08 04:27:33,330 [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) 04:27:34 2023-05-08 04:27:34,274 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:27:34 2023-05-08 04:27:34,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:27:34 2023-05-08 04:27:34,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:27:34 2023-05-08 04:27:34,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:27:34 3.0.0-dev.33 [Pipeline] } 04:27:34 $ docker exec --env ******** --env ******** 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b ssh-agent -k 04:27:34 unset SSH_AUTH_SOCK; 04:27:34 unset SSH_AGENT_PID; 04:27:34 echo Agent pid 76 killed; 04:27:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:34 + git semver [Pipeline] } 04:27:35 $ docker stop --time=1 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b 04:27:36 $ docker rm -f --volumes 60306c5f591e8edecfb8d2e3adab86373b60b3c6cdb069e0ca4f184520fbb99b [Pipeline] // withDockerContainer [Pipeline] sh 04:27:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:27:36 Stashed 1 file(s) [Pipeline] echo 04:27:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.33 [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 04:27:37 provisioning config files... 04:27:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16850707969937765353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:37 ---> docker-login.sh 04:27:37 nexus3.edgexfoundry.org:10001 04:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:37 Configure a credential helper to remove this warning. See 04:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:37 04:27:37 Login Succeeded 04:27:37 nexus3.edgexfoundry.org:10002 04:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:37 Configure a credential helper to remove this warning. See 04:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:37 04:27:37 Login Succeeded 04:27:37 nexus3.edgexfoundry.org:10003 04:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:37 Configure a credential helper to remove this warning. See 04:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:37 04:27:37 Login Succeeded 04:27:37 nexus3.edgexfoundry.org:10004 04:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:37 Configure a credential helper to remove this warning. See 04:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:37 04:27:37 Login Succeeded 04:27:37 docker.io 04:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:37 Configure a credential helper to remove this warning. See 04:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:37 04:27:37 Login Succeeded 04:27:37 ---> docker-login.sh ends [Pipeline] } 04:27:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:38 ========================================================= 04:27:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:27:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:38 + 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 . 04:27:38 Sending build context to Docker daemon 6.5MB 04:27:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:27:38 Step 2/12 : FROM ${BASE} AS builder 04:27:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:27:38 f56be85fc22e: Pulling fs layer 04:27:38 85791d961cd3: Pulling fs layer 04:27:38 d694b5ae8c79: Pulling fs layer 04:27:38 9f32a84ed3da: Pulling fs layer 04:27:38 4d19c01a9841: Pulling fs layer 04:27:38 9325e15d5711: Pulling fs layer 04:27:38 9f32a84ed3da: Waiting 04:27:38 556b6ee489ea: Pulling fs layer 04:27:38 c5a4b2cf53e6: Pulling fs layer 04:27:38 9325e15d5711: Waiting 04:27:38 556b6ee489ea: Waiting 04:27:38 85791d961cd3: Download complete 04:27:38 9f32a84ed3da: Download complete 04:27:38 4d19c01a9841: Verifying Checksum 04:27:38 f56be85fc22e: Verifying Checksum 04:27:38 f56be85fc22e: Download complete 04:27:38 9325e15d5711: Verifying Checksum 04:27:38 9325e15d5711: Download complete 04:27:38 f56be85fc22e: Pull complete 04:27:38 85791d961cd3: Pull complete 04:27:38 c5a4b2cf53e6: Verifying Checksum 04:27:38 c5a4b2cf53e6: Download complete 04:27:39 d694b5ae8c79: Verifying Checksum 04:27:39 d694b5ae8c79: Download complete 04:27:39 556b6ee489ea: Verifying Checksum 04:27:39 556b6ee489ea: Download complete 04:27:42 d694b5ae8c79: Pull complete 04:27:42 9f32a84ed3da: Pull complete 04:27:42 4d19c01a9841: Pull complete 04:27:42 9325e15d5711: Pull complete 04:27:44 556b6ee489ea: Pull complete 04:27:45 c5a4b2cf53e6: Pull complete 04:27:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:27:45 ---> c4be618373d6 04:27:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:27:48 ---> Running in 00a94516f5f5 04:27:49 Removing intermediate container 00a94516f5f5 04:27:49 ---> cc0663237384 04:27:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:27:49 ---> Running in 5fd21bcd1627 04:27:49 Removing intermediate container 5fd21bcd1627 04:27:49 ---> 170c447a4fde 04:27:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:27:49 ---> Running in 9f32a2046aba 04:27:49 Removing intermediate container 9f32a2046aba 04:27:49 ---> d099c4c273b1 04:27:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:27:49 ---> Running in 743fa819c67f 04:27:49 Removing intermediate container 743fa819c67f 04:27:49 ---> fc2a12f7b840 04:27:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:49 ---> Running in 1acdf2f0122c 04:27:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:27:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:27:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:27:50 (2/4) Installing libedit (20221030.3.1-r0) 04:27:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:27:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:27:50 Executing busybox-1.35.0-r29.trigger 04:27:50 OK: 269 MiB in 57 packages 04:27:50 Removing intermediate container 1acdf2f0122c 04:27:50 ---> 4eaa3b2191e8 04:27:50 Step 8/12 : WORKDIR /device-mqtt-go 04:27:50 ---> Running in 92575a78ac31 04:27:50 Removing intermediate container 92575a78ac31 04:27:50 ---> 8e69b9344ea4 04:27:50 Step 9/12 : COPY go.mod vendor* ./ 04:27:50 ---> 66a0232cd516 04:27:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:50 ---> Running in c9910aa15bd6 04:27:52 Still waiting to schedule task 04:27:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14437’ 04:28:12 Removing intermediate container c9910aa15bd6 04:28:12 ---> b42fa6f8fa35 04:28:12 Step 11/12 : COPY . . 04:28:12 ---> 6575bf9f8ba7 04:28:12 Step 12/12 : RUN $MAKE 04:28:12 ---> Running in 17c112606c56 04:28:12 noop 04:28:13 Removing intermediate container 17c112606c56 04:28:13 ---> 24efe4468de9 04:28:13 Successfully built 24efe4468de9 04:28:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:13 + docker inspect -f . ci-base-image-x86_64 04:28:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:13 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:28:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:28:13 $ docker top 84429a2f1cf3228665dc7c6ece88dbd46f14f1aec620e81efd1b6f1008fa6d41 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:14 + go version 04:28:14 go version go1.20.2 linux/amd64 [Pipeline] } 04:28:14 $ docker stop --time=1 84429a2f1cf3228665dc7c6ece88dbd46f14f1aec620e81efd1b6f1008fa6d41 04:28:15 $ docker rm -f --volumes 84429a2f1cf3228665dc7c6ece88dbd46f14f1aec620e81efd1b6f1008fa6d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:15 + docker inspect -f . ci-base-image-x86_64 04:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:15 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:28:16 $ docker top fb5976e54904f147653681e45df188feca2f42c0f65fe04a1a28cc04dc05e2de -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 04:28:16 + make test 04:28:16 go test ./... -coverprofile=coverage.out ./... 04:28:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:28:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:28:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:28:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.024s coverage: 23.1% of statements 04:28:38 go vet ./... 04:28:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:42 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:42 $ docker stop --time=1 fb5976e54904f147653681e45df188feca2f42c0f65fe04a1a28cc04dc05e2de 04:28:44 $ docker rm -f --volumes fb5976e54904f147653681e45df188feca2f42c0f65fe04a1a28cc04dc05e2de [Pipeline] // withDockerContainer [Pipeline] sh 04:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:45 + ls -al . 04:28:45 total 180 04:28:45 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:28 . 04:28:45 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:27 .. 04:28:45 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:27 .dockerignore 04:28:45 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:27 .git 04:28:45 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:27 .github 04:28:45 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:27 .gitignore 04:28:45 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:27 .golangci.yml 04:28:45 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:27 .semver 04:28:45 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 04:27 Attribution.txt 04:28:45 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 04:27 CHANGELOG.md 04:28:45 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 04:27 Dockerfile 04:28:45 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:27 GOVERNANCE.md 04:28:45 -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:27 Jenkinsfile 04:28:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:27 LICENSE 04:28:45 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 04:27 Makefile 04:28:45 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:27 OWNERS.md 04:28:45 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 04:27 README.md 04:28:45 -rw-rw-r-- 1 jenkins jenkins 12 May 8 04:27 VERSION 04:28:45 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:27 bin 04:28:45 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:27 cmd 04:28:45 -rw-r--r-- 1 jenkins jenkins 18144 May 8 04:28 coverage.out 04:28:45 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 04:27 go.mod 04:28:45 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:27 go.sum 04:28:45 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:27 internal 04:28:45 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:27 mock 04:28:45 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:27 snap 04:28:45 -rw-rw-r-- 1 jenkins jenkins 227 May 8 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:46 + 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=db7876f2142a7278c0249a92e31096ef17edc92f --label arch=amd64 --label version=3.0.0-dev.33 . 04:28:46 Sending build context to Docker daemon 6.519MB 04:28:46 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:28:46 Step 2/24 : FROM ${BASE} AS builder 04:28:46 ---> 24efe4468de9 04:28:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:28:46 ---> Running in 90746088ce7a 04:28:46 Removing intermediate container 90746088ce7a 04:28:46 ---> 8a38d090cf2d 04:28:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:46 ---> Running in bd7ac614164f 04:28:46 Removing intermediate container bd7ac614164f 04:28:46 ---> ab38eea9b8a2 04:28:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:28:46 ---> Running in cd12bd4ce656 04:28:46 Removing intermediate container cd12bd4ce656 04:28:46 ---> a8f856d86d6f 04:28:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:28:46 ---> Running in 201a2901907e 04:28:46 Removing intermediate container 201a2901907e 04:28:46 ---> 3ecd7f8ca0cc 04:28:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:46 ---> Running in 3e47c68ba980 04:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:28:47 OK: 269 MiB in 57 packages 04:28:47 Removing intermediate container 3e47c68ba980 04:28:47 ---> 8271ffcfa9cb 04:28:47 Step 8/24 : WORKDIR /device-mqtt-go 04:28:47 ---> Running in 4368aa3b106d 04:28:47 Removing intermediate container 4368aa3b106d 04:28:47 ---> fbee66dbbb30 04:28:47 Step 9/24 : COPY go.mod vendor* ./ 04:28:47 ---> 45edc2803893 04:28:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:47 ---> Running in 6e9ab26a51de 04:28:48 Removing intermediate container 6e9ab26a51de 04:28:48 ---> 43aefbbd0eeb 04:28:48 Step 11/24 : COPY . . 04:28:49 ---> 10f5cf5a19f8 04:28:49 Step 12/24 : RUN $MAKE 04:28:49 ---> Running in 9d830e9b183e 04:28:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:29:07 Removing intermediate container 9d830e9b183e 04:29:07 ---> 726beef77c0c 04:29:07 Step 13/24 : FROM alpine:3.17 04:29:07 3.17: Pulling from library/alpine 04:29:07 f56be85fc22e: Already exists 04:29:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:29:07 Status: Downloaded newer image for alpine:3.17 04:29:07 ---> 9ed4aefc74f6 04:29:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:29:07 ---> Running in 9db8150b038b 04:29:07 Removing intermediate container 9db8150b038b 04:29:07 ---> 85636984b369 04:29:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:29:07 ---> Running in 86ec4b4f5281 04:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:29:08 (1/1) Installing dumb-init (1.2.5-r2) 04:29:08 Executing busybox-1.35.0-r29.trigger 04:29:08 OK: 7 MiB in 16 packages 04:29:08 Removing intermediate container 86ec4b4f5281 04:29:08 ---> 23934ab6a94b 04:29:08 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:29:09 ---> d43dd56ec682 04:29:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:29:09 ---> d5355be59f27 04:29:09 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:29:09 ---> 1b5a29b87383 04:29:09 Step 19/24 : EXPOSE 59982 04:29:09 ---> Running in bb1a43b6b7bf 04:29:09 Removing intermediate container bb1a43b6b7bf 04:29:09 ---> 78ee0661397c 04:29:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:29:09 ---> Running in 10c05037bfcc 04:29:09 Removing intermediate container 10c05037bfcc 04:29:09 ---> 417abc8dfc20 04:29:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:29:09 ---> Running in 6b275f23e641 04:29:09 Removing intermediate container 6b275f23e641 04:29:09 ---> 34ce22935f5d 04:29:09 Step 22/24 : LABEL arch=amd64 04:29:09 ---> Running in aea590a98245 04:29:09 Removing intermediate container aea590a98245 04:29:09 ---> f39f709e5131 04:29:09 Step 23/24 : LABEL git_sha=db7876f2142a7278c0249a92e31096ef17edc92f 04:29:09 ---> Running in d87851d4d3e7 04:29:09 Removing intermediate container d87851d4d3e7 04:29:09 ---> b6536b0f459d 04:29:09 Step 24/24 : LABEL version=3.0.0-dev.33 04:29:09 ---> Running in 09d78966b262 04:29:10 Removing intermediate container 09d78966b262 04:29:10 ---> 616efe171f09 04:29:10 [Warning] One or more build-args [ARCH] were not consumed 04:29:10 Successfully built 616efe171f09 04:29:10 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:10 provisioning config files... 04:29:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14753621476567753229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:10 ---> docker-login.sh 04:29:10 nexus3.edgexfoundry.org:10001 04:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:10 Configure a credential helper to remove this warning. See 04:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:10 04:29:10 Login Succeeded 04:29:10 nexus3.edgexfoundry.org:10002 04:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:10 Configure a credential helper to remove this warning. See 04:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:10 04:29:10 Login Succeeded 04:29:10 nexus3.edgexfoundry.org:10003 04:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:10 Configure a credential helper to remove this warning. See 04:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:10 04:29:10 Login Succeeded 04:29:10 nexus3.edgexfoundry.org:10004 04:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:10 Configure a credential helper to remove this warning. See 04:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:10 04:29:10 Login Succeeded 04:29:10 docker.io 04:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:11 Configure a credential helper to remove this warning. See 04:29:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:11 04:29:11 Login Succeeded 04:29:11 ---> docker-login.sh ends [Pipeline] } 04:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:29:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:11 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:29:11 db7876f2142a7278c0249a92e31096ef17edc92f 04:29:11 latest 04:29:11 3.0.0-dev.33 04:29:11 db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:29:11 main 04:29:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f 04:29:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:29:11 41a4c3d0d2dc: Preparing 04:29:11 2e1008b11e91: Preparing 04:29:11 cf326892f431: Preparing 04:29:11 c007ace97f89: Preparing 04:29:11 f1417ff83b31: Preparing 04:29:11 f1417ff83b31: Layer already exists 04:29:11 41a4c3d0d2dc: Pushed 04:29:11 c007ace97f89: Pushed 04:29:11 2e1008b11e91: Pushed 04:29:14 cf326892f431: Pushed 04:29:14 db7876f2142a7278c0249a92e31096ef17edc92f: digest: sha256:e12b06918c4a8194400dd96c682ee113ae742e7f9108924e55a3ea4265543c1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:29:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:29:14 41a4c3d0d2dc: Preparing 04:29:14 2e1008b11e91: Preparing 04:29:14 cf326892f431: Preparing 04:29:14 c007ace97f89: Preparing 04:29:14 f1417ff83b31: Preparing 04:29:14 2e1008b11e91: Layer already exists 04:29:14 f1417ff83b31: Layer already exists 04:29:14 cf326892f431: Layer already exists 04:29:14 41a4c3d0d2dc: Layer already exists 04:29:14 c007ace97f89: Layer already exists 04:29:14 latest: digest: sha256:e12b06918c4a8194400dd96c682ee113ae742e7f9108924e55a3ea4265543c1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.33 04:29:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:29:15 41a4c3d0d2dc: Preparing 04:29:15 2e1008b11e91: Preparing 04:29:15 cf326892f431: Preparing 04:29:15 c007ace97f89: Preparing 04:29:15 f1417ff83b31: Preparing 04:29:15 cf326892f431: Layer already exists 04:29:15 41a4c3d0d2dc: Layer already exists 04:29:15 2e1008b11e91: Layer already exists 04:29:15 f1417ff83b31: Layer already exists 04:29:15 c007ace97f89: Layer already exists 04:29:15 3.0.0-dev.33: digest: sha256:e12b06918c4a8194400dd96c682ee113ae742e7f9108924e55a3ea4265543c1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:29:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:29:16 41a4c3d0d2dc: Preparing 04:29:16 2e1008b11e91: Preparing 04:29:16 cf326892f431: Preparing 04:29:16 c007ace97f89: Preparing 04:29:16 f1417ff83b31: Preparing 04:29:16 41a4c3d0d2dc: Layer already exists 04:29:16 c007ace97f89: Layer already exists 04:29:16 f1417ff83b31: Layer already exists 04:29:16 2e1008b11e91: Layer already exists 04:29:16 cf326892f431: Layer already exists 04:29:16 db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33: digest: sha256:e12b06918c4a8194400dd96c682ee113ae742e7f9108924e55a3ea4265543c1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:29:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:29:16 41a4c3d0d2dc: Preparing 04:29:16 2e1008b11e91: Preparing 04:29:16 cf326892f431: Preparing 04:29:16 c007ace97f89: Preparing 04:29:16 f1417ff83b31: Preparing 04:29:16 41a4c3d0d2dc: Layer already exists 04:29:16 f1417ff83b31: Layer already exists 04:29:16 2e1008b11e91: Layer already exists 04:29:16 c007ace97f89: Layer already exists 04:29:16 cf326892f431: Layer already exists 04:29:16 main: digest: sha256:e12b06918c4a8194400dd96c682ee113ae742e7f9108924e55a3ea4265543c1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:29:16 ===================================================== [Pipeline] echo 04:29:16 taggedImages: 04:29:16 - nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f 04:29:16 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:29:16 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.33 04:29:16 - nexus3.edgexfoundry.org:10004/device-mqtt:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:29:16 - 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 04:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:17 04:29:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:17 latest: Pulling from edgex-lftools-log-publisher 04:29:17 5eb5b503b376: Pulling fs layer 04:29:17 5c69ac0246d0: Pulling fs layer 04:29:17 ec43610c2a17: Pulling fs layer 04:29:17 3a2ae6a8a46f: Pulling fs layer 04:29:17 33b1e0a273af: Pulling fs layer 04:29:17 5d3b04190fa2: Pulling fs layer 04:29:17 2f39f015ded8: Pulling fs layer 04:29:17 3a2ae6a8a46f: Waiting 04:29:17 33b1e0a273af: Waiting 04:29:17 5d3b04190fa2: Waiting 04:29:17 2f39f015ded8: Waiting 04:29:17 5c69ac0246d0: Verifying Checksum 04:29:17 5c69ac0246d0: Download complete 04:29:17 3a2ae6a8a46f: Verifying Checksum 04:29:17 3a2ae6a8a46f: Download complete 04:29:17 33b1e0a273af: Verifying Checksum 04:29:17 33b1e0a273af: Download complete 04:29:17 ec43610c2a17: Verifying Checksum 04:29:17 ec43610c2a17: Download complete 04:29:17 5d3b04190fa2: Download complete 04:29:17 5eb5b503b376: Verifying Checksum 04:29:17 5eb5b503b376: Download complete 04:29:18 2f39f015ded8: Download complete 04:29:18 5eb5b503b376: Pull complete 04:29:18 5c69ac0246d0: Pull complete 04:29:19 ec43610c2a17: Pull complete 04:29:19 3a2ae6a8a46f: Pull complete 04:29:19 33b1e0a273af: Pull complete 04:29:19 5d3b04190fa2: Pull complete 04:29:23 2f39f015ded8: Pull complete 04:29:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:24 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:26 $ docker top a3b82b3e23b7d703594422a6f65dd8978275db84092699eebf38145533e7e81e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:27 ---> job-cost.sh 04:29:27 lf-activate-venv: SKIPPING 04:29:27 INFO: No Stack... 04:29:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:27 INFO: Archiving Costs [Pipeline] sh 04:29:27 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:29:27 + cut -d, -f6 [Pipeline] lock 04:29:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] 04:29:27 Resource [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] did not exist. Created. 04:29:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:28 Stashed 1 file(s) [Pipeline] } 04:29:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:28 $ docker stop --time=1 a3b82b3e23b7d703594422a6f65dd8978275db84092699eebf38145533e7e81e 04:29:29 $ docker rm -f --volumes a3b82b3e23b7d703594422a6f65dd8978275db84092699eebf38145533e7e81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14441 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:30:50 Running in /w/workspace/device-mqtt-go/117 [Pipeline] { [Pipeline] checkout 04:30:50 Selected Git installation does not exist. Using Default 04:30:50 The recommended git tool is: NONE 04:30:56 using credential edgex-jenkins-ssh 04:30:56 Cloning the remote Git repository 04:30:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:30:56 > git init /w/workspace/device-mqtt-go/117 # timeout=10 04:30:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:30:56 > git --version # timeout=10 04:30:56 > git --version # 'git version 2.25.1' 04:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:30:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:59 Avoid second fetch 04:30:59 Checking out Revision db7876f2142a7278c0249a92e31096ef17edc92f (main) 04:30:59 Commit message: "Merge pull request #596 from jumpingliu/ignore-go-mods" 04:30:59 > git config core.sparsecheckout # timeout=10 04:30:59 > git checkout -f db7876f2142a7278c0249a92e31096ef17edc92f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:31:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:31:00 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:00 Dload Upload Total Spent Left Speed 04:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 04:31:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:31:01 + sudo tee /etc/docker/daemon.new 04:31:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:31:01 { 04:31:01 "registry-mirrors": [ 04:31:01 "https://nexus3.edgexfoundry.org:10001" 04:31:01 ], 04:31:01 "bip": "10.250.0.254/24", 04:31:01 "hosts": [ 04:31:01 "tcp://0.0.0.0:5555", 04:31:01 "unix:///var/run/docker.sock" 04:31:01 ], 04:31:01 "mtu": 1458, 04:31:01 "selinux-enabled": true, 04:31:01 "seccomp-profile": "/etc/docker/seccomp.json" 04:31:01 } [Pipeline] sh 04:31:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:31:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:20 provisioning config files... 04:31:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/117@tmp/config11188311871371231465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:20 ---> docker-login.sh 04:31:20 nexus3.edgexfoundry.org:10001 04:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:21 Configure a credential helper to remove this warning. See 04:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:21 04:31:21 Login Succeeded 04:31:21 nexus3.edgexfoundry.org:10002 04:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:22 Configure a credential helper to remove this warning. See 04:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:22 04:31:22 Login Succeeded 04:31:22 nexus3.edgexfoundry.org:10003 04:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:22 Configure a credential helper to remove this warning. See 04:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:22 04:31:22 Login Succeeded 04:31:22 nexus3.edgexfoundry.org:10004 04:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:22 Configure a credential helper to remove this warning. See 04:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:22 04:31:22 Login Succeeded 04:31:22 docker.io 04:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:23 Configure a credential helper to remove this warning. See 04:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:23 04:31:23 Login Succeeded 04:31:23 ---> docker-login.sh ends [Pipeline] } 04:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:23 ========================================================= 04:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:31:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:24 + 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 . 04:31:24 Sending build context to Docker daemon 3.385MB 04:31:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:31:24 Step 2/12 : FROM ${BASE} AS builder 04:31:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:31:24 c41833b44d91: Pulling fs layer 04:31:24 ed15518f5707: Pulling fs layer 04:31:24 feae8fd75edb: Pulling fs layer 04:31:24 242c74f7c9fa: Pulling fs layer 04:31:24 3cdef696dda3: Pulling fs layer 04:31:24 2ced38df9373: Pulling fs layer 04:31:24 58f1dce35555: Pulling fs layer 04:31:24 242c74f7c9fa: Waiting 04:31:24 3cdef696dda3: Waiting 04:31:24 2ced38df9373: Waiting 04:31:24 58f1dce35555: Waiting 04:31:24 ed15518f5707: Verifying Checksum 04:31:24 ed15518f5707: Download complete 04:31:24 242c74f7c9fa: Verifying Checksum 04:31:24 242c74f7c9fa: Download complete 04:31:24 3cdef696dda3: Verifying Checksum 04:31:24 3cdef696dda3: Download complete 04:31:24 c41833b44d91: Verifying Checksum 04:31:25 c41833b44d91: Pull complete 04:31:26 58f1dce35555: Verifying Checksum 04:31:26 58f1dce35555: Download complete 04:31:26 ed15518f5707: Pull complete 04:31:27 feae8fd75edb: Verifying Checksum 04:31:27 feae8fd75edb: Download complete 04:31:27 2ced38df9373: Verifying Checksum 04:31:39 feae8fd75edb: Pull complete 04:31:39 242c74f7c9fa: Pull complete 04:31:39 3cdef696dda3: Pull complete 04:31:48 2ced38df9373: Pull complete 04:31:49 58f1dce35555: Pull complete 04:31:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:31:49 ---> fadd8f120f05 04:31:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:31:51 ---> Running in 99748e660b70 04:31:51 Removing intermediate container 99748e660b70 04:31:51 ---> 4027dac36451 04:31:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:31:51 ---> Running in e7988e3556f5 04:31:52 Removing intermediate container e7988e3556f5 04:31:52 ---> 6abe3e620db9 04:31:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:31:52 ---> Running in d50bee3c9cf0 04:31:52 Removing intermediate container d50bee3c9cf0 04:31:52 ---> e0a3444a4b97 04:31:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:31:52 ---> Running in 0734b75958f8 04:31:52 Removing intermediate container 0734b75958f8 04:31:52 ---> ed3e8762116c 04:31:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:31:52 ---> Running in 456d2c2b5cf4 04:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:31:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:31:56 (2/4) Installing libedit (20221030.3.1-r0) 04:31:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:31:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:31:56 Executing busybox-1.35.0-r29.trigger 04:31:56 OK: 268 MiB in 57 packages 04:31:57 Removing intermediate container 456d2c2b5cf4 04:31:57 ---> ec3414c0eb25 04:31:57 Step 8/12 : WORKDIR /device-mqtt-go 04:31:57 ---> Running in 1b0503de5932 04:32:01 Removing intermediate container 1b0503de5932 04:32:01 ---> 03f8ed11317a 04:32:01 Step 9/12 : COPY go.mod vendor* ./ 04:32:01 ---> 8a8886a8e7d9 04:32:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:01 ---> Running in c96146911e76 04:33:09 Removing intermediate container c96146911e76 04:33:09 ---> 5ddf2eca6886 04:33:09 Step 11/12 : COPY . . 04:33:09 ---> d649587bbf65 04:33:09 Step 12/12 : RUN $MAKE 04:33:09 ---> Running in 5fc9fc2a4539 04:33:09 noop 04:33:09 Removing intermediate container 5fc9fc2a4539 04:33:09 ---> 6eac9fa89db3 04:33:09 Successfully built 6eac9fa89db3 04:33:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:09 + docker inspect -f . ci-base-image-arm64 04:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:10 prd-ubuntu20.04-docker-arm64-4c-16g-14441 does not seem to be running inside a container 04:33:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/117 -v /w/workspace/device-mqtt-go/117:/w/workspace/device-mqtt-go/117:rw,z -v /w/workspace/device-mqtt-go/117@tmp:/w/workspace/device-mqtt-go/117@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 04:33:11 $ docker top 2cd6f5dc4a5ef90482c3824139c6a82e4eb6abfb7d6bb04c61cff13cefbbdfcb -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:12 + go version 04:33:12 go version go1.20.2 linux/arm64 [Pipeline] } 04:33:12 $ docker stop --time=1 2cd6f5dc4a5ef90482c3824139c6a82e4eb6abfb7d6bb04c61cff13cefbbdfcb 04:33:13 $ docker rm -f --volumes 2cd6f5dc4a5ef90482c3824139c6a82e4eb6abfb7d6bb04c61cff13cefbbdfcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:14 + docker inspect -f . ci-base-image-arm64 04:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:14 prd-ubuntu20.04-docker-arm64-4c-16g-14441 does not seem to be running inside a container 04:33:14 $ 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/117 -v /w/workspace/device-mqtt-go/117:/w/workspace/device-mqtt-go/117:rw,z -v /w/workspace/device-mqtt-go/117@tmp:/w/workspace/device-mqtt-go/117@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 04:33:15 $ docker top 2303d6c59cedbb5d59b1f9e8d766272bfd6a2bbb50bb2a096b39cbd4d3db0291 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:16 + git config --global --add safe.directory /w/workspace/device-mqtt-go/117 [Pipeline] fileExists [Pipeline] sh 04:33:17 + make test 04:33:17 go test ./... -coverprofile=coverage.out ./... 04:33:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:36:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:36:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:36:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 23.1% of statements 04:36:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:36:11 go vet ./... 04:36:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:36:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:36:43 $ docker stop --time=1 2303d6c59cedbb5d59b1f9e8d766272bfd6a2bbb50bb2a096b39cbd4d3db0291 04:36:45 $ docker rm -f --volumes 2303d6c59cedbb5d59b1f9e8d766272bfd6a2bbb50bb2a096b39cbd4d3db0291 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:46 Warning: overwriting stash ‘coverage-report’ 04:36:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:48 + ls -al . 04:36:48 total 176 04:36:48 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:33 . 04:36:48 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:30 .. 04:36:48 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:30 .dockerignore 04:36:48 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:30 .git 04:36:48 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:30 .github 04:36:48 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:30 .gitignore 04:36:48 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:30 .golangci.yml 04:36:48 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 04:30 Attribution.txt 04:36:48 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 04:30 CHANGELOG.md 04:36:48 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 04:30 Dockerfile 04:36:48 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:30 GOVERNANCE.md 04:36:48 -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:30 Jenkinsfile 04:36:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:30 LICENSE 04:36:48 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 04:30 Makefile 04:36:48 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:30 OWNERS.md 04:36:48 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 04:30 README.md 04:36:48 -rw-rw-r-- 1 jenkins jenkins 12 May 8 04:27 VERSION 04:36:48 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:30 bin 04:36:48 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:30 cmd 04:36:48 -rw-r--r-- 1 jenkins jenkins 18144 May 8 04:36 coverage.out 04:36:48 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 04:30 go.mod 04:36:48 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:30 go.sum 04:36:48 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:30 internal 04:36:48 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:30 mock 04:36:48 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:30 snap 04:36:48 -rw-rw-r-- 1 jenkins jenkins 227 May 8 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:48 + 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=db7876f2142a7278c0249a92e31096ef17edc92f --label arch=arm64 --label version=3.0.0-dev.33 . 04:36:48 Sending build context to Docker daemon 3.404MB 04:36:48 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:36:48 Step 2/24 : FROM ${BASE} AS builder 04:36:48 ---> 6eac9fa89db3 04:36:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:36:49 ---> Running in e3ce4fef349c 04:36:49 Removing intermediate container e3ce4fef349c 04:36:49 ---> 5761c8e98e11 04:36:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:36:49 ---> Running in 65b8616cbf65 04:36:49 Removing intermediate container 65b8616cbf65 04:36:49 ---> 64b51f913352 04:36:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:36:49 ---> Running in ef6e06e6022b 04:36:50 Removing intermediate container ef6e06e6022b 04:36:50 ---> d448d669ef09 04:36:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:36:50 ---> Running in 033285f71630 04:36:50 Removing intermediate container 033285f71630 04:36:50 ---> 7c7a7170449b 04:36:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:36:50 ---> Running in 24ec46d639f3 04:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:36:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:36:53 OK: 268 MiB in 57 packages 04:36:54 Removing intermediate container 24ec46d639f3 04:36:54 ---> 950862df3290 04:36:54 Step 8/24 : WORKDIR /device-mqtt-go 04:36:54 ---> Running in 873532aa7ba3 04:36:54 Removing intermediate container 873532aa7ba3 04:36:54 ---> 4a70531b29d6 04:36:54 Step 9/24 : COPY go.mod vendor* ./ 04:36:55 ---> e23de8011605 04:36:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:55 ---> Running in ac1d1d43ce37 04:36:58 Removing intermediate container ac1d1d43ce37 04:36:58 ---> 95b88742fedb 04:36:58 Step 11/24 : COPY . . 04:36:59 ---> c85acb9e97da 04:36:59 Step 12/24 : RUN $MAKE 04:36:59 ---> Running in 44a469b8560a 04:37:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:39:52 Removing intermediate container 44a469b8560a 04:39:52 ---> e6d17a0b507c 04:39:52 Step 13/24 : FROM alpine:3.17 04:39:52 3.17: Pulling from library/alpine 04:39:52 c41833b44d91: Already exists 04:39:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:39:52 Status: Downloaded newer image for alpine:3.17 04:39:52 ---> 51e60588ff2c 04:39:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:39:52 ---> Running in e4a54562b471 04:39:52 Removing intermediate container e4a54562b471 04:39:52 ---> 80635fe64de6 04:39:52 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:39:52 ---> Running in 97d81a4cab1a 04:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:39:52 (1/1) Installing dumb-init (1.2.5-r2) 04:39:52 Executing busybox-1.35.0-r29.trigger 04:39:52 OK: 8 MiB in 16 packages 04:39:52 Removing intermediate container 97d81a4cab1a 04:39:52 ---> fe74ae5ff99a 04:39:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:39:52 ---> 6c7c70ce16cb 04:39:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:39:52 ---> 9a6bddbde6b2 04:39:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:39:52 ---> e1aad1160e3b 04:39:52 Step 19/24 : EXPOSE 59982 04:39:52 ---> Running in 6a3c1233cdd0 04:39:52 Removing intermediate container 6a3c1233cdd0 04:39:52 ---> 759e459850c8 04:39:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:39:52 ---> Running in ab2a96fd82a8 04:39:52 Removing intermediate container ab2a96fd82a8 04:39:52 ---> 79b6041deefc 04:39:52 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:39:52 ---> Running in a042fa57a668 04:39:52 Removing intermediate container a042fa57a668 04:39:52 ---> 78ee09ea0bf3 04:39:52 Step 22/24 : LABEL arch=arm64 04:39:52 ---> Running in 51748cbd4f60 04:39:52 Removing intermediate container 51748cbd4f60 04:39:52 ---> 14d7a4ba8ac4 04:39:52 Step 23/24 : LABEL git_sha=db7876f2142a7278c0249a92e31096ef17edc92f 04:39:52 ---> Running in 170f80490f9c 04:39:52 Removing intermediate container 170f80490f9c 04:39:52 ---> 9ff16e1d30c6 04:39:52 Step 24/24 : LABEL version=3.0.0-dev.33 04:39:52 ---> Running in 1bfaea3f30f5 04:39:52 Removing intermediate container 1bfaea3f30f5 04:39:52 ---> 9a212de9c4db 04:39:52 [Warning] One or more build-args [ARCH] were not consumed 04:39:52 Successfully built 9a212de9c4db 04:39:52 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 04:39:52 provisioning config files... 04:39:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/117@tmp/config4403471842682687851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:52 ---> docker-login.sh 04:39:52 nexus3.edgexfoundry.org:10001 04:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:52 Configure a credential helper to remove this warning. See 04:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:52 04:39:52 Login Succeeded 04:39:52 nexus3.edgexfoundry.org:10002 04:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:53 Configure a credential helper to remove this warning. See 04:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:53 04:39:53 Login Succeeded 04:39:53 nexus3.edgexfoundry.org:10003 04:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:53 Configure a credential helper to remove this warning. See 04:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:53 04:39:53 Login Succeeded 04:39:53 nexus3.edgexfoundry.org:10004 04:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:54 Configure a credential helper to remove this warning. See 04:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:54 04:39:54 Login Succeeded 04:39:54 docker.io 04:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:54 Configure a credential helper to remove this warning. See 04:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:54 04:39:54 Login Succeeded 04:39:54 ---> docker-login.sh ends [Pipeline] } 04:39:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:39:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:39:54 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:39:54 db7876f2142a7278c0249a92e31096ef17edc92f 04:39:54 latest 04:39:54 3.0.0-dev.33 04:39:54 db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:39:54 main 04:39:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f 04:39:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:39:55 fa75d8ad66dc: Preparing 04:39:55 e7bc22ab9cb2: Preparing 04:39:55 ceace542d973: Preparing 04:39:55 ebcb5b4a448e: Preparing 04:39:55 26cbea5cba74: Preparing 04:39:55 26cbea5cba74: Layer already exists 04:39:55 e7bc22ab9cb2: Pushed 04:39:55 fa75d8ad66dc: Pushed 04:39:55 ebcb5b4a448e: Pushed 04:40:02 ceace542d973: Pushed 04:40:02 db7876f2142a7278c0249a92e31096ef17edc92f: digest: sha256:4cc5a8108b2b62eaea09122893555aaf3f72bfa28e56061b691d7d611ee70874 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:40:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:03 fa75d8ad66dc: Preparing 04:40:03 e7bc22ab9cb2: Preparing 04:40:03 ceace542d973: Preparing 04:40:03 ebcb5b4a448e: Preparing 04:40:03 26cbea5cba74: Preparing 04:40:03 e7bc22ab9cb2: Layer already exists 04:40:03 ceace542d973: Layer already exists 04:40:03 ebcb5b4a448e: Layer already exists 04:40:03 fa75d8ad66dc: Layer already exists 04:40:03 26cbea5cba74: Layer already exists 04:40:03 latest: digest: sha256:4cc5a8108b2b62eaea09122893555aaf3f72bfa28e56061b691d7d611ee70874 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.33 04:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:04 fa75d8ad66dc: Preparing 04:40:04 e7bc22ab9cb2: Preparing 04:40:04 ceace542d973: Preparing 04:40:04 ebcb5b4a448e: Preparing 04:40:04 26cbea5cba74: Preparing 04:40:04 e7bc22ab9cb2: Layer already exists 04:40:04 fa75d8ad66dc: Layer already exists 04:40:04 ceace542d973: Layer already exists 04:40:04 ebcb5b4a448e: Layer already exists 04:40:04 26cbea5cba74: Layer already exists 04:40:04 3.0.0-dev.33: digest: sha256:4cc5a8108b2b62eaea09122893555aaf3f72bfa28e56061b691d7d611ee70874 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:40:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:05 fa75d8ad66dc: Preparing 04:40:05 e7bc22ab9cb2: Preparing 04:40:05 ceace542d973: Preparing 04:40:05 ebcb5b4a448e: Preparing 04:40:05 26cbea5cba74: Preparing 04:40:05 26cbea5cba74: Layer already exists 04:40:05 ceace542d973: Layer already exists 04:40:05 e7bc22ab9cb2: Layer already exists 04:40:05 ebcb5b4a448e: Layer already exists 04:40:05 fa75d8ad66dc: Layer already exists 04:40:05 db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33: digest: sha256:4cc5a8108b2b62eaea09122893555aaf3f72bfa28e56061b691d7d611ee70874 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:40:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:06 fa75d8ad66dc: Preparing 04:40:06 e7bc22ab9cb2: Preparing 04:40:06 ceace542d973: Preparing 04:40:06 ebcb5b4a448e: Preparing 04:40:06 26cbea5cba74: Preparing 04:40:06 26cbea5cba74: Layer already exists 04:40:06 fa75d8ad66dc: Layer already exists 04:40:06 ebcb5b4a448e: Layer already exists 04:40:06 e7bc22ab9cb2: Layer already exists 04:40:06 ceace542d973: Layer already exists 04:40:06 main: digest: sha256:4cc5a8108b2b62eaea09122893555aaf3f72bfa28e56061b691d7d611ee70874 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:40:06 ===================================================== [Pipeline] echo 04:40:06 taggedImages: 04:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f 04:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.33 04:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db7876f2142a7278c0249a92e31096ef17edc92f-3.0.0-dev.33 04:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:06 04:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:07 arm64: Pulling from edgex-lftools-log-publisher 04:40:07 8998bd30e6a1: Pulling fs layer 04:40:07 04944245beec: Pulling fs layer 04:40:07 699f458cf7ca: Pulling fs layer 04:40:07 765212b225bb: Pulling fs layer 04:40:07 f23df028b6ca: Pulling fs layer 04:40:07 d65c8cfc05b1: Pulling fs layer 04:40:07 2437ff75d9bd: Pulling fs layer 04:40:07 f23df028b6ca: Waiting 04:40:07 d65c8cfc05b1: Waiting 04:40:07 2437ff75d9bd: Waiting 04:40:07 765212b225bb: Waiting 04:40:07 04944245beec: Verifying Checksum 04:40:07 04944245beec: Download complete 04:40:07 765212b225bb: Verifying Checksum 04:40:07 765212b225bb: Download complete 04:40:07 f23df028b6ca: Verifying Checksum 04:40:07 f23df028b6ca: Download complete 04:40:07 d65c8cfc05b1: Verifying Checksum 04:40:07 d65c8cfc05b1: Download complete 04:40:07 699f458cf7ca: Verifying Checksum 04:40:08 8998bd30e6a1: Verifying Checksum 04:40:08 8998bd30e6a1: Download complete 04:40:10 2437ff75d9bd: Verifying Checksum 04:40:10 2437ff75d9bd: Download complete 04:40:12 8998bd30e6a1: Pull complete 04:40:12 04944245beec: Pull complete 04:40:13 699f458cf7ca: Pull complete 04:40:13 765212b225bb: Pull complete 04:40:14 f23df028b6ca: Pull complete 04:40:14 d65c8cfc05b1: Pull complete 04:40:29 2437ff75d9bd: Pull complete 04:40:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:30 prd-ubuntu20.04-docker-arm64-4c-16g-14441 does not seem to be running inside a container 04:40:30 $ 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/117 -v /w/workspace/device-mqtt-go/117:/w/workspace/device-mqtt-go/117:rw,z -v /w/workspace/device-mqtt-go/117@tmp:/w/workspace/device-mqtt-go/117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:40:33 $ docker top 87bf32645acebe1a1b8bf5d66cbcb0b03ffedef609ba1720d55d8badf28715b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:34 ---> job-cost.sh 04:40:34 lf-activate-venv: SKIPPING 04:40:34 INFO: No Stack... 04:40:34 INFO: Retrieving Pricing Info for: v3-standard-4 04:40:35 INFO: Archiving Costs [Pipeline] sh 04:40:36 + cut -d, -f6 04:40:36 + cat /w/workspace/device-mqtt-go/117/archives/cost.csv [Pipeline] lock 04:40:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] 04:40:36 Resource [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] did not exist. Created. 04:40:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:37 /w/workspace/device-mqtt-go/117@tmp/durable-76f50668/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:40:37 + echo total: 0.10999999940395355 [Pipeline] stash 04:40:37 Warning: overwriting stash ‘stack-cost’ 04:40:37 Stashed 1 file(s) [Pipeline] } 04:40:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 04:40:38 $ docker stop --time=1 87bf32645acebe1a1b8bf5d66cbcb0b03ffedef609ba1720d55d8badf28715b8 04:40:39 $ docker rm -f --volumes 87bf32645acebe1a1b8bf5d66cbcb0b03ffedef609ba1720d55d8badf28715b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:40:39 provisioning config files... 04:40:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11113173565646029425tmp [Pipeline] { [Pipeline] sh 04:40:40 + set +x 04:40:40 + + curl -s https://codecov.io/bash 04:40:40 bash -s -- 04:40:40 04:40:40 _____ _ 04:40:40 / ____| | | 04:40:40 | | ___ __| | ___ ___ _____ __ 04:40:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:40:40 | |___| (_) | (_| | __/ (_| (_) \ V / 04:40:40 \_____\___/ \__,_|\___|\___\___/ \_/ 04:40:40 Bash-1.0.6 04:40:40 04:40:40 04:40:40 ==> git version 2.25.1 found 04:40:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:40:40 Release-Date: 2020-01-08 04:40:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:40:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:40:40 ==> Jenkins CI detected. 04:40:40 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:40:40 project root: . 04:40:40 --> token set from env 04:40:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:40:40 ==> Running gcov in . (disable via -X gcov) 04:40:40 ==> Python coveragepy not found 04:40:40 ==> Searching for coverage reports in: 04:40:40 + . 04:40:40 -> Found 1 reports 04:40:40 ==> Detecting git/mercurial file structure 04:40:40 ==> Reading reports 04:40:40 + ./coverage.out bytes=18144 04:40:40 ==> Appending adjustments 04:40:40 https://docs.codecov.io/docs/fixing-reports 04:40:40 + Found adjustments 04:40:40 ==> Gzipping contents 04:40:40 4.0K /tmp/codecov.q2Q8xr.gz 04:40:40 ==> Uploading reports 04:40:40 url: https://codecov.io 04:40:40 query: branch=main&commit=db7876f2142a7278c0249a92e31096ef17edc92f&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:40 -> Pinging Codecov 04:40:40 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=db7876f2142a7278c0249a92e31096ef17edc92f&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:40 -> Uploading to 04:40:40 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7D719EC7BBE17E464838252E33014C33/db7876f2142a7278c0249a92e31096ef17edc92f/f6420f89-d873-418d-a203-f90bde48f1ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T044040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88f386c529cafe3ae15c69397f38594f8f70abf1eb7002d3da4665b072de9241 04:40:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:40:40 Dload Upload Total Spent Left Speed 04:40:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 15684 --:--:-- --:--:-- --:--:-- 15607 100 3184 0 0 100 3184 0 14214 --:--:-- --:--:-- --:--:-- 14151 04:40:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] } 04:40:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:40:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:40:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:41 04:40:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:40:41 df9b9388f04a: Pulling fs layer 04:40:41 52dc419b0ee2: Pulling fs layer 04:40:41 25bc292e5bac: Pulling fs layer 04:40:41 114826534d7a: Pulling fs layer 04:40:41 4657fd5d0bcf: Pulling fs layer 04:40:41 6ad1cebc031e: Pulling fs layer 04:40:41 8a3aa393b2d8: Pulling fs layer 04:40:41 4657fd5d0bcf: Waiting 04:40:41 114826534d7a: Waiting 04:40:41 6ad1cebc031e: Waiting 04:40:41 8a3aa393b2d8: Waiting 04:40:41 25bc292e5bac: Download complete 04:40:41 52dc419b0ee2: Verifying Checksum 04:40:41 52dc419b0ee2: Download complete 04:40:41 4657fd5d0bcf: Verifying Checksum 04:40:41 4657fd5d0bcf: Download complete 04:40:41 df9b9388f04a: Download complete 04:40:41 6ad1cebc031e: Verifying Checksum 04:40:41 6ad1cebc031e: Download complete 04:40:41 df9b9388f04a: Pull complete 04:40:41 52dc419b0ee2: Pull complete 04:40:41 25bc292e5bac: Pull complete 04:40:42 114826534d7a: Verifying Checksum 04:40:42 114826534d7a: Download complete 04:40:42 8a3aa393b2d8: Verifying Checksum 04:40:42 8a3aa393b2d8: Download complete 04:40:45 114826534d7a: Pull complete 04:40:45 4657fd5d0bcf: Pull complete 04:40:45 6ad1cebc031e: Pull complete 04:40:48 8a3aa393b2d8: Pull complete 04:40:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:48 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:40:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:40:51 $ docker top 0ac9a7162a875885b69fcf085b825f45711b3200251e133fb1c564e2baf55e46 -eo pid,comm [Pipeline] { [Pipeline] echo 04:40:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:40:51 + set -o pipefail 04:40:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:40:55 04:40:55 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:40:55 04:40:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/18121f24-65d9-49ea-aecd-fc0bb292477d 04:40:55 04:40:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:40:55 04:40:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:40:55 04:40:56 04:40:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:40:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:40:56 More details here: https://snyk.co/ue1NS 04:40:56 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:40:56 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:40:56 $ docker stop --time=1 0ac9a7162a875885b69fcf085b825f45711b3200251e133fb1c564e2baf55e46 04:40:58 $ docker rm -f --volumes 0ac9a7162a875885b69fcf085b825f45711b3200251e133fb1c564e2baf55e46 [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 04:40:59 + git log --format=format:%s -1 db7876f2142a7278c0249a92e31096ef17edc92f [Pipeline] sh 04:40:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:40:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:00 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:00 $ docker top 89078c35dcd3d052f8ac62c231ea8bd651e8ec63289afcd3c4e721c8a16c857e -eo pid,comm 04:41:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:41:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:00 [ssh-agent] Looking for ssh-agent implementation... 04:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:00 $ docker exec 89078c35dcd3d052f8ac62c231ea8bd651e8ec63289afcd3c4e721c8a16c857e ssh-agent 04:41:00 SSH_AUTH_SOCK=/tmp/ssh-bxQykeeYa7Tp/agent.32 04:41:00 SSH_AGENT_PID=38 04:41:00 Running ssh-add (command line suppressed) 04:41:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14744875136003374335.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14744875136003374335.key) 04:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:01 + git semver tag 04:41:01 2023-05-08 04:41:01,569 [run_tag] DEBUG tag force:False 04:41:01 2023-05-08 04:41:01,569 [check_head_tag] DEBUG check head tag 04:41:01 2023-05-08 04:41:01,571 [execute] INFO git cat-file --batch-check 04:41:01 2023-05-08 04:41:01,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:41:01 2023-05-08 04:41:01,575 [execute] INFO git cat-file --batch 04:41:01 2023-05-08 04:41:01,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:41:01 2023-05-08 04:41:01,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:01 2023-05-08 04:41:01,600 [execute] INFO git tag -a v3.0.0-dev.33 -m v3.0.0-dev.33 04:41:01 2023-05-08 04:41:01,600 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.33', '-m', 'v3.0.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:41:01 2023-05-08 04:41:01,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:01 3.0.0-dev.33 [Pipeline] } 04:41:01 $ docker exec --env ******** --env ******** 89078c35dcd3d052f8ac62c231ea8bd651e8ec63289afcd3c4e721c8a16c857e ssh-agent -k 04:41:01 unset SSH_AUTH_SOCK; 04:41:01 unset SSH_AGENT_PID; 04:41:01 echo Agent pid 38 killed; 04:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:02 + git semver [Pipeline] } 04:41:02 $ docker stop --time=1 89078c35dcd3d052f8ac62c231ea8bd651e8ec63289afcd3c4e721c8a16c857e 04:41:03 $ docker rm -f --volumes 89078c35dcd3d052f8ac62c231ea8bd651e8ec63289afcd3c4e721c8a16c857e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:04 04:41:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:04 0.23.1-centos7: Pulling from edgex-lftools 04:41:04 ab5ef0e58194: Pulling fs layer 04:41:04 9712f1f96733: Pulling fs layer 04:41:04 63f879dbbcfc: Pulling fs layer 04:41:04 0d9ebad4ef96: Pulling fs layer 04:41:04 e9a5061849ea: Pulling fs layer 04:41:04 d747dcd14b5f: Pulling fs layer 04:41:04 2de7ff778b66: Pulling fs layer 04:41:04 0d9ebad4ef96: Waiting 04:41:04 e9a5061849ea: Waiting 04:41:04 d747dcd14b5f: Waiting 04:41:04 2de7ff778b66: Waiting 04:41:04 9712f1f96733: Verifying Checksum 04:41:04 9712f1f96733: Download complete 04:41:04 63f879dbbcfc: Verifying Checksum 04:41:04 63f879dbbcfc: Download complete 04:41:04 e9a5061849ea: Verifying Checksum 04:41:04 e9a5061849ea: Download complete 04:41:04 d747dcd14b5f: Verifying Checksum 04:41:04 d747dcd14b5f: Download complete 04:41:04 0d9ebad4ef96: Verifying Checksum 04:41:04 0d9ebad4ef96: Download complete 04:41:04 2de7ff778b66: Verifying Checksum 04:41:04 2de7ff778b66: Download complete 04:41:04 ab5ef0e58194: Verifying Checksum 04:41:04 ab5ef0e58194: Download complete 04:41:07 ab5ef0e58194: Pull complete 04:41:07 9712f1f96733: Pull complete 04:41:07 63f879dbbcfc: Pull complete 04:41:12 0d9ebad4ef96: Pull complete 04:41:12 e9a5061849ea: Pull complete 04:41:12 d747dcd14b5f: Pull complete 04:41:13 2de7ff778b66: Pull complete 04:41:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:13 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:41:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:41:16 $ docker top 1cb9c873c0454432f5d82ac4d848d66c015a5727f4b333b5f83bf2b1e5bfc262 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:41:16 provisioning config files... 04:41:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8625920922509988106tmp 04:41:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14369840452715260806tmp 04:41:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11710329126462406658tmp [Pipeline] { [Pipeline] echo 04:41:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:41:17 ---> sigul-configuration.sh 04:41:17 gpg: directory `/root/.gnupg' created 04:41:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:41:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:41:17 gpg: keyring `/root/.gnupg/secring.gpg' created 04:41:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:41:17 gpg: CAST5 encrypted data 04:41:17 gpg: encrypted with 1 passphrase 04:41:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:41:17 + mkdir /home/jenkins 04:41:17 + mkdir /home/jenkins/sigul [Pipeline] sh 04:41:17 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:41:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:18 ---> sigul-install.sh 04:41:18 Sigul already installed; skipping installation. [Pipeline] sh 04:41:18 + git tag --list 04:41:18 0.7.1 04:41:18 v1.0.0 04:41:18 v1.1.0 04:41:18 v1.1.1 04:41:18 v1.2.2 04:41:18 v1.3.0 04:41:18 v1.3.1 04:41:18 v2.0.0 04:41:18 v2.1.0 04:41:18 v2.1.1 04:41:18 v2.1.1-dev.1 04:41:18 v2.1.1-dev.2 04:41:18 v2.2.0 04:41:18 v2.2.1-dev.1 04:41:18 v2.2.1-dev.10 04:41:18 v2.2.1-dev.2 04:41:18 v2.2.1-dev.3 04:41:18 v2.2.1-dev.4 04:41:18 v2.2.1-dev.5 04:41:18 v2.2.1-dev.6 04:41:18 v2.2.1-dev.7 04:41:18 v2.2.1-dev.8 04:41:18 v2.2.1-dev.9 04:41:18 v2.3.0 04:41:18 v2.3.0-dev.10 04:41:18 v2.3.0-dev.11 04:41:18 v2.3.0-dev.12 04:41:18 v2.3.0-dev.13 04:41:18 v2.3.0-dev.14 04:41:18 v2.3.0-dev.15 04:41:18 v2.3.0-dev.16 04:41:18 v2.3.0-dev.17 04:41:18 v2.3.0-dev.18 04:41:18 v2.3.0-dev.19 04:41:18 v2.3.0-dev.20 04:41:18 v2.3.0-dev.21 04:41:18 v2.3.0-dev.22 04:41:18 v2.3.0-dev.23 04:41:18 v2.3.0-dev.24 04:41:18 v2.3.0-dev.25 04:41:18 v2.3.0-dev.26 04:41:18 v2.3.0-dev.27 04:41:18 v2.3.0-dev.28 04:41:18 v2.3.0-dev.29 04:41:18 v2.3.0-dev.30 04:41:18 v2.3.0-dev.31 04:41:18 v2.3.0-dev.32 04:41:18 v2.3.0-dev.33 04:41:18 v2.3.0-dev.34 04:41:18 v3.0.0-dev.1 04:41:18 v3.0.0-dev.10 04:41:18 v3.0.0-dev.11 04:41:18 v3.0.0-dev.12 04:41:18 v3.0.0-dev.13 04:41:18 v3.0.0-dev.14 04:41:18 v3.0.0-dev.15 04:41:18 v3.0.0-dev.16 04:41:18 v3.0.0-dev.17 04:41:18 v3.0.0-dev.18 04:41:18 v3.0.0-dev.19 04:41:18 v3.0.0-dev.2 04:41:18 v3.0.0-dev.20 04:41:18 v3.0.0-dev.21 04:41:18 v3.0.0-dev.22 04:41:18 v3.0.0-dev.23 04:41:18 v3.0.0-dev.24 04:41:18 v3.0.0-dev.25 04:41:18 v3.0.0-dev.26 04:41:18 v3.0.0-dev.27 04:41:18 v3.0.0-dev.28 04:41:18 v3.0.0-dev.29 04:41:18 v3.0.0-dev.3 04:41:18 v3.0.0-dev.30 04:41:18 v3.0.0-dev.31 04:41:18 v3.0.0-dev.32 04:41:18 v3.0.0-dev.33 04:41:18 v3.0.0-dev.4 04:41:18 v3.0.0-dev.5 04:41:18 v3.0.0-dev.6 04:41:18 v3.0.0-dev.7 04:41:18 v3.0.0-dev.8 04:41:18 v3.0.0-dev.9 [Pipeline] sh 04:41:18 + lftools sign git-tag v3.0.0-dev.33 04:41:19 Signing Git tag with Sigul... 04:41:19 Signing v3.0.0-dev.33 [Pipeline] echo 04:41:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:41:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:41:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:41:19 $ docker stop --time=1 1cb9c873c0454432f5d82ac4d848d66c015a5727f4b333b5f83bf2b1e5bfc262 04:41:21 $ docker rm -f --volumes 1cb9c873c0454432f5d82ac4d848d66c015a5727f4b333b5f83bf2b1e5bfc262 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:41:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:21 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:22 $ docker top df9f1ed03cd6dee4fdd1e1ff7214fa4f02dfe9e9f23b1f3c88075dba404a8ba1 -eo pid,comm 04:41:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:41:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:22 [ssh-agent] Looking for ssh-agent implementation... 04:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:22 $ docker exec df9f1ed03cd6dee4fdd1e1ff7214fa4f02dfe9e9f23b1f3c88075dba404a8ba1 ssh-agent 04:41:22 SSH_AUTH_SOCK=/tmp/ssh-8jgKoAThwzqg/agent.33 04:41:22 SSH_AGENT_PID=39 04:41:22 Running ssh-add (command line suppressed) 04:41:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5371411708039612086.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5371411708039612086.key) 04:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:22 + git semver bump pre 04:41:23 2023-05-08 04:41:23,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:23 2023-05-08 04:41:23,069 [bump_version] DEBUG bumping version:3.0.0-dev.33 on axis:pre with prefix:dev 04:41:23 2023-05-08 04:41:23,069 [bump_version] DEBUG bumped version:3.0.0-dev.34 04:41:23 2023-05-08 04:41:23,069 [write_version] DEBUG write version:3.0.0-dev.34 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:41:23 2023-05-08 04:41:23,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:23 2023-05-08 04:41:23,069 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:23 2023-05-08 04:41:23,071 [execute] INFO git cat-file --batch-check 04:41:23 2023-05-08 04:41:23,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:23 2023-05-08 04:41:23,076 [execute] INFO git cat-file --batch 04:41:23 2023-05-08 04:41:23,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:23 2023-05-08 04:41:23,081 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:23 3.0.0-dev.34 [Pipeline] } 04:41:23 $ docker exec --env ******** --env ******** df9f1ed03cd6dee4fdd1e1ff7214fa4f02dfe9e9f23b1f3c88075dba404a8ba1 ssh-agent -k 04:41:23 unset SSH_AUTH_SOCK; 04:41:23 unset SSH_AGENT_PID; 04:41:23 echo Agent pid 39 killed; 04:41:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:23 + git semver [Pipeline] } 04:41:23 $ docker stop --time=1 df9f1ed03cd6dee4fdd1e1ff7214fa4f02dfe9e9f23b1f3c88075dba404a8ba1 04:41:25 $ docker rm -f --volumes df9f1ed03cd6dee4fdd1e1ff7214fa4f02dfe9e9f23b1f3c88075dba404a8ba1 [Pipeline] // withDockerContainer [Pipeline] sh 04:41:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:25 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:26 $ docker top 8421ebb23f27011429c405d53540e8afb6620206ccd085f04e523519b30b45c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:26 [ssh-agent] Looking for ssh-agent implementation... 04:41:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:26 $ docker exec 8421ebb23f27011429c405d53540e8afb6620206ccd085f04e523519b30b45c6 ssh-agent 04:41:26 SSH_AUTH_SOCK=/tmp/ssh-alGyOLomstuX/agent.32 04:41:26 SSH_AGENT_PID=38 04:41:26 Running ssh-add (command line suppressed) 04:41:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16755716006347212631.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16755716006347212631.key) 04:41:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:26 + git semver push 04:41:27 2023-05-08 04:41:27,057 [run_push] DEBUG push 04:41:27 2023-05-08 04:41:27,058 [execute] INFO git cat-file --batch-check 04:41:27 2023-05-08 04:41:27,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:27 2023-05-08 04:41:27,062 [execute] INFO git rev-list 44d8e2b05ea872fe01cda5f36a5e8e5ac6726393 -- 04:41:27 2023-05-08 04:41:27,062 [execute] DEBUG Popen(['git', 'rev-list', '44d8e2b05ea872fe01cda5f36a5e8e5ac6726393', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:27 2023-05-08 04:41:27,070 [execute] INFO git fetch -v origin 04:41:27 2023-05-08 04:41:27,070 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:41:27 2023-05-08 04:41:27,546 [run_push] DEBUG no remote changes detected 04:41:27 2023-05-08 04:41:27,546 [execute] INFO git push origin semver 04:41:27 2023-05-08 04:41:27,547 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:28 2023-05-08 04:41:28,252 [run_push] DEBUG push all version tags 04:41:28 2023-05-08 04:41:28,253 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:41:28 2023-05-08 04:41:28,253 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:41:29 2023-05-08 04:41:28,945 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:29 3.0.0-dev.34 [Pipeline] } 04:41:29 $ docker exec --env ******** --env ******** 8421ebb23f27011429c405d53540e8afb6620206ccd085f04e523519b30b45c6 ssh-agent -k 04:41:29 unset SSH_AUTH_SOCK; 04:41:29 unset SSH_AGENT_PID; 04:41:29 echo Agent pid 38 killed; 04:41:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:29 + git semver [Pipeline] } 04:41:29 $ docker stop --time=1 8421ebb23f27011429c405d53540e8afb6620206ccd085f04e523519b30b45c6 04:41:31 $ docker rm -f --volumes 8421ebb23f27011429c405d53540e8afb6620206ccd085f04e523519b30b45c6 [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 04:41:31 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:41:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:41:31 total 16 04:41:31 drwxr-xr-x 3 root root 4096 May 8 04:29 . 04:41:31 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:41 .. 04:41:31 drwxr-xr-x 2 root root 4096 May 8 04:29 cost 04:41:31 -rw-r--r-- 1 root root 86 May 8 04:29 cost.csv 04:41:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:41:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:41:31 total 16 04:41:31 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:29 . 04:41:31 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:41 .. 04:41:31 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:29 cost 04:41:31 -rw-r--r-- 1 jenkins jenkins 86 May 8 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:32 ---> package-listing.sh 04:41:32 ++ facter osfamily 04:41:32 ++ tr '[:upper:]' '[:lower:]' 04:41:33 + OS_FAMILY=debian 04:41:33 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:41:33 + START_PACKAGES=/tmp/packages_start.txt 04:41:33 + END_PACKAGES=/tmp/packages_end.txt 04:41:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:33 + PACKAGES=/tmp/packages_start.txt 04:41:33 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:41:33 + PACKAGES=/tmp/packages_end.txt 04:41:33 + case "${OS_FAMILY}" in 04:41:33 + dpkg -l 04:41:33 + grep '^ii' 04:41:33 + '[' -f /tmp/packages_start.txt ']' 04:41:33 + '[' -f /tmp/packages_end.txt ']' 04:41:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:33 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:41:33 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:41:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:41:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:41:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:34 prd-ubuntu20.04-docker-8c-8g-14439 does not seem to be running inside a container 04:41:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:34 $ docker top 64d5773776719d27e6288297fb2c45f933c16b540be74e28f3eba61b0d74ecda -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:34 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:34 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:35 + ls /var/log/sa-host 04:41:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:35 provisioning config files... 04:41:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config124105910694113387tmp [Pipeline] { [Pipeline] echo 04:41:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:35 ---> create-netrc.sh [Pipeline] } 04:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:35 ---> python-tools-install.sh [Pipeline] echo 04:41:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:36 ---> sudo-logs.sh 04:41:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:36 ---> job-cost.sh 04:41:36 lf-activate-venv: SKIPPING 04:41:36 DEBUG: total: 0.2199999988079071 04:41:36 INFO: Retrieving Stack Cost... 04:41:37 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:37 INFO: Archiving Costs [Pipeline] echo 04:41:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:37 ---> logs-deploy.sh 04:41:37 lf-activate-venv: SKIPPING 04:41:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/117 04:41:37 INFO: archiving workspace using pattern(s): 04:41:38 Archives upload complete. 04:41:38 INFO: archiving logs to Nexus