Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7890826e223808f9f870907e908c893318dcbe65 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-ssh13335608808224759825.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-ssh2715765614711011491.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-ssh6477017810649685307.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-ssh17111797620575677719.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-ssh10475719139253626100.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 Running on prd-ubuntu20.04-docker-8c-8g-16774 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 7890826e223808f9f870907e908c893318dcbe65 (main) Commit message: "docs: Update changelog for 3.0 (#609)" > 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 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 > git rev-list --no-walk a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:46:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:46:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:46:01 ========================================================= 19:46:01 EdgeX Global Pipelines Version Info 19:46:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:46:02 ------------------- 19:46:02 stable info: 19:46:02 ------------------- 19:46:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:46:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:46:02 Message: update stable to v1.0.249 19:46:03 ------------------- 19:46:03 experimental info: 19:46:03 ------------------- 19:46:03 Commited By: **** collab-it+edgex@linuxfoundation.org 19:46:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:46:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7890826e223808f9f870907e908c893318dcbe65 [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7890826 [Pipeline] echo 19:46:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:03 provisioning config files... 19:46:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6230402665688205504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:04 ---> docker-login.sh 19:46:04 nexus3.edgexfoundry.org:10001 19:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:04 Configure a credential helper to remove this warning. See 19:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:04 19:46:04 Login Succeeded 19:46:04 nexus3.edgexfoundry.org:10002 19:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:04 Configure a credential helper to remove this warning. See 19:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:04 19:46:04 Login Succeeded 19:46:04 nexus3.edgexfoundry.org:10003 19:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:04 Configure a credential helper to remove this warning. See 19:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:04 19:46:04 Login Succeeded 19:46:04 nexus3.edgexfoundry.org:10004 19:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:04 Configure a credential helper to remove this warning. See 19:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:04 19:46:04 Login Succeeded 19:46:04 docker.io 19:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:05 Configure a credential helper to remove this warning. See 19:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:05 19:46:05 Login Succeeded 19:46:05 ---> docker-login.sh ends [Pipeline] } 19:46:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:46:05 + git rev-list -1 --merges 7890826e223808f9f870907e908c893318dcbe65~1..7890826e223808f9f870907e908c893318dcbe65 [Pipeline] echo 19:46:05 -----------> git rev-list -1 --merges 7890826e223808f9f870907e908c893318dcbe65~1..7890826e223808f9f870907e908c893318dcbe65 7890826e223808f9f870907e908c893318dcbe65 [false] [Pipeline] sh 19:46:05 + git log --format=format:%s -1 7890826e223808f9f870907e908c893318dcbe65 [Pipeline] echo 19:46:05 ========================================================= 19:46:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:46:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:46:06 + git log --format=format:%s -1 7890826e223808f9f870907e908c893318dcbe65 [Pipeline] echo 19:46:06 [semverPrep] GIT_COMMIT: 7890826e223808f9f870907e908c893318dcbe65, Commit Message: docs: Update changelog for 3.0 (#609) [Pipeline] echo 19:46:06 [semverPrep] This is not a build commit. [Pipeline] sh 19:46:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:46:06 + grep -v github /etc/ssh/ssh_known_hosts 19:46:06 + [ -e /tmp/ssh_known_hosts ] 19:46:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:46:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:46:06 + sudo tee -a /etc/ssh/ssh_known_hosts 19:46:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:46:06 19:46:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:46:07 0.1.4: Pulling from edgex-devops/py-git-semver 19:46:07 b85a868b505f: Pulling fs layer 19:46:07 e2be974225ed: Pulling fs layer 19:46:07 339a4e72a1f5: Pulling fs layer 19:46:07 988bab9f4d93: Pulling fs layer 19:46:07 1469e6f7b9e6: Pulling fs layer 19:46:07 eaf3925da568: Pulling fs layer 19:46:07 988bab9f4d93: Waiting 19:46:07 1469e6f7b9e6: Waiting 19:46:07 bab4dde63d76: Pulling fs layer 19:46:07 bde34c3a00c8: Pulling fs layer 19:46:07 eaf3925da568: Waiting 19:46:07 b352a97aabf1: Pulling fs layer 19:46:07 4872d77fe225: Pulling fs layer 19:46:07 bab4dde63d76: Waiting 19:46:07 b352a97aabf1: Waiting 19:46:07 bde34c3a00c8: Waiting 19:46:07 5851b861e8e6: Pulling fs layer 19:46:07 4872d77fe225: Waiting 19:46:07 e2be974225ed: Verifying Checksum 19:46:07 e2be974225ed: Download complete 19:46:07 988bab9f4d93: Download complete 19:46:07 1469e6f7b9e6: Verifying Checksum 19:46:07 1469e6f7b9e6: Download complete 19:46:07 339a4e72a1f5: Verifying Checksum 19:46:07 339a4e72a1f5: Download complete 19:46:07 eaf3925da568: Verifying Checksum 19:46:07 eaf3925da568: Download complete 19:46:07 bde34c3a00c8: Download complete 19:46:07 b352a97aabf1: Verifying Checksum 19:46:07 b352a97aabf1: Download complete 19:46:07 4872d77fe225: Download complete 19:46:07 5851b861e8e6: Download complete 19:46:07 b85a868b505f: Verifying Checksum 19:46:07 b85a868b505f: Download complete 19:46:07 bab4dde63d76: Verifying Checksum 19:46:07 bab4dde63d76: Download complete 19:46:08 b85a868b505f: Pull complete 19:46:09 e2be974225ed: Pull complete 19:46:09 339a4e72a1f5: Pull complete 19:46:09 988bab9f4d93: Pull complete 19:46:09 1469e6f7b9e6: Pull complete 19:46:09 eaf3925da568: Pull complete 19:46:11 bab4dde63d76: Pull complete 19:46:11 bde34c3a00c8: Pull complete 19:46:11 b352a97aabf1: Pull complete 19:46:12 4872d77fe225: Pull complete 19:46:12 5851b861e8e6: Pull complete 19:46:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:46:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:12 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:46:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:46:15 $ docker top 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 -eo pid,comm 19:46:15 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). 19:46:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:46:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:46:15 [ssh-agent] Looking for ssh-agent implementation... 19:46:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:46:15 $ docker exec 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 ssh-agent 19:46:15 SSH_AUTH_SOCK=/tmp/ssh-nzZkNxlusVx7/agent.31 19:46:15 SSH_AGENT_PID=37 19:46:15 Running ssh-add (command line suppressed) 19:46:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13374344861897838140.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13374344861897838140.key) 19:46:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:46:16 + git tag --points-at HEAD [Pipeline] } 19:46:16 $ docker exec --env ******** --env ******** 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 ssh-agent -k 19:46:16 unset SSH_AUTH_SOCK; 19:46:16 unset SSH_AGENT_PID; 19:46:16 echo Agent pid 37 killed; 19:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:46:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:46:16 [ssh-agent] Looking for ssh-agent implementation... 19:46:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:46:16 $ docker exec 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 ssh-agent 19:46:16 SSH_AUTH_SOCK=/tmp/ssh-sCk0QpRMJmPC/agent.69 19:46:16 SSH_AGENT_PID=75 19:46:16 Running ssh-add (command line suppressed) 19:46:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_722607472931516669.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_722607472931516669.key) 19:46:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:46:17 + git semver init 19:46:17 2023-05-24 19:46:17,260 [run_init] DEBUG init version:0.0.0 force:False 19:46:17 2023-05-24 19:46:17,260 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 19:46:17 2023-05-24 19:46:17,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 19:46:17 2023-05-24 19:46:17,261 [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) 19:46:18 2023-05-24 19:46:18,013 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 19:46:18 2023-05-24 19:46:18,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 19:46:18 2023-05-24 19:46:18,013 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:46:18 2023-05-24 19:46:18,013 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:46:18 3.0.0-dev.40 [Pipeline] } 19:46:18 $ docker exec --env ******** --env ******** 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 ssh-agent -k 19:46:18 unset SSH_AUTH_SOCK; 19:46:18 unset SSH_AGENT_PID; 19:46:18 echo Agent pid 75 killed; 19:46:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:46:18 + git semver [Pipeline] } 19:46:18 $ docker stop --time=1 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 19:46:20 $ docker rm -f --volumes 79c14bc835faf290970192a7225006e75d90fc6f916a62d42ba95e21a3db0a06 [Pipeline] // withDockerContainer [Pipeline] sh 19:46:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:46:20 Stashed 1 file(s) [Pipeline] echo 19:46:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [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 19:46:20 provisioning config files... 19:46:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config373249409052624697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:21 ---> docker-login.sh 19:46:21 nexus3.edgexfoundry.org:10001 19:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:21 Configure a credential helper to remove this warning. See 19:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:21 19:46:21 Login Succeeded 19:46:21 nexus3.edgexfoundry.org:10002 19:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:21 Configure a credential helper to remove this warning. See 19:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:21 19:46:21 Login Succeeded 19:46:21 nexus3.edgexfoundry.org:10003 19:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:21 Configure a credential helper to remove this warning. See 19:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:21 19:46:21 Login Succeeded 19:46:21 nexus3.edgexfoundry.org:10004 19:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:21 Configure a credential helper to remove this warning. See 19:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:21 19:46:21 Login Succeeded 19:46:21 docker.io 19:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:22 Configure a credential helper to remove this warning. See 19:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:22 19:46:22 Login Succeeded 19:46:22 ---> docker-login.sh ends [Pipeline] } 19:46:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:22 ========================================================= 19:46:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:46:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:22 + 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 . 19:46:22 Sending build context to Docker daemon 6.599MB 19:46:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:46:22 Step 2/12 : FROM ${BASE} AS builder 19:46:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:46:22 f56be85fc22e: Pulling fs layer 19:46:22 85791d961cd3: Pulling fs layer 19:46:22 d694b5ae8c79: Pulling fs layer 19:46:22 9f32a84ed3da: Pulling fs layer 19:46:22 4d19c01a9841: Pulling fs layer 19:46:22 9325e15d5711: Pulling fs layer 19:46:22 556b6ee489ea: Pulling fs layer 19:46:22 c5a4b2cf53e6: Pulling fs layer 19:46:22 9f32a84ed3da: Waiting 19:46:22 4d19c01a9841: Waiting 19:46:22 9325e15d5711: Waiting 19:46:22 556b6ee489ea: Waiting 19:46:22 c5a4b2cf53e6: Waiting 19:46:22 85791d961cd3: Verifying Checksum 19:46:22 85791d961cd3: Download complete 19:46:22 9f32a84ed3da: Verifying Checksum 19:46:22 9f32a84ed3da: Download complete 19:46:22 f56be85fc22e: Verifying Checksum 19:46:22 f56be85fc22e: Download complete 19:46:22 4d19c01a9841: Verifying Checksum 19:46:22 4d19c01a9841: Download complete 19:46:22 9325e15d5711: Verifying Checksum 19:46:22 9325e15d5711: Download complete 19:46:22 f56be85fc22e: Pull complete 19:46:22 85791d961cd3: Pull complete 19:46:23 d694b5ae8c79: Verifying Checksum 19:46:23 d694b5ae8c79: Download complete 19:46:23 c5a4b2cf53e6: Verifying Checksum 19:46:23 c5a4b2cf53e6: Download complete 19:46:23 556b6ee489ea: Verifying Checksum 19:46:23 556b6ee489ea: Download complete 19:46:26 d694b5ae8c79: Pull complete 19:46:26 9f32a84ed3da: Pull complete 19:46:26 4d19c01a9841: Pull complete 19:46:27 9325e15d5711: Pull complete 19:46:29 556b6ee489ea: Pull complete 19:46:30 c5a4b2cf53e6: Pull complete 19:46:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:46:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:46:30 ---> c4be618373d6 19:46:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:46:35 ---> Running in fdef5c96a6bb 19:46:35 Removing intermediate container fdef5c96a6bb 19:46:35 ---> 2d9a2df8ce0c 19:46:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:46:35 ---> Running in 1c0eeeea626a 19:46:35 Removing intermediate container 1c0eeeea626a 19:46:35 ---> 0b68538a2489 19:46:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:46:35 ---> Running in c44c186132de 19:46:35 Removing intermediate container c44c186132de 19:46:35 ---> c88ed8cc4d3c 19:46:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:46:35 ---> Running in df70e05f4cf6 19:46:35 Removing intermediate container df70e05f4cf6 19:46:35 ---> 6b792b297e5f 19:46:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:46:35 ---> Running in 0d46bfa6c01b 19:46:35 Still waiting to schedule task 19:46:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16775’ is offline 19:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:46:36 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:46:36 (2/4) Installing libedit (20221030.3.1-r0) 19:46:36 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:46:36 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:46:36 Executing busybox-1.35.0-r29.trigger 19:46:36 OK: 269 MiB in 57 packages 19:46:36 Removing intermediate container 0d46bfa6c01b 19:46:36 ---> 2fe5ce38f9ee 19:46:36 Step 8/12 : WORKDIR /device-mqtt-go 19:46:36 ---> Running in de83a9f67e6d 19:46:37 Removing intermediate container de83a9f67e6d 19:46:37 ---> 59dc9a852f3c 19:46:37 Step 9/12 : COPY go.mod vendor* ./ 19:46:37 ---> 3e1380fdcc34 19:46:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:46:37 ---> Running in cb6e14d15e89 19:47:03 Removing intermediate container cb6e14d15e89 19:47:03 ---> 34f70c1d6b0b 19:47:03 Step 11/12 : COPY . . 19:47:03 ---> 874c34b55c71 19:47:03 Step 12/12 : RUN $MAKE 19:47:03 ---> Running in 7a65ad319099 19:47:04 noop 19:47:04 Removing intermediate container 7a65ad319099 19:47:04 ---> 3f791a83ff08 19:47:04 Successfully built 3f791a83ff08 19:47:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:04 + docker inspect -f . ci-base-image-x86_64 19:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:04 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:47:05 $ docker top 816604da2cc2756050871e5fec76eef9b8545ca903c62c960d832af65b57492b -eo pid,comm [Pipeline] { [Pipeline] sh 19:47:05 + go version 19:47:05 go version go1.20.2 linux/amd64 [Pipeline] } 19:47:05 $ docker stop --time=1 816604da2cc2756050871e5fec76eef9b8545ca903c62c960d832af65b57492b 19:47:06 $ docker rm -f --volumes 816604da2cc2756050871e5fec76eef9b8545ca903c62c960d832af65b57492b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:07 + docker inspect -f . ci-base-image-x86_64 19:47:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:07 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:47:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:47:07 $ docker top f8ec12ee4a089810497b11b13fd863791c6596e556dc7a42de270240534c44c4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:47:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 19:47:08 + make test 19:47:08 go test ./... -coverprofile=coverage.out ./... 19:47:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:47:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:47:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:47:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 19:47:28 go vet ./... 19:47:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:47:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:47:31 ./bin/test-attribution-txt.sh [Pipeline] echo 19:47:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:47:31 $ docker stop --time=1 f8ec12ee4a089810497b11b13fd863791c6596e556dc7a42de270240534c44c4 19:47:34 $ docker rm -f --volumes f8ec12ee4a089810497b11b13fd863791c6596e556dc7a42de270240534c44c4 [Pipeline] // withDockerContainer [Pipeline] sh 19:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:47:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:47:35 + ls -al . 19:47:35 total 184 19:47:35 drwxrwxr-x 10 jenkins jenkins 4096 May 24 19:47 . 19:47:35 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:46 .. 19:47:35 -rw-rw-r-- 1 jenkins jenkins 140 May 24 19:46 .dockerignore 19:47:35 drwxrwxr-x 8 jenkins jenkins 4096 May 24 19:46 .git 19:47:35 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:46 .github 19:47:35 -rw-rw-r-- 1 jenkins jenkins 329 May 24 19:46 .gitignore 19:47:35 -rw-rw-r-- 1 jenkins jenkins 41 May 24 19:46 .golangci.yml 19:47:35 drwxr-xr-x 3 jenkins jenkins 4096 May 24 19:46 .semver 19:47:35 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 19:46 Attribution.txt 19:47:35 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 19:46 CHANGELOG.md 19:47:35 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 19:46 Dockerfile 19:47:35 -rw-rw-r-- 1 jenkins jenkins 677 May 24 19:46 GOVERNANCE.md 19:47:35 -rw-rw-r-- 1 jenkins jenkins 678 May 24 19:46 Jenkinsfile 19:47:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 19:46 LICENSE 19:47:35 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 19:46 Makefile 19:47:35 -rw-rw-r-- 1 jenkins jenkins 620 May 24 19:46 OWNERS.md 19:47:35 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 19:46 README.md 19:47:35 -rw-rw-r-- 1 jenkins jenkins 12 May 24 19:46 VERSION 19:47:35 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:46 bin 19:47:35 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:46 cmd 19:47:35 -rw-r--r-- 1 jenkins jenkins 18506 May 24 19:47 coverage.out 19:47:35 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 19:46 go.mod 19:47:35 -rw-rw-r-- 1 jenkins jenkins 31328 May 24 19:46 go.sum 19:47:35 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:46 internal 19:47:35 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:46 mock 19:47:35 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:46 snap 19:47:35 -rw-rw-r-- 1 jenkins jenkins 227 May 24 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:36 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7890826e223808f9f870907e908c893318dcbe65 --label arch=amd64 --label version=3.0.0-dev.40 . 19:47:36 Sending build context to Docker daemon 6.618MB 19:47:36 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 19:47:36 Step 2/24 : FROM ${BASE} AS builder 19:47:36 ---> 3f791a83ff08 19:47:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:47:36 ---> Running in 9016309ef661 19:47:36 Removing intermediate container 9016309ef661 19:47:36 ---> c6341f3c652b 19:47:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:47:36 ---> Running in 2b14a9a375a2 19:47:36 Removing intermediate container 2b14a9a375a2 19:47:36 ---> ba423eb40445 19:47:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:47:36 ---> Running in f0ded9beccf0 19:47:36 Removing intermediate container f0ded9beccf0 19:47:36 ---> 5ca668d4e8ff 19:47:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:47:36 ---> Running in 4374911d7aa1 19:47:36 Removing intermediate container 4374911d7aa1 19:47:36 ---> 2a8be544cb9f 19:47:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:47:36 ---> Running in ed43a2331ff1 19:47:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:47:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:47:37 OK: 269 MiB in 57 packages 19:47:37 Removing intermediate container ed43a2331ff1 19:47:37 ---> d8dfea08f89c 19:47:37 Step 8/24 : WORKDIR /device-mqtt-go 19:47:37 ---> Running in a376fbd4d31a 19:47:37 Removing intermediate container a376fbd4d31a 19:47:37 ---> 6a98ff99c572 19:47:37 Step 9/24 : COPY go.mod vendor* ./ 19:47:37 ---> cc68407434a4 19:47:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:47:37 ---> Running in 07388cfdc7bf 19:47:38 Removing intermediate container 07388cfdc7bf 19:47:38 ---> c0282bfd5c62 19:47:38 Step 11/24 : COPY . . 19:47:39 ---> e5c082a9f196 19:47:39 Step 12/24 : RUN $MAKE 19:47:39 ---> Running in 685bf5b91243 19:47:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 19:47:57 Removing intermediate container 685bf5b91243 19:47:57 ---> d9ea5f54835b 19:47:57 Step 13/24 : FROM alpine:3.17 19:47:57 3.17: Pulling from library/alpine 19:47:57 f56be85fc22e: Already exists 19:47:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:47:58 Status: Downloaded newer image for alpine:3.17 19:47:58 ---> 9ed4aefc74f6 19:47:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:47:58 ---> Running in 04fcdea0156b 19:47:58 Removing intermediate container 04fcdea0156b 19:47:58 ---> fa28f4b0fd43 19:47:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 19:47:58 ---> Running in b47bfc4ef292 19:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:47:58 (1/1) Installing dumb-init (1.2.5-r2) 19:47:58 Executing busybox-1.35.0-r29.trigger 19:47:58 OK: 7 MiB in 16 packages 19:47:59 Removing intermediate container b47bfc4ef292 19:47:59 ---> 421811a038e4 19:47:59 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:47:59 ---> c8db3e2872af 19:47:59 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:47:59 ---> 2de169c5be1a 19:47:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:48:00 ---> c1afa1191ec9 19:48:00 Step 19/24 : EXPOSE 59982 19:48:00 ---> Running in b8d17c4b3144 19:48:00 Removing intermediate container b8d17c4b3144 19:48:00 ---> 961ed61384e2 19:48:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:48:00 ---> Running in 7c090c4dbc96 19:48:00 Removing intermediate container 7c090c4dbc96 19:48:00 ---> a177fe295c91 19:48:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:48:00 ---> Running in 23aae5817508 19:48:00 Removing intermediate container 23aae5817508 19:48:00 ---> 743c08d000e5 19:48:00 Step 22/24 : LABEL arch=amd64 19:48:00 ---> Running in cacdb7360aa5 19:48:00 Removing intermediate container cacdb7360aa5 19:48:00 ---> 407eea9b4ffa 19:48:00 Step 23/24 : LABEL git_sha=7890826e223808f9f870907e908c893318dcbe65 19:48:00 ---> Running in 9fd1baa6cc08 19:48:00 Removing intermediate container 9fd1baa6cc08 19:48:00 ---> 08c29388f6f4 19:48:00 Step 24/24 : LABEL version=3.0.0-dev.40 19:48:00 ---> Running in dff7b6bc3494 19:48:00 Removing intermediate container dff7b6bc3494 19:48:00 ---> 10345144a62b 19:48:00 [Warning] One or more build-args [ARCH] were not consumed 19:48:00 Successfully built 10345144a62b 19:48:00 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:48:00 provisioning config files... 19:48:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8213197450615215550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:00 ---> docker-login.sh 19:48:00 nexus3.edgexfoundry.org:10001 19:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:00 Configure a credential helper to remove this warning. See 19:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:00 19:48:00 Login Succeeded 19:48:00 nexus3.edgexfoundry.org:10002 19:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:00 Configure a credential helper to remove this warning. See 19:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:00 19:48:00 Login Succeeded 19:48:00 nexus3.edgexfoundry.org:10003 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 nexus3.edgexfoundry.org:10004 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 docker.io 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 ---> docker-login.sh ends [Pipeline] } 19:48:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:01 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 19:48:01 7890826e223808f9f870907e908c893318dcbe65 19:48:01 latest 19:48:01 3.0.0-dev.40 19:48:01 7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:48:01 main 19:48:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65 19:48:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:48:02 558f36218a70: Preparing 19:48:02 a86f99454614: Preparing 19:48:02 d8584140f71e: Preparing 19:48:02 34d3acaab9b4: Preparing 19:48:02 f1417ff83b31: Preparing 19:48:02 f1417ff83b31: Layer already exists 19:48:02 558f36218a70: Pushed 19:48:02 a86f99454614: Pushed 19:48:02 34d3acaab9b4: Pushed 19:48:04 d8584140f71e: Pushed 19:48:04 7890826e223808f9f870907e908c893318dcbe65: digest: sha256:4fffac7a04066b8e38e9fef9d28ec8a200e8aa83f47f84283554f1f37411a0f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 19:48:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:48:05 558f36218a70: Preparing 19:48:05 a86f99454614: Preparing 19:48:05 d8584140f71e: Preparing 19:48:05 34d3acaab9b4: Preparing 19:48:05 f1417ff83b31: Preparing 19:48:05 a86f99454614: Layer already exists 19:48:05 558f36218a70: Layer already exists 19:48:05 f1417ff83b31: Layer already exists 19:48:05 d8584140f71e: Layer already exists 19:48:05 34d3acaab9b4: Layer already exists 19:48:05 latest: digest: sha256:4fffac7a04066b8e38e9fef9d28ec8a200e8aa83f47f84283554f1f37411a0f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.40 19:48:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:48:05 558f36218a70: Preparing 19:48:05 a86f99454614: Preparing 19:48:05 d8584140f71e: Preparing 19:48:05 34d3acaab9b4: Preparing 19:48:05 f1417ff83b31: Preparing 19:48:05 f1417ff83b31: Layer already exists 19:48:05 d8584140f71e: Layer already exists 19:48:05 558f36218a70: Layer already exists 19:48:05 a86f99454614: Layer already exists 19:48:05 34d3acaab9b4: Layer already exists 19:48:05 3.0.0-dev.40: digest: sha256:4fffac7a04066b8e38e9fef9d28ec8a200e8aa83f47f84283554f1f37411a0f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:48:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:48:06 558f36218a70: Preparing 19:48:06 a86f99454614: Preparing 19:48:06 d8584140f71e: Preparing 19:48:06 34d3acaab9b4: Preparing 19:48:06 f1417ff83b31: Preparing 19:48:06 34d3acaab9b4: Layer already exists 19:48:06 f1417ff83b31: Layer already exists 19:48:06 a86f99454614: Layer already exists 19:48:06 d8584140f71e: Layer already exists 19:48:06 558f36218a70: Layer already exists 19:48:06 7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40: digest: sha256:4fffac7a04066b8e38e9fef9d28ec8a200e8aa83f47f84283554f1f37411a0f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 19:48:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:48:07 558f36218a70: Preparing 19:48:07 a86f99454614: Preparing 19:48:07 d8584140f71e: Preparing 19:48:07 34d3acaab9b4: Preparing 19:48:07 f1417ff83b31: Preparing 19:48:07 d8584140f71e: Layer already exists 19:48:07 a86f99454614: Layer already exists 19:48:07 558f36218a70: Layer already exists 19:48:07 34d3acaab9b4: Layer already exists 19:48:07 f1417ff83b31: Layer already exists 19:48:07 main: digest: sha256:4fffac7a04066b8e38e9fef9d28ec8a200e8aa83f47f84283554f1f37411a0f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:48:07 ===================================================== [Pipeline] echo 19:48:07 taggedImages: 19:48:07 - nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65 19:48:07 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 19:48:07 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.40 19:48:07 - nexus3.edgexfoundry.org:10004/device-mqtt:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:48:07 - 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 19:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:48:07 19:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:48:07 latest: Pulling from edgex-lftools-log-publisher 19:48:07 5eb5b503b376: Pulling fs layer 19:48:07 5c69ac0246d0: Pulling fs layer 19:48:07 ec43610c2a17: Pulling fs layer 19:48:07 3a2ae6a8a46f: Pulling fs layer 19:48:07 33b1e0a273af: Pulling fs layer 19:48:07 5d3b04190fa2: Pulling fs layer 19:48:07 2f39f015ded8: Pulling fs layer 19:48:07 33b1e0a273af: Waiting 19:48:07 3a2ae6a8a46f: Waiting 19:48:07 5d3b04190fa2: Waiting 19:48:07 2f39f015ded8: Waiting 19:48:07 5c69ac0246d0: Verifying Checksum 19:48:07 5c69ac0246d0: Download complete 19:48:07 3a2ae6a8a46f: Verifying Checksum 19:48:07 3a2ae6a8a46f: Download complete 19:48:07 ec43610c2a17: Verifying Checksum 19:48:07 ec43610c2a17: Download complete 19:48:07 33b1e0a273af: Verifying Checksum 19:48:07 33b1e0a273af: Download complete 19:48:07 5d3b04190fa2: Verifying Checksum 19:48:07 5d3b04190fa2: Download complete 19:48:08 5eb5b503b376: Verifying Checksum 19:48:08 5eb5b503b376: Download complete 19:48:08 2f39f015ded8: Download complete 19:48:09 5eb5b503b376: Pull complete 19:48:09 5c69ac0246d0: Pull complete 19:48:09 ec43610c2a17: Pull complete 19:48:09 3a2ae6a8a46f: Pull complete 19:48:10 33b1e0a273af: Pull complete 19:48:10 5d3b04190fa2: Pull complete 19:48:14 2f39f015ded8: Pull complete 19:48:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:48:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:14 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:48:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:48:18 $ docker top 5491858c5eb357df7755a37660054778e9b48de5b7749afad01c797310b3a61c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:18 ---> job-cost.sh 19:48:18 lf-activate-venv: SKIPPING 19:48:18 INFO: No Stack... 19:48:19 INFO: Retrieving Pricing Info for: v3-standard-8 19:48:19 INFO: Archiving Costs [Pipeline] sh 19:48:19 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 19:48:19 + cut -d, -f6 [Pipeline] lock 19:48:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] 19:48:19 Resource [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] did not exist. Created. 19:48:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:48:19 + echo total: 0.2199999988079071 [Pipeline] stash 19:48:20 Stashed 1 file(s) [Pipeline] } 19:48:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 19:48:20 $ docker stop --time=1 5491858c5eb357df7755a37660054778e9b48de5b7749afad01c797310b3a61c 19:48:21 $ docker rm -f --volumes 5491858c5eb357df7755a37660054778e9b48de5b7749afad01c797310b3a61c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:48:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16776 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 19:48:59 Running in /w/workspace/device-mqtt-go/124 [Pipeline] { [Pipeline] checkout 19:48:59 Selected Git installation does not exist. Using Default 19:48:59 The recommended git tool is: NONE 19:49:07 using credential edgex-jenkins-ssh 19:49:07 Cloning the remote Git repository 19:49:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:49:07 > git init /w/workspace/device-mqtt-go/124 # timeout=10 19:49:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:49:08 > git --version # timeout=10 19:49:08 > git --version # 'git version 2.25.1' 19:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:49:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:49:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:11 Avoid second fetch 19:49:11 Checking out Revision 7890826e223808f9f870907e908c893318dcbe65 (main) 19:49:11 > git config core.sparsecheckout # timeout=10 19:49:11 > git checkout -f 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 19:49:12 Commit message: "docs: Update changelog for 3.0 (#609)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:49:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:49:13 % Total % Received % Xferd Average Speed Time Time Time Current 19:49:13 Dload Upload Total Spent Left Speed 19:49:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 19:49:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:49:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:49:14 + sudo tee /etc/docker/daemon.new 19:49:16 { 19:49:16 "registry-mirrors": [ 19:49:16 "https://nexus3.edgexfoundry.org:10001" 19:49:16 ], 19:49:16 "bip": "10.250.0.254/24", 19:49:16 "hosts": [ 19:49:16 "tcp://0.0.0.0:5555", 19:49:16 "unix:///var/run/docker.sock" 19:49:16 ], 19:49:16 "mtu": 1458, 19:49:16 "selinux-enabled": true, 19:49:16 "seccomp-profile": "/etc/docker/seccomp.json" 19:49:16 } [Pipeline] sh 19:49:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:49:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:49:35 provisioning config files... 19:49:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/124@tmp/config367416960264969255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:35 ---> docker-login.sh 19:49:35 nexus3.edgexfoundry.org:10001 19:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:36 Configure a credential helper to remove this warning. See 19:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:36 19:49:36 Login Succeeded 19:49:36 nexus3.edgexfoundry.org:10002 19:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:36 Configure a credential helper to remove this warning. See 19:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:36 19:49:36 Login Succeeded 19:49:36 nexus3.edgexfoundry.org:10003 19:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:37 Configure a credential helper to remove this warning. See 19:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:37 19:49:37 Login Succeeded 19:49:37 nexus3.edgexfoundry.org:10004 19:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:37 Configure a credential helper to remove this warning. See 19:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:37 19:49:37 Login Succeeded 19:49:37 docker.io 19:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:37 Configure a credential helper to remove this warning. See 19:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:37 19:49:37 Login Succeeded 19:49:37 ---> docker-login.sh ends [Pipeline] } 19:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:49:38 ========================================================= 19:49:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:49:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:38 + 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 . 19:49:38 Sending build context to Docker daemon 3.426MB 19:49:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:49:38 Step 2/12 : FROM ${BASE} AS builder 19:49:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:49:39 c41833b44d91: Pulling fs layer 19:49:39 ed15518f5707: Pulling fs layer 19:49:39 feae8fd75edb: Pulling fs layer 19:49:39 242c74f7c9fa: Pulling fs layer 19:49:39 3cdef696dda3: Pulling fs layer 19:49:39 2ced38df9373: Pulling fs layer 19:49:39 58f1dce35555: Pulling fs layer 19:49:39 242c74f7c9fa: Waiting 19:49:39 3cdef696dda3: Waiting 19:49:39 2ced38df9373: Waiting 19:49:39 58f1dce35555: Waiting 19:49:39 ed15518f5707: Verifying Checksum 19:49:39 ed15518f5707: Download complete 19:49:39 242c74f7c9fa: Verifying Checksum 19:49:39 242c74f7c9fa: Download complete 19:49:39 3cdef696dda3: Verifying Checksum 19:49:39 3cdef696dda3: Download complete 19:49:39 c41833b44d91: Verifying Checksum 19:49:39 c41833b44d91: Download complete 19:49:40 58f1dce35555: Verifying Checksum 19:49:40 58f1dce35555: Download complete 19:49:41 feae8fd75edb: Verifying Checksum 19:49:41 2ced38df9373: Verifying Checksum 19:49:41 2ced38df9373: Download complete 19:49:42 c41833b44d91: Pull complete 19:49:43 ed15518f5707: Pull complete 19:49:58 feae8fd75edb: Pull complete 19:49:58 242c74f7c9fa: Pull complete 19:49:58 3cdef696dda3: Pull complete 19:50:03 2ced38df9373: Pull complete 19:50:05 58f1dce35555: Pull complete 19:50:05 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:50:05 ---> fadd8f120f05 19:50:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:50:07 ---> Running in dd56193a8a62 19:50:07 Removing intermediate container dd56193a8a62 19:50:07 ---> ac7df446172a 19:50:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:50:08 ---> Running in 5891435084df 19:50:08 Removing intermediate container 5891435084df 19:50:08 ---> 106f134b33dc 19:50:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:50:08 ---> Running in c4e297d77514 19:50:08 Removing intermediate container c4e297d77514 19:50:08 ---> 43c6290aa329 19:50:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:50:08 ---> Running in 524a0eda5784 19:50:08 Removing intermediate container 524a0eda5784 19:50:08 ---> 228ffcad5513 19:50:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:50:09 ---> Running in 6d7eb99fe2a2 19:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:50:11 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:50:11 (2/4) Installing libedit (20221030.3.1-r0) 19:50:11 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:50:11 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:50:11 Executing busybox-1.35.0-r29.trigger 19:50:11 OK: 268 MiB in 57 packages 19:50:12 Removing intermediate container 6d7eb99fe2a2 19:50:12 ---> 8624004419e7 19:50:12 Step 8/12 : WORKDIR /device-mqtt-go 19:50:12 ---> Running in e7015d543935 19:50:13 Removing intermediate container e7015d543935 19:50:13 ---> 1de00165d04d 19:50:13 Step 9/12 : COPY go.mod vendor* ./ 19:50:13 ---> b206f5ab89e6 19:50:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:50:13 ---> Running in 3e1f5cf66db9 19:51:21 Removing intermediate container 3e1f5cf66db9 19:51:21 ---> 61cf63378d6d 19:51:21 Step 11/12 : COPY . . 19:51:21 ---> 31529cecf544 19:51:21 Step 12/12 : RUN $MAKE 19:51:21 ---> Running in 625d7913f2a2 19:51:21 noop 19:51:21 Removing intermediate container 625d7913f2a2 19:51:21 ---> 12efb9feb75a 19:51:21 Successfully built 12efb9feb75a 19:51:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:22 + docker inspect -f . ci-base-image-arm64 19:51:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:22 prd-ubuntu20.04-docker-arm64-4c-16g-16776 does not seem to be running inside a container 19:51:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/124 -v /w/workspace/device-mqtt-go/124:/w/workspace/device-mqtt-go/124:rw,z -v /w/workspace/device-mqtt-go/124@tmp:/w/workspace/device-mqtt-go/124@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 19:51:23 $ docker top 18ec8b9736608b8fc575b665148cd533f18acaa04b343c056659b1cadb57c26f -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:24 + go version 19:51:24 go version go1.20.2 linux/arm64 [Pipeline] } 19:51:24 $ docker stop --time=1 18ec8b9736608b8fc575b665148cd533f18acaa04b343c056659b1cadb57c26f 19:51:26 $ docker rm -f --volumes 18ec8b9736608b8fc575b665148cd533f18acaa04b343c056659b1cadb57c26f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:26 + docker inspect -f . ci-base-image-arm64 19:51:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-16776 does not seem to be running inside a container 19:51:26 $ 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/124 -v /w/workspace/device-mqtt-go/124:/w/workspace/device-mqtt-go/124:rw,z -v /w/workspace/device-mqtt-go/124@tmp:/w/workspace/device-mqtt-go/124@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 19:51:28 $ docker top 7e18031fbb3aa95bb9834b8d79cbb4386859dcb6e2d8050dcd95358e1d23c6e9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:29 + git config --global --add safe.directory /w/workspace/device-mqtt-go/124 [Pipeline] fileExists [Pipeline] sh 19:51:29 + make test 19:51:29 go test ./... -coverprofile=coverage.out ./... 19:52:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:54:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:54:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:54:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.8% of statements 19:54:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:54:00 go vet ./... 19:54:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:54:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:54:26 ./bin/test-attribution-txt.sh [Pipeline] echo 19:54:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:54:27 $ docker stop --time=1 7e18031fbb3aa95bb9834b8d79cbb4386859dcb6e2d8050dcd95358e1d23c6e9 19:54:29 $ docker rm -f --volumes 7e18031fbb3aa95bb9834b8d79cbb4386859dcb6e2d8050dcd95358e1d23c6e9 [Pipeline] // withDockerContainer [Pipeline] sh 19:54:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:54:30 Warning: overwriting stash ‘coverage-report’ 19:54:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:54:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:54:32 + ls -al . 19:54:32 total 180 19:54:32 drwxrwxr-x 9 jenkins jenkins 4096 May 24 19:51 . 19:54:32 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:49 .. 19:54:32 -rw-rw-r-- 1 jenkins jenkins 140 May 24 19:49 .dockerignore 19:54:32 drwxrwxr-x 8 jenkins jenkins 4096 May 24 19:49 .git 19:54:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:49 .github 19:54:32 -rw-rw-r-- 1 jenkins jenkins 329 May 24 19:49 .gitignore 19:54:32 -rw-rw-r-- 1 jenkins jenkins 41 May 24 19:49 .golangci.yml 19:54:32 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 19:49 Attribution.txt 19:54:32 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 19:49 CHANGELOG.md 19:54:32 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 19:49 Dockerfile 19:54:32 -rw-rw-r-- 1 jenkins jenkins 677 May 24 19:49 GOVERNANCE.md 19:54:32 -rw-rw-r-- 1 jenkins jenkins 678 May 24 19:49 Jenkinsfile 19:54:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 19:49 LICENSE 19:54:32 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 19:49 Makefile 19:54:32 -rw-rw-r-- 1 jenkins jenkins 620 May 24 19:49 OWNERS.md 19:54:32 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 19:49 README.md 19:54:32 -rw-rw-r-- 1 jenkins jenkins 12 May 24 19:46 VERSION 19:54:32 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:49 bin 19:54:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:49 cmd 19:54:32 -rw-r--r-- 1 jenkins jenkins 18506 May 24 19:53 coverage.out 19:54:32 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 19:49 go.mod 19:54:32 -rw-rw-r-- 1 jenkins jenkins 31328 May 24 19:49 go.sum 19:54:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:49 internal 19:54:32 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:49 mock 19:54:32 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:49 snap 19:54:32 -rw-rw-r-- 1 jenkins jenkins 227 May 24 19:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:32 + 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=7890826e223808f9f870907e908c893318dcbe65 --label arch=arm64 --label version=3.0.0-dev.40 . 19:54:32 Sending build context to Docker daemon 3.446MB 19:54:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 19:54:32 Step 2/24 : FROM ${BASE} AS builder 19:54:32 ---> 12efb9feb75a 19:54:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:54:32 ---> Running in 46e30baa19b7 19:54:33 Removing intermediate container 46e30baa19b7 19:54:33 ---> 34719a8abc6c 19:54:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:54:33 ---> Running in e83d8fe7c6e0 19:54:33 Removing intermediate container e83d8fe7c6e0 19:54:33 ---> da14664a2f94 19:54:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:54:33 ---> Running in d660b94e90f5 19:54:34 Removing intermediate container d660b94e90f5 19:54:34 ---> ea5342bf3a6e 19:54:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:54:34 ---> Running in 16cce60c250c 19:54:34 Removing intermediate container 16cce60c250c 19:54:34 ---> 2c0abe667104 19:54:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:54:34 ---> Running in 46cf0f9b0f41 19:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:54:37 OK: 268 MiB in 57 packages 19:54:37 Removing intermediate container 46cf0f9b0f41 19:54:37 ---> 8c1d1d08a3e3 19:54:37 Step 8/24 : WORKDIR /device-mqtt-go 19:54:37 ---> Running in 774dd3a42f74 19:54:38 Removing intermediate container 774dd3a42f74 19:54:38 ---> 4a2eaaa181a9 19:54:38 Step 9/24 : COPY go.mod vendor* ./ 19:54:38 ---> e1e5b79348a9 19:54:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:54:38 ---> Running in e8994d0b6ffe 19:54:44 Removing intermediate container e8994d0b6ffe 19:54:44 ---> a294b543c498 19:54:44 Step 11/24 : COPY . . 19:54:44 ---> 26b0aa2e671f 19:54:44 Step 12/24 : RUN $MAKE 19:54:44 ---> Running in 42c6bcbf83b7 19:54:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 19:57:07 Removing intermediate container 42c6bcbf83b7 19:57:07 ---> 33f535a3742b 19:57:07 Step 13/24 : FROM alpine:3.17 19:57:07 3.17: Pulling from library/alpine 19:57:07 c41833b44d91: Already exists 19:57:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:57:07 Status: Downloaded newer image for alpine:3.17 19:57:07 ---> 51e60588ff2c 19:57:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:57:07 ---> Running in dc87c0d3bc80 19:57:07 Removing intermediate container dc87c0d3bc80 19:57:07 ---> 4cd2c48ed03c 19:57:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 19:57:07 ---> Running in 6fdee8f508e9 19:57:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:57:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:57:07 (1/1) Installing dumb-init (1.2.5-r2) 19:57:07 Executing busybox-1.35.0-r29.trigger 19:57:07 OK: 8 MiB in 16 packages 19:57:07 Removing intermediate container 6fdee8f508e9 19:57:07 ---> 37d39f8c55a0 19:57:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:57:07 ---> 932c42fba91f 19:57:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:57:07 ---> d184fdb4702f 19:57:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:57:07 ---> 28ac3f20eaaa 19:57:07 Step 19/24 : EXPOSE 59982 19:57:07 ---> Running in 3d906e97bd58 19:57:07 Removing intermediate container 3d906e97bd58 19:57:07 ---> 1410dca552a2 19:57:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:57:07 ---> Running in 88ed7a97f5c5 19:57:07 Removing intermediate container 88ed7a97f5c5 19:57:07 ---> de41700e1760 19:57:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:57:07 ---> Running in f949cf9bd9bb 19:57:07 Removing intermediate container f949cf9bd9bb 19:57:07 ---> 5c2d8e6facb3 19:57:07 Step 22/24 : LABEL arch=arm64 19:57:07 ---> Running in bf087bc1c5f5 19:57:07 Removing intermediate container bf087bc1c5f5 19:57:07 ---> 307bb9ffa7fd 19:57:07 Step 23/24 : LABEL git_sha=7890826e223808f9f870907e908c893318dcbe65 19:57:07 ---> Running in d3501ec22b2d 19:57:07 Removing intermediate container d3501ec22b2d 19:57:07 ---> 2711275b8b99 19:57:07 Step 24/24 : LABEL version=3.0.0-dev.40 19:57:07 ---> Running in 1489b7c5dd65 19:57:07 Removing intermediate container 1489b7c5dd65 19:57:07 ---> 28b4d59fe3b2 19:57:07 [Warning] One or more build-args [ARCH] were not consumed 19:57:07 Successfully built 28b4d59fe3b2 19:57:07 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 19:57:07 provisioning config files... 19:57:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/124@tmp/config15339272709031061621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:07 ---> docker-login.sh 19:57:07 nexus3.edgexfoundry.org:10001 19:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:08 Configure a credential helper to remove this warning. See 19:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:08 19:57:08 Login Succeeded 19:57:08 nexus3.edgexfoundry.org:10002 19:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:08 Configure a credential helper to remove this warning. See 19:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:08 19:57:08 Login Succeeded 19:57:08 nexus3.edgexfoundry.org:10003 19:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:08 Configure a credential helper to remove this warning. See 19:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:08 19:57:08 Login Succeeded 19:57:08 nexus3.edgexfoundry.org:10004 19:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:09 Configure a credential helper to remove this warning. See 19:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:09 19:57:09 Login Succeeded 19:57:09 docker.io 19:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:09 Configure a credential helper to remove this warning. See 19:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:09 19:57:09 Login Succeeded 19:57:09 ---> docker-login.sh ends [Pipeline] } 19:57:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:57:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:57:09 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 19:57:09 7890826e223808f9f870907e908c893318dcbe65 19:57:09 latest 19:57:09 3.0.0-dev.40 19:57:09 7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:57:09 main 19:57:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65 19:57:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:57:10 16e1611a923c: Preparing 19:57:10 fd190e40b243: Preparing 19:57:10 f427f6ede081: Preparing 19:57:10 6f4e24e97ceb: Preparing 19:57:10 26cbea5cba74: Preparing 19:57:10 26cbea5cba74: Layer already exists 19:57:10 16e1611a923c: Pushed 19:57:10 6f4e24e97ceb: Pushed 19:57:10 fd190e40b243: Pushed 19:57:16 f427f6ede081: Pushed 19:57:16 7890826e223808f9f870907e908c893318dcbe65: digest: sha256:9a7b45b6d899ad694061a0464f98481e5307e4bc3ce27773e3bd134608df243b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 19:57:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:57:16 16e1611a923c: Preparing 19:57:16 fd190e40b243: Preparing 19:57:16 f427f6ede081: Preparing 19:57:16 6f4e24e97ceb: Preparing 19:57:16 26cbea5cba74: Preparing 19:57:16 f427f6ede081: Layer already exists 19:57:16 fd190e40b243: Layer already exists 19:57:16 26cbea5cba74: Layer already exists 19:57:16 16e1611a923c: Layer already exists 19:57:16 6f4e24e97ceb: Layer already exists 19:57:16 latest: digest: sha256:9a7b45b6d899ad694061a0464f98481e5307e4bc3ce27773e3bd134608df243b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.40 19:57:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:57:17 16e1611a923c: Preparing 19:57:17 fd190e40b243: Preparing 19:57:17 f427f6ede081: Preparing 19:57:17 6f4e24e97ceb: Preparing 19:57:17 26cbea5cba74: Preparing 19:57:17 fd190e40b243: Layer already exists 19:57:17 26cbea5cba74: Layer already exists 19:57:17 16e1611a923c: Layer already exists 19:57:17 6f4e24e97ceb: Layer already exists 19:57:17 f427f6ede081: Layer already exists 19:57:17 3.0.0-dev.40: digest: sha256:9a7b45b6d899ad694061a0464f98481e5307e4bc3ce27773e3bd134608df243b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:57:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:57:18 16e1611a923c: Preparing 19:57:18 fd190e40b243: Preparing 19:57:18 f427f6ede081: Preparing 19:57:18 6f4e24e97ceb: Preparing 19:57:18 26cbea5cba74: Preparing 19:57:18 26cbea5cba74: Layer already exists 19:57:18 fd190e40b243: Layer already exists 19:57:18 16e1611a923c: Layer already exists 19:57:18 f427f6ede081: Layer already exists 19:57:18 6f4e24e97ceb: Layer already exists 19:57:18 7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40: digest: sha256:9a7b45b6d899ad694061a0464f98481e5307e4bc3ce27773e3bd134608df243b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 19:57:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:57:19 16e1611a923c: Preparing 19:57:19 fd190e40b243: Preparing 19:57:19 f427f6ede081: Preparing 19:57:19 6f4e24e97ceb: Preparing 19:57:19 26cbea5cba74: Preparing 19:57:19 16e1611a923c: Layer already exists 19:57:19 26cbea5cba74: Layer already exists 19:57:19 fd190e40b243: Layer already exists 19:57:19 6f4e24e97ceb: Layer already exists 19:57:19 f427f6ede081: Layer already exists 19:57:19 main: digest: sha256:9a7b45b6d899ad694061a0464f98481e5307e4bc3ce27773e3bd134608df243b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:57:19 ===================================================== [Pipeline] echo 19:57:19 taggedImages: 19:57:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65 19:57:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 19:57:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.40 19:57:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7890826e223808f9f870907e908c893318dcbe65-3.0.0-dev.40 19:57:19 - 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 19:57:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:19 19:57:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:19 arm64: Pulling from edgex-lftools-log-publisher 19:57:19 8998bd30e6a1: Pulling fs layer 19:57:19 04944245beec: Pulling fs layer 19:57:19 699f458cf7ca: Pulling fs layer 19:57:19 765212b225bb: Pulling fs layer 19:57:19 f23df028b6ca: Pulling fs layer 19:57:19 d65c8cfc05b1: Pulling fs layer 19:57:19 2437ff75d9bd: Pulling fs layer 19:57:19 765212b225bb: Waiting 19:57:19 f23df028b6ca: Waiting 19:57:19 d65c8cfc05b1: Waiting 19:57:19 2437ff75d9bd: Waiting 19:57:20 04944245beec: Verifying Checksum 19:57:20 04944245beec: Download complete 19:57:20 765212b225bb: Download complete 19:57:20 f23df028b6ca: Verifying Checksum 19:57:20 f23df028b6ca: Download complete 19:57:20 d65c8cfc05b1: Verifying Checksum 19:57:20 d65c8cfc05b1: Download complete 19:57:20 699f458cf7ca: Verifying Checksum 19:57:20 699f458cf7ca: Download complete 19:57:20 8998bd30e6a1: Verifying Checksum 19:57:20 8998bd30e6a1: Download complete 19:57:22 2437ff75d9bd: Verifying Checksum 19:57:22 2437ff75d9bd: Download complete 19:57:24 8998bd30e6a1: Pull complete 19:57:24 04944245beec: Pull complete 19:57:26 699f458cf7ca: Pull complete 19:57:26 765212b225bb: Pull complete 19:57:27 f23df028b6ca: Pull complete 19:57:27 d65c8cfc05b1: Pull complete 19:57:42 2437ff75d9bd: Pull complete 19:57:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:42 prd-ubuntu20.04-docker-arm64-4c-16g-16776 does not seem to be running inside a container 19:57:42 $ 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/124 -v /w/workspace/device-mqtt-go/124:/w/workspace/device-mqtt-go/124:rw,z -v /w/workspace/device-mqtt-go/124@tmp:/w/workspace/device-mqtt-go/124@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 19:57:45 $ docker top c9a5898502ff43fe62179a7abc3c80590ab347fe5d5c8b2e94b4c96baee7caa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:46 ---> job-cost.sh 19:57:46 lf-activate-venv: SKIPPING 19:57:46 INFO: No Stack... 19:57:46 INFO: Retrieving Pricing Info for: v3-standard-4 19:57:47 INFO: Archiving Costs [Pipeline] sh 19:57:47 + cat /w/workspace/device-mqtt-go/124/archives/cost.csv 19:57:47 + cut -d, -f6 [Pipeline] lock 19:57:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] 19:57:48 Resource [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] did not exist. Created. 19:57:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:57:48 /w/workspace/device-mqtt-go/124@tmp/durable-0bcbc8c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:57:48 + echo total: 0.10999999940395355 [Pipeline] stash 19:57:48 Warning: overwriting stash ‘stack-cost’ 19:57:48 Stashed 1 file(s) [Pipeline] } 19:57:48 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 19:57:48 $ docker stop --time=1 c9a5898502ff43fe62179a7abc3c80590ab347fe5d5c8b2e94b4c96baee7caa9 19:57:50 $ docker rm -f --volumes c9a5898502ff43fe62179a7abc3c80590ab347fe5d5c8b2e94b4c96baee7caa9 [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 19:57:50 provisioning config files... 19:57:50 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12326785792143701339tmp [Pipeline] { [Pipeline] sh 19:57:51 + set +x 19:57:51 + curl -s https://codecov.io/bash 19:57:51 + bash -s -- 19:57:51 19:57:51 _____ _ 19:57:51 / ____| | | 19:57:51 | | ___ __| | ___ ___ _____ __ 19:57:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:57:51 | |___| (_) | (_| | __/ (_| (_) \ V / 19:57:51 \_____\___/ \__,_|\___|\___\___/ \_/ 19:57:51 Bash-1.0.6 19:57:51 19:57:51 19:57:51 ==> git version 2.25.1 found 19:57:51 ==> 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 19:57:51 Release-Date: 2020-01-08 19:57:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:57:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:57:51 ==> Jenkins CI detected. 19:57:51 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 19:57:51 project root: . 19:57:51 --> token set from env 19:57:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:57:51 ==> Running gcov in . (disable via -X gcov) 19:57:51 ==> Python coveragepy not found 19:57:51 ==> Searching for coverage reports in: 19:57:51 + . 19:57:51 -> Found 1 reports 19:57:51 ==> Detecting git/mercurial file structure 19:57:51 ==> Reading reports 19:57:51 + ./coverage.out bytes=18506 19:57:51 ==> Appending adjustments 19:57:51 https://docs.codecov.io/docs/fixing-reports 19:57:51 + Found adjustments 19:57:51 ==> Gzipping contents 19:57:51 4.0K /tmp/codecov.VZUQIC.gz 19:57:51 ==> Uploading reports 19:57:51 url: https://codecov.io 19:57:51 query: branch=main&commit=7890826e223808f9f870907e908c893318dcbe65&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:57:51 -> Pinging Codecov 19:57:51 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=7890826e223808f9f870907e908c893318dcbe65&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:57:51 -> Uploading to 19:57:51 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7D719EC7BBE17E464838252E33014C33/7890826e223808f9f870907e908c893318dcbe65/3327ab65-400c-4b1e-8e90-83d3928a0c77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T195751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71c0b7a15ff9025082f40d2fc5d27eb1fdf007b8d9cc4b3b671e256e7f4fa79d 19:57:51 % Total % Received % Xferd Average Speed Time Time Time Current 19:57:51 Dload Upload Total Spent Left Speed 19:57:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13582 --:--:-- --:--:-- --:--:-- 13525 19:57:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7890826e223808f9f870907e908c893318dcbe65 [Pipeline] } 19:57:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:57:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:57:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:57:52 19:57:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:57:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:57:52 df9b9388f04a: Pulling fs layer 19:57:52 52dc419b0ee2: Pulling fs layer 19:57:52 25bc292e5bac: Pulling fs layer 19:57:52 114826534d7a: Pulling fs layer 19:57:52 4657fd5d0bcf: Pulling fs layer 19:57:52 6ad1cebc031e: Pulling fs layer 19:57:52 8a3aa393b2d8: Pulling fs layer 19:57:52 4657fd5d0bcf: Waiting 19:57:52 6ad1cebc031e: Waiting 19:57:52 8a3aa393b2d8: Waiting 19:57:52 114826534d7a: Waiting 19:57:52 25bc292e5bac: Download complete 19:57:52 52dc419b0ee2: Download complete 19:57:52 4657fd5d0bcf: Verifying Checksum 19:57:52 4657fd5d0bcf: Download complete 19:57:52 df9b9388f04a: Verifying Checksum 19:57:52 df9b9388f04a: Download complete 19:57:52 df9b9388f04a: Pull complete 19:57:52 6ad1cebc031e: Verifying Checksum 19:57:52 6ad1cebc031e: Download complete 19:57:52 52dc419b0ee2: Pull complete 19:57:52 25bc292e5bac: Pull complete 19:57:53 114826534d7a: Verifying Checksum 19:57:53 114826534d7a: Download complete 19:57:53 8a3aa393b2d8: Verifying Checksum 19:57:53 8a3aa393b2d8: Download complete 19:57:56 114826534d7a: Pull complete 19:57:56 4657fd5d0bcf: Pull complete 19:57:56 6ad1cebc031e: Pull complete 19:57:58 8a3aa393b2d8: Pull complete 19:57:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:57:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:59 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:57:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:58:03 $ docker top 8c4c85a6840a124361f614813f4b8df6d8e7d13f719be34027560a71baafba64 -eo pid,comm [Pipeline] { [Pipeline] echo 19:58:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 19:58:03 + set -o pipefail 19:58:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 19:58:10 19:58:10 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 19:58:10 19:58:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/fdad7d49-0f7e-498e-b030-6487f5161c96 19:58:10 19:58:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:58:10 19:58:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:58:10 19:58:11 19:58:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:58:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:58:11 More details here: https://snyk.co/ue1NS [Pipeline] } 19:58:11 $ docker stop --time=1 8c4c85a6840a124361f614813f4b8df6d8e7d13f719be34027560a71baafba64 19:58:14 $ docker rm -f --volumes 8c4c85a6840a124361f614813f4b8df6d8e7d13f719be34027560a71baafba64 [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 19:58:15 + git log --format=format:%s -1 7890826e223808f9f870907e908c893318dcbe65 [Pipeline] sh 19:58:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:16 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:58:16 $ docker top 6535b6eb1c5a0fd01b12724707b575da525b2281131191023d97e48d5da1ac83 -eo pid,comm 19:58:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:58:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:16 [ssh-agent] Looking for ssh-agent implementation... 19:58:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:16 $ docker exec 6535b6eb1c5a0fd01b12724707b575da525b2281131191023d97e48d5da1ac83 ssh-agent 19:58:16 SSH_AUTH_SOCK=/tmp/ssh-kuCXWvUbMVhb/agent.31 19:58:16 SSH_AGENT_PID=37 19:58:16 Running ssh-add (command line suppressed) 19:58:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4377967338656189988.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4377967338656189988.key) 19:58:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:17 + git semver tag 19:58:17 2023-05-24 19:58:17,602 [run_tag] DEBUG tag force:False 19:58:17 2023-05-24 19:58:17,602 [check_head_tag] DEBUG check head tag 19:58:17 2023-05-24 19:58:17,604 [execute] INFO git cat-file --batch-check 19:58:17 2023-05-24 19:58:17,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:58:17 2023-05-24 19:58:17,608 [execute] INFO git cat-file --batch 19:58:17 2023-05-24 19:58:17,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:58:17 2023-05-24 19:58:17,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:17 2023-05-24 19:58:17,632 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 19:58:17 2023-05-24 19:58:17,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 19:58:17 2023-05-24 19:58:17,637 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:17 3.0.0-dev.40 [Pipeline] } 19:58:17 $ docker exec --env ******** --env ******** 6535b6eb1c5a0fd01b12724707b575da525b2281131191023d97e48d5da1ac83 ssh-agent -k 19:58:17 unset SSH_AUTH_SOCK; 19:58:17 unset SSH_AGENT_PID; 19:58:17 echo Agent pid 37 killed; 19:58:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:18 + git semver [Pipeline] } 19:58:18 $ docker stop --time=1 6535b6eb1c5a0fd01b12724707b575da525b2281131191023d97e48d5da1ac83 19:58:19 $ docker rm -f --volumes 6535b6eb1c5a0fd01b12724707b575da525b2281131191023d97e48d5da1ac83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:58:20 19:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:58:20 0.23.1-centos7: Pulling from edgex-lftools 19:58:20 ab5ef0e58194: Pulling fs layer 19:58:20 9712f1f96733: Pulling fs layer 19:58:20 63f879dbbcfc: Pulling fs layer 19:58:20 0d9ebad4ef96: Pulling fs layer 19:58:20 e9a5061849ea: Pulling fs layer 19:58:20 d747dcd14b5f: Pulling fs layer 19:58:20 2de7ff778b66: Pulling fs layer 19:58:20 e9a5061849ea: Waiting 19:58:20 d747dcd14b5f: Waiting 19:58:20 2de7ff778b66: Waiting 19:58:20 0d9ebad4ef96: Waiting 19:58:20 9712f1f96733: Verifying Checksum 19:58:20 9712f1f96733: Download complete 19:58:20 63f879dbbcfc: Verifying Checksum 19:58:20 63f879dbbcfc: Download complete 19:58:20 e9a5061849ea: Verifying Checksum 19:58:20 e9a5061849ea: Download complete 19:58:20 0d9ebad4ef96: Download complete 19:58:20 d747dcd14b5f: Verifying Checksum 19:58:20 d747dcd14b5f: Download complete 19:58:20 ab5ef0e58194: Download complete 19:58:20 2de7ff778b66: Verifying Checksum 19:58:20 2de7ff778b66: Download complete 19:58:23 ab5ef0e58194: Pull complete 19:58:23 9712f1f96733: Pull complete 19:58:24 63f879dbbcfc: Pull complete 19:58:28 0d9ebad4ef96: Pull complete 19:58:28 e9a5061849ea: Pull complete 19:58:28 d747dcd14b5f: Pull complete 19:58:29 2de7ff778b66: Pull complete 19:58:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:58:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:58:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:29 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:58:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:58:34 $ docker top e43b80569ecccb74751c82b42e054c10a6a008f40da2806bdd3e7e4ccdc5c49d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:58:34 provisioning config files... 19:58:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3556355825133267552tmp 19:58:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6438810105714911696tmp 19:58:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13992879122140098529tmp [Pipeline] { [Pipeline] echo 19:58:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:58:34 ---> sigul-configuration.sh 19:58:34 gpg: directory `/root/.gnupg' created 19:58:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:58:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:58:34 gpg: keyring `/root/.gnupg/secring.gpg' created 19:58:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:58:34 gpg: CAST5 encrypted data 19:58:34 gpg: encrypted with 1 passphrase 19:58:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:58:35 + mkdir /home/jenkins 19:58:35 + mkdir /home/jenkins/sigul [Pipeline] sh 19:58:35 + 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 19:58:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:58:35 ---> sigul-install.sh 19:58:35 Sigul already installed; skipping installation. [Pipeline] sh 19:58:35 + git tag --list 19:58:35 0.7.1 19:58:35 v1.0.0 19:58:35 v1.1.0 19:58:35 v1.1.1 19:58:35 v1.2.2 19:58:35 v1.3.0 19:58:35 v1.3.1 19:58:35 v2.0.0 19:58:35 v2.1.0 19:58:35 v2.1.1 19:58:35 v2.1.1-dev.1 19:58:35 v2.1.1-dev.2 19:58:35 v2.2.0 19:58:35 v2.2.1-dev.1 19:58:35 v2.2.1-dev.10 19:58:35 v2.2.1-dev.2 19:58:35 v2.2.1-dev.3 19:58:35 v2.2.1-dev.4 19:58:35 v2.2.1-dev.5 19:58:35 v2.2.1-dev.6 19:58:35 v2.2.1-dev.7 19:58:35 v2.2.1-dev.8 19:58:35 v2.2.1-dev.9 19:58:35 v2.3.0 19:58:35 v2.3.0-dev.10 19:58:35 v2.3.0-dev.11 19:58:35 v2.3.0-dev.12 19:58:35 v2.3.0-dev.13 19:58:35 v2.3.0-dev.14 19:58:35 v2.3.0-dev.15 19:58:35 v2.3.0-dev.16 19:58:35 v2.3.0-dev.17 19:58:35 v2.3.0-dev.18 19:58:35 v2.3.0-dev.19 19:58:35 v2.3.0-dev.20 19:58:35 v2.3.0-dev.21 19:58:35 v2.3.0-dev.22 19:58:35 v2.3.0-dev.23 19:58:35 v2.3.0-dev.24 19:58:35 v2.3.0-dev.25 19:58:35 v2.3.0-dev.26 19:58:35 v2.3.0-dev.27 19:58:35 v2.3.0-dev.28 19:58:35 v2.3.0-dev.29 19:58:35 v2.3.0-dev.30 19:58:35 v2.3.0-dev.31 19:58:35 v2.3.0-dev.32 19:58:35 v2.3.0-dev.33 19:58:35 v2.3.0-dev.34 19:58:35 v3.0.0-dev.1 19:58:35 v3.0.0-dev.10 19:58:35 v3.0.0-dev.11 19:58:35 v3.0.0-dev.12 19:58:35 v3.0.0-dev.13 19:58:35 v3.0.0-dev.14 19:58:35 v3.0.0-dev.15 19:58:35 v3.0.0-dev.16 19:58:35 v3.0.0-dev.17 19:58:35 v3.0.0-dev.18 19:58:35 v3.0.0-dev.19 19:58:35 v3.0.0-dev.2 19:58:35 v3.0.0-dev.20 19:58:35 v3.0.0-dev.21 19:58:35 v3.0.0-dev.22 19:58:35 v3.0.0-dev.23 19:58:35 v3.0.0-dev.24 19:58:35 v3.0.0-dev.25 19:58:35 v3.0.0-dev.26 19:58:35 v3.0.0-dev.27 19:58:35 v3.0.0-dev.28 19:58:35 v3.0.0-dev.29 19:58:35 v3.0.0-dev.3 19:58:35 v3.0.0-dev.30 19:58:35 v3.0.0-dev.31 19:58:35 v3.0.0-dev.32 19:58:35 v3.0.0-dev.33 19:58:35 v3.0.0-dev.34 19:58:35 v3.0.0-dev.35 19:58:35 v3.0.0-dev.36 19:58:35 v3.0.0-dev.37 19:58:35 v3.0.0-dev.38 19:58:35 v3.0.0-dev.39 19:58:35 v3.0.0-dev.4 19:58:35 v3.0.0-dev.40 19:58:35 v3.0.0-dev.5 19:58:35 v3.0.0-dev.6 19:58:35 v3.0.0-dev.7 19:58:35 v3.0.0-dev.8 19:58:35 v3.0.0-dev.9 [Pipeline] sh 19:58:36 + lftools sign git-tag v3.0.0-dev.40 19:58:36 Signing Git tag with Sigul... 19:58:36 Signing v3.0.0-dev.40 [Pipeline] echo 19:58:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:58:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:58:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:58:37 $ docker stop --time=1 e43b80569ecccb74751c82b42e054c10a6a008f40da2806bdd3e7e4ccdc5c49d 19:58:38 $ docker rm -f --volumes e43b80569ecccb74751c82b42e054c10a6a008f40da2806bdd3e7e4ccdc5c49d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:58:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:39 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:58:39 $ docker top 0bd9de8f8314e159981c6e96cdcf672eb609c1f6bbf73aaad1546d072f81af89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:39 [ssh-agent] Looking for ssh-agent implementation... 19:58:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:40 $ docker exec 0bd9de8f8314e159981c6e96cdcf672eb609c1f6bbf73aaad1546d072f81af89 ssh-agent 19:58:40 SSH_AUTH_SOCK=/tmp/ssh-eMq4e06AACsW/agent.33 19:58:40 SSH_AGENT_PID=39 19:58:40 Running ssh-add (command line suppressed) 19:58:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14794732815006935019.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14794732815006935019.key) 19:58:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:40 + git semver bump pre 19:58:40 2023-05-24 19:58:40,693 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:40 2023-05-24 19:58:40,693 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev 19:58:40 2023-05-24 19:58:40,693 [bump_version] DEBUG bumped version:3.0.0-dev.41 19:58:40 2023-05-24 19:58:40,693 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 19:58:40 2023-05-24 19:58:40,693 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:40 2023-05-24 19:58:40,693 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:40 2023-05-24 19:58:40,695 [execute] INFO git cat-file --batch-check 19:58:40 2023-05-24 19:58:40,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:58:40 2023-05-24 19:58:40,699 [execute] INFO git cat-file --batch 19:58:40 2023-05-24 19:58:40,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:58:40 2023-05-24 19:58:40,703 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:40 3.0.0-dev.41 [Pipeline] } 19:58:40 $ docker exec --env ******** --env ******** 0bd9de8f8314e159981c6e96cdcf672eb609c1f6bbf73aaad1546d072f81af89 ssh-agent -k 19:58:40 unset SSH_AUTH_SOCK; 19:58:40 unset SSH_AGENT_PID; 19:58:40 echo Agent pid 39 killed; 19:58:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:41 + git semver [Pipeline] } 19:58:41 $ docker stop --time=1 0bd9de8f8314e159981c6e96cdcf672eb609c1f6bbf73aaad1546d072f81af89 19:58:42 $ docker rm -f --volumes 0bd9de8f8314e159981c6e96cdcf672eb609c1f6bbf73aaad1546d072f81af89 [Pipeline] // withDockerContainer [Pipeline] sh 19:58:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:43 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:58:43 $ docker top 94680bf96338f5cf8be967eda57c89289f4e2a034680071dc7fcd5be8a5f3cc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:43 [ssh-agent] Looking for ssh-agent implementation... 19:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:44 $ docker exec 94680bf96338f5cf8be967eda57c89289f4e2a034680071dc7fcd5be8a5f3cc0 ssh-agent 19:58:44 SSH_AUTH_SOCK=/tmp/ssh-lV11iL3yw133/agent.32 19:58:44 SSH_AGENT_PID=38 19:58:44 Running ssh-add (command line suppressed) 19:58:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7443163114533331118.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7443163114533331118.key) 19:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:44 + git semver push 19:58:44 2023-05-24 19:58:44,720 [run_push] DEBUG push 19:58:44 2023-05-24 19:58:44,721 [execute] INFO git cat-file --batch-check 19:58:44 2023-05-24 19:58:44,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:58:44 2023-05-24 19:58:44,724 [execute] INFO git rev-list 1627cccf4f7c0759135ed46c0154b75fa0b61caf -- 19:58:44 2023-05-24 19:58:44,725 [execute] DEBUG Popen(['git', 'rev-list', '1627cccf4f7c0759135ed46c0154b75fa0b61caf', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:58:44 2023-05-24 19:58:44,733 [execute] INFO git fetch -v origin 19:58:44 2023-05-24 19:58:44,734 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:58:45 2023-05-24 19:58:45,241 [run_push] DEBUG no remote changes detected 19:58:45 2023-05-24 19:58:45,242 [execute] INFO git push origin semver 19:58:45 2023-05-24 19:58:45,242 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:58:46 2023-05-24 19:58:45,972 [run_push] DEBUG push all version tags 19:58:46 2023-05-24 19:58:45,972 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:58:46 2023-05-24 19:58:45,973 [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) 19:58:46 2023-05-24 19:58:46,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:58:46 3.0.0-dev.41 [Pipeline] } 19:58:46 $ docker exec --env ******** --env ******** 94680bf96338f5cf8be967eda57c89289f4e2a034680071dc7fcd5be8a5f3cc0 ssh-agent -k 19:58:47 unset SSH_AUTH_SOCK; 19:58:47 unset SSH_AGENT_PID; 19:58:47 echo Agent pid 38 killed; 19:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:47 + git semver [Pipeline] } 19:58:47 $ docker stop --time=1 94680bf96338f5cf8be967eda57c89289f4e2a034680071dc7fcd5be8a5f3cc0 19:58:48 $ docker rm -f --volumes 94680bf96338f5cf8be967eda57c89289f4e2a034680071dc7fcd5be8a5f3cc0 [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 19:58:49 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 19:58:49 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:58:49 total 16 19:58:49 drwxr-xr-x 3 root root 4096 May 24 19:48 . 19:58:49 drwxrwxr-x 11 jenkins jenkins 4096 May 24 19:58 .. 19:58:49 drwxr-xr-x 2 root root 4096 May 24 19:48 cost 19:58:49 -rw-r--r-- 1 root root 86 May 24 19:48 cost.csv 19:58:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:58:49 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:58:49 total 16 19:58:49 drwxr-xr-x 3 jenkins jenkins 4096 May 24 19:48 . 19:58:49 drwxrwxr-x 11 jenkins jenkins 4096 May 24 19:58 .. 19:58:49 drwxr-xr-x 2 jenkins jenkins 4096 May 24 19:48 cost 19:58:49 -rw-r--r-- 1 jenkins jenkins 86 May 24 19:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:58:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:58:50 ---> package-listing.sh 19:58:50 ++ facter osfamily 19:58:50 ++ tr '[:upper:]' '[:lower:]' 19:58:50 + OS_FAMILY=debian 19:58:50 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 19:58:50 + START_PACKAGES=/tmp/packages_start.txt 19:58:50 + END_PACKAGES=/tmp/packages_end.txt 19:58:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:58:50 + PACKAGES=/tmp/packages_start.txt 19:58:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:58:50 + PACKAGES=/tmp/packages_end.txt 19:58:50 + case "${OS_FAMILY}" in 19:58:50 + dpkg -l 19:58:50 + grep '^ii' 19:58:50 + '[' -f /tmp/packages_start.txt ']' 19:58:50 + '[' -f /tmp/packages_end.txt ']' 19:58:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:58:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:58:50 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 19:58:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 19:58:50 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 19:58:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:51 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 19:58:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:58:51 $ docker top 6326312e0ce8acd42fb7defb03a6d9cbf235e6c70a3ee3222f2a842398f14b29 -eo pid,comm [Pipeline] { [Pipeline] sh 19:58:52 + touch /tmp/pre-build-complete [Pipeline] sh 19:58:52 + mkdir -p /var/log/sysstat [Pipeline] sh 19:58:52 + ls /var/log/sa-host 19:58:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:53 provisioning config files... 19:58:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13529793116405143728tmp [Pipeline] { [Pipeline] echo 19:58:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:58:53 ---> create-netrc.sh [Pipeline] } 19:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:58:53 ---> python-tools-install.sh [Pipeline] echo 19:58:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:58:53 ---> sudo-logs.sh 19:58:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:58:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:58:54 ---> job-cost.sh 19:58:54 lf-activate-venv: SKIPPING 19:58:54 DEBUG: total: 0.2199999988079071 19:58:54 INFO: Retrieving Stack Cost... 19:58:54 INFO: Retrieving Pricing Info for: v3-standard-8 19:58:55 INFO: Archiving Costs [Pipeline] echo 19:58:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:58:55 ---> logs-deploy.sh 19:58:55 lf-activate-venv: SKIPPING 19:58:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/124 19:58:55 INFO: archiving workspace using pattern(s): 19:58:56 Archives upload complete. 19:58:56 INFO: archiving logs to Nexus