Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 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-ssh14650553173568590418.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-ssh3542819987607886718.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-ssh16760998766386189532.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-ssh8479308431226119133.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-ssh18164352991308081914.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16445 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 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 (main) Commit message: "Merge pull request #607 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.93" > 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 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 > git rev-list --no-walk 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:37:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:37:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:37:26 ========================================================= 02:37:26 EdgeX Global Pipelines Version Info 02:37:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:37:27 ------------------- 02:37:27 stable info: 02:37:27 ------------------- 02:37:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:37:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:37:27 Message: update stable to v1.0.249 02:37:28 ------------------- 02:37:28 experimental info: 02:37:28 ------------------- 02:37:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:37:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:37:28 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:37:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a90b0bd [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:29 provisioning config files... 02:37:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16499236929137465649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:29 ---> docker-login.sh 02:37:29 nexus3.edgexfoundry.org:10001 02:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:29 Configure a credential helper to remove this warning. See 02:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:29 02:37:29 Login Succeeded 02:37:29 nexus3.edgexfoundry.org:10002 02:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:30 Configure a credential helper to remove this warning. See 02:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:30 02:37:30 Login Succeeded 02:37:30 nexus3.edgexfoundry.org:10003 02:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:30 Configure a credential helper to remove this warning. See 02:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:30 02:37:30 Login Succeeded 02:37:30 nexus3.edgexfoundry.org:10004 02:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:30 Configure a credential helper to remove this warning. See 02:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:30 02:37:30 Login Succeeded 02:37:30 docker.io 02:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:30 Configure a credential helper to remove this warning. See 02:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:30 02:37:30 Login Succeeded 02:37:30 ---> docker-login.sh ends [Pipeline] } 02:37:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:37:30 + git rev-list -1 --merges a90b0bd42307e02d4b95be1bd7356c1c69efe8a2~1..a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] echo 02:37:31 -----------> git rev-list -1 --merges a90b0bd42307e02d4b95be1bd7356c1c69efe8a2~1..a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:37:31 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [false] [Pipeline] sh 02:37:31 + git log --format=format:%s -1 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] echo 02:37:31 ========================================================= 02:37:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:37:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:31 + git log --format=format:%s -1 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] echo 02:37:31 [semverPrep] GIT_COMMIT: a90b0bd42307e02d4b95be1bd7356c1c69efe8a2, Commit Message: Merge pull request #607 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.93 [Pipeline] echo 02:37:31 [semverPrep] This is not a build commit. [Pipeline] sh 02:37:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:32 + grep -v github /etc/ssh/ssh_known_hosts 02:37:32 + [ -e /tmp/ssh_known_hosts ] 02:37:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:37:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:37:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:37:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:32 02:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:32 0.1.4: Pulling from edgex-devops/py-git-semver 02:37:32 b85a868b505f: Pulling fs layer 02:37:32 e2be974225ed: Pulling fs layer 02:37:32 339a4e72a1f5: Pulling fs layer 02:37:32 988bab9f4d93: Pulling fs layer 02:37:32 1469e6f7b9e6: Pulling fs layer 02:37:32 eaf3925da568: Pulling fs layer 02:37:32 bab4dde63d76: Pulling fs layer 02:37:32 bde34c3a00c8: Pulling fs layer 02:37:32 b352a97aabf1: Pulling fs layer 02:37:32 4872d77fe225: Pulling fs layer 02:37:32 5851b861e8e6: Pulling fs layer 02:37:32 4872d77fe225: Waiting 02:37:32 5851b861e8e6: Waiting 02:37:32 b352a97aabf1: Waiting 02:37:32 bab4dde63d76: Waiting 02:37:32 1469e6f7b9e6: Waiting 02:37:32 eaf3925da568: Waiting 02:37:32 e2be974225ed: Download complete 02:37:32 988bab9f4d93: Verifying Checksum 02:37:32 988bab9f4d93: Download complete 02:37:33 1469e6f7b9e6: Verifying Checksum 02:37:33 1469e6f7b9e6: Download complete 02:37:33 eaf3925da568: Download complete 02:37:33 339a4e72a1f5: Verifying Checksum 02:37:33 339a4e72a1f5: Download complete 02:37:33 bde34c3a00c8: Verifying Checksum 02:37:33 bde34c3a00c8: Download complete 02:37:33 b352a97aabf1: Verifying Checksum 02:37:33 b352a97aabf1: Download complete 02:37:33 4872d77fe225: Verifying Checksum 02:37:33 4872d77fe225: Download complete 02:37:33 5851b861e8e6: Download complete 02:37:33 b85a868b505f: Download complete 02:37:33 bab4dde63d76: Verifying Checksum 02:37:33 bab4dde63d76: Download complete 02:37:34 b85a868b505f: Pull complete 02:37:34 e2be974225ed: Pull complete 02:37:35 339a4e72a1f5: Pull complete 02:37:35 988bab9f4d93: Pull complete 02:37:35 1469e6f7b9e6: Pull complete 02:37:35 eaf3925da568: Pull complete 02:37:37 bab4dde63d76: Pull complete 02:37:37 bde34c3a00c8: Pull complete 02:37:37 b352a97aabf1: Pull complete 02:37:37 4872d77fe225: Pull complete 02:37:37 5851b861e8e6: Pull complete 02:37:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:37:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:37 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:37:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:37:40 $ docker top f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b -eo pid,comm 02:37:40 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). 02:37:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:40 [ssh-agent] Looking for ssh-agent implementation... 02:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:40 $ docker exec f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b ssh-agent 02:37:40 SSH_AUTH_SOCK=/tmp/ssh-85c9QslYkJmb/agent.31 02:37:40 SSH_AGENT_PID=38 02:37:40 Running ssh-add (command line suppressed) 02:37:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_325528757398308350.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_325528757398308350.key) 02:37:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:41 + git tag --points-at HEAD [Pipeline] } 02:37:41 $ docker exec --env ******** --env ******** f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b ssh-agent -k 02:37:41 unset SSH_AUTH_SOCK; 02:37:41 unset SSH_AGENT_PID; 02:37:41 echo Agent pid 38 killed; 02:37:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:41 [ssh-agent] Looking for ssh-agent implementation... 02:37:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:41 $ docker exec f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b ssh-agent 02:37:41 SSH_AUTH_SOCK=/tmp/ssh-DZCBuiFQSqoL/agent.70 02:37:41 SSH_AGENT_PID=76 02:37:41 Running ssh-add (command line suppressed) 02:37:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3526732036660156198.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3526732036660156198.key) 02:37:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:41 + git semver init 02:37:42 2023-05-23 02:37:42,065 [run_init] DEBUG init version:0.0.0 force:False 02:37:42 2023-05-23 02:37:42,066 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:37:42 2023-05-23 02:37:42,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:37:42 2023-05-23 02:37:42,066 [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) 02:37:43 2023-05-23 02:37:42,832 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:37:43 2023-05-23 02:37:42,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:37:43 2023-05-23 02:37:42,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:43 2023-05-23 02:37:42,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:43 3.0.0-dev.39 [Pipeline] } 02:37:43 $ docker exec --env ******** --env ******** f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b ssh-agent -k 02:37:43 unset SSH_AUTH_SOCK; 02:37:43 unset SSH_AGENT_PID; 02:37:43 echo Agent pid 76 killed; 02:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:43 + git semver [Pipeline] } 02:37:43 $ docker stop --time=1 f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b 02:37:45 $ docker rm -f --volumes f77d3f54e7d99462057fc3c43665e6781400c9f224d19337d1ece1a01ede5a2b [Pipeline] // withDockerContainer [Pipeline] sh 02:37:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:37:45 Stashed 1 file(s) [Pipeline] echo 02:37:45 [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [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 02:37:45 provisioning config files... 02:37:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7252920121837874120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:46 ---> docker-login.sh 02:37:46 nexus3.edgexfoundry.org:10001 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 nexus3.edgexfoundry.org:10002 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 nexus3.edgexfoundry.org:10003 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 nexus3.edgexfoundry.org:10004 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 docker.io 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 ---> docker-login.sh ends [Pipeline] } 02:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:46 ========================================================= 02:37:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:37:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:47 + 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 . 02:37:47 Sending build context to Docker daemon 6.576MB 02:37:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:37:47 Step 2/12 : FROM ${BASE} AS builder 02:37:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:37:47 f56be85fc22e: Pulling fs layer 02:37:47 85791d961cd3: Pulling fs layer 02:37:47 d694b5ae8c79: Pulling fs layer 02:37:47 9f32a84ed3da: Pulling fs layer 02:37:47 4d19c01a9841: Pulling fs layer 02:37:47 9325e15d5711: Pulling fs layer 02:37:47 556b6ee489ea: Pulling fs layer 02:37:47 c5a4b2cf53e6: Pulling fs layer 02:37:47 9f32a84ed3da: Waiting 02:37:47 556b6ee489ea: Waiting 02:37:47 c5a4b2cf53e6: Waiting 02:37:47 4d19c01a9841: Waiting 02:37:47 9325e15d5711: Waiting 02:37:47 85791d961cd3: Verifying Checksum 02:37:47 85791d961cd3: Download complete 02:37:47 9f32a84ed3da: Download complete 02:37:47 4d19c01a9841: Verifying Checksum 02:37:47 4d19c01a9841: Download complete 02:37:47 f56be85fc22e: Verifying Checksum 02:37:47 f56be85fc22e: Download complete 02:37:47 9325e15d5711: Verifying Checksum 02:37:47 9325e15d5711: Download complete 02:37:47 f56be85fc22e: Pull complete 02:37:47 85791d961cd3: Pull complete 02:37:47 d694b5ae8c79: Verifying Checksum 02:37:47 d694b5ae8c79: Download complete 02:37:47 c5a4b2cf53e6: Verifying Checksum 02:37:47 c5a4b2cf53e6: Download complete 02:37:48 556b6ee489ea: Verifying Checksum 02:37:48 556b6ee489ea: Download complete 02:37:51 d694b5ae8c79: Pull complete 02:37:51 9f32a84ed3da: Pull complete 02:37:51 4d19c01a9841: Pull complete 02:37:51 9325e15d5711: Pull complete 02:37:54 556b6ee489ea: Pull complete 02:37:55 c5a4b2cf53e6: Pull complete 02:37:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:37:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:37:55 ---> c4be618373d6 02:37:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:37:59 ---> Running in dca3f53cf3ce 02:37:59 Removing intermediate container dca3f53cf3ce 02:37:59 ---> 3be006aec438 02:37:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:59 ---> Running in 3c52510c6448 02:37:59 Removing intermediate container 3c52510c6448 02:37:59 ---> 2049ff21fb76 02:37:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:37:59 ---> Running in d3a9e76f9a7b 02:37:59 Removing intermediate container d3a9e76f9a7b 02:37:59 ---> f3f4a76e28c4 02:37:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:37:59 ---> Running in 7355c3889810 02:37:59 Removing intermediate container 7355c3889810 02:37:59 ---> c33ad6a5fe5f 02:37:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:59 ---> Running in 5dfd5be5e6d8 02:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:38:00 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:38:00 (2/4) Installing libedit (20221030.3.1-r0) 02:38:00 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:38:00 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:38:00 Executing busybox-1.35.0-r29.trigger 02:38:00 OK: 269 MiB in 57 packages 02:38:00 Removing intermediate container 5dfd5be5e6d8 02:38:00 ---> 647412507324 02:38:00 Step 8/12 : WORKDIR /device-mqtt-go 02:38:00 ---> Running in b7956a9c22b3 02:38:00 Removing intermediate container b7956a9c22b3 02:38:00 ---> 6791b0725b96 02:38:00 Step 9/12 : COPY go.mod vendor* ./ 02:38:00 Still waiting to schedule task 02:38:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:38:01 ---> e217b6e6c7be 02:38:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:01 ---> Running in 230ce2410d76 02:38:33 Removing intermediate container 230ce2410d76 02:38:33 ---> 7cc8c73c1eda 02:38:33 Step 11/12 : COPY . . 02:38:33 ---> fc0287ac25ee 02:38:33 Step 12/12 : RUN $MAKE 02:38:33 ---> Running in 0a8e068bf2a7 02:38:33 noop 02:38:33 Removing intermediate container 0a8e068bf2a7 02:38:33 ---> 9e0ebca3e4b3 02:38:33 Successfully built 9e0ebca3e4b3 02:38:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:33 + docker inspect -f . ci-base-image-x86_64 02:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:33 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:38:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:34 $ docker top 687299df88f132b65acad5ee0cc8f25b33b02371c25fac0c844077ff952aa81e -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:35 + go version 02:38:35 go version go1.20.2 linux/amd64 [Pipeline] } 02:38:35 $ docker stop --time=1 687299df88f132b65acad5ee0cc8f25b33b02371c25fac0c844077ff952aa81e 02:38:36 $ docker rm -f --volumes 687299df88f132b65acad5ee0cc8f25b33b02371c25fac0c844077ff952aa81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:36 + docker inspect -f . ci-base-image-x86_64 02:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:36 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:37 $ docker top 83bc54c38d9ef0df9ec367092acf99c724a6ecb8180b3a73e4bba2cc89f2398e -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:38:37 + make test 02:38:37 go test ./... -coverprofile=coverage.out ./... 02:38:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:38:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:38:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:38:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 02:39:01 go vet ./... 02:39:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:39:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:39:04 ./bin/test-attribution-txt.sh [Pipeline] echo 02:39:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:39:04 $ docker stop --time=1 83bc54c38d9ef0df9ec367092acf99c724a6ecb8180b3a73e4bba2cc89f2398e 02:39:07 $ docker rm -f --volumes 83bc54c38d9ef0df9ec367092acf99c724a6ecb8180b3a73e4bba2cc89f2398e [Pipeline] // withDockerContainer [Pipeline] sh 02:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:39:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:39:09 + ls -al . 02:39:09 total 180 02:39:09 drwxrwxr-x 10 jenkins jenkins 4096 May 23 02:38 . 02:39:09 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:37 .. 02:39:09 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:37 .dockerignore 02:39:09 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:37 .git 02:39:09 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:37 .github 02:39:09 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:37 .gitignore 02:39:09 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:37 .golangci.yml 02:39:09 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:37 .semver 02:39:09 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:37 Attribution.txt 02:39:09 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:37 CHANGELOG.md 02:39:09 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:37 Dockerfile 02:39:09 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:37 GOVERNANCE.md 02:39:09 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:37 Jenkinsfile 02:39:09 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:37 LICENSE 02:39:09 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:37 Makefile 02:39:09 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:37 OWNERS.md 02:39:09 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:37 README.md 02:39:09 -rw-rw-r-- 1 jenkins jenkins 12 May 23 02:37 VERSION 02:39:09 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:37 bin 02:39:09 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:37 cmd 02:39:09 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:38 coverage.out 02:39:09 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:37 go.mod 02:39:09 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:37 go.sum 02:39:09 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:37 internal 02:39:09 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:37 mock 02:39:09 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:37 snap 02:39:09 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:09 + 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=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 --label arch=amd64 --label version=3.0.0-dev.39 . 02:39:09 Sending build context to Docker daemon 6.595MB 02:39:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:39:09 Step 2/24 : FROM ${BASE} AS builder 02:39:09 ---> 9e0ebca3e4b3 02:39:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:39:09 ---> Running in 6e26987bf64d 02:39:09 Removing intermediate container 6e26987bf64d 02:39:09 ---> ab45f786371f 02:39:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:39:09 ---> Running in 7acf8a49ed82 02:39:09 Removing intermediate container 7acf8a49ed82 02:39:09 ---> 8990162b35d2 02:39:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:39:09 ---> Running in bcbc1f6a3bb7 02:39:10 Removing intermediate container bcbc1f6a3bb7 02:39:10 ---> e8c5806c8ddb 02:39:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:39:10 ---> Running in 895b9703cb18 02:39:10 Removing intermediate container 895b9703cb18 02:39:10 ---> eaf41b4ef207 02:39:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:39:10 ---> Running in 1809b1edbf05 02:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:39:10 OK: 269 MiB in 57 packages 02:39:11 Removing intermediate container 1809b1edbf05 02:39:11 ---> 00580a7960da 02:39:11 Step 8/24 : WORKDIR /device-mqtt-go 02:39:11 ---> Running in 625ac2a70207 02:39:11 Removing intermediate container 625ac2a70207 02:39:11 ---> dbe85237f619 02:39:11 Step 9/24 : COPY go.mod vendor* ./ 02:39:11 ---> bf5313f69ff2 02:39:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:39:11 ---> Running in b31ae149b5cf 02:39:12 Removing intermediate container b31ae149b5cf 02:39:12 ---> c71efbc6d144 02:39:12 Step 11/24 : COPY . . 02:39:12 ---> 9886dde59d54 02:39:12 Step 12/24 : RUN $MAKE 02:39:12 ---> Running in 91b86295f1d1 02:39:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:39:34 Removing intermediate container 91b86295f1d1 02:39:34 ---> 073df2632615 02:39:34 Step 13/24 : FROM alpine:3.17 02:39:34 3.17: Pulling from library/alpine 02:39:34 f56be85fc22e: Already exists 02:39:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:39:34 Status: Downloaded newer image for alpine:3.17 02:39:34 ---> 9ed4aefc74f6 02:39:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:39:34 ---> Running in 0e9e6fcdf95c 02:39:34 Removing intermediate container 0e9e6fcdf95c 02:39:34 ---> 513078365b8e 02:39:34 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:39:34 ---> Running in 96e239568a56 02:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:39:34 (1/1) Installing dumb-init (1.2.5-r2) 02:39:34 Executing busybox-1.35.0-r29.trigger 02:39:34 OK: 7 MiB in 16 packages 02:39:34 Removing intermediate container 96e239568a56 02:39:34 ---> bfc4a53d7b2e 02:39:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:39:34 ---> 5124c90f3eb6 02:39:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:39:34 ---> 9730e4728c4f 02:39:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:39:34 ---> 7fe7e4122923 02:39:34 Step 19/24 : EXPOSE 59982 02:39:34 ---> Running in 8a171ce420d3 02:39:34 Removing intermediate container 8a171ce420d3 02:39:34 ---> 9a1a2bf75f06 02:39:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:39:34 ---> Running in e974eeafd565 02:39:34 Removing intermediate container e974eeafd565 02:39:34 ---> 7a8d78dd4160 02:39:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:39:34 ---> Running in 47a2f12df7fe 02:39:34 Removing intermediate container 47a2f12df7fe 02:39:34 ---> bde36530ff8c 02:39:34 Step 22/24 : LABEL arch=amd64 02:39:34 ---> Running in 4d9287039e3f 02:39:34 Removing intermediate container 4d9287039e3f 02:39:34 ---> 1b3b302fea89 02:39:34 Step 23/24 : LABEL git_sha=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:39:34 ---> Running in cc842a2bd178 02:39:34 Removing intermediate container cc842a2bd178 02:39:34 ---> 905cd7abbf08 02:39:34 Step 24/24 : LABEL version=3.0.0-dev.39 02:39:34 ---> Running in 43fc1d3b283f 02:39:35 Removing intermediate container 43fc1d3b283f 02:39:35 ---> 640926291b26 02:39:35 [Warning] One or more build-args [ARCH] were not consumed 02:39:35 Successfully built 640926291b26 02:39:35 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:35 provisioning config files... 02:39:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13904969712004796057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:35 ---> docker-login.sh 02:39:35 nexus3.edgexfoundry.org:10001 02:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:35 Configure a credential helper to remove this warning. See 02:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:35 02:39:35 Login Succeeded 02:39:35 nexus3.edgexfoundry.org:10002 02:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:35 Configure a credential helper to remove this warning. See 02:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:35 02:39:35 Login Succeeded 02:39:35 nexus3.edgexfoundry.org:10003 02:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:35 Configure a credential helper to remove this warning. See 02:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:35 02:39:35 Login Succeeded 02:39:35 nexus3.edgexfoundry.org:10004 02:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:35 Configure a credential helper to remove this warning. See 02:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:35 02:39:35 Login Succeeded 02:39:35 docker.io 02:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:36 Configure a credential helper to remove this warning. See 02:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:36 02:39:36 Login Succeeded 02:39:36 ---> docker-login.sh ends [Pipeline] } 02:39:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:36 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:39:36 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:39:36 latest 02:39:36 3.0.0-dev.39 02:39:36 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:39:36 main 02:39:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:39:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:36 50fddf2cce0a: Preparing 02:39:36 b976176c2666: Preparing 02:39:36 383cec1af770: Preparing 02:39:36 57e0b3266261: Preparing 02:39:36 f1417ff83b31: Preparing 02:39:36 f1417ff83b31: Layer already exists 02:39:36 57e0b3266261: Pushed 02:39:36 b976176c2666: Pushed 02:39:36 50fddf2cce0a: Pushed 02:39:39 383cec1af770: Pushed 02:39:39 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2: digest: sha256:5f4a7d7fe8725f50f05dadda2a26f67015b2755e12e4b1ed4752c4378ebfac2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:39:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:40 50fddf2cce0a: Preparing 02:39:40 b976176c2666: Preparing 02:39:40 383cec1af770: Preparing 02:39:40 57e0b3266261: Preparing 02:39:40 f1417ff83b31: Preparing 02:39:40 50fddf2cce0a: Layer already exists 02:39:40 383cec1af770: Layer already exists 02:39:40 f1417ff83b31: Layer already exists 02:39:40 57e0b3266261: Layer already exists 02:39:40 b976176c2666: Layer already exists 02:39:40 latest: digest: sha256:5f4a7d7fe8725f50f05dadda2a26f67015b2755e12e4b1ed4752c4378ebfac2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.39 02:39:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:41 50fddf2cce0a: Preparing 02:39:41 b976176c2666: Preparing 02:39:41 383cec1af770: Preparing 02:39:41 57e0b3266261: Preparing 02:39:41 f1417ff83b31: Preparing 02:39:41 b976176c2666: Layer already exists 02:39:41 f1417ff83b31: Layer already exists 02:39:41 383cec1af770: Layer already exists 02:39:41 50fddf2cce0a: Layer already exists 02:39:41 57e0b3266261: Layer already exists 02:39:41 3.0.0-dev.39: digest: sha256:5f4a7d7fe8725f50f05dadda2a26f67015b2755e12e4b1ed4752c4378ebfac2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:39:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:41 50fddf2cce0a: Preparing 02:39:41 b976176c2666: Preparing 02:39:41 383cec1af770: Preparing 02:39:41 57e0b3266261: Preparing 02:39:41 f1417ff83b31: Preparing 02:39:41 383cec1af770: Layer already exists 02:39:41 f1417ff83b31: Layer already exists 02:39:41 50fddf2cce0a: Layer already exists 02:39:41 57e0b3266261: Layer already exists 02:39:41 b976176c2666: Layer already exists 02:39:41 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39: digest: sha256:5f4a7d7fe8725f50f05dadda2a26f67015b2755e12e4b1ed4752c4378ebfac2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:39:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:42 50fddf2cce0a: Preparing 02:39:42 b976176c2666: Preparing 02:39:42 383cec1af770: Preparing 02:39:42 57e0b3266261: Preparing 02:39:42 f1417ff83b31: Preparing 02:39:42 383cec1af770: Layer already exists 02:39:42 f1417ff83b31: Layer already exists 02:39:42 50fddf2cce0a: Layer already exists 02:39:42 57e0b3266261: Layer already exists 02:39:42 b976176c2666: Layer already exists 02:39:42 main: digest: sha256:5f4a7d7fe8725f50f05dadda2a26f67015b2755e12e4b1ed4752c4378ebfac2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:42 ===================================================== [Pipeline] echo 02:39:42 taggedImages: 02:39:42 - nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:39:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:39:42 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.39 02:39:42 - nexus3.edgexfoundry.org:10004/device-mqtt:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:39:42 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:42 02:39:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:43 latest: Pulling from edgex-lftools-log-publisher 02:39:43 5eb5b503b376: Pulling fs layer 02:39:43 5c69ac0246d0: Pulling fs layer 02:39:43 ec43610c2a17: Pulling fs layer 02:39:43 3a2ae6a8a46f: Pulling fs layer 02:39:43 33b1e0a273af: Pulling fs layer 02:39:43 5d3b04190fa2: Pulling fs layer 02:39:43 2f39f015ded8: Pulling fs layer 02:39:43 3a2ae6a8a46f: Waiting 02:39:43 33b1e0a273af: Waiting 02:39:43 5d3b04190fa2: Waiting 02:39:43 2f39f015ded8: Waiting 02:39:43 5c69ac0246d0: Verifying Checksum 02:39:43 5c69ac0246d0: Download complete 02:39:43 3a2ae6a8a46f: Verifying Checksum 02:39:43 3a2ae6a8a46f: Download complete 02:39:43 33b1e0a273af: Verifying Checksum 02:39:43 33b1e0a273af: Download complete 02:39:43 5d3b04190fa2: Download complete 02:39:43 ec43610c2a17: Verifying Checksum 02:39:43 ec43610c2a17: Download complete 02:39:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16448 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:39:43 Running in /w/workspace/device-mqtt-go/123 [Pipeline] { [Pipeline] checkout 02:39:43 Selected Git installation does not exist. Using Default 02:39:43 The recommended git tool is: NONE 02:39:43 5eb5b503b376: Download complete 02:39:43 2f39f015ded8: Download complete 02:39:44 5eb5b503b376: Pull complete 02:39:44 5c69ac0246d0: Pull complete 02:39:45 ec43610c2a17: Pull complete 02:39:45 3a2ae6a8a46f: Pull complete 02:39:45 33b1e0a273af: Pull complete 02:39:45 5d3b04190fa2: Pull complete 02:39:48 using credential edgex-jenkins-ssh 02:39:48 Cloning the remote Git repository 02:39:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:39:48 > git init /w/workspace/device-mqtt-go/123 # timeout=10 02:39:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:39:48 > git --version # timeout=10 02:39:48 > git --version # 'git version 2.25.1' 02:39:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:39:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:50 Avoid second fetch 02:39:50 Checking out Revision a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 (main) 02:39:50 2f39f015ded8: Pull complete 02:39:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:39:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:50 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:39:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:39:51 Commit message: "Merge pull request #607 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.93" 02:39:51 02:39:51 GitHub has been notified of this commit’s build result 02:39:51 02:39:50 > git config core.sparsecheckout # timeout=10 02:39:50 > git checkout -f a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 02:39:53 $ docker top 0ff82d9256df093cf457e9b2d35ec778fd7fc672f1d18cd2a0467751b5abe03b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:39:54 ---> job-cost.sh 02:39:54 lf-activate-venv: SKIPPING 02:39:54 INFO: No Stack... 02:39:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:39:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:39:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:54 Dload Upload Total Spent Left Speed 02:39:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 02:39:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:39:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:39:55 + sudo tee /etc/docker/daemon.new 02:39:55 { 02:39:55 "registry-mirrors": [ 02:39:55 "https://nexus3.edgexfoundry.org:10001" 02:39:55 ], 02:39:55 "bip": "10.250.0.254/24", 02:39:55 "hosts": [ 02:39:55 "tcp://0.0.0.0:5555", 02:39:55 "unix:///var/run/docker.sock" 02:39:55 ], 02:39:55 "mtu": 1458, 02:39:55 "selinux-enabled": true, 02:39:55 "seccomp-profile": "/etc/docker/seccomp.json" 02:39:55 } [Pipeline] sh 02:39:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:39:56 INFO: Archiving Costs [Pipeline] sh 02:39:56 + sudo service docker restart 02:39:56 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:39:56 + cut -d, -f6 [Pipeline] lock 02:39:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] 02:39:56 Resource [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] did not exist. Created. 02:39:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:39:56 + echo total: 0.2199999988079071 [Pipeline] stash 02:39:56 Stashed 1 file(s) [Pipeline] } 02:39:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 02:39:56 $ docker stop --time=1 0ff82d9256df093cf457e9b2d35ec778fd7fc672f1d18cd2a0467751b5abe03b 02:39:57 $ docker rm -f --volumes 0ff82d9256df093cf457e9b2d35ec778fd7fc672f1d18cd2a0467751b5abe03b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:14 provisioning config files... 02:40:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/123@tmp/config13405130548652222805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:14 ---> docker-login.sh 02:40:14 nexus3.edgexfoundry.org:10001 02:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:15 Configure a credential helper to remove this warning. See 02:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:15 02:40:15 Login Succeeded 02:40:15 nexus3.edgexfoundry.org:10002 02:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:15 Configure a credential helper to remove this warning. See 02:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:15 02:40:15 Login Succeeded 02:40:15 nexus3.edgexfoundry.org:10003 02:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:16 Configure a credential helper to remove this warning. See 02:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:16 02:40:16 Login Succeeded 02:40:16 nexus3.edgexfoundry.org:10004 02:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:16 Configure a credential helper to remove this warning. See 02:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:16 02:40:16 Login Succeeded 02:40:16 docker.io 02:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:17 Configure a credential helper to remove this warning. See 02:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:17 02:40:17 Login Succeeded 02:40:17 ---> docker-login.sh ends [Pipeline] } 02:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:17 ========================================================= 02:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:40:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:17 + 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 . 02:40:18 Sending build context to Docker daemon 3.421MB 02:40:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:40:18 Step 2/12 : FROM ${BASE} AS builder 02:40:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:40:21 c41833b44d91: Pulling fs layer 02:40:21 ed15518f5707: Pulling fs layer 02:40:21 feae8fd75edb: Pulling fs layer 02:40:21 242c74f7c9fa: Pulling fs layer 02:40:21 3cdef696dda3: Pulling fs layer 02:40:21 2ced38df9373: Pulling fs layer 02:40:21 58f1dce35555: Pulling fs layer 02:40:21 242c74f7c9fa: Waiting 02:40:21 3cdef696dda3: Waiting 02:40:21 2ced38df9373: Waiting 02:40:21 58f1dce35555: Waiting 02:40:21 ed15518f5707: Verifying Checksum 02:40:21 ed15518f5707: Download complete 02:40:21 242c74f7c9fa: Verifying Checksum 02:40:21 242c74f7c9fa: Download complete 02:40:21 3cdef696dda3: Verifying Checksum 02:40:21 3cdef696dda3: Download complete 02:40:21 c41833b44d91: Verifying Checksum 02:40:21 c41833b44d91: Download complete 02:40:22 c41833b44d91: Pull complete 02:40:22 58f1dce35555: Verifying Checksum 02:40:22 58f1dce35555: Download complete 02:40:23 ed15518f5707: Pull complete 02:40:24 feae8fd75edb: Verifying Checksum 02:40:24 feae8fd75edb: Download complete 02:40:24 2ced38df9373: Verifying Checksum 02:40:24 2ced38df9373: Download complete 02:40:36 feae8fd75edb: Pull complete 02:40:36 242c74f7c9fa: Pull complete 02:40:36 3cdef696dda3: Pull complete 02:40:43 2ced38df9373: Pull complete 02:40:45 58f1dce35555: Pull complete 02:40:45 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:40:45 ---> fadd8f120f05 02:40:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:40:47 ---> Running in 0800c11dd160 02:40:48 Removing intermediate container 0800c11dd160 02:40:48 ---> 7534b01d4f38 02:40:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:48 ---> Running in 1fc3ffef069f 02:40:48 Removing intermediate container 1fc3ffef069f 02:40:48 ---> fd70e011eb50 02:40:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:48 ---> Running in 02bc2492ee6f 02:40:48 Removing intermediate container 02bc2492ee6f 02:40:48 ---> c6356794df5c 02:40:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:40:48 ---> Running in dfd9389c4725 02:40:49 Removing intermediate container dfd9389c4725 02:40:49 ---> 4f119396b9ad 02:40:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:49 ---> Running in 02ea3110604a 02:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:40:52 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:40:52 (2/4) Installing libedit (20221030.3.1-r0) 02:40:52 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:40:52 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:40:52 Executing busybox-1.35.0-r29.trigger 02:40:52 OK: 268 MiB in 57 packages 02:40:53 Removing intermediate container 02ea3110604a 02:40:53 ---> 04fabb4b0829 02:40:53 Step 8/12 : WORKDIR /device-mqtt-go 02:40:53 ---> Running in 720733e8b6bd 02:40:53 Removing intermediate container 720733e8b6bd 02:40:53 ---> be3dbb79996d 02:40:53 Step 9/12 : COPY go.mod vendor* ./ 02:40:54 ---> ea68c0dcb728 02:40:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:54 ---> Running in aedb04422884 02:42:02 Removing intermediate container aedb04422884 02:42:02 ---> b5dab2e60ea2 02:42:02 Step 11/12 : COPY . . 02:42:02 ---> ad7084f355b8 02:42:02 Step 12/12 : RUN $MAKE 02:42:02 ---> Running in 357c2a18f6b1 02:42:02 noop 02:42:02 Removing intermediate container 357c2a18f6b1 02:42:02 ---> 04d015ac8034 02:42:02 Successfully built 04d015ac8034 02:42:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:02 + docker inspect -f . ci-base-image-arm64 02:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:02 prd-ubuntu20.04-docker-arm64-4c-16g-16448 does not seem to be running inside a container 02:42:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/123 -v /w/workspace/device-mqtt-go/123:/w/workspace/device-mqtt-go/123:rw,z -v /w/workspace/device-mqtt-go/123@tmp:/w/workspace/device-mqtt-go/123@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 02:42:03 $ docker top eddf3f5f14e4c987615617c2b245b880a0d27f9e6374ae910844d32f5dffdd8c -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:04 + go version 02:42:04 go version go1.20.2 linux/arm64 [Pipeline] } 02:42:04 $ docker stop --time=1 eddf3f5f14e4c987615617c2b245b880a0d27f9e6374ae910844d32f5dffdd8c 02:42:06 $ docker rm -f --volumes eddf3f5f14e4c987615617c2b245b880a0d27f9e6374ae910844d32f5dffdd8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:06 + docker inspect -f . ci-base-image-arm64 02:42:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:07 prd-ubuntu20.04-docker-arm64-4c-16g-16448 does not seem to be running inside a container 02:42:07 $ 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/123 -v /w/workspace/device-mqtt-go/123:/w/workspace/device-mqtt-go/123:rw,z -v /w/workspace/device-mqtt-go/123@tmp:/w/workspace/device-mqtt-go/123@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 02:42:10 $ docker top 1741df2f34e55e01658eb4fa9a4d975ccadb60e8260ee2e25ce354bf1ba77c84 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:10 + git config --global --add safe.directory /w/workspace/device-mqtt-go/123 [Pipeline] fileExists [Pipeline] sh 02:42:11 + make test 02:42:11 go test ./... -coverprofile=coverage.out ./... 02:42:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:45:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:45:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:45:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.8% of statements 02:45:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:45:12 go vet ./... 02:45:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:45:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:45:44 ./bin/test-attribution-txt.sh [Pipeline] echo 02:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:45:44 $ docker stop --time=1 1741df2f34e55e01658eb4fa9a4d975ccadb60e8260ee2e25ce354bf1ba77c84 02:45:46 $ docker rm -f --volumes 1741df2f34e55e01658eb4fa9a4d975ccadb60e8260ee2e25ce354bf1ba77c84 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:47 Warning: overwriting stash ‘coverage-report’ 02:45:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:48 + ls -al . 02:45:48 total 176 02:45:48 drwxrwxr-x 9 jenkins jenkins 4096 May 23 02:42 . 02:45:48 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:39 .. 02:45:48 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:39 .dockerignore 02:45:48 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:39 .git 02:45:48 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 .github 02:45:48 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:39 .gitignore 02:45:48 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:39 .golangci.yml 02:45:48 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:39 Attribution.txt 02:45:48 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:39 CHANGELOG.md 02:45:48 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:39 Dockerfile 02:45:48 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:39 GOVERNANCE.md 02:45:48 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:39 Jenkinsfile 02:45:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:39 LICENSE 02:45:48 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:39 Makefile 02:45:48 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:39 OWNERS.md 02:45:48 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:39 README.md 02:45:48 -rw-rw-r-- 1 jenkins jenkins 12 May 23 02:37 VERSION 02:45:48 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:39 bin 02:45:48 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 cmd 02:45:48 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:45 coverage.out 02:45:48 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:39 go.mod 02:45:48 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:39 go.sum 02:45:48 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 internal 02:45:48 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:39 mock 02:45:48 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:39 snap 02:45:48 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:49 + 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=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 --label arch=arm64 --label version=3.0.0-dev.39 . 02:45:49 Sending build context to Docker daemon 3.44MB 02:45:49 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:45:49 Step 2/24 : FROM ${BASE} AS builder 02:45:49 ---> 04d015ac8034 02:45:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:45:49 ---> Running in 39c2e772a36c 02:45:50 Removing intermediate container 39c2e772a36c 02:45:50 ---> ada5e92ccd77 02:45:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:45:50 ---> Running in 81d6b85603bd 02:45:50 Removing intermediate container 81d6b85603bd 02:45:50 ---> cbf7d2ec0967 02:45:50 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:50 ---> Running in 93e066e7918a 02:45:50 Removing intermediate container 93e066e7918a 02:45:50 ---> 1f6999dc624a 02:45:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:45:50 ---> Running in c705983563b5 02:45:51 Removing intermediate container c705983563b5 02:45:51 ---> 4b6fef3ae624 02:45:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:51 ---> Running in 28bdecaa5954 02:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:45:58 OK: 268 MiB in 57 packages 02:45:59 Removing intermediate container 28bdecaa5954 02:45:59 ---> 666b4ac9b6d9 02:45:59 Step 8/24 : WORKDIR /device-mqtt-go 02:45:59 ---> Running in 37e3853eb2c4 02:45:59 Removing intermediate container 37e3853eb2c4 02:45:59 ---> 3ec79f416b26 02:45:59 Step 9/24 : COPY go.mod vendor* ./ 02:46:00 ---> db87d33b08b8 02:46:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:00 ---> Running in 91fb5cf00a55 02:46:02 Removing intermediate container 91fb5cf00a55 02:46:02 ---> 2571016c5722 02:46:02 Step 11/24 : COPY . . 02:46:04 ---> e21f87d148fe 02:46:04 Step 12/24 : RUN $MAKE 02:46:04 ---> Running in 34a369350f84 02:46:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:48:42 Removing intermediate container 34a369350f84 02:48:42 ---> 66c21f8d048d 02:48:42 Step 13/24 : FROM alpine:3.17 02:48:42 3.17: Pulling from library/alpine 02:48:42 c41833b44d91: Already exists 02:48:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:48:42 Status: Downloaded newer image for alpine:3.17 02:48:42 ---> 51e60588ff2c 02:48:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:48:42 ---> Running in 3cc4a3294b90 02:48:42 Removing intermediate container 3cc4a3294b90 02:48:42 ---> cc7ec0bf8d0b 02:48:42 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:48:42 ---> Running in a3302011bb65 02:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:48:42 (1/1) Installing dumb-init (1.2.5-r2) 02:48:42 Executing busybox-1.35.0-r29.trigger 02:48:42 OK: 8 MiB in 16 packages 02:48:42 Removing intermediate container a3302011bb65 02:48:42 ---> ecc62cd844e2 02:48:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:48:42 ---> e6c9b1c4a9b7 02:48:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:48:42 ---> 1b8d2667a1c1 02:48:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:48:42 ---> 7e5e4f2c23af 02:48:42 Step 19/24 : EXPOSE 59982 02:48:42 ---> Running in 0b8967d7bd5c 02:48:42 Removing intermediate container 0b8967d7bd5c 02:48:42 ---> 101058cf95e8 02:48:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:48:42 ---> Running in 0b2ffe1f46aa 02:48:43 Removing intermediate container 0b2ffe1f46aa 02:48:43 ---> 961541b3dd38 02:48:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:48:43 ---> Running in 6ac5d8598f29 02:48:43 Removing intermediate container 6ac5d8598f29 02:48:43 ---> f3b88adf4ccc 02:48:43 Step 22/24 : LABEL arch=arm64 02:48:43 ---> Running in d9421b85cf4b 02:48:44 Removing intermediate container d9421b85cf4b 02:48:44 ---> 4b051123aa59 02:48:44 Step 23/24 : LABEL git_sha=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:48:44 ---> Running in 0902b6d13831 02:48:44 Removing intermediate container 0902b6d13831 02:48:44 ---> 366aed6a5bc8 02:48:44 Step 24/24 : LABEL version=3.0.0-dev.39 02:48:44 ---> Running in b15d9604bd96 02:48:44 Removing intermediate container b15d9604bd96 02:48:44 ---> 1fbd492ffa58 02:48:44 [Warning] One or more build-args [ARCH] were not consumed 02:48:44 Successfully built 1fbd492ffa58 02:48:44 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 02:48:44 provisioning config files... 02:48:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/123@tmp/config12053656068127803638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:45 ---> docker-login.sh 02:48:45 nexus3.edgexfoundry.org:10001 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 nexus3.edgexfoundry.org:10002 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 nexus3.edgexfoundry.org:10003 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:46 Configure a credential helper to remove this warning. See 02:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:46 02:48:46 Login Succeeded 02:48:46 nexus3.edgexfoundry.org:10004 02:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:46 Configure a credential helper to remove this warning. See 02:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:46 02:48:46 Login Succeeded 02:48:46 docker.io 02:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:46 Configure a credential helper to remove this warning. See 02:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:46 02:48:46 Login Succeeded 02:48:46 ---> docker-login.sh ends [Pipeline] } 02:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:48:47 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:48:47 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:48:47 latest 02:48:47 3.0.0-dev.39 02:48:47 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:48:47 main 02:48:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:47 1fae232abf09: Preparing 02:48:47 3d741d0b7c8e: Preparing 02:48:47 fbbf6cf65193: Preparing 02:48:47 9c5c16f68d8d: Preparing 02:48:47 26cbea5cba74: Preparing 02:48:47 26cbea5cba74: Layer already exists 02:48:48 9c5c16f68d8d: Pushed 02:48:48 3d741d0b7c8e: Pushed 02:48:48 1fae232abf09: Pushed 02:48:53 fbbf6cf65193: Pushed 02:48:53 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2: digest: sha256:4ae4d5f445a66fd878d93d603e0c3ffff93c509e9a8d4a0dbee54c2d0599d98a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:48:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:54 1fae232abf09: Preparing 02:48:54 3d741d0b7c8e: Preparing 02:48:54 fbbf6cf65193: Preparing 02:48:54 9c5c16f68d8d: Preparing 02:48:54 26cbea5cba74: Preparing 02:48:54 26cbea5cba74: Layer already exists 02:48:54 1fae232abf09: Layer already exists 02:48:54 fbbf6cf65193: Layer already exists 02:48:54 3d741d0b7c8e: Layer already exists 02:48:54 9c5c16f68d8d: Layer already exists 02:48:54 latest: digest: sha256:4ae4d5f445a66fd878d93d603e0c3ffff93c509e9a8d4a0dbee54c2d0599d98a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.39 02:48:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:55 1fae232abf09: Preparing 02:48:55 3d741d0b7c8e: Preparing 02:48:55 fbbf6cf65193: Preparing 02:48:55 9c5c16f68d8d: Preparing 02:48:55 26cbea5cba74: Preparing 02:48:55 26cbea5cba74: Layer already exists 02:48:55 9c5c16f68d8d: Layer already exists 02:48:55 fbbf6cf65193: Layer already exists 02:48:55 1fae232abf09: Layer already exists 02:48:55 3d741d0b7c8e: Layer already exists 02:48:55 3.0.0-dev.39: digest: sha256:4ae4d5f445a66fd878d93d603e0c3ffff93c509e9a8d4a0dbee54c2d0599d98a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:56 1fae232abf09: Preparing 02:48:56 3d741d0b7c8e: Preparing 02:48:56 fbbf6cf65193: Preparing 02:48:56 9c5c16f68d8d: Preparing 02:48:56 26cbea5cba74: Preparing 02:48:56 3d741d0b7c8e: Layer already exists 02:48:56 26cbea5cba74: Layer already exists 02:48:56 9c5c16f68d8d: Layer already exists 02:48:56 1fae232abf09: Layer already exists 02:48:56 fbbf6cf65193: Layer already exists 02:48:56 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39: digest: sha256:4ae4d5f445a66fd878d93d603e0c3ffff93c509e9a8d4a0dbee54c2d0599d98a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:56 1fae232abf09: Preparing 02:48:56 3d741d0b7c8e: Preparing 02:48:56 fbbf6cf65193: Preparing 02:48:56 9c5c16f68d8d: Preparing 02:48:56 26cbea5cba74: Preparing 02:48:56 1fae232abf09: Layer already exists 02:48:56 9c5c16f68d8d: Layer already exists 02:48:56 3d741d0b7c8e: Layer already exists 02:48:56 26cbea5cba74: Layer already exists 02:48:56 fbbf6cf65193: Layer already exists 02:48:56 main: digest: sha256:4ae4d5f445a66fd878d93d603e0c3ffff93c509e9a8d4a0dbee54c2d0599d98a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:57 ===================================================== [Pipeline] echo 02:48:57 taggedImages: 02:48:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 02:48:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:48:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.39 02:48:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a90b0bd42307e02d4b95be1bd7356c1c69efe8a2-3.0.0-dev.39 02:48:57 - 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 02:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:57 02:48:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:57 arm64: Pulling from edgex-lftools-log-publisher 02:48:57 8998bd30e6a1: Pulling fs layer 02:48:57 04944245beec: Pulling fs layer 02:48:57 699f458cf7ca: Pulling fs layer 02:48:57 765212b225bb: Pulling fs layer 02:48:57 f23df028b6ca: Pulling fs layer 02:48:57 d65c8cfc05b1: Pulling fs layer 02:48:57 2437ff75d9bd: Pulling fs layer 02:48:57 f23df028b6ca: Waiting 02:48:57 d65c8cfc05b1: Waiting 02:48:57 2437ff75d9bd: Waiting 02:48:57 765212b225bb: Waiting 02:48:58 04944245beec: Verifying Checksum 02:48:58 04944245beec: Download complete 02:48:58 765212b225bb: Verifying Checksum 02:48:58 765212b225bb: Download complete 02:48:58 f23df028b6ca: Verifying Checksum 02:48:58 f23df028b6ca: Download complete 02:48:58 d65c8cfc05b1: Verifying Checksum 02:48:58 d65c8cfc05b1: Download complete 02:48:58 699f458cf7ca: Verifying Checksum 02:48:58 699f458cf7ca: Download complete 02:48:58 8998bd30e6a1: Verifying Checksum 02:48:58 8998bd30e6a1: Download complete 02:49:00 2437ff75d9bd: Verifying Checksum 02:49:00 2437ff75d9bd: Download complete 02:49:02 8998bd30e6a1: Pull complete 02:49:02 04944245beec: Pull complete 02:49:04 699f458cf7ca: Pull complete 02:49:04 765212b225bb: Pull complete 02:49:04 f23df028b6ca: Pull complete 02:49:05 d65c8cfc05b1: Pull complete 02:49:17 2437ff75d9bd: Pull complete 02:49:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:49:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:17 prd-ubuntu20.04-docker-arm64-4c-16g-16448 does not seem to be running inside a container 02:49:17 $ 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/123 -v /w/workspace/device-mqtt-go/123:/w/workspace/device-mqtt-go/123:rw,z -v /w/workspace/device-mqtt-go/123@tmp:/w/workspace/device-mqtt-go/123@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 02:49:20 $ docker top a54222bb90289a5931b181ba4bd671c8c02b55fd6e7db7ba6286e1f5be11252d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:21 ---> job-cost.sh 02:49:21 lf-activate-venv: SKIPPING 02:49:21 INFO: No Stack... 02:49:21 INFO: Retrieving Pricing Info for: v3-standard-4 02:49:22 INFO: Archiving Costs [Pipeline] sh 02:49:23 + cat /w/workspace/device-mqtt-go/123/archives/cost.csv 02:49:23 + cut -d, -f6 [Pipeline] lock 02:49:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] 02:49:23 Resource [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] did not exist. Created. 02:49:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:24 /w/workspace/device-mqtt-go/123@tmp/durable-82097484/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:49:24 + echo total: 0.10999999940395355 [Pipeline] stash 02:49:24 Warning: overwriting stash ‘stack-cost’ 02:49:24 Stashed 1 file(s) [Pipeline] } 02:49:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:24 $ docker stop --time=1 a54222bb90289a5931b181ba4bd671c8c02b55fd6e7db7ba6286e1f5be11252d 02:49:26 $ docker rm -f --volumes a54222bb90289a5931b181ba4bd671c8c02b55fd6e7db7ba6286e1f5be11252d [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 02:49:26 provisioning config files... 02:49:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10682162782837364372tmp [Pipeline] { [Pipeline] sh 02:49:27 + set +x 02:49:27 + curl -s https://codecov.io/bash 02:49:27 + bash -s -- 02:49:27 02:49:27 _____ _ 02:49:27 / ____| | | 02:49:27 | | ___ __| | ___ ___ _____ __ 02:49:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:27 Bash-1.0.6 02:49:27 02:49:27 02:49:27 ==> git version 2.25.1 found 02:49:27 ==> 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 02:49:27 Release-Date: 2020-01-08 02:49:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:49:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:49:27 ==> Jenkins CI detected. 02:49:27 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:49:27 project root: . 02:49:27 --> token set from env 02:49:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:27 ==> Running gcov in . (disable via -X gcov) 02:49:27 ==> Python coveragepy not found 02:49:27 ==> Searching for coverage reports in: 02:49:27 + . 02:49:27 -> Found 1 reports 02:49:27 ==> Detecting git/mercurial file structure 02:49:27 ==> Reading reports 02:49:27 + ./coverage.out bytes=18506 02:49:27 ==> Appending adjustments 02:49:27 https://docs.codecov.io/docs/fixing-reports 02:49:27 + Found adjustments 02:49:27 ==> Gzipping contents 02:49:27 4.0K /tmp/codecov.f9EI1k.gz 02:49:27 ==> Uploading reports 02:49:27 url: https://codecov.io 02:49:27 query: branch=main&commit=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:27 -> Pinging Codecov 02:49:27 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=a90b0bd42307e02d4b95be1bd7356c1c69efe8a2&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:59 -> Uploading to 02:49:59 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/7D719EC7BBE17E464838252E33014C33/a90b0bd42307e02d4b95be1bd7356c1c69efe8a2/33009521-541c-4e04-ab6b-9c4e01081e26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T024954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b5280e771045df538a86be3c0c4c242c20b3d6f4892f6b194ab8325ecc1f46c 02:49:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:59 Dload Upload Total Spent Left Speed 02:49:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 14631 --:--:-- --:--:-- --:--:-- 14631 02:49:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] } 02:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:49:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:49:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:50:00 02:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:50:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:50:00 df9b9388f04a: Pulling fs layer 02:50:00 52dc419b0ee2: Pulling fs layer 02:50:00 25bc292e5bac: Pulling fs layer 02:50:00 114826534d7a: Pulling fs layer 02:50:00 4657fd5d0bcf: Pulling fs layer 02:50:00 6ad1cebc031e: Pulling fs layer 02:50:00 8a3aa393b2d8: Pulling fs layer 02:50:00 114826534d7a: Waiting 02:50:00 6ad1cebc031e: Waiting 02:50:00 8a3aa393b2d8: Waiting 02:50:00 4657fd5d0bcf: Waiting 02:50:00 25bc292e5bac: Verifying Checksum 02:50:00 25bc292e5bac: Download complete 02:50:00 52dc419b0ee2: Download complete 02:50:00 4657fd5d0bcf: Verifying Checksum 02:50:00 4657fd5d0bcf: Download complete 02:50:00 df9b9388f04a: Verifying Checksum 02:50:00 df9b9388f04a: Download complete 02:50:00 6ad1cebc031e: Verifying Checksum 02:50:00 6ad1cebc031e: Download complete 02:50:00 df9b9388f04a: Pull complete 02:50:00 52dc419b0ee2: Pull complete 02:50:00 25bc292e5bac: Pull complete 02:50:01 114826534d7a: Verifying Checksum 02:50:01 114826534d7a: Download complete 02:50:01 8a3aa393b2d8: Verifying Checksum 02:50:01 8a3aa393b2d8: Download complete 02:50:04 114826534d7a: Pull complete 02:50:04 4657fd5d0bcf: Pull complete 02:50:04 6ad1cebc031e: Pull complete 02:50:07 8a3aa393b2d8: Pull complete 02:50:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:50:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:07 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:50:09 $ docker top 8aa2f9b2d4ed29e15837b1c3490abbb13d7789d4f109c0089dc7eadc3f2dbceb -eo pid,comm [Pipeline] { [Pipeline] echo 02:50:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:50:10 + set -o pipefail 02:50:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:50:14 02:50:14 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:50:14 02:50:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/4e383f99-ed82-4024-8fc8-c42b0798f074 02:50:14 02:50:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:50:14 02:50:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:50:14 02:50:14 02:50:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:50:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:50:14 More details here: https://snyk.co/ue1NS [Pipeline] } 02:50:14 $ docker stop --time=1 8aa2f9b2d4ed29e15837b1c3490abbb13d7789d4f109c0089dc7eadc3f2dbceb 02:50:17 $ docker rm -f --volumes 8aa2f9b2d4ed29e15837b1c3490abbb13d7789d4f109c0089dc7eadc3f2dbceb [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 02:50:17 + git log --format=format:%s -1 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 [Pipeline] sh 02:50:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:18 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:18 $ docker top 02fb5a52b20475b743edf6bed1c5cb0e6b68270fe960bdc7d1ee86a4466e1740 -eo pid,comm 02:50:18 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). 02:50:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:18 [ssh-agent] Looking for ssh-agent implementation... 02:50:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:19 $ docker exec 02fb5a52b20475b743edf6bed1c5cb0e6b68270fe960bdc7d1ee86a4466e1740 ssh-agent 02:50:19 SSH_AUTH_SOCK=/tmp/ssh-63YXnFc6Scw9/agent.32 02:50:19 SSH_AGENT_PID=38 02:50:19 Running ssh-add (command line suppressed) 02:50:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15404906244938432446.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15404906244938432446.key) 02:50:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:19 + git semver tag 02:50:19 2023-05-23 02:50:19,785 [run_tag] DEBUG tag force:False 02:50:19 2023-05-23 02:50:19,786 [check_head_tag] DEBUG check head tag 02:50:19 2023-05-23 02:50:19,787 [execute] INFO git cat-file --batch-check 02:50:19 2023-05-23 02:50:19,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:50:19 2023-05-23 02:50:19,791 [execute] INFO git cat-file --batch 02:50:19 2023-05-23 02:50:19,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:50:19 2023-05-23 02:50:19,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:19 2023-05-23 02:50:19,817 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 02:50:19 2023-05-23 02:50:19,817 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:50:19 2023-05-23 02:50:19,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:19 3.0.0-dev.39 [Pipeline] } 02:50:19 $ docker exec --env ******** --env ******** 02fb5a52b20475b743edf6bed1c5cb0e6b68270fe960bdc7d1ee86a4466e1740 ssh-agent -k 02:50:19 unset SSH_AUTH_SOCK; 02:50:19 unset SSH_AGENT_PID; 02:50:19 echo Agent pid 38 killed; 02:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:20 + git semver [Pipeline] } 02:50:20 $ docker stop --time=1 02fb5a52b20475b743edf6bed1c5cb0e6b68270fe960bdc7d1ee86a4466e1740 02:50:21 $ docker rm -f --volumes 02fb5a52b20475b743edf6bed1c5cb0e6b68270fe960bdc7d1ee86a4466e1740 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:22 02:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:22 0.23.1-centos7: Pulling from edgex-lftools 02:50:22 ab5ef0e58194: Pulling fs layer 02:50:22 9712f1f96733: Pulling fs layer 02:50:22 63f879dbbcfc: Pulling fs layer 02:50:22 0d9ebad4ef96: Pulling fs layer 02:50:22 e9a5061849ea: Pulling fs layer 02:50:22 d747dcd14b5f: Pulling fs layer 02:50:22 2de7ff778b66: Pulling fs layer 02:50:22 e9a5061849ea: Waiting 02:50:22 2de7ff778b66: Waiting 02:50:22 9712f1f96733: Download complete 02:50:22 63f879dbbcfc: Verifying Checksum 02:50:22 63f879dbbcfc: Download complete 02:50:23 e9a5061849ea: Verifying Checksum 02:50:23 e9a5061849ea: Download complete 02:50:23 d747dcd14b5f: Download complete 02:50:23 ab5ef0e58194: Verifying Checksum 02:50:23 ab5ef0e58194: Download complete 02:50:23 0d9ebad4ef96: Verifying Checksum 02:50:23 0d9ebad4ef96: Download complete 02:50:23 2de7ff778b66: Verifying Checksum 02:50:23 2de7ff778b66: Download complete 02:50:25 ab5ef0e58194: Pull complete 02:50:25 9712f1f96733: Pull complete 02:50:26 63f879dbbcfc: Pull complete 02:50:30 0d9ebad4ef96: Pull complete 02:50:30 e9a5061849ea: Pull complete 02:50:30 d747dcd14b5f: Pull complete 02:50:31 2de7ff778b66: Pull complete 02:50:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:31 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:50:34 $ docker top 692af7b1a480543a42551990b6e8a3033e4635e1acfe54182605048330a79d2e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:50:34 provisioning config files... 02:50:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1574856721006132783tmp 02:50:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15607011265245972336tmp 02:50:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10854712588351725656tmp [Pipeline] { [Pipeline] echo 02:50:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> sigul-configuration.sh 02:50:34 gpg: directory `/root/.gnupg' created 02:50:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:50:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:50:34 gpg: keyring `/root/.gnupg/secring.gpg' created 02:50:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:50:34 gpg: CAST5 encrypted data 02:50:34 gpg: encrypted with 1 passphrase 02:50:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:50:34 + mkdir /home/jenkins 02:50:34 + mkdir /home/jenkins/sigul [Pipeline] sh 02:50: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 02:50:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:35 ---> sigul-install.sh 02:50:35 Sigul already installed; skipping installation. [Pipeline] sh 02:50:35 + git tag --list 02:50:35 0.7.1 02:50:35 v1.0.0 02:50:35 v1.1.0 02:50:35 v1.1.1 02:50:35 v1.2.2 02:50:35 v1.3.0 02:50:35 v1.3.1 02:50:35 v2.0.0 02:50:35 v2.1.0 02:50:35 v2.1.1 02:50:35 v2.1.1-dev.1 02:50:35 v2.1.1-dev.2 02:50:35 v2.2.0 02:50:35 v2.2.1-dev.1 02:50:35 v2.2.1-dev.10 02:50:35 v2.2.1-dev.2 02:50:35 v2.2.1-dev.3 02:50:35 v2.2.1-dev.4 02:50:35 v2.2.1-dev.5 02:50:35 v2.2.1-dev.6 02:50:35 v2.2.1-dev.7 02:50:35 v2.2.1-dev.8 02:50:35 v2.2.1-dev.9 02:50:35 v2.3.0 02:50:35 v2.3.0-dev.10 02:50:35 v2.3.0-dev.11 02:50:35 v2.3.0-dev.12 02:50:35 v2.3.0-dev.13 02:50:35 v2.3.0-dev.14 02:50:35 v2.3.0-dev.15 02:50:35 v2.3.0-dev.16 02:50:35 v2.3.0-dev.17 02:50:35 v2.3.0-dev.18 02:50:35 v2.3.0-dev.19 02:50:35 v2.3.0-dev.20 02:50:35 v2.3.0-dev.21 02:50:35 v2.3.0-dev.22 02:50:35 v2.3.0-dev.23 02:50:35 v2.3.0-dev.24 02:50:35 v2.3.0-dev.25 02:50:35 v2.3.0-dev.26 02:50:35 v2.3.0-dev.27 02:50:35 v2.3.0-dev.28 02:50:35 v2.3.0-dev.29 02:50:35 v2.3.0-dev.30 02:50:35 v2.3.0-dev.31 02:50:35 v2.3.0-dev.32 02:50:35 v2.3.0-dev.33 02:50:35 v2.3.0-dev.34 02:50:35 v3.0.0-dev.1 02:50:35 v3.0.0-dev.10 02:50:35 v3.0.0-dev.11 02:50:35 v3.0.0-dev.12 02:50:35 v3.0.0-dev.13 02:50:35 v3.0.0-dev.14 02:50:35 v3.0.0-dev.15 02:50:35 v3.0.0-dev.16 02:50:35 v3.0.0-dev.17 02:50:35 v3.0.0-dev.18 02:50:35 v3.0.0-dev.19 02:50:35 v3.0.0-dev.2 02:50:35 v3.0.0-dev.20 02:50:35 v3.0.0-dev.21 02:50:35 v3.0.0-dev.22 02:50:35 v3.0.0-dev.23 02:50:35 v3.0.0-dev.24 02:50:35 v3.0.0-dev.25 02:50:35 v3.0.0-dev.26 02:50:35 v3.0.0-dev.27 02:50:35 v3.0.0-dev.28 02:50:35 v3.0.0-dev.29 02:50:35 v3.0.0-dev.3 02:50:35 v3.0.0-dev.30 02:50:35 v3.0.0-dev.31 02:50:35 v3.0.0-dev.32 02:50:35 v3.0.0-dev.33 02:50:35 v3.0.0-dev.34 02:50:35 v3.0.0-dev.35 02:50:35 v3.0.0-dev.36 02:50:35 v3.0.0-dev.37 02:50:35 v3.0.0-dev.38 02:50:35 v3.0.0-dev.39 02:50:35 v3.0.0-dev.4 02:50:35 v3.0.0-dev.5 02:50:35 v3.0.0-dev.6 02:50:35 v3.0.0-dev.7 02:50:35 v3.0.0-dev.8 02:50:35 v3.0.0-dev.9 [Pipeline] sh 02:50:36 + lftools sign git-tag v3.0.0-dev.39 02:50:36 Signing Git tag with Sigul... 02:50:36 Signing v3.0.0-dev.39 [Pipeline] echo 02:50:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:50:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:50:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:50:37 $ docker stop --time=1 692af7b1a480543a42551990b6e8a3033e4635e1acfe54182605048330a79d2e 02:50:38 $ docker rm -f --volumes 692af7b1a480543a42551990b6e8a3033e4635e1acfe54182605048330a79d2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:50:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:39 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:39 $ docker top 9babce6cd87b32e654288afc0474272f9f252794888a3ebb728ee6b6422a73d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:39 [ssh-agent] Looking for ssh-agent implementation... 02:50:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:39 $ docker exec 9babce6cd87b32e654288afc0474272f9f252794888a3ebb728ee6b6422a73d0 ssh-agent 02:50:40 SSH_AUTH_SOCK=/tmp/ssh-Ik4ObIWS6gFk/agent.31 02:50:40 SSH_AGENT_PID=37 02:50:40 Running ssh-add (command line suppressed) 02:50:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12995384996342243987.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12995384996342243987.key) 02:50:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:40 + git semver bump pre 02:50:40 2023-05-23 02:50:40,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:40 2023-05-23 02:50:40,655 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev 02:50:40 2023-05-23 02:50:40,655 [bump_version] DEBUG bumped version:3.0.0-dev.40 02:50:40 2023-05-23 02:50:40,655 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:50:40 2023-05-23 02:50:40,655 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:40 2023-05-23 02:50:40,655 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:40 2023-05-23 02:50:40,657 [execute] INFO git cat-file --batch-check 02:50:40 2023-05-23 02:50:40,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:40 2023-05-23 02:50:40,662 [execute] INFO git cat-file --batch 02:50:40 2023-05-23 02:50:40,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:40 2023-05-23 02:50:40,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:40 3.0.0-dev.40 [Pipeline] } 02:50:40 $ docker exec --env ******** --env ******** 9babce6cd87b32e654288afc0474272f9f252794888a3ebb728ee6b6422a73d0 ssh-agent -k 02:50:40 unset SSH_AUTH_SOCK; 02:50:40 unset SSH_AGENT_PID; 02:50:40 echo Agent pid 37 killed; 02:50:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:41 + git semver [Pipeline] } 02:50:41 $ docker stop --time=1 9babce6cd87b32e654288afc0474272f9f252794888a3ebb728ee6b6422a73d0 02:50:42 $ docker rm -f --volumes 9babce6cd87b32e654288afc0474272f9f252794888a3ebb728ee6b6422a73d0 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:43 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:43 $ docker top 3c4dcd8f2936cdce1d35be914a5fd8f2abf8209b092bf0e01335f9965000abb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:43 [ssh-agent] Looking for ssh-agent implementation... 02:50:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:43 $ docker exec 3c4dcd8f2936cdce1d35be914a5fd8f2abf8209b092bf0e01335f9965000abb2 ssh-agent 02:50:44 SSH_AUTH_SOCK=/tmp/ssh-zgXoHOeUbWQk/agent.32 02:50:44 SSH_AGENT_PID=38 02:50:44 Running ssh-add (command line suppressed) 02:50:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2694726924214889680.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2694726924214889680.key) 02:50:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:44 + git semver push 02:50:44 2023-05-23 02:50:44,646 [run_push] DEBUG push 02:50:44 2023-05-23 02:50:44,647 [execute] INFO git cat-file --batch-check 02:50:44 2023-05-23 02:50:44,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:44 2023-05-23 02:50:44,651 [execute] INFO git rev-list 9e79229ac85b9dbdcdf2fd777cdef2f9b3b11695 -- 02:50:44 2023-05-23 02:50:44,651 [execute] DEBUG Popen(['git', 'rev-list', '9e79229ac85b9dbdcdf2fd777cdef2f9b3b11695', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:44 2023-05-23 02:50:44,661 [execute] INFO git fetch -v origin 02:50:44 2023-05-23 02:50:44,661 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:50:45 2023-05-23 02:50:45,216 [run_push] DEBUG no remote changes detected 02:50:45 2023-05-23 02:50:45,217 [execute] INFO git push origin semver 02:50:45 2023-05-23 02:50:45,217 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:46 2023-05-23 02:50:45,982 [run_push] DEBUG push all version tags 02:50:46 2023-05-23 02:50:45,983 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:50:46 2023-05-23 02:50:45,983 [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) 02:50:46 2023-05-23 02:50:46,693 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:46 3.0.0-dev.40 [Pipeline] } 02:50:47 $ docker exec --env ******** --env ******** 3c4dcd8f2936cdce1d35be914a5fd8f2abf8209b092bf0e01335f9965000abb2 ssh-agent -k 02:50:47 unset SSH_AUTH_SOCK; 02:50:47 unset SSH_AGENT_PID; 02:50:47 echo Agent pid 38 killed; 02:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:47 + git semver [Pipeline] } 02:50:47 $ docker stop --time=1 3c4dcd8f2936cdce1d35be914a5fd8f2abf8209b092bf0e01335f9965000abb2 02:50:48 $ docker rm -f --volumes 3c4dcd8f2936cdce1d35be914a5fd8f2abf8209b092bf0e01335f9965000abb2 [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 02:50:49 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:50:49 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:49 total 16 02:50:49 drwxr-xr-x 3 root root 4096 May 23 02:39 . 02:50:49 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:50 .. 02:50:49 drwxr-xr-x 2 root root 4096 May 23 02:39 cost 02:50:49 -rw-r--r-- 1 root root 86 May 23 02:39 cost.csv 02:50:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:49 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:49 total 16 02:50:49 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:39 . 02:50:49 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:50 .. 02:50:49 drwxr-xr-x 2 jenkins jenkins 4096 May 23 02:39 cost 02:50:49 -rw-r--r-- 1 jenkins jenkins 86 May 23 02:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:50 ---> package-listing.sh 02:50:50 ++ facter osfamily 02:50:50 ++ tr '[:upper:]' '[:lower:]' 02:50:50 + OS_FAMILY=debian 02:50:50 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:50:50 + START_PACKAGES=/tmp/packages_start.txt 02:50:50 + END_PACKAGES=/tmp/packages_end.txt 02:50:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:50 + PACKAGES=/tmp/packages_start.txt 02:50:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:50:50 + PACKAGES=/tmp/packages_end.txt 02:50:50 + case "${OS_FAMILY}" in 02:50:50 + dpkg -l 02:50:50 + grep '^ii' 02:50:50 + '[' -f /tmp/packages_start.txt ']' 02:50:50 + '[' -f /tmp/packages_end.txt ']' 02:50:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:50:50 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:50: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 02:50: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 02:50:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:51 prd-ubuntu20.04-docker-8c-8g-16445 does not seem to be running inside a container 02:50: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:52 $ docker top 8a84f5c5fe30c79bdbb6b21b51c85278fcb9e9a8ab49ab537debfd000a9a0180 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:52 + mkdir -p /var/log/sysstat [Pipeline] sh 02:50:53 + ls /var/log/sa-host 02:50:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:53 provisioning config files... 02:50:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13826349510909783719tmp [Pipeline] { [Pipeline] echo 02:50:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:53 ---> create-netrc.sh [Pipeline] } 02:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:50:53 ---> python-tools-install.sh [Pipeline] echo 02:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:54 ---> sudo-logs.sh 02:50:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:50:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:54 ---> job-cost.sh 02:50:54 lf-activate-venv: SKIPPING 02:50:54 DEBUG: total: 0.2199999988079071 02:50:54 INFO: Retrieving Stack Cost... 02:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:55 INFO: Archiving Costs [Pipeline] echo 02:50:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:55 ---> logs-deploy.sh 02:50:55 lf-activate-venv: SKIPPING 02:50:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/123 02:50:55 INFO: archiving workspace using pattern(s): 02:50:56 Archives upload complete. 02:50:56 INFO: archiving logs to Nexus