Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 076aceae7774eed065da4ce17ac21a3c9dad675d 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-ssh16852812574472165033.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-ssh8498543165540867091.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-ssh7315423593146572241.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-ssh1432565976705754822.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-ssh10774701462238385593.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 ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17407’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17410 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 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 076aceae7774eed065da4ce17ac21a3c9dad675d (main) Commit message: "docs: Add main branch warning (#612)" > git config core.sparsecheckout # timeout=10 > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 > git rev-list --no-walk 33b0dc6b274c5eb124b636b2b410181079e3ed13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:23:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:23:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:23:36 ========================================================= 00:23:36 EdgeX Global Pipelines Version Info 00:23:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:23:36 ------------------- 00:23:36 stable info: 00:23:36 ------------------- 00:23:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:23:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:23:36 Message: update stable to v1.0.249 00:23:37 ------------------- 00:23:37 experimental info: 00:23:37 ------------------- 00:23:37 Commited By: **** collab-it+edgex@linuxfoundation.org 00:23:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:23:37 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:23:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 076acea [Pipeline] echo 00:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:38 provisioning config files... 00:23:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18285977618554089825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:38 ---> docker-login.sh 00:23:38 nexus3.edgexfoundry.org:10001 00:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:38 Configure a credential helper to remove this warning. See 00:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:38 00:23:38 Login Succeeded 00:23:38 nexus3.edgexfoundry.org:10002 00:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:38 Configure a credential helper to remove this warning. See 00:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:38 00:23:38 Login Succeeded 00:23:38 nexus3.edgexfoundry.org:10003 00:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:39 Configure a credential helper to remove this warning. See 00:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:39 00:23:39 Login Succeeded 00:23:39 nexus3.edgexfoundry.org:10004 00:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:39 Configure a credential helper to remove this warning. See 00:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:39 00:23:39 Login Succeeded 00:23:39 docker.io 00:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:44 Configure a credential helper to remove this warning. See 00:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:44 00:23:44 Login Succeeded 00:23:44 ---> docker-login.sh ends [Pipeline] } 00:23:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:23:44 + git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 00:23:44 -----------> git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d 076aceae7774eed065da4ce17ac21a3c9dad675d [false] [Pipeline] sh 00:23:45 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 00:23:45 ========================================================= 00:23:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:23:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:23:45 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 00:23:45 [semverPrep] GIT_COMMIT: 076aceae7774eed065da4ce17ac21a3c9dad675d, Commit Message: docs: Add main branch warning (#612) [Pipeline] echo 00:23:45 [semverPrep] This is not a build commit. [Pipeline] sh 00:23:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:23:45 + grep -v github /etc/ssh/ssh_known_hosts 00:23:45 + [ -e /tmp/ssh_known_hosts ] 00:23:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:23:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:23:45 + sudo tee -a /etc/ssh/ssh_known_hosts 00:23:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:23:46 00:23:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:23:46 0.1.4: Pulling from edgex-devops/py-git-semver 00:23:46 b85a868b505f: Pulling fs layer 00:23:46 e2be974225ed: Pulling fs layer 00:23:46 339a4e72a1f5: Pulling fs layer 00:23:46 988bab9f4d93: Pulling fs layer 00:23:46 1469e6f7b9e6: Pulling fs layer 00:23:46 eaf3925da568: Pulling fs layer 00:23:46 bab4dde63d76: Pulling fs layer 00:23:46 bde34c3a00c8: Pulling fs layer 00:23:46 b352a97aabf1: Pulling fs layer 00:23:46 4872d77fe225: Pulling fs layer 00:23:46 5851b861e8e6: Pulling fs layer 00:23:46 eaf3925da568: Waiting 00:23:46 988bab9f4d93: Waiting 00:23:46 1469e6f7b9e6: Waiting 00:23:46 bab4dde63d76: Waiting 00:23:46 bde34c3a00c8: Waiting 00:23:46 b352a97aabf1: Waiting 00:23:46 4872d77fe225: Waiting 00:23:46 5851b861e8e6: Waiting 00:23:46 e2be974225ed: Download complete 00:23:46 988bab9f4d93: Verifying Checksum 00:23:46 988bab9f4d93: Download complete 00:23:46 1469e6f7b9e6: Verifying Checksum 00:23:46 1469e6f7b9e6: Download complete 00:23:46 eaf3925da568: Verifying Checksum 00:23:46 eaf3925da568: Download complete 00:23:46 339a4e72a1f5: Verifying Checksum 00:23:46 339a4e72a1f5: Download complete 00:23:46 b85a868b505f: Verifying Checksum 00:23:46 b85a868b505f: Download complete 00:23:46 b352a97aabf1: Verifying Checksum 00:23:46 b352a97aabf1: Download complete 00:23:46 4872d77fe225: Download complete 00:23:46 5851b861e8e6: Download complete 00:23:46 bab4dde63d76: Verifying Checksum 00:23:46 bab4dde63d76: Download complete 00:23:48 bde34c3a00c8: Download complete 00:23:48 b85a868b505f: Pull complete 00:23:48 e2be974225ed: Pull complete 00:23:49 339a4e72a1f5: Pull complete 00:23:49 988bab9f4d93: Pull complete 00:23:49 1469e6f7b9e6: Pull complete 00:23:50 eaf3925da568: Pull complete 00:23:51 bab4dde63d76: Pull complete 00:23:51 bde34c3a00c8: Pull complete 00:23:51 b352a97aabf1: Pull complete 00:23:52 4872d77fe225: Pull complete 00:23:52 5851b861e8e6: Pull complete 00:23:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:23:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:52 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:23:52 $ 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 00:23:55 $ docker top 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb -eo pid,comm 00:23:55 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). 00:23:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:23:55 [ssh-agent] Looking for ssh-agent implementation... 00:23:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:23:56 $ docker exec 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb ssh-agent 00:23:56 SSH_AUTH_SOCK=/tmp/ssh-HWP5VlUvu7VC/agent.32 00:23:56 SSH_AGENT_PID=38 00:23:56 Running ssh-add (command line suppressed) 00:23:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9254862932202935375.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9254862932202935375.key) 00:23:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:23:56 + git tag --points-at HEAD [Pipeline] } 00:23:56 $ docker exec --env ******** --env ******** 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb ssh-agent -k 00:23:56 unset SSH_AUTH_SOCK; 00:23:56 unset SSH_AGENT_PID; 00:23:56 echo Agent pid 38 killed; 00:23:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:23:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:23:56 [ssh-agent] Looking for ssh-agent implementation... 00:23:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:23:56 $ docker exec 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb ssh-agent 00:23:57 SSH_AUTH_SOCK=/tmp/ssh-yTOiumxNRnrv/agent.70 00:23:57 SSH_AGENT_PID=76 00:23:57 Running ssh-add (command line suppressed) 00:23:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4398612603721235957.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4398612603721235957.key) 00:23:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:23:57 + git semver init 00:23:57 2023-05-31 00:23:57,615 [run_init] DEBUG init version:0.0.0 force:False 00:23:57 2023-05-31 00:23:57,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:23:57 2023-05-31 00:23:57,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:23:57 2023-05-31 00:23:57,618 [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) 00:23:58 2023-05-31 00:23:58,397 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 00:23:58 2023-05-31 00:23:58,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 00:23:58 2023-05-31 00:23:58,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:23:58 2023-05-31 00:23:58,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:23:58 3.0.0-dev.43 [Pipeline] } 00:23:58 $ docker exec --env ******** --env ******** 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb ssh-agent -k 00:23:58 unset SSH_AUTH_SOCK; 00:23:58 unset SSH_AGENT_PID; 00:23:58 echo Agent pid 76 killed; 00:23:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:23:59 + git semver [Pipeline] } 00:23:59 $ docker stop --time=1 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb 00:24:00 $ docker rm -f --volumes 0338c9bd0328d1bfee2f1ad1d3e6057a969ec0566cd62a5900c890a56683c0eb [Pipeline] // withDockerContainer [Pipeline] sh 00:24:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:24:01 Stashed 1 file(s) [Pipeline] echo 00:24:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.43 [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 00:24:01 provisioning config files... 00:24:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9237834007957613940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:01 ---> docker-login.sh 00:24:01 nexus3.edgexfoundry.org:10001 00:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:01 Configure a credential helper to remove this warning. See 00:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:01 00:24:01 Login Succeeded 00:24:01 nexus3.edgexfoundry.org:10002 00:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:01 Configure a credential helper to remove this warning. See 00:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:01 00:24:01 Login Succeeded 00:24:01 nexus3.edgexfoundry.org:10003 00:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:01 Configure a credential helper to remove this warning. See 00:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:01 00:24:01 Login Succeeded 00:24:01 nexus3.edgexfoundry.org:10004 00:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:01 Configure a credential helper to remove this warning. See 00:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:01 00:24:01 Login Succeeded 00:24:01 docker.io 00:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:02 Configure a credential helper to remove this warning. See 00:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:02 00:24:02 Login Succeeded 00:24:02 ---> docker-login.sh ends [Pipeline] } 00:24:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:24:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:02 ========================================================= 00:24:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:24:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:02 + 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 . 00:24:02 Sending build context to Docker daemon 6.615MB 00:24:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:24:02 Step 2/12 : FROM ${BASE} AS builder 00:24:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:24:02 f56be85fc22e: Pulling fs layer 00:24:02 85791d961cd3: Pulling fs layer 00:24:02 d694b5ae8c79: Pulling fs layer 00:24:02 9f32a84ed3da: Pulling fs layer 00:24:02 4d19c01a9841: Pulling fs layer 00:24:02 9325e15d5711: Pulling fs layer 00:24:02 556b6ee489ea: Pulling fs layer 00:24:02 c5a4b2cf53e6: Pulling fs layer 00:24:02 9f32a84ed3da: Waiting 00:24:02 9325e15d5711: Waiting 00:24:02 4d19c01a9841: Waiting 00:24:02 c5a4b2cf53e6: Waiting 00:24:02 85791d961cd3: Verifying Checksum 00:24:02 85791d961cd3: Download complete 00:24:02 9f32a84ed3da: Verifying Checksum 00:24:02 9f32a84ed3da: Download complete 00:24:03 4d19c01a9841: Verifying Checksum 00:24:03 4d19c01a9841: Download complete 00:24:03 f56be85fc22e: Verifying Checksum 00:24:03 f56be85fc22e: Download complete 00:24:03 9325e15d5711: Verifying Checksum 00:24:03 9325e15d5711: Download complete 00:24:03 f56be85fc22e: Pull complete 00:24:03 85791d961cd3: Pull complete 00:24:03 c5a4b2cf53e6: Verifying Checksum 00:24:03 c5a4b2cf53e6: Download complete 00:24:03 d694b5ae8c79: Verifying Checksum 00:24:03 556b6ee489ea: Verifying Checksum 00:24:03 556b6ee489ea: Download complete 00:24:07 d694b5ae8c79: Pull complete 00:24:07 9f32a84ed3da: Pull complete 00:24:07 4d19c01a9841: Pull complete 00:24:07 9325e15d5711: Pull complete 00:24:09 556b6ee489ea: Pull complete 00:24:09 c5a4b2cf53e6: Pull complete 00:24:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:24:10 ---> c4be618373d6 00:24:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:24:13 ---> Running in 5d37e2c61b9d 00:24:13 Removing intermediate container 5d37e2c61b9d 00:24:13 ---> 0fab8aadd156 00:24:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:13 ---> Running in 1db464014442 00:24:13 Removing intermediate container 1db464014442 00:24:13 ---> 1cce3aaa326d 00:24:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:24:13 ---> Running in 86d2d3c2256e 00:24:13 Removing intermediate container 86d2d3c2256e 00:24:13 ---> 05dfaba287e4 00:24:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:24:13 ---> Running in b48a82b43ed9 00:24:13 Removing intermediate container b48a82b43ed9 00:24:13 ---> a86ca8b01fce 00:24:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:24:13 ---> Running in 4c0ead4817ac 00:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:24:14 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:24:14 (2/4) Installing libedit (20221030.3.1-r0) 00:24:14 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:24:14 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:24:14 Executing busybox-1.35.0-r29.trigger 00:24:14 OK: 269 MiB in 57 packages 00:24:14 Removing intermediate container 4c0ead4817ac 00:24:14 ---> 2add81a99e3b 00:24:14 Step 8/12 : WORKDIR /device-mqtt-go 00:24:14 ---> Running in f96fe54d69f7 00:24:14 Removing intermediate container f96fe54d69f7 00:24:14 ---> bd75790697ea 00:24:14 Step 9/12 : COPY go.mod vendor* ./ 00:24:14 ---> c47920ac61f8 00:24:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:14 ---> Running in 23a5519bdbca 00:24:16 Still waiting to schedule task 00:24:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:24:41 Removing intermediate container 23a5519bdbca 00:24:41 ---> 0a31dda975b8 00:24:41 Step 11/12 : COPY . . 00:24:41 ---> 5a0b6e51052b 00:24:41 Step 12/12 : RUN $MAKE 00:24:41 ---> Running in b7908d1ab27d 00:24:41 noop 00:24:41 Removing intermediate container b7908d1ab27d 00:24:41 ---> 19593c25dc38 00:24:41 Successfully built 19593c25dc38 00:24:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:41 + docker inspect -f . ci-base-image-x86_64 00:24:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:41 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:24:41 $ 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 00:24:42 $ docker top 4334c4d7884c6efae634ade435cb2c10191f026ad7aa08bf9accbf4fe3df4f66 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:42 + go version 00:24:42 go version go1.20.2 linux/amd64 [Pipeline] } 00:24:42 $ docker stop --time=1 4334c4d7884c6efae634ade435cb2c10191f026ad7aa08bf9accbf4fe3df4f66 00:24:43 $ docker rm -f --volumes 4334c4d7884c6efae634ade435cb2c10191f026ad7aa08bf9accbf4fe3df4f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:44 + docker inspect -f . ci-base-image-x86_64 00:24:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:44 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:24:44 $ 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 00:24:44 $ docker top dc3ef3fda032aa416eb441aa43b3216fb55b22892bb576f5adf84d88eca82c9f -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 00:24:45 + make test 00:24:45 go test ./... -coverprofile=coverage.out ./... 00:24:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:24:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:24:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:24:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 00:25:04 go vet ./... 00:25:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:25:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:25:08 ./bin/test-attribution-txt.sh [Pipeline] echo 00:25:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:25:08 $ docker stop --time=1 dc3ef3fda032aa416eb441aa43b3216fb55b22892bb576f5adf84d88eca82c9f 00:25:12 $ docker rm -f --volumes dc3ef3fda032aa416eb441aa43b3216fb55b22892bb576f5adf84d88eca82c9f [Pipeline] // withDockerContainer [Pipeline] sh 00:25:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:25:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:25:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:25:13 + ls -al . 00:25:13 total 184 00:25:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:24 . 00:25:13 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:23 .. 00:25:13 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:23 .dockerignore 00:25:13 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:23 .git 00:25:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 .github 00:25:13 -rw-rw-r-- 1 jenkins jenkins 329 May 31 00:23 .gitignore 00:25:13 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:23 .golangci.yml 00:25:13 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:23 .semver 00:25:13 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 00:23 Attribution.txt 00:25:13 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 00:23 CHANGELOG.md 00:25:13 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 00:23 Dockerfile 00:25:13 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:23 GOVERNANCE.md 00:25:13 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:23 Jenkinsfile 00:25:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:23 LICENSE 00:25:13 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 00:23 Makefile 00:25:13 -rw-rw-r-- 1 jenkins jenkins 620 May 31 00:23 OWNERS.md 00:25:13 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 00:23 README.md 00:25:13 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:24 VERSION 00:25:13 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:23 bin 00:25:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 cmd 00:25:13 -rw-r--r-- 1 jenkins jenkins 18506 May 31 00:24 coverage.out 00:25:13 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 00:23 go.mod 00:25:13 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 00:23 go.sum 00:25:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 internal 00:25:13 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:23 mock 00:25:13 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:23 snap 00:25:13 -rw-rw-r-- 1 jenkins jenkins 227 May 31 00:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:13 + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=amd64 --label version=3.0.0-dev.43 . 00:25:13 Sending build context to Docker daemon 6.634MB 00:25:13 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:25:13 Step 2/24 : FROM ${BASE} AS builder 00:25:13 ---> 19593c25dc38 00:25:13 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:25:14 ---> Running in ec63ab519c12 00:25:14 Removing intermediate container ec63ab519c12 00:25:14 ---> 1abed6fa2a79 00:25:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:25:14 ---> Running in 87a1aaa669c5 00:25:14 Removing intermediate container 87a1aaa669c5 00:25:14 ---> 450d82977fa8 00:25:14 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:25:14 ---> Running in 58e7e1d7a7ff 00:25:14 Removing intermediate container 58e7e1d7a7ff 00:25:14 ---> 2f4797d6a30d 00:25:14 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:25:14 ---> Running in 1d594692f2c9 00:25:14 Removing intermediate container 1d594692f2c9 00:25:14 ---> 933b9037645c 00:25:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:25:14 ---> Running in b3e5b2b746dc 00:25:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:25:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:25:17 OK: 269 MiB in 57 packages 00:25:17 Removing intermediate container b3e5b2b746dc 00:25:17 ---> 0746dff179cb 00:25:17 Step 8/24 : WORKDIR /device-mqtt-go 00:25:17 ---> Running in 7b0935f53fd1 00:25:17 Removing intermediate container 7b0935f53fd1 00:25:17 ---> c530dcf3074c 00:25:17 Step 9/24 : COPY go.mod vendor* ./ 00:25:17 ---> 585b94d90701 00:25:17 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:25:17 ---> Running in 79934c864d1c 00:25:18 Removing intermediate container 79934c864d1c 00:25:18 ---> 3dc96031df8f 00:25:18 Step 11/24 : COPY . . 00:25:19 ---> b4ffb7088e9e 00:25:19 Step 12/24 : RUN $MAKE 00:25:19 ---> Running in cb86bdf96f8b 00:25:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:25:37 Removing intermediate container cb86bdf96f8b 00:25:37 ---> 566d8e41852c 00:25:37 Step 13/24 : FROM alpine:3.17 00:25:37 3.17: Pulling from library/alpine 00:25:37 f56be85fc22e: Already exists 00:25:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:25:37 Status: Downloaded newer image for alpine:3.17 00:25:37 ---> 9ed4aefc74f6 00:25:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:25:37 ---> Running in f3c9ae3f3123 00:25:37 Removing intermediate container f3c9ae3f3123 00:25:37 ---> 37ce7e4d90bc 00:25:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:25:37 ---> Running in e180ee9631f6 00:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:25:38 (1/1) Installing dumb-init (1.2.5-r2) 00:25:38 Executing busybox-1.35.0-r29.trigger 00:25:38 OK: 7 MiB in 16 packages 00:25:38 Removing intermediate container e180ee9631f6 00:25:38 ---> 42aadb1526fb 00:25:38 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:25:39 ---> 74edb62f1bad 00:25:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:25:39 ---> 5b9e963454fb 00:25:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:25:39 ---> f7dff22626b1 00:25:39 Step 19/24 : EXPOSE 59982 00:25:39 ---> Running in c28f18e4c173 00:25:39 Removing intermediate container c28f18e4c173 00:25:39 ---> 616f079be9c6 00:25:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:25:39 ---> Running in 2bff0353c391 00:25:39 Removing intermediate container 2bff0353c391 00:25:39 ---> cde7ee78b952 00:25:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:25:39 ---> Running in b9e5afcb734e 00:25:39 Removing intermediate container b9e5afcb734e 00:25:39 ---> ec185d71f3eb 00:25:39 Step 22/24 : LABEL arch=amd64 00:25:39 ---> Running in 98ac87840132 00:25:40 Removing intermediate container 98ac87840132 00:25:40 ---> f853c1f1734a 00:25:40 Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d 00:25:40 ---> Running in fc2c16ddbc0a 00:25:40 Removing intermediate container fc2c16ddbc0a 00:25:40 ---> c1541e308398 00:25:40 Step 24/24 : LABEL version=3.0.0-dev.43 00:25:40 ---> Running in ad1bf7fc6d58 00:25:40 Removing intermediate container ad1bf7fc6d58 00:25:40 ---> 92374977bd18 00:25:40 [Warning] One or more build-args [ARCH] were not consumed 00:25:40 Successfully built 92374977bd18 00:25:40 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:40 provisioning config files... 00:25:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4400003649732164580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:40 ---> docker-login.sh 00:25:40 nexus3.edgexfoundry.org:10001 00:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:40 Configure a credential helper to remove this warning. See 00:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:40 00:25:40 Login Succeeded 00:25:40 nexus3.edgexfoundry.org:10002 00:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:40 Configure a credential helper to remove this warning. See 00:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:40 00:25:40 Login Succeeded 00:25:40 nexus3.edgexfoundry.org:10003 00:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:40 Configure a credential helper to remove this warning. See 00:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:40 00:25:40 Login Succeeded 00:25:40 nexus3.edgexfoundry.org:10004 00:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:40 Configure a credential helper to remove this warning. See 00:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:40 00:25:40 Login Succeeded 00:25:40 docker.io 00:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:40 Configure a credential helper to remove this warning. See 00:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:40 00:25:40 Login Succeeded 00:25:41 ---> docker-login.sh ends [Pipeline] } 00:25:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:25:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:41 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:25:41 076aceae7774eed065da4ce17ac21a3c9dad675d 00:25:41 latest 00:25:41 3.0.0-dev.43 00:25:41 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:25:41 main 00:25:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d 00:25:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:25:41 ee2417684d1a: Preparing 00:25:41 4e3e87793734: Preparing 00:25:41 35702603b67b: Preparing 00:25:41 f2c2879b99f3: Preparing 00:25:41 f1417ff83b31: Preparing 00:25:41 f1417ff83b31: Layer already exists 00:25:41 f2c2879b99f3: Pushed 00:25:41 4e3e87793734: Pushed 00:25:44 35702603b67b: Pushed 00:25:45 ee2417684d1a: Pushed 00:25:45 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:4e9ebf4cb0391c33f3b0f591b78f8ac006c1eb4b57ce21f0e4d6225317ef2b41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:25:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:25:45 ee2417684d1a: Preparing 00:25:45 4e3e87793734: Preparing 00:25:45 35702603b67b: Preparing 00:25:45 f2c2879b99f3: Preparing 00:25:45 f1417ff83b31: Preparing 00:25:45 f1417ff83b31: Layer already exists 00:25:45 ee2417684d1a: Layer already exists 00:25:45 4e3e87793734: Layer already exists 00:25:45 f2c2879b99f3: Layer already exists 00:25:46 35702603b67b: Layer already exists 00:25:46 latest: digest: sha256:4e9ebf4cb0391c33f3b0f591b78f8ac006c1eb4b57ce21f0e4d6225317ef2b41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.43 00:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:25:47 ee2417684d1a: Preparing 00:25:47 4e3e87793734: Preparing 00:25:47 35702603b67b: Preparing 00:25:47 f2c2879b99f3: Preparing 00:25:47 f1417ff83b31: Preparing 00:25:47 f1417ff83b31: Layer already exists 00:25:47 4e3e87793734: Layer already exists 00:25:47 f2c2879b99f3: Layer already exists 00:25:47 35702603b67b: Layer already exists 00:25:48 ee2417684d1a: Layer already exists 00:25:48 3.0.0-dev.43: digest: sha256:4e9ebf4cb0391c33f3b0f591b78f8ac006c1eb4b57ce21f0e4d6225317ef2b41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:25:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:25:48 ee2417684d1a: Preparing 00:25:48 4e3e87793734: Preparing 00:25:48 35702603b67b: Preparing 00:25:48 f2c2879b99f3: Preparing 00:25:48 f1417ff83b31: Preparing 00:25:48 f1417ff83b31: Layer already exists 00:25:48 ee2417684d1a: Layer already exists 00:25:48 f2c2879b99f3: Layer already exists 00:25:48 35702603b67b: Layer already exists 00:25:48 4e3e87793734: Layer already exists 00:25:48 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43: digest: sha256:4e9ebf4cb0391c33f3b0f591b78f8ac006c1eb4b57ce21f0e4d6225317ef2b41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:25:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:25:49 ee2417684d1a: Preparing 00:25:49 4e3e87793734: Preparing 00:25:49 35702603b67b: Preparing 00:25:49 f2c2879b99f3: Preparing 00:25:49 f1417ff83b31: Preparing 00:25:49 f1417ff83b31: Layer already exists 00:25:49 ee2417684d1a: Layer already exists 00:25:49 f2c2879b99f3: Layer already exists 00:25:49 4e3e87793734: Layer already exists 00:25:49 35702603b67b: Layer already exists 00:25:49 main: digest: sha256:4e9ebf4cb0391c33f3b0f591b78f8ac006c1eb4b57ce21f0e4d6225317ef2b41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:25:49 ===================================================== [Pipeline] echo 00:25:49 taggedImages: 00:25:49 - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d 00:25:49 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:25:49 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.43 00:25:49 - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:25:49 - 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 00:25:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:49 00:25:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:50 latest: Pulling from edgex-lftools-log-publisher 00:25:50 5eb5b503b376: Pulling fs layer 00:25:50 5c69ac0246d0: Pulling fs layer 00:25:50 ec43610c2a17: Pulling fs layer 00:25:50 3a2ae6a8a46f: Pulling fs layer 00:25:50 33b1e0a273af: Pulling fs layer 00:25:50 5d3b04190fa2: Pulling fs layer 00:25:50 2f39f015ded8: Pulling fs layer 00:25:50 3a2ae6a8a46f: Waiting 00:25:50 5c69ac0246d0: Download complete 00:25:50 3a2ae6a8a46f: Verifying Checksum 00:25:50 3a2ae6a8a46f: Download complete 00:25:50 ec43610c2a17: Verifying Checksum 00:25:50 ec43610c2a17: Download complete 00:25:50 5d3b04190fa2: Verifying Checksum 00:25:50 5d3b04190fa2: Download complete 00:25:50 33b1e0a273af: Verifying Checksum 00:25:50 33b1e0a273af: Download complete 00:25:50 5eb5b503b376: Download complete 00:25:50 2f39f015ded8: Download complete 00:25:51 5eb5b503b376: Pull complete 00:25:51 5c69ac0246d0: Pull complete 00:25:52 ec43610c2a17: Pull complete 00:25:52 3a2ae6a8a46f: Pull complete 00:25:52 33b1e0a273af: Pull complete 00:25:52 5d3b04190fa2: Pull complete 00:25:56 2f39f015ded8: Pull complete 00:25:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:56 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:25:56 $ 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 00:25:59 $ docker top 4a82ba0f5a9b6ed2051ae69d18ba65ef0f5d758aa00374b7aabe9a779d1d0938 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:26:00 ---> job-cost.sh 00:26:00 lf-activate-venv: SKIPPING 00:26:00 INFO: No Stack... 00:26:00 INFO: Retrieving Pricing Info for: v3-standard-8 00:26:05 INFO: Archiving Costs [Pipeline] sh 00:26:06 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 00:26:06 + cut -d, -f6 [Pipeline] lock 00:26:06 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] 00:26:06 Resource [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] did not exist. Created. 00:26:06 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:26:06 + echo total: 0.2199999988079071 [Pipeline] stash 00:26:06 Stashed 1 file(s) [Pipeline] } 00:26:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 00:26:06 $ docker stop --time=1 4a82ba0f5a9b6ed2051ae69d18ba65ef0f5d758aa00374b7aabe9a779d1d0938 00:26:07 $ docker rm -f --volumes 4a82ba0f5a9b6ed2051ae69d18ba65ef0f5d758aa00374b7aabe9a779d1d0938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:26:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17415 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:26:55 Running in /w/workspace/device-mqtt-go/127 [Pipeline] { [Pipeline] checkout 00:26:55 Selected Git installation does not exist. Using Default 00:26:55 The recommended git tool is: NONE 00:27:03 using credential edgex-jenkins-ssh 00:27:03 Cloning the remote Git repository 00:27:03 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:27:03 > git init /w/workspace/device-mqtt-go/127 # timeout=10 00:27:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:27:03 > git --version # timeout=10 00:27:03 > git --version # 'git version 2.25.1' 00:27:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:27:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:06 Avoid second fetch 00:27:06 Checking out Revision 076aceae7774eed065da4ce17ac21a3c9dad675d (main) 00:27:07 Commit message: "docs: Add main branch warning (#612)" [Pipeline] withEnv [Pipeline] { 00:27:06 > git config core.sparsecheckout # timeout=10 00:27:06 > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:27:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:27:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:27:08 Dload Upload Total Spent Left Speed 00:27:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 00:27:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:27:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:27:09 + sudo tee /etc/docker/daemon.new 00:27:09 { 00:27:09 "registry-mirrors": [ 00:27:09 "https://nexus3.edgexfoundry.org:10001" 00:27:09 ], 00:27:09 "bip": "10.250.0.254/24", 00:27:09 "hosts": [ 00:27:09 "tcp://0.0.0.0:5555", 00:27:09 "unix:///var/run/docker.sock" 00:27:09 ], 00:27:09 "mtu": 1458, 00:27:09 "selinux-enabled": true, 00:27:09 "seccomp-profile": "/etc/docker/seccomp.json" 00:27:09 } [Pipeline] sh 00:27:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:27:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:27:28 provisioning config files... 00:27:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/127@tmp/config11038558606400434864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:28 ---> docker-login.sh 00:27:28 nexus3.edgexfoundry.org:10001 00:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:29 Configure a credential helper to remove this warning. See 00:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:29 00:27:29 Login Succeeded 00:27:29 nexus3.edgexfoundry.org:10002 00:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 nexus3.edgexfoundry.org:10003 00:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 nexus3.edgexfoundry.org:10004 00:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:30 Configure a credential helper to remove this warning. See 00:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:30 00:27:30 Login Succeeded 00:27:30 docker.io 00:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:31 Configure a credential helper to remove this warning. See 00:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:31 00:27:31 Login Succeeded 00:27:31 ---> docker-login.sh ends [Pipeline] } 00:27:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:27:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:27:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:27:31 ========================================================= 00:27:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:27:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:32 + 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 . 00:27:32 Sending build context to Docker daemon 3.432MB 00:27:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:27:32 Step 2/12 : FROM ${BASE} AS builder 00:27:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:27:32 c41833b44d91: Pulling fs layer 00:27:32 ed15518f5707: Pulling fs layer 00:27:32 feae8fd75edb: Pulling fs layer 00:27:32 242c74f7c9fa: Pulling fs layer 00:27:32 3cdef696dda3: Pulling fs layer 00:27:32 2ced38df9373: Pulling fs layer 00:27:32 58f1dce35555: Pulling fs layer 00:27:32 242c74f7c9fa: Waiting 00:27:32 3cdef696dda3: Waiting 00:27:32 2ced38df9373: Waiting 00:27:32 58f1dce35555: Waiting 00:27:33 ed15518f5707: Verifying Checksum 00:27:33 ed15518f5707: Download complete 00:27:33 242c74f7c9fa: Verifying Checksum 00:27:33 242c74f7c9fa: Download complete 00:27:33 3cdef696dda3: Download complete 00:27:33 c41833b44d91: Verifying Checksum 00:27:33 c41833b44d91: Download complete 00:27:34 c41833b44d91: Pull complete 00:27:34 58f1dce35555: Verifying Checksum 00:27:34 58f1dce35555: Download complete 00:27:34 ed15518f5707: Pull complete 00:27:35 feae8fd75edb: Download complete 00:27:35 2ced38df9373: Verifying Checksum 00:27:35 2ced38df9373: Download complete 00:27:48 feae8fd75edb: Pull complete 00:27:48 242c74f7c9fa: Pull complete 00:27:48 3cdef696dda3: Pull complete 00:27:56 2ced38df9373: Pull complete 00:27:59 58f1dce35555: Pull complete 00:27:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:27:59 ---> fadd8f120f05 00:27:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:28:01 ---> Running in 24a9bb2c8a5a 00:28:01 Removing intermediate container 24a9bb2c8a5a 00:28:01 ---> 42bdce48bf9b 00:28:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:28:01 ---> Running in 5556de44c01f 00:28:02 Removing intermediate container 5556de44c01f 00:28:02 ---> c0ef97a54a3d 00:28:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:28:02 ---> Running in 7ff84f46fc2b 00:28:02 Removing intermediate container 7ff84f46fc2b 00:28:02 ---> a08d14f4678b 00:28:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:28:02 ---> Running in f3337679d2c4 00:28:03 Removing intermediate container f3337679d2c4 00:28:03 ---> 3556f9368a3f 00:28:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:28:03 ---> Running in 9bf353774543 00:28:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:28:06 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:28:06 (2/4) Installing libedit (20221030.3.1-r0) 00:28:06 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:28:06 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:28:06 Executing busybox-1.35.0-r29.trigger 00:28:06 OK: 268 MiB in 57 packages 00:28:08 Removing intermediate container 9bf353774543 00:28:08 ---> db0a0f20bf76 00:28:08 Step 8/12 : WORKDIR /device-mqtt-go 00:28:08 ---> Running in d328a2acc3ca 00:28:08 Removing intermediate container d328a2acc3ca 00:28:08 ---> b330e05ccc3e 00:28:08 Step 9/12 : COPY go.mod vendor* ./ 00:28:09 ---> 48ec88ec6ece 00:28:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:28:09 ---> Running in 5d54855030ad 00:29:17 Removing intermediate container 5d54855030ad 00:29:17 ---> 5be5e509318a 00:29:17 Step 11/12 : COPY . . 00:29:17 ---> 6fe66ac54027 00:29:17 Step 12/12 : RUN $MAKE 00:29:17 ---> Running in d7ab1676e9ba 00:29:17 noop 00:29:17 Removing intermediate container d7ab1676e9ba 00:29:17 ---> 95d0368ad563 00:29:17 Successfully built 95d0368ad563 00:29:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:18 + docker inspect -f . ci-base-image-arm64 00:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:18 prd-ubuntu20.04-docker-arm64-4c-16g-17415 does not seem to be running inside a container 00:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/127 -v /w/workspace/device-mqtt-go/127:/w/workspace/device-mqtt-go/127:rw,z -v /w/workspace/device-mqtt-go/127@tmp:/w/workspace/device-mqtt-go/127@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 00:29:19 $ docker top b7e4f4c71bbd87d606bc244691859cdfe86a6c191d3b2add8b557875c1b653c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:20 + go version 00:29:20 go version go1.20.2 linux/arm64 [Pipeline] } 00:29:20 $ docker stop --time=1 b7e4f4c71bbd87d606bc244691859cdfe86a6c191d3b2add8b557875c1b653c8 00:29:22 $ docker rm -f --volumes b7e4f4c71bbd87d606bc244691859cdfe86a6c191d3b2add8b557875c1b653c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:23 + docker inspect -f . ci-base-image-arm64 00:29:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:23 prd-ubuntu20.04-docker-arm64-4c-16g-17415 does not seem to be running inside a container 00:29:23 $ 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/127 -v /w/workspace/device-mqtt-go/127:/w/workspace/device-mqtt-go/127:rw,z -v /w/workspace/device-mqtt-go/127@tmp:/w/workspace/device-mqtt-go/127@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 00:29:24 $ docker top 4ae55775f2952429a0145c8bdec608ee430605c31623cba4754d207c02eaaaf0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:25 + git config --global --add safe.directory /w/workspace/device-mqtt-go/127 [Pipeline] fileExists [Pipeline] sh 00:29:26 + make test 00:29:26 go test ./... -coverprofile=coverage.out ./... 00:30:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:32:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:32:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:32:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.086s coverage: 22.8% of statements 00:32:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:32:46 go vet ./... 00:33:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:33:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:33:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:33:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:33:19 $ docker stop --time=1 4ae55775f2952429a0145c8bdec608ee430605c31623cba4754d207c02eaaaf0 00:33:21 $ docker rm -f --volumes 4ae55775f2952429a0145c8bdec608ee430605c31623cba4754d207c02eaaaf0 [Pipeline] // withDockerContainer [Pipeline] sh 00:33:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:22 Warning: overwriting stash ‘coverage-report’ 00:33:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:33:23 + ls -al . 00:33:23 total 180 00:33:23 drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:29 . 00:33:23 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:27 .. 00:33:23 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:27 .dockerignore 00:33:23 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:27 .git 00:33:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 .github 00:33:23 -rw-rw-r-- 1 jenkins jenkins 329 May 31 00:27 .gitignore 00:33:23 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:27 .golangci.yml 00:33:23 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 00:27 Attribution.txt 00:33:23 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 00:27 CHANGELOG.md 00:33:23 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 00:27 Dockerfile 00:33:23 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:27 GOVERNANCE.md 00:33:23 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:27 Jenkinsfile 00:33:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:27 LICENSE 00:33:23 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 00:27 Makefile 00:33:23 -rw-rw-r-- 1 jenkins jenkins 620 May 31 00:27 OWNERS.md 00:33:23 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 00:27 README.md 00:33:23 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:24 VERSION 00:33:23 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:27 bin 00:33:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 cmd 00:33:23 -rw-r--r-- 1 jenkins jenkins 18506 May 31 00:32 coverage.out 00:33:23 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 00:27 go.mod 00:33:23 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 00:27 go.sum 00:33:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 internal 00:33:23 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:27 mock 00:33:23 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:27 snap 00:33:23 -rw-rw-r-- 1 jenkins jenkins 227 May 31 00:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:23 + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=arm64 --label version=3.0.0-dev.43 . 00:33:24 Sending build context to Docker daemon 3.451MB 00:33:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:33:24 Step 2/24 : FROM ${BASE} AS builder 00:33:24 ---> 95d0368ad563 00:33:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:33:24 ---> Running in b5915e9dc2dd 00:33:24 Removing intermediate container b5915e9dc2dd 00:33:24 ---> b6b1f0efedf2 00:33:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:24 ---> Running in 9840d84eafbc 00:33:25 Removing intermediate container 9840d84eafbc 00:33:25 ---> 200a276c11e5 00:33:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:33:25 ---> Running in 142e51c9dd69 00:33:25 Removing intermediate container 142e51c9dd69 00:33:25 ---> f73e40b1d8b4 00:33:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:33:25 ---> Running in eae6909687b7 00:33:26 Removing intermediate container eae6909687b7 00:33:26 ---> 0291872b1da8 00:33:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:26 ---> Running in f94e297ee918 00:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:33:29 OK: 268 MiB in 57 packages 00:33:30 Removing intermediate container f94e297ee918 00:33:30 ---> 30363a4886fa 00:33:30 Step 8/24 : WORKDIR /device-mqtt-go 00:33:30 ---> Running in b04d5b73f167 00:33:30 Removing intermediate container b04d5b73f167 00:33:30 ---> 22f113cb0fb9 00:33:30 Step 9/24 : COPY go.mod vendor* ./ 00:33:31 ---> 61940dc7b567 00:33:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:31 ---> Running in a47bf8a76d19 00:33:33 Removing intermediate container a47bf8a76d19 00:33:33 ---> 3bc9d933a7af 00:33:33 Step 11/24 : COPY . . 00:33:35 ---> 8922f15bc8b6 00:33:35 Step 12/24 : RUN $MAKE 00:33:35 ---> Running in 310ed662a92c 00:33:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:36:13 Removing intermediate container 310ed662a92c 00:36:13 ---> d39b5cc765dd 00:36:13 Step 13/24 : FROM alpine:3.17 00:36:13 3.17: Pulling from library/alpine 00:36:13 c41833b44d91: Already exists 00:36:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:36:13 Status: Downloaded newer image for alpine:3.17 00:36:13 ---> 51e60588ff2c 00:36:13 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:36:13 ---> Running in 636ed36588cf 00:36:13 Removing intermediate container 636ed36588cf 00:36:13 ---> 9ce7093fefbb 00:36:13 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:36:13 ---> Running in 369c686756b0 00:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:36:13 (1/1) Installing dumb-init (1.2.5-r2) 00:36:13 Executing busybox-1.35.0-r29.trigger 00:36:13 OK: 8 MiB in 16 packages 00:36:13 Removing intermediate container 369c686756b0 00:36:13 ---> 7e58bf0def94 00:36:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:36:13 ---> 0379d0f1d9c6 00:36:13 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:36:13 ---> 637143b02fec 00:36:13 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:36:13 ---> 1c9358cc696d 00:36:13 Step 19/24 : EXPOSE 59982 00:36:13 ---> Running in 1af9f9a210d0 00:36:14 Removing intermediate container 1af9f9a210d0 00:36:14 ---> 11108dbc01bb 00:36:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:36:14 ---> Running in c3d287f1d923 00:36:14 Removing intermediate container c3d287f1d923 00:36:14 ---> 6cf0109a6055 00:36:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:36:14 ---> Running in 3782f0112dc6 00:36:15 Removing intermediate container 3782f0112dc6 00:36:15 ---> d8773bfcb74c 00:36:15 Step 22/24 : LABEL arch=arm64 00:36:15 ---> Running in 49c2c9f40b81 00:36:15 Removing intermediate container 49c2c9f40b81 00:36:15 ---> cfceb07100d1 00:36:15 Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d 00:36:15 ---> Running in 1a00abad58e9 00:36:15 Removing intermediate container 1a00abad58e9 00:36:15 ---> 2c5d1bb36594 00:36:15 Step 24/24 : LABEL version=3.0.0-dev.43 00:36:15 ---> Running in 7fb6102f0ee9 00:36:16 Removing intermediate container 7fb6102f0ee9 00:36:16 ---> 89fdcc1b93f5 00:36:16 [Warning] One or more build-args [ARCH] were not consumed 00:36:16 Successfully built 89fdcc1b93f5 00:36:16 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 00:36:16 provisioning config files... 00:36:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/127@tmp/config17140158539688642352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:16 ---> docker-login.sh 00:36:16 nexus3.edgexfoundry.org:10001 00:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:16 Configure a credential helper to remove this warning. See 00:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:16 00:36:16 Login Succeeded 00:36:16 nexus3.edgexfoundry.org:10002 00:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:17 Configure a credential helper to remove this warning. See 00:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:17 00:36:17 Login Succeeded 00:36:17 nexus3.edgexfoundry.org:10003 00:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:17 Configure a credential helper to remove this warning. See 00:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:17 00:36:17 Login Succeeded 00:36:17 nexus3.edgexfoundry.org:10004 00:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:17 Configure a credential helper to remove this warning. See 00:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:17 00:36:17 Login Succeeded 00:36:17 docker.io 00:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:18 Configure a credential helper to remove this warning. See 00:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:18 00:36:18 Login Succeeded 00:36:18 ---> docker-login.sh ends [Pipeline] } 00:36:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:18 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:36:18 076aceae7774eed065da4ce17ac21a3c9dad675d 00:36:18 latest 00:36:18 3.0.0-dev.43 00:36:18 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:36:18 main 00:36:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d 00:36:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:36:19 36899637e4fd: Preparing 00:36:19 5f16fee5857f: Preparing 00:36:19 66952256486d: Preparing 00:36:19 dd976fd8b98f: Preparing 00:36:19 26cbea5cba74: Preparing 00:36:19 26cbea5cba74: Layer already exists 00:36:19 36899637e4fd: Pushed 00:36:19 5f16fee5857f: Pushed 00:36:19 dd976fd8b98f: Pushed 00:36:24 66952256486d: Pushed 00:36:24 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:bc86957e508aa5e3426ac8b5168afc3b4e86ef797575dd269d31ba6094075bf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:36:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:36:25 36899637e4fd: Preparing 00:36:25 5f16fee5857f: Preparing 00:36:25 66952256486d: Preparing 00:36:25 dd976fd8b98f: Preparing 00:36:25 26cbea5cba74: Preparing 00:36:25 26cbea5cba74: Layer already exists 00:36:25 5f16fee5857f: Layer already exists 00:36:25 66952256486d: Layer already exists 00:36:25 36899637e4fd: Layer already exists 00:36:25 dd976fd8b98f: Layer already exists 00:36:25 latest: digest: sha256:bc86957e508aa5e3426ac8b5168afc3b4e86ef797575dd269d31ba6094075bf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.43 00:36:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:36:26 36899637e4fd: Preparing 00:36:26 5f16fee5857f: Preparing 00:36:26 66952256486d: Preparing 00:36:26 dd976fd8b98f: Preparing 00:36:26 26cbea5cba74: Preparing 00:36:26 5f16fee5857f: Layer already exists 00:36:26 dd976fd8b98f: Layer already exists 00:36:26 26cbea5cba74: Layer already exists 00:36:26 66952256486d: Layer already exists 00:36:26 36899637e4fd: Layer already exists 00:36:26 3.0.0-dev.43: digest: sha256:bc86957e508aa5e3426ac8b5168afc3b4e86ef797575dd269d31ba6094075bf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:36:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:36:27 36899637e4fd: Preparing 00:36:27 5f16fee5857f: Preparing 00:36:27 66952256486d: Preparing 00:36:27 dd976fd8b98f: Preparing 00:36:27 26cbea5cba74: Preparing 00:36:27 5f16fee5857f: Layer already exists 00:36:27 66952256486d: Layer already exists 00:36:27 26cbea5cba74: Layer already exists 00:36:27 36899637e4fd: Layer already exists 00:36:27 dd976fd8b98f: Layer already exists 00:36:27 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43: digest: sha256:bc86957e508aa5e3426ac8b5168afc3b4e86ef797575dd269d31ba6094075bf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 00:36:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:36:28 36899637e4fd: Preparing 00:36:28 5f16fee5857f: Preparing 00:36:28 66952256486d: Preparing 00:36:28 dd976fd8b98f: Preparing 00:36:28 26cbea5cba74: Preparing 00:36:28 5f16fee5857f: Layer already exists 00:36:28 dd976fd8b98f: Layer already exists 00:36:28 66952256486d: Layer already exists 00:36:28 36899637e4fd: Layer already exists 00:36:28 26cbea5cba74: Layer already exists 00:36:28 main: digest: sha256:bc86957e508aa5e3426ac8b5168afc3b4e86ef797575dd269d31ba6094075bf8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:28 ===================================================== [Pipeline] echo 00:36:28 taggedImages: 00:36:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d 00:36:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:36:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.43 00:36:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0-dev.43 00:36:28 - 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 00:36:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:29 00:36:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:29 arm64: Pulling from edgex-lftools-log-publisher 00:36:29 8998bd30e6a1: Pulling fs layer 00:36:29 04944245beec: Pulling fs layer 00:36:29 699f458cf7ca: Pulling fs layer 00:36:29 765212b225bb: Pulling fs layer 00:36:29 f23df028b6ca: Pulling fs layer 00:36:29 d65c8cfc05b1: Pulling fs layer 00:36:29 2437ff75d9bd: Pulling fs layer 00:36:29 f23df028b6ca: Waiting 00:36:29 d65c8cfc05b1: Waiting 00:36:29 765212b225bb: Waiting 00:36:29 2437ff75d9bd: Waiting 00:36:29 04944245beec: Verifying Checksum 00:36:29 04944245beec: Download complete 00:36:29 765212b225bb: Verifying Checksum 00:36:29 765212b225bb: Download complete 00:36:29 f23df028b6ca: Verifying Checksum 00:36:29 f23df028b6ca: Download complete 00:36:29 d65c8cfc05b1: Verifying Checksum 00:36:29 d65c8cfc05b1: Download complete 00:36:30 699f458cf7ca: Verifying Checksum 00:36:30 699f458cf7ca: Download complete 00:36:30 8998bd30e6a1: Download complete 00:36:32 2437ff75d9bd: Verifying Checksum 00:36:32 2437ff75d9bd: Download complete 00:36:36 8998bd30e6a1: Pull complete 00:36:36 04944245beec: Pull complete 00:36:37 699f458cf7ca: Pull complete 00:36:37 765212b225bb: Pull complete 00:36:38 f23df028b6ca: Pull complete 00:36:38 d65c8cfc05b1: Pull complete 00:36:53 2437ff75d9bd: Pull complete 00:36:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:53 prd-ubuntu20.04-docker-arm64-4c-16g-17415 does not seem to be running inside a container 00:36:53 $ 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/127 -v /w/workspace/device-mqtt-go/127:/w/workspace/device-mqtt-go/127:rw,z -v /w/workspace/device-mqtt-go/127@tmp:/w/workspace/device-mqtt-go/127@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 00:36:56 $ docker top dfcc28d608068d89ec56472ad8233d56463720f92b2d40cb6ecc45c96ba9d6de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:57 ---> job-cost.sh 00:36:57 lf-activate-venv: SKIPPING 00:36:57 INFO: No Stack... 00:36:58 INFO: Retrieving Pricing Info for: v3-standard-4 00:36:59 INFO: Archiving Costs [Pipeline] sh 00:36:59 + cat /w/workspace/device-mqtt-go/127/archives/cost.csv 00:36:59 + cut -d, -f6 [Pipeline] lock 00:36:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] 00:36:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] did not exist. Created. 00:36:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:00 /w/workspace/device-mqtt-go/127@tmp/durable-9aef3ef1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:37:01 + echo total: 0.10999999940395355 [Pipeline] stash 00:37:01 Warning: overwriting stash ‘stack-cost’ 00:37:01 Stashed 1 file(s) [Pipeline] } 00:37:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 00:37:01 $ docker stop --time=1 dfcc28d608068d89ec56472ad8233d56463720f92b2d40cb6ecc45c96ba9d6de 00:37:03 $ docker rm -f --volumes dfcc28d608068d89ec56472ad8233d56463720f92b2d40cb6ecc45c96ba9d6de [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 00:37:03 provisioning config files... 00:37:03 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2186377836952073279tmp [Pipeline] { [Pipeline] sh 00:37:04 + set +x 00:37:04 + curl -s https://codecov.io/bash 00:37:04 + bash -s -- 00:37:04 00:37:04 _____ _ 00:37:04 / ____| | | 00:37:04 | | ___ __| | ___ ___ _____ __ 00:37:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:37:04 | |___| (_) | (_| | __/ (_| (_) \ V / 00:37:04 \_____\___/ \__,_|\___|\___\___/ \_/ 00:37:04 Bash-1.0.6 00:37:04 00:37:04 00:37:04 ==> git version 2.25.1 found 00:37:04 ==> 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 00:37:04 Release-Date: 2020-01-08 00:37:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:37:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:37:04 ==> Jenkins CI detected. 00:37:04 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 00:37:04 project root: . 00:37:04 --> token set from env 00:37:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:37:04 ==> Running gcov in . (disable via -X gcov) 00:37:04 ==> Python coveragepy not found 00:37:04 ==> Searching for coverage reports in: 00:37:04 + . 00:37:04 -> Found 1 reports 00:37:04 ==> Detecting git/mercurial file structure 00:37:04 ==> Reading reports 00:37:04 + ./coverage.out bytes=18506 00:37:04 ==> Appending adjustments 00:37:04 https://docs.codecov.io/docs/fixing-reports 00:37:04 + Found adjustments 00:37:04 ==> Gzipping contents 00:37:04 4.0K /tmp/codecov.5JWdZf.gz 00:37:04 ==> Uploading reports 00:37:04 url: https://codecov.io 00:37:04 query: branch=main&commit=076aceae7774eed065da4ce17ac21a3c9dad675d&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:37:04 -> Pinging Codecov 00:37:04 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=076aceae7774eed065da4ce17ac21a3c9dad675d&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:37:04 -> Uploading to 00:37:04 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/7D719EC7BBE17E464838252E33014C33/076aceae7774eed065da4ce17ac21a3c9dad675d/06054fbc-303a-4614-ac33-669b8492d57f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T003704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65bd60198196623f3c970d7060a1af7ad206c7da342fbd27014c7f4b949c5fe8 00:37:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:37:04 Dload Upload Total Spent Left Speed 00:37:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16095 --:--:-- --:--:-- --:--:-- 16095 00:37:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } 00:37:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:37:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:37:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:05 00:37:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:37:05 df9b9388f04a: Pulling fs layer 00:37:05 52dc419b0ee2: Pulling fs layer 00:37:05 25bc292e5bac: Pulling fs layer 00:37:05 114826534d7a: Pulling fs layer 00:37:05 4657fd5d0bcf: Pulling fs layer 00:37:05 6ad1cebc031e: Pulling fs layer 00:37:05 8a3aa393b2d8: Pulling fs layer 00:37:05 4657fd5d0bcf: Waiting 00:37:05 114826534d7a: Waiting 00:37:05 6ad1cebc031e: Waiting 00:37:05 8a3aa393b2d8: Waiting 00:37:05 25bc292e5bac: Verifying Checksum 00:37:05 25bc292e5bac: Download complete 00:37:05 52dc419b0ee2: Verifying Checksum 00:37:05 52dc419b0ee2: Download complete 00:37:05 4657fd5d0bcf: Download complete 00:37:05 df9b9388f04a: Verifying Checksum 00:37:05 df9b9388f04a: Download complete 00:37:05 6ad1cebc031e: Verifying Checksum 00:37:05 6ad1cebc031e: Download complete 00:37:05 df9b9388f04a: Pull complete 00:37:05 52dc419b0ee2: Pull complete 00:37:05 25bc292e5bac: Pull complete 00:37:06 114826534d7a: Download complete 00:37:06 8a3aa393b2d8: Verifying Checksum 00:37:06 8a3aa393b2d8: Download complete 00:37:09 114826534d7a: Pull complete 00:37:09 4657fd5d0bcf: Pull complete 00:37:09 6ad1cebc031e: Pull complete 00:37:12 8a3aa393b2d8: Pull complete 00:37:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:12 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:37:12 $ 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 00:37:15 $ docker top a63d7046e090eb08b1e30d22683a5a9d6a39ff82ecd829955e2e9f5d34447406 -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 00:37:16 + set -o pipefail 00:37:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 00:37:20 00:37:20 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 00:37:20 00:37:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/8f7aa99c-f0f1-4375-b7e3-c6efb3af0955 00:37:20 00:37:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:37:20 00:37:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:37:20 00:37:20 00:37:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:37:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:37:20 More details here: https://snyk.co/ue1NS [Pipeline] } 00:37:20 $ docker stop --time=1 a63d7046e090eb08b1e30d22683a5a9d6a39ff82ecd829955e2e9f5d34447406 00:37:23 $ docker rm -f --volumes a63d7046e090eb08b1e30d22683a5a9d6a39ff82ecd829955e2e9f5d34447406 [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 00:37:24 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] sh 00:37:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:24 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:37:24 $ 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 00:37:25 $ docker top 23b64d58d5d90414e3eb3ffd9781e6c677f2256b5fc6b8cee24201174ebbb4e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:25 [ssh-agent] Looking for ssh-agent implementation... 00:37:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:25 $ docker exec 23b64d58d5d90414e3eb3ffd9781e6c677f2256b5fc6b8cee24201174ebbb4e8 ssh-agent 00:37:25 SSH_AUTH_SOCK=/tmp/ssh-JUwMOzVQEEmw/agent.32 00:37:25 SSH_AGENT_PID=38 00:37:25 Running ssh-add (command line suppressed) 00:37:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7287092222813036809.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7287092222813036809.key) 00:37:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:26 + git semver tag 00:37:26 2023-05-31 00:37:26,261 [run_tag] DEBUG tag force:False 00:37:26 2023-05-31 00:37:26,261 [check_head_tag] DEBUG check head tag 00:37:26 2023-05-31 00:37:26,263 [execute] INFO git cat-file --batch-check 00:37:26 2023-05-31 00:37:26,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:37:26 2023-05-31 00:37:26,269 [execute] INFO git cat-file --batch 00:37:26 2023-05-31 00:37:26,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:37:26 2023-05-31 00:37:26,302 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:26 2023-05-31 00:37:26,302 [execute] INFO git tag -a v3.0.0-dev.43 -m v3.0.0-dev.43 00:37:26 2023-05-31 00:37:26,303 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.43', '-m', 'v3.0.0-dev.43'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:37:26 2023-05-31 00:37:26,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:26 3.0.0-dev.43 [Pipeline] } 00:37:26 $ docker exec --env ******** --env ******** 23b64d58d5d90414e3eb3ffd9781e6c677f2256b5fc6b8cee24201174ebbb4e8 ssh-agent -k 00:37:26 unset SSH_AUTH_SOCK; 00:37:26 unset SSH_AGENT_PID; 00:37:26 echo Agent pid 38 killed; 00:37:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:26 + git semver [Pipeline] } 00:37:27 $ docker stop --time=1 23b64d58d5d90414e3eb3ffd9781e6c677f2256b5fc6b8cee24201174ebbb4e8 00:37:28 $ docker rm -f --volumes 23b64d58d5d90414e3eb3ffd9781e6c677f2256b5fc6b8cee24201174ebbb4e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:28 00:37:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:29 0.23.1-centos7: Pulling from edgex-lftools 00:37:29 ab5ef0e58194: Pulling fs layer 00:37:29 9712f1f96733: Pulling fs layer 00:37:29 63f879dbbcfc: Pulling fs layer 00:37:29 0d9ebad4ef96: Pulling fs layer 00:37:29 e9a5061849ea: Pulling fs layer 00:37:29 d747dcd14b5f: Pulling fs layer 00:37:29 2de7ff778b66: Pulling fs layer 00:37:29 e9a5061849ea: Waiting 00:37:29 d747dcd14b5f: Waiting 00:37:29 2de7ff778b66: Waiting 00:37:29 0d9ebad4ef96: Waiting 00:37:29 9712f1f96733: Verifying Checksum 00:37:29 9712f1f96733: Download complete 00:37:29 63f879dbbcfc: Verifying Checksum 00:37:29 63f879dbbcfc: Download complete 00:37:29 e9a5061849ea: Verifying Checksum 00:37:29 e9a5061849ea: Download complete 00:37:29 0d9ebad4ef96: Verifying Checksum 00:37:29 0d9ebad4ef96: Download complete 00:37:29 d747dcd14b5f: Verifying Checksum 00:37:29 d747dcd14b5f: Download complete 00:37:29 ab5ef0e58194: Download complete 00:37:29 2de7ff778b66: Verifying Checksum 00:37:29 2de7ff778b66: Download complete 00:37:33 ab5ef0e58194: Pull complete 00:37:33 9712f1f96733: Pull complete 00:37:33 63f879dbbcfc: Pull complete 00:37:37 0d9ebad4ef96: Pull complete 00:37:37 e9a5061849ea: Pull complete 00:37:37 d747dcd14b5f: Pull complete 00:37:38 2de7ff778b66: Pull complete 00:37:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:38 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:37:38 $ 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 00:37:43 $ docker top 45359137672f455aea752a4e430ca26fa0869323157a96d19364104793b6e388 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:37:43 provisioning config files... 00:37:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6688809482228149838tmp 00:37:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13291265306862963369tmp 00:37:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3877512399642285944tmp [Pipeline] { [Pipeline] echo 00:37:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:37:44 ---> sigul-configuration.sh 00:37:44 gpg: directory `/root/.gnupg' created 00:37:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:37:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:37:44 gpg: keyring `/root/.gnupg/secring.gpg' created 00:37:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:37:44 gpg: CAST5 encrypted data 00:37:44 gpg: encrypted with 1 passphrase 00:37:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:37:44 + mkdir /home/jenkins 00:37:44 + mkdir /home/jenkins/sigul [Pipeline] sh 00:37:44 + 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 00:37:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:37:44 ---> sigul-install.sh 00:37:44 Sigul already installed; skipping installation. [Pipeline] sh 00:37:45 + git tag --list 00:37:45 0.7.1 00:37:45 v1.0.0 00:37:45 v1.1.0 00:37:45 v1.1.1 00:37:45 v1.2.2 00:37:45 v1.3.0 00:37:45 v1.3.1 00:37:45 v2.0.0 00:37:45 v2.1.0 00:37:45 v2.1.1 00:37:45 v2.1.1-dev.1 00:37:45 v2.1.1-dev.2 00:37:45 v2.2.0 00:37:45 v2.2.1-dev.1 00:37:45 v2.2.1-dev.10 00:37:45 v2.2.1-dev.2 00:37:45 v2.2.1-dev.3 00:37:45 v2.2.1-dev.4 00:37:45 v2.2.1-dev.5 00:37:45 v2.2.1-dev.6 00:37:45 v2.2.1-dev.7 00:37:45 v2.2.1-dev.8 00:37:45 v2.2.1-dev.9 00:37:45 v2.3.0 00:37:45 v2.3.0-dev.10 00:37:45 v2.3.0-dev.11 00:37:45 v2.3.0-dev.12 00:37:45 v2.3.0-dev.13 00:37:45 v2.3.0-dev.14 00:37:45 v2.3.0-dev.15 00:37:45 v2.3.0-dev.16 00:37:45 v2.3.0-dev.17 00:37:45 v2.3.0-dev.18 00:37:45 v2.3.0-dev.19 00:37:45 v2.3.0-dev.20 00:37:45 v2.3.0-dev.21 00:37:45 v2.3.0-dev.22 00:37:45 v2.3.0-dev.23 00:37:45 v2.3.0-dev.24 00:37:45 v2.3.0-dev.25 00:37:45 v2.3.0-dev.26 00:37:45 v2.3.0-dev.27 00:37:45 v2.3.0-dev.28 00:37:45 v2.3.0-dev.29 00:37:45 v2.3.0-dev.30 00:37:45 v2.3.0-dev.31 00:37:45 v2.3.0-dev.32 00:37:45 v2.3.0-dev.33 00:37:45 v2.3.0-dev.34 00:37:45 v3.0.0-dev.1 00:37:45 v3.0.0-dev.10 00:37:45 v3.0.0-dev.11 00:37:45 v3.0.0-dev.12 00:37:45 v3.0.0-dev.13 00:37:45 v3.0.0-dev.14 00:37:45 v3.0.0-dev.15 00:37:45 v3.0.0-dev.16 00:37:45 v3.0.0-dev.17 00:37:45 v3.0.0-dev.18 00:37:45 v3.0.0-dev.19 00:37:45 v3.0.0-dev.2 00:37:45 v3.0.0-dev.20 00:37:45 v3.0.0-dev.21 00:37:45 v3.0.0-dev.22 00:37:45 v3.0.0-dev.23 00:37:45 v3.0.0-dev.24 00:37:45 v3.0.0-dev.25 00:37:45 v3.0.0-dev.26 00:37:45 v3.0.0-dev.27 00:37:45 v3.0.0-dev.28 00:37:45 v3.0.0-dev.29 00:37:45 v3.0.0-dev.3 00:37:45 v3.0.0-dev.30 00:37:45 v3.0.0-dev.31 00:37:45 v3.0.0-dev.32 00:37:45 v3.0.0-dev.33 00:37:45 v3.0.0-dev.34 00:37:45 v3.0.0-dev.35 00:37:45 v3.0.0-dev.36 00:37:45 v3.0.0-dev.37 00:37:45 v3.0.0-dev.38 00:37:45 v3.0.0-dev.39 00:37:45 v3.0.0-dev.4 00:37:45 v3.0.0-dev.40 00:37:45 v3.0.0-dev.41 00:37:45 v3.0.0-dev.42 00:37:45 v3.0.0-dev.43 00:37:45 v3.0.0-dev.5 00:37:45 v3.0.0-dev.6 00:37:45 v3.0.0-dev.7 00:37:45 v3.0.0-dev.8 00:37:45 v3.0.0-dev.9 [Pipeline] sh 00:37:45 + lftools sign git-tag v3.0.0-dev.43 00:37:46 Signing Git tag with Sigul... 00:37:46 Signing v3.0.0-dev.43 [Pipeline] echo 00:37:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:37:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:37:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:37:46 $ docker stop --time=1 45359137672f455aea752a4e430ca26fa0869323157a96d19364104793b6e388 00:37:47 $ docker rm -f --volumes 45359137672f455aea752a4e430ca26fa0869323157a96d19364104793b6e388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:37:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:48 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:37:48 $ 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 00:37:49 $ docker top c902a6d6204868604a6c0cb37e3d5eff9f680aefa5238f5882dd429666b1847e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:49 [ssh-agent] Looking for ssh-agent implementation... 00:37:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:49 $ docker exec c902a6d6204868604a6c0cb37e3d5eff9f680aefa5238f5882dd429666b1847e ssh-agent 00:37:49 SSH_AUTH_SOCK=/tmp/ssh-VGC19dT9eZh5/agent.32 00:37:49 SSH_AGENT_PID=38 00:37:49 Running ssh-add (command line suppressed) 00:37:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5750052641014862751.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5750052641014862751.key) 00:37:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:49 + git semver bump pre 00:37:50 2023-05-31 00:37:49,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:50 2023-05-31 00:37:49,977 [bump_version] DEBUG bumping version:3.0.0-dev.43 on axis:pre with prefix:dev 00:37:50 2023-05-31 00:37:49,977 [bump_version] DEBUG bumped version:3.0.0-dev.44 00:37:50 2023-05-31 00:37:49,978 [write_version] DEBUG write version:3.0.0-dev.44 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 00:37:50 2023-05-31 00:37:49,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:50 2023-05-31 00:37:49,978 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:50 2023-05-31 00:37:49,979 [execute] INFO git cat-file --batch-check 00:37:50 2023-05-31 00:37:49,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:50 2023-05-31 00:37:49,985 [execute] INFO git cat-file --batch 00:37:50 2023-05-31 00:37:49,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:50 2023-05-31 00:37:49,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:50 3.0.0-dev.44 [Pipeline] } 00:37:50 $ docker exec --env ******** --env ******** c902a6d6204868604a6c0cb37e3d5eff9f680aefa5238f5882dd429666b1847e ssh-agent -k 00:37:50 unset SSH_AUTH_SOCK; 00:37:50 unset SSH_AGENT_PID; 00:37:50 echo Agent pid 38 killed; 00:37:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:50 + git semver [Pipeline] } 00:37:50 $ docker stop --time=1 c902a6d6204868604a6c0cb37e3d5eff9f680aefa5238f5882dd429666b1847e 00:37:52 $ docker rm -f --volumes c902a6d6204868604a6c0cb37e3d5eff9f680aefa5238f5882dd429666b1847e [Pipeline] // withDockerContainer [Pipeline] sh 00:37:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:52 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:37:52 $ 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 00:37:53 $ docker top 47e908328cba7ff2666678d09d177bf80cad7d30e68c72b7cde967de27d68417 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:53 [ssh-agent] Looking for ssh-agent implementation... 00:37:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:53 $ docker exec 47e908328cba7ff2666678d09d177bf80cad7d30e68c72b7cde967de27d68417 ssh-agent 00:37:53 SSH_AUTH_SOCK=/tmp/ssh-Ayp08aHYFCVs/agent.32 00:37:53 SSH_AGENT_PID=39 00:37:53 Running ssh-add (command line suppressed) 00:37:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1385454636179201871.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1385454636179201871.key) 00:37:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:53 + git semver push 00:37:54 2023-05-31 00:37:54,064 [run_push] DEBUG push 00:37:54 2023-05-31 00:37:54,065 [execute] INFO git cat-file --batch-check 00:37:54 2023-05-31 00:37:54,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:54 2023-05-31 00:37:54,069 [execute] INFO git rev-list 86f0ca06f8859697a59f4d48e2f6de3b560a0e37 -- 00:37:54 2023-05-31 00:37:54,069 [execute] DEBUG Popen(['git', 'rev-list', '86f0ca06f8859697a59f4d48e2f6de3b560a0e37', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:54 2023-05-31 00:37:54,079 [execute] INFO git fetch -v origin 00:37:54 2023-05-31 00:37:54,079 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:37:56 2023-05-31 00:37:55,579 [run_push] DEBUG no remote changes detected 00:37:56 2023-05-31 00:37:55,580 [execute] INFO git push origin semver 00:37:56 2023-05-31 00:37:55,580 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:56 2023-05-31 00:37:56,347 [run_push] DEBUG push all version tags 00:37:56 2023-05-31 00:37:56,348 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:37:56 2023-05-31 00:37:56,348 [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) 00:37:57 2023-05-31 00:37:57,067 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:37:57 3.0.0-dev.44 [Pipeline] } 00:37:57 $ docker exec --env ******** --env ******** 47e908328cba7ff2666678d09d177bf80cad7d30e68c72b7cde967de27d68417 ssh-agent -k 00:37:57 unset SSH_AUTH_SOCK; 00:37:57 unset SSH_AGENT_PID; 00:37:57 echo Agent pid 39 killed; 00:37:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:57 + git semver [Pipeline] } 00:37:57 $ docker stop --time=1 47e908328cba7ff2666678d09d177bf80cad7d30e68c72b7cde967de27d68417 00:37:59 $ docker rm -f --volumes 47e908328cba7ff2666678d09d177bf80cad7d30e68c72b7cde967de27d68417 [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 00:37:59 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 00:37:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:37:59 total 16 00:37:59 drwxr-xr-x 3 root root 4096 May 31 00:26 . 00:37:59 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:37 .. 00:37:59 drwxr-xr-x 2 root root 4096 May 31 00:26 cost 00:37:59 -rw-r--r-- 1 root root 86 May 31 00:26 cost.csv 00:37:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:37:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:37:59 total 16 00:37:59 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:26 . 00:37:59 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:37 .. 00:37:59 drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:26 cost 00:37:59 -rw-r--r-- 1 jenkins jenkins 86 May 31 00:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:37:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:00 ---> package-listing.sh 00:38:00 ++ facter osfamily 00:38:00 ++ tr '[:upper:]' '[:lower:]' 00:38:01 + OS_FAMILY=debian 00:38:01 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 00:38:01 + START_PACKAGES=/tmp/packages_start.txt 00:38:01 + END_PACKAGES=/tmp/packages_end.txt 00:38:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:01 + PACKAGES=/tmp/packages_start.txt 00:38:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:38:01 + PACKAGES=/tmp/packages_end.txt 00:38:01 + case "${OS_FAMILY}" in 00:38:01 + dpkg -l 00:38:01 + grep '^ii' 00:38:01 + '[' -f /tmp/packages_start.txt ']' 00:38:01 + '[' -f /tmp/packages_end.txt ']' 00:38:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:38:01 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 00:38:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 00:38:01 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 00:38:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:02 prd-ubuntu20.04-docker-8c-8g-17410 does not seem to be running inside a container 00:38:02 $ 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 00:38:02 $ docker top 48a6628d7ecac80cea16b8d44e14dd1587f781953e051b2503eb45693f318215 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:02 + touch /tmp/pre-build-complete [Pipeline] sh 00:38:02 + mkdir -p /var/log/sysstat [Pipeline] sh 00:38:03 + ls /var/log/sa-host 00:38:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:38:03 provisioning config files... 00:38:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10640638075526991362tmp [Pipeline] { [Pipeline] echo 00:38:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:38:03 ---> create-netrc.sh [Pipeline] } 00:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:38:03 ---> python-tools-install.sh [Pipeline] echo 00:38:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:38:04 ---> sudo-logs.sh 00:38:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:38:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:38:04 ---> job-cost.sh 00:38:04 lf-activate-venv: SKIPPING 00:38:04 DEBUG: total: 0.2199999988079071 00:38:04 INFO: Retrieving Stack Cost... 00:38:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:38:06 INFO: Archiving Costs [Pipeline] echo 00:38:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:38:06 ---> logs-deploy.sh 00:38:06 lf-activate-venv: SKIPPING 00:38:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/127 00:38:06 INFO: archiving workspace using pattern(s): 00:38:07 Archives upload complete. 00:38:07 INFO: archiving logs to Nexus