Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 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-ssh13633355766481871517.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1613109141939508083.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh612736356361548713.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh4846640256695969545.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-ssh1898953468989664741.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11858 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 (main) Commit message: "Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 # timeout=10 > git rev-list --no-walk 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:38 ========================================================= 04:52:38 EdgeX Global Pipelines Version Info 04:52:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:39 ------------------- 04:52:39 stable info: 04:52:39 ------------------- 04:52:39 Commited By: Bill Mahoney bill.mahoney@intel.com 04:52:39 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:52:39 Message: update stable to v1.0.248 04:52:40 ------------------- 04:52:40 experimental info: 04:52:40 ------------------- 04:52:40 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:40 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:52:40 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7300f16 [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:40 provisioning config files... 04:52:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14790739382408285452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:41 ---> docker-login.sh 04:52:41 nexus3.edgexfoundry.org:10001 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10002 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10003 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10004 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 docker.io 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 ---> docker-login.sh ends [Pipeline] } 04:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:42 + git rev-list -1 --merges 7300f1631db8a52a6c9bbc97f1ad6792569d05b3~1..7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] echo 04:52:42 -----------> git rev-list -1 --merges 7300f1631db8a52a6c9bbc97f1ad6792569d05b3~1..7300f1631db8a52a6c9bbc97f1ad6792569d05b3 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 04:52:42 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [false] [Pipeline] sh 04:52:42 + git log --format=format:%s -1 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] echo 04:52:42 ========================================================= 04:52:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:43 + git log --format=format:%s -1 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] echo 04:52:43 [semverPrep] GIT_COMMIT: 7300f1631db8a52a6c9bbc97f1ad6792569d05b3, Commit Message: Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76 [Pipeline] echo 04:52:43 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:43 + grep -v github /etc/ssh/ssh_known_hosts 04:52:43 + [ -e /tmp/ssh_known_hosts ] 04:52:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:43 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:44 04:52:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:44 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:44 b85a868b505f: Pulling fs layer 04:52:44 e2be974225ed: Pulling fs layer 04:52:44 339a4e72a1f5: Pulling fs layer 04:52:44 988bab9f4d93: Pulling fs layer 04:52:44 1469e6f7b9e6: Pulling fs layer 04:52:44 eaf3925da568: Pulling fs layer 04:52:44 bab4dde63d76: Pulling fs layer 04:52:44 bde34c3a00c8: Pulling fs layer 04:52:44 b352a97aabf1: Pulling fs layer 04:52:44 4872d77fe225: Pulling fs layer 04:52:44 5851b861e8e6: Pulling fs layer 04:52:44 bab4dde63d76: Waiting 04:52:44 bde34c3a00c8: Waiting 04:52:44 b352a97aabf1: Waiting 04:52:44 988bab9f4d93: Waiting 04:52:44 4872d77fe225: Waiting 04:52:44 1469e6f7b9e6: Waiting 04:52:44 5851b861e8e6: Waiting 04:52:44 eaf3925da568: Waiting 04:52:44 e2be974225ed: Download complete 04:52:44 988bab9f4d93: Download complete 04:52:44 1469e6f7b9e6: Verifying Checksum 04:52:44 1469e6f7b9e6: Download complete 04:52:44 eaf3925da568: Verifying Checksum 04:52:44 eaf3925da568: Download complete 04:52:44 339a4e72a1f5: Verifying Checksum 04:52:44 339a4e72a1f5: Download complete 04:52:44 bde34c3a00c8: Verifying Checksum 04:52:44 bde34c3a00c8: Download complete 04:52:44 b352a97aabf1: Verifying Checksum 04:52:44 b352a97aabf1: Download complete 04:52:44 4872d77fe225: Verifying Checksum 04:52:44 4872d77fe225: Download complete 04:52:44 5851b861e8e6: Download complete 04:52:44 b85a868b505f: Download complete 04:52:44 bab4dde63d76: Verifying Checksum 04:52:45 b85a868b505f: Pull complete 04:52:45 e2be974225ed: Pull complete 04:52:46 339a4e72a1f5: Pull complete 04:52:46 988bab9f4d93: Pull complete 04:52:46 1469e6f7b9e6: Pull complete 04:52:46 eaf3925da568: Pull complete 04:52:48 bab4dde63d76: Pull complete 04:52:48 bde34c3a00c8: Pull complete 04:52:48 b352a97aabf1: Pull complete 04:52:48 4872d77fe225: Pull complete 04:52:48 5851b861e8e6: Pull complete 04:52:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:48 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 04:52: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:50 $ docker top 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 -eo pid,comm 04:52:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:52:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:50 [ssh-agent] Looking for ssh-agent implementation... 04:52:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:50 $ docker exec 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 ssh-agent 04:52:50 SSH_AUTH_SOCK=/tmp/ssh-TU4EPFkqjlOx/agent.33 04:52:50 SSH_AGENT_PID=39 04:52:50 Running ssh-add (command line suppressed) 04:52:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17652212749375667286.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17652212749375667286.key) 04:52:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:50 + git tag --points-at HEAD [Pipeline] } 04:52:50 $ docker exec --env ******** --env ******** 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 ssh-agent -k 04:52:50 unset SSH_AUTH_SOCK; 04:52:50 unset SSH_AGENT_PID; 04:52:50 echo Agent pid 39 killed; 04:52:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:50 [ssh-agent] Looking for ssh-agent implementation... 04:52:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:51 $ docker exec 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 ssh-agent 04:52:51 SSH_AUTH_SOCK=/tmp/ssh-J9V7UAVkc9g1/agent.71 04:52:51 SSH_AGENT_PID=77 04:52:51 Running ssh-add (command line suppressed) 04:52:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5505541331642539100.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5505541331642539100.key) 04:52:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:51 + git semver init 04:52:51 2023-04-27 04:52:51,749 [run_init] DEBUG init version:0.0.0 force:False 04:52:51 2023-04-27 04:52:51,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:52:51 2023-04-27 04:52:51,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:52:51 2023-04-27 04:52:51,751 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:52:52 2023-04-27 04:52:52,492 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:52:52 2023-04-27 04:52:52,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:52:52 2023-04-27 04:52:52,492 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:52 2023-04-27 04:52:52,493 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:52 3.0.0-dev.26 [Pipeline] } 04:52:52 $ docker exec --env ******** --env ******** 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 ssh-agent -k 04:52:52 unset SSH_AUTH_SOCK; 04:52:52 unset SSH_AGENT_PID; 04:52:52 echo Agent pid 77 killed; 04:52:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:53 + git semver [Pipeline] } 04:52:53 $ docker stop --time=1 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 04:52:54 $ docker rm -f --volumes 549e2505c75522eb8145fa77ae758445849aa5c0d058161673617be9e87e9d22 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:55 Stashed 1 file(s) [Pipeline] echo 04:52:55 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:55 provisioning config files... 04:52:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5546306888906982939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:55 ---> docker-login.sh 04:52:55 nexus3.edgexfoundry.org:10001 04:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:55 Configure a credential helper to remove this warning. See 04:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:55 04:52:55 Login Succeeded 04:52:55 nexus3.edgexfoundry.org:10002 04:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:55 Configure a credential helper to remove this warning. See 04:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:55 04:52:55 Login Succeeded 04:52:55 nexus3.edgexfoundry.org:10003 04:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:56 Configure a credential helper to remove this warning. See 04:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:56 04:52:56 Login Succeeded 04:52:56 nexus3.edgexfoundry.org:10004 04:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:56 Configure a credential helper to remove this warning. See 04:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:56 04:52:56 Login Succeeded 04:52:56 docker.io 04:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:56 Configure a credential helper to remove this warning. See 04:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:56 04:52:56 Login Succeeded 04:52:56 ---> docker-login.sh ends [Pipeline] } 04:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:56 ========================================================= 04:52:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:52:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:52:56 Sending build context to Docker daemon 6.465MB 04:52:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:52:56 Step 2/12 : FROM ${BASE} AS builder 04:52:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:56 f56be85fc22e: Pulling fs layer 04:52:56 85791d961cd3: Pulling fs layer 04:52:56 d694b5ae8c79: Pulling fs layer 04:52:56 9f32a84ed3da: Pulling fs layer 04:52:56 4d19c01a9841: Pulling fs layer 04:52:56 9325e15d5711: Pulling fs layer 04:52:56 9f32a84ed3da: Waiting 04:52:56 4d19c01a9841: Waiting 04:52:56 556b6ee489ea: Pulling fs layer 04:52:56 c5a4b2cf53e6: Pulling fs layer 04:52:56 556b6ee489ea: Waiting 04:52:56 c5a4b2cf53e6: Waiting 04:52:56 9325e15d5711: Waiting 04:52:56 85791d961cd3: Download complete 04:52:56 9f32a84ed3da: Verifying Checksum 04:52:56 9f32a84ed3da: Download complete 04:52:56 4d19c01a9841: Verifying Checksum 04:52:56 4d19c01a9841: Download complete 04:52:56 f56be85fc22e: Verifying Checksum 04:52:56 f56be85fc22e: Download complete 04:52:56 9325e15d5711: Verifying Checksum 04:52:56 9325e15d5711: Download complete 04:52:56 f56be85fc22e: Pull complete 04:52:57 85791d961cd3: Pull complete 04:52:57 c5a4b2cf53e6: Verifying Checksum 04:52:57 c5a4b2cf53e6: Download complete 04:52:57 d694b5ae8c79: Verifying Checksum 04:52:57 d694b5ae8c79: Download complete 04:52:57 556b6ee489ea: Verifying Checksum 04:52:57 556b6ee489ea: Download complete 04:53:00 d694b5ae8c79: Pull complete 04:53:00 9f32a84ed3da: Pull complete 04:53:00 4d19c01a9841: Pull complete 04:53:00 9325e15d5711: Pull complete 04:53:03 556b6ee489ea: Pull complete 04:53:04 c5a4b2cf53e6: Pull complete 04:53:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:53:04 ---> c4be618373d6 04:53:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:53:05 ---> Running in 7182baaac628 04:53:05 Removing intermediate container 7182baaac628 04:53:05 ---> a558767c65a9 04:53:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:05 ---> Running in 05ce62c6420c 04:53:05 Removing intermediate container 05ce62c6420c 04:53:05 ---> c2eb129ead07 04:53:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:53:05 ---> Running in dbae994ad7d2 04:53:05 Removing intermediate container dbae994ad7d2 04:53:05 ---> 6cb77fbcb12c 04:53:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:53:05 ---> Running in 529c17914271 04:53:05 Removing intermediate container 529c17914271 04:53:05 ---> 1f9159cbd8d3 04:53:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:05 ---> Running in a6da001c147b 04:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:53:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:53:06 (2/4) Installing libedit (20221030.3.1-r0) 04:53:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:53:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:53:06 Executing busybox-1.35.0-r29.trigger 04:53:06 OK: 269 MiB in 57 packages 04:53:06 Removing intermediate container a6da001c147b 04:53:06 ---> 4fae4f00fce4 04:53:06 Step 8/12 : WORKDIR /device-mqtt-go 04:53:06 ---> Running in 858113c915fc 04:53:07 Removing intermediate container 858113c915fc 04:53:07 ---> db8720ad777c 04:53:07 Step 9/12 : COPY go.mod vendor* ./ 04:53:07 ---> f3ffb29758b9 04:53:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:07 ---> Running in c8f9d91605e0 04:53:10 Still waiting to schedule task 04:53:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:53:29 Removing intermediate container c8f9d91605e0 04:53:29 ---> 14756644f3c2 04:53:29 Step 11/12 : COPY . . 04:53:29 ---> 921578f89213 04:53:29 Step 12/12 : RUN $MAKE 04:53:29 ---> Running in 807b22619597 04:53:29 noop 04:53:29 Removing intermediate container 807b22619597 04:53:29 ---> 1faf760dbebc 04:53:29 Successfully built 1faf760dbebc 04:53:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:29 + docker inspect -f . ci-base-image-x86_64 04:53:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:29 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 04:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:29 $ docker top 542c56559fa134583526761baac1fbb97bb54efb5112995ef2d6f7a169bdeef4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:30 + go version 04:53:30 go version go1.20.2 linux/amd64 [Pipeline] } 04:53:30 $ docker stop --time=1 542c56559fa134583526761baac1fbb97bb54efb5112995ef2d6f7a169bdeef4 04:53:31 $ docker rm -f --volumes 542c56559fa134583526761baac1fbb97bb54efb5112995ef2d6f7a169bdeef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:31 + docker inspect -f . ci-base-image-x86_64 04:53:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:31 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 04:53:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:32 $ docker top 347ef6a1e04378e9e9b2f5ab535fcfad945d87ed9a49e2ea9a9fd31f66b02a4d -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 04:53:32 + make test 04:53:32 go test ./... -coverprofile=coverage.out ./... 04:53:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:53:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:53:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:53:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 24.6% of statements 04:53:54 go vet ./... 04:53:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:53:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:53:57 ./bin/test-attribution-txt.sh [Pipeline] echo 04:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:53:57 $ docker stop --time=1 347ef6a1e04378e9e9b2f5ab535fcfad945d87ed9a49e2ea9a9fd31f66b02a4d 04:53:59 $ docker rm -f --volumes 347ef6a1e04378e9e9b2f5ab535fcfad945d87ed9a49e2ea9a9fd31f66b02a4d [Pipeline] // withDockerContainer [Pipeline] sh 04:53:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:53:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:00 + ls -al . 04:54:00 total 180 04:54:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:53 . 04:54:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:52 .. 04:54:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:52 .dockerignore 04:54:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:52 .git 04:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:52 .github 04:54:00 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 04:52 .gitignore 04:54:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 04:52 .golangci.yml 04:54:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:52 .semver 04:54:00 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 27 04:52 Attribution.txt 04:54:00 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 27 04:52 CHANGELOG.md 04:54:00 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 27 04:52 Dockerfile 04:54:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:52 GOVERNANCE.md 04:54:00 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 04:52 Jenkinsfile 04:54:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 04:52 LICENSE 04:54:00 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 27 04:52 Makefile 04:54:00 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 04:52 OWNERS.md 04:54:00 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 27 04:52 README.md 04:54:00 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:52 VERSION 04:54:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:52 bin 04:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:52 cmd 04:54:00 -rw-r--r-- 1 jenkins jenkins 16535 Apr 27 04:53 coverage.out 04:54:00 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 04:52 go.mod 04:54:00 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 04:52 go.sum 04:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:52 internal 04:54:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:52 mock 04:54:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:52 snap 04:54:00 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:00 + 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=7300f1631db8a52a6c9bbc97f1ad6792569d05b3 --label arch=amd64 --label version=3.0.0-dev.26 . 04:54:00 Sending build context to Docker daemon 6.482MB 04:54:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:54:00 Step 2/24 : FROM ${BASE} AS builder 04:54:00 ---> 1faf760dbebc 04:54:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:54:00 ---> Running in cf7fb7936c99 04:54:00 Removing intermediate container cf7fb7936c99 04:54:00 ---> 900c580e91f2 04:54:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:00 ---> Running in ad2a7988a643 04:54:00 Removing intermediate container ad2a7988a643 04:54:00 ---> 47c1f996a62a 04:54:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:54:00 ---> Running in 6d0328392183 04:54:00 Removing intermediate container 6d0328392183 04:54:00 ---> 02dae7d09a69 04:54:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:54:00 ---> Running in 192bd65051b4 04:54:00 Removing intermediate container 192bd65051b4 04:54:00 ---> f597db4a3393 04:54:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:00 ---> Running in f8d65380ea03 04:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:54:01 OK: 269 MiB in 57 packages 04:54:01 Removing intermediate container f8d65380ea03 04:54:01 ---> ca3e34cff454 04:54:01 Step 8/24 : WORKDIR /device-mqtt-go 04:54:01 ---> Running in e84da605cb17 04:54:01 Removing intermediate container e84da605cb17 04:54:01 ---> 9431311341eb 04:54:01 Step 9/24 : COPY go.mod vendor* ./ 04:54:02 ---> 738a63cab291 04:54:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:02 ---> Running in 8a6165ba9626 04:54:02 Removing intermediate container 8a6165ba9626 04:54:02 ---> d023d034313e 04:54:02 Step 11/24 : COPY . . 04:54:03 ---> 622c21fc7e6b 04:54:03 Step 12/24 : RUN $MAKE 04:54:03 ---> Running in f74b1d30c659 04:54:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:54:21 Removing intermediate container f74b1d30c659 04:54:21 ---> 48ea3efe2bd4 04:54:21 Step 13/24 : FROM alpine:3.17 04:54:21 3.17: Pulling from library/alpine 04:54:21 f56be85fc22e: Already exists 04:54:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:54:21 Status: Downloaded newer image for alpine:3.17 04:54:21 ---> 9ed4aefc74f6 04:54:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:54:21 ---> Running in 0c75bff6a315 04:54:21 Removing intermediate container 0c75bff6a315 04:54:21 ---> 9ba33a6a0298 04:54:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:54:21 ---> Running in f9fd97bc68e6 04:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:54:21 (1/1) Installing dumb-init (1.2.5-r2) 04:54:21 Executing busybox-1.35.0-r29.trigger 04:54:21 OK: 7 MiB in 16 packages 04:54:21 Removing intermediate container f9fd97bc68e6 04:54:21 ---> a3059f0f2e05 04:54:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:54:21 ---> 67ea3b2e1f89 04:54:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:54:21 ---> 1499e4531e72 04:54:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:54:21 ---> 55011bd5432b 04:54:21 Step 19/24 : EXPOSE 59982 04:54:21 ---> Running in be92c164711f 04:54:21 Removing intermediate container be92c164711f 04:54:21 ---> 6dca78212827 04:54:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:54:21 ---> Running in e731556f21c5 04:54:21 Removing intermediate container e731556f21c5 04:54:21 ---> 6805dd24b93c 04:54:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:54:21 ---> Running in 84e8a0673ee5 04:54:21 Removing intermediate container 84e8a0673ee5 04:54:21 ---> 1fb368917951 04:54:21 Step 22/24 : LABEL arch=amd64 04:54:21 ---> Running in f8af3e2106ac 04:54:21 Removing intermediate container f8af3e2106ac 04:54:21 ---> ab3034331ff5 04:54:21 Step 23/24 : LABEL git_sha=7300f1631db8a52a6c9bbc97f1ad6792569d05b3 04:54:21 ---> Running in de3484e6ad06 04:54:21 Removing intermediate container de3484e6ad06 04:54:21 ---> 995f65ad7203 04:54:21 Step 24/24 : LABEL version=3.0.0-dev.26 04:54:21 ---> Running in fe34ec9c0339 04:54:21 Removing intermediate container fe34ec9c0339 04:54:21 ---> 8c2e8691a4f3 04:54:21 [Warning] One or more build-args [ARCH] were not consumed 04:54:21 Successfully built 8c2e8691a4f3 04:54:21 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:21 provisioning config files... 04:54:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13684712605274021441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:21 ---> docker-login.sh 04:54:21 nexus3.edgexfoundry.org:10001 04:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:21 Configure a credential helper to remove this warning. See 04:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:21 04:54:21 Login Succeeded 04:54:21 nexus3.edgexfoundry.org:10002 04:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:21 Configure a credential helper to remove this warning. See 04:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:21 04:54:21 Login Succeeded 04:54:21 nexus3.edgexfoundry.org:10003 04:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:22 Configure a credential helper to remove this warning. See 04:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:22 04:54:22 Login Succeeded 04:54:22 nexus3.edgexfoundry.org:10004 04:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:22 Configure a credential helper to remove this warning. See 04:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:22 04:54:22 Login Succeeded 04:54:22 docker.io 04:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:22 Configure a credential helper to remove this warning. See 04:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:22 04:54:22 Login Succeeded 04:54:22 ---> docker-login.sh ends [Pipeline] } 04:54:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:22 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:54:22 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 04:54:22 latest 04:54:22 3.0.0-dev.26 04:54:22 7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 04:54:22 main 04:54:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 04:54:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:54:23 04d8fc3e3cdd: Preparing 04:54:23 92a21c0cde2a: Preparing 04:54:23 741f8ecd97cd: Preparing 04:54:23 4c0a0a12f5e7: Preparing 04:54:23 f1417ff83b31: Preparing 04:54:23 f1417ff83b31: Layer already exists 04:54:23 04d8fc3e3cdd: Pushed 04:54:23 4c0a0a12f5e7: Pushed 04:54:23 92a21c0cde2a: Pushed 04:54:25 741f8ecd97cd: Pushed 04:54:25 7300f1631db8a52a6c9bbc97f1ad6792569d05b3: digest: sha256:560c70b90a109115738fc6c2e47f48661712603589606751336663252515b8f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:54:26 04d8fc3e3cdd: Preparing 04:54:26 92a21c0cde2a: Preparing 04:54:26 741f8ecd97cd: Preparing 04:54:26 4c0a0a12f5e7: Preparing 04:54:26 f1417ff83b31: Preparing 04:54:26 92a21c0cde2a: Layer already exists 04:54:26 741f8ecd97cd: Layer already exists 04:54:26 04d8fc3e3cdd: Layer already exists 04:54:26 4c0a0a12f5e7: Layer already exists 04:54:26 f1417ff83b31: Layer already exists 04:54:26 latest: digest: sha256:560c70b90a109115738fc6c2e47f48661712603589606751336663252515b8f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.26 04:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:54:26 04d8fc3e3cdd: Preparing 04:54:26 92a21c0cde2a: Preparing 04:54:26 741f8ecd97cd: Preparing 04:54:26 4c0a0a12f5e7: Preparing 04:54:26 f1417ff83b31: Preparing 04:54:26 04d8fc3e3cdd: Layer already exists 04:54:26 f1417ff83b31: Layer already exists 04:54:26 4c0a0a12f5e7: Layer already exists 04:54:26 92a21c0cde2a: Layer already exists 04:54:26 741f8ecd97cd: Layer already exists 04:54:26 3.0.0-dev.26: digest: sha256:560c70b90a109115738fc6c2e47f48661712603589606751336663252515b8f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 04:54:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:54:27 04d8fc3e3cdd: Preparing 04:54:27 92a21c0cde2a: Preparing 04:54:27 741f8ecd97cd: Preparing 04:54:27 4c0a0a12f5e7: Preparing 04:54:27 f1417ff83b31: Preparing 04:54:27 741f8ecd97cd: Layer already exists 04:54:27 04d8fc3e3cdd: Layer already exists 04:54:27 4c0a0a12f5e7: Layer already exists 04:54:27 92a21c0cde2a: Layer already exists 04:54:27 f1417ff83b31: Layer already exists 04:54:27 7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26: digest: sha256:560c70b90a109115738fc6c2e47f48661712603589606751336663252515b8f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:54:28 04d8fc3e3cdd: Preparing 04:54:28 92a21c0cde2a: Preparing 04:54:28 741f8ecd97cd: Preparing 04:54:28 4c0a0a12f5e7: Preparing 04:54:28 f1417ff83b31: Preparing 04:54:28 04d8fc3e3cdd: Layer already exists 04:54:28 f1417ff83b31: Layer already exists 04:54:28 741f8ecd97cd: Layer already exists 04:54:28 92a21c0cde2a: Layer already exists 04:54:28 4c0a0a12f5e7: Layer already exists 04:54:28 main: digest: sha256:560c70b90a109115738fc6c2e47f48661712603589606751336663252515b8f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:54:28 ===================================================== [Pipeline] echo 04:54:28 taggedImages: 04:54:28 - nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 04:54:28 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:54:28 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.26 04:54:28 - nexus3.edgexfoundry.org:10004/device-mqtt:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 04:54:28 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:28 04:54:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:28 latest: Pulling from edgex-lftools-log-publisher 04:54:28 5eb5b503b376: Pulling fs layer 04:54:28 5c69ac0246d0: Pulling fs layer 04:54:28 ec43610c2a17: Pulling fs layer 04:54:28 3a2ae6a8a46f: Pulling fs layer 04:54:28 33b1e0a273af: Pulling fs layer 04:54:28 5d3b04190fa2: Pulling fs layer 04:54:28 2f39f015ded8: Pulling fs layer 04:54:28 33b1e0a273af: Waiting 04:54:28 5d3b04190fa2: Waiting 04:54:28 2f39f015ded8: Waiting 04:54:28 3a2ae6a8a46f: Waiting 04:54:28 5c69ac0246d0: Verifying Checksum 04:54:28 5c69ac0246d0: Download complete 04:54:28 3a2ae6a8a46f: Verifying Checksum 04:54:28 3a2ae6a8a46f: Download complete 04:54:28 33b1e0a273af: Verifying Checksum 04:54:28 33b1e0a273af: Download complete 04:54:28 5d3b04190fa2: Download complete 04:54:28 ec43610c2a17: Verifying Checksum 04:54:28 ec43610c2a17: Download complete 04:54:29 5eb5b503b376: Verifying Checksum 04:54:29 5eb5b503b376: Download complete 04:54:29 2f39f015ded8: Verifying Checksum 04:54:29 2f39f015ded8: Download complete 04:54:30 5eb5b503b376: Pull complete 04:54:30 5c69ac0246d0: Pull complete 04:54:30 ec43610c2a17: Pull complete 04:54:30 3a2ae6a8a46f: Pull complete 04:54:30 33b1e0a273af: Pull complete 04:54:30 5d3b04190fa2: Pull complete 04:54:35 2f39f015ded8: Pull complete 04:54:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:35 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 04:54:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:36 $ docker top b9ed8217a4950964b27fff4278b6ece82765ab85b8bd8dad975deb6cc6b16ec1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:36 ---> job-cost.sh 04:54:36 lf-activate-venv: SKIPPING 04:54:36 INFO: No Stack... 04:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:37 INFO: Archiving Costs [Pipeline] sh 04:54:37 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:54:37 + cut -d, -f6 [Pipeline] lock 04:54:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] 04:54:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] did not exist. Created. 04:54:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:38 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:38 Stashed 1 file(s) [Pipeline] } 04:54:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:38 $ docker stop --time=1 b9ed8217a4950964b27fff4278b6ece82765ab85b8bd8dad975deb6cc6b16ec1 04:54:39 $ docker rm -f --volumes b9ed8217a4950964b27fff4278b6ece82765ab85b8bd8dad975deb6cc6b16ec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:54:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11860 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:54:50 Running in /w/workspace/device-mqtt-go/110 [Pipeline] { [Pipeline] checkout 04:54:50 Selected Git installation does not exist. Using Default 04:54:50 The recommended git tool is: NONE 04:54:55 using credential edgex-jenkins-ssh 04:54:55 Cloning the remote Git repository 04:54:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:54:55 > git init /w/workspace/device-mqtt-go/110 # timeout=10 04:54:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:54:55 > git --version # timeout=10 04:54:56 > git --version # 'git version 2.25.1' 04:54:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:54:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:58 Avoid second fetch 04:54:58 Checking out Revision 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 (main) 04:54:58 Commit message: "Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.76" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:58 > git config core.sparsecheckout # timeout=10 04:54:58 > git checkout -f 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 # timeout=10 04:54:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:59 Dload Upload Total Spent Left Speed 04:54:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 76813 [Pipeline] sh 04:54:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:55:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:55:00 + sudo tee /etc/docker/daemon.new 04:55:00 { 04:55:00 "registry-mirrors": [ 04:55:00 "https://nexus3.edgexfoundry.org:10001" 04:55:00 ], 04:55:00 "bip": "10.250.0.254/24", 04:55:00 "hosts": [ 04:55:00 "tcp://0.0.0.0:5555", 04:55:00 "unix:///var/run/docker.sock" 04:55:00 ], 04:55:00 "mtu": 1458, 04:55:00 "selinux-enabled": true, 04:55:00 "seccomp-profile": "/etc/docker/seccomp.json" 04:55:00 } [Pipeline] sh 04:55:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:55:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:19 provisioning config files... 04:55:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/110@tmp/config2860873259393047662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:19 ---> docker-login.sh 04:55:19 nexus3.edgexfoundry.org:10001 04:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:20 Configure a credential helper to remove this warning. See 04:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:20 04:55:20 Login Succeeded 04:55:20 nexus3.edgexfoundry.org:10002 04:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:20 Configure a credential helper to remove this warning. See 04:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:20 04:55:20 Login Succeeded 04:55:20 nexus3.edgexfoundry.org:10003 04:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:21 Configure a credential helper to remove this warning. See 04:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:21 04:55:21 Login Succeeded 04:55:21 nexus3.edgexfoundry.org:10004 04:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:21 Configure a credential helper to remove this warning. See 04:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:21 04:55:21 Login Succeeded 04:55:21 docker.io 04:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:21 Configure a credential helper to remove this warning. See 04:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:21 04:55:21 Login Succeeded 04:55:21 ---> docker-login.sh ends [Pipeline] } 04:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:22 ========================================================= 04:55:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:55:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:55:22 Sending build context to Docker daemon 3.369MB 04:55:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:22 Step 2/12 : FROM ${BASE} AS builder 04:55:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:23 c41833b44d91: Pulling fs layer 04:55:23 ed15518f5707: Pulling fs layer 04:55:23 feae8fd75edb: Pulling fs layer 04:55:23 242c74f7c9fa: Pulling fs layer 04:55:23 3cdef696dda3: Pulling fs layer 04:55:23 2ced38df9373: Pulling fs layer 04:55:23 58f1dce35555: Pulling fs layer 04:55:23 3cdef696dda3: Waiting 04:55:23 2ced38df9373: Waiting 04:55:23 58f1dce35555: Waiting 04:55:23 242c74f7c9fa: Waiting 04:55:23 ed15518f5707: Verifying Checksum 04:55:23 ed15518f5707: Download complete 04:55:23 242c74f7c9fa: Verifying Checksum 04:55:23 242c74f7c9fa: Download complete 04:55:23 3cdef696dda3: Verifying Checksum 04:55:23 3cdef696dda3: Download complete 04:55:23 c41833b44d91: Verifying Checksum 04:55:23 c41833b44d91: Download complete 04:55:24 c41833b44d91: Pull complete 04:55:24 58f1dce35555: Verifying Checksum 04:55:24 58f1dce35555: Download complete 04:55:25 ed15518f5707: Pull complete 04:55:26 feae8fd75edb: Verifying Checksum 04:55:26 feae8fd75edb: Download complete 04:55:26 2ced38df9373: Download complete 04:55:38 feae8fd75edb: Pull complete 04:55:38 242c74f7c9fa: Pull complete 04:55:38 3cdef696dda3: Pull complete 04:55:48 2ced38df9373: Pull complete 04:55:50 58f1dce35555: Pull complete 04:55:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:55:50 ---> fadd8f120f05 04:55:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:55:52 ---> Running in 5c09349bc3b4 04:55:52 Removing intermediate container 5c09349bc3b4 04:55:52 ---> 417a644f4e13 04:55:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:52 ---> Running in 832d272e7667 04:55:53 Removing intermediate container 832d272e7667 04:55:53 ---> 340021dab89b 04:55:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:55:53 ---> Running in 7dd0492f90c0 04:55:53 Removing intermediate container 7dd0492f90c0 04:55:53 ---> dae7aa7fd2ff 04:55:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:55:53 ---> Running in cbdfc8205168 04:55:54 Removing intermediate container cbdfc8205168 04:55:54 ---> 7e7abde111ef 04:55:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:54 ---> Running in c8ab2c55b6be 04:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:55:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:55:56 (2/4) Installing libedit (20221030.3.1-r0) 04:55:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:55:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:55:57 Executing busybox-1.35.0-r29.trigger 04:55:57 OK: 268 MiB in 57 packages 04:55:58 Removing intermediate container c8ab2c55b6be 04:55:58 ---> afb48badd463 04:55:58 Step 8/12 : WORKDIR /device-mqtt-go 04:55:58 ---> Running in 6d09ad1c8184 04:55:58 Removing intermediate container 6d09ad1c8184 04:55:58 ---> 11d474727bcb 04:55:58 Step 9/12 : COPY go.mod vendor* ./ 04:56:01 ---> 7dec78a86af7 04:56:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:01 ---> Running in 98bf5809685c 04:57:09 Removing intermediate container 98bf5809685c 04:57:09 ---> 906c983d4f42 04:57:09 Step 11/12 : COPY . . 04:57:09 ---> 192e16544a08 04:57:09 Step 12/12 : RUN $MAKE 04:57:09 ---> Running in 058778ccde3a 04:57:09 noop 04:57:09 Removing intermediate container 058778ccde3a 04:57:09 ---> 584e6c84d339 04:57:09 Successfully built 584e6c84d339 04:57:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:09 + docker inspect -f . ci-base-image-arm64 04:57:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:09 prd-ubuntu20.04-docker-arm64-4c-16g-11860 does not seem to be running inside a container 04:57:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/110 -v /w/workspace/device-mqtt-go/110:/w/workspace/device-mqtt-go/110:rw,z -v /w/workspace/device-mqtt-go/110@tmp:/w/workspace/device-mqtt-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:57:11 $ docker top e86c38d91948e3b874cd9d5c838404f9e05f672c6ec9c7082e01f0b96068a25c -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:12 + go version 04:57:12 go version go1.20.2 linux/arm64 [Pipeline] } 04:57:12 $ docker stop --time=1 e86c38d91948e3b874cd9d5c838404f9e05f672c6ec9c7082e01f0b96068a25c 04:57:13 $ docker rm -f --volumes e86c38d91948e3b874cd9d5c838404f9e05f672c6ec9c7082e01f0b96068a25c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:14 + docker inspect -f . ci-base-image-arm64 04:57:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:14 prd-ubuntu20.04-docker-arm64-4c-16g-11860 does not seem to be running inside a container 04:57:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/110 -v /w/workspace/device-mqtt-go/110:/w/workspace/device-mqtt-go/110:rw,z -v /w/workspace/device-mqtt-go/110@tmp:/w/workspace/device-mqtt-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:57:15 $ docker top 191e0acae903a5e9c0fad00c023f3b8dfd0f51f60146807f93c0da12fd53816a -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:16 + git config --global --add safe.directory /w/workspace/device-mqtt-go/110 [Pipeline] fileExists [Pipeline] sh 04:57:16 + make test 04:57:17 go test ./... -coverprofile=coverage.out ./... 04:57:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:59:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:59:54 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:59:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.179s coverage: 24.6% of statements 04:59:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:59:54 go vet ./... 05:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 05:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:27 $ docker stop --time=1 191e0acae903a5e9c0fad00c023f3b8dfd0f51f60146807f93c0da12fd53816a 05:00:29 $ docker rm -f --volumes 191e0acae903a5e9c0fad00c023f3b8dfd0f51f60146807f93c0da12fd53816a [Pipeline] // withDockerContainer [Pipeline] sh 05:00:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:30 Warning: overwriting stash ‘coverage-report’ 05:00:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:31 + ls -al . 05:00:31 total 176 05:00:31 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 04:57 . 05:00:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:54 .. 05:00:31 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:54 .dockerignore 05:00:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:54 .git 05:00:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:54 .github 05:00:31 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 04:54 .gitignore 05:00:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 04:54 .golangci.yml 05:00:31 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 27 04:54 Attribution.txt 05:00:31 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 27 04:54 CHANGELOG.md 05:00:31 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 27 04:54 Dockerfile 05:00:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:54 GOVERNANCE.md 05:00:31 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 04:54 Jenkinsfile 05:00:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 04:54 LICENSE 05:00:31 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 27 04:54 Makefile 05:00:31 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 04:54 OWNERS.md 05:00:31 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 27 04:54 README.md 05:00:31 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:52 VERSION 05:00:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:54 bin 05:00:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:54 cmd 05:00:31 -rw-r--r-- 1 jenkins jenkins 16535 Apr 27 04:59 coverage.out 05:00:31 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 04:54 go.mod 05:00:31 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 04:54 go.sum 05:00:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:54 internal 05:00:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:54 mock 05:00:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:54 snap 05:00:31 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:32 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7300f1631db8a52a6c9bbc97f1ad6792569d05b3 --label arch=arm64 --label version=3.0.0-dev.26 . 05:00:32 Sending build context to Docker daemon 3.386MB 05:00:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 05:00:32 Step 2/24 : FROM ${BASE} AS builder 05:00:32 ---> 584e6c84d339 05:00:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:00:32 ---> Running in 09d2196c2570 05:00:32 Removing intermediate container 09d2196c2570 05:00:32 ---> b0ea25bb3c8a 05:00:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:00:32 ---> Running in 426409cd7e17 05:00:33 Removing intermediate container 426409cd7e17 05:00:33 ---> ee2a2121009d 05:00:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:00:33 ---> Running in a42f21350ad0 05:00:33 Removing intermediate container a42f21350ad0 05:00:33 ---> 142a40dc572e 05:00:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:00:33 ---> Running in b948aeaf3225 05:00:34 Removing intermediate container b948aeaf3225 05:00:34 ---> b69ac1659a3f 05:00:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:34 ---> Running in 6389f93adbc7 05:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:00:37 OK: 268 MiB in 57 packages 05:00:38 Removing intermediate container 6389f93adbc7 05:00:38 ---> e4a1b70e3486 05:00:38 Step 8/24 : WORKDIR /device-mqtt-go 05:00:38 ---> Running in 05e6942e1df6 05:00:38 Removing intermediate container 05e6942e1df6 05:00:38 ---> 41a32e6e7e8c 05:00:38 Step 9/24 : COPY go.mod vendor* ./ 05:00:39 ---> d7d4d4566143 05:00:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:39 ---> Running in 067d01320c2f 05:00:41 Removing intermediate container 067d01320c2f 05:00:41 ---> 15a4e1676dea 05:00:41 Step 11/24 : COPY . . 05:00:42 ---> bbc6e1c72f1d 05:00:42 Step 12/24 : RUN $MAKE 05:00:42 ---> Running in 2557b4e1aabf 05:00:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 05:03:21 Removing intermediate container 2557b4e1aabf 05:03:21 ---> 1c33f8767673 05:03:21 Step 13/24 : FROM alpine:3.17 05:03:21 3.17: Pulling from library/alpine 05:03:21 c41833b44d91: Already exists 05:03:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:03:21 Status: Downloaded newer image for alpine:3.17 05:03:21 ---> 51e60588ff2c 05:03:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:03:21 ---> Running in f0cb30b0f61d 05:03:21 Removing intermediate container f0cb30b0f61d 05:03:21 ---> 125a089eeae9 05:03:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 05:03:21 ---> Running in 785ce7b5c6d4 05:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:03:21 (1/1) Installing dumb-init (1.2.5-r2) 05:03:21 Executing busybox-1.35.0-r29.trigger 05:03:21 OK: 8 MiB in 16 packages 05:03:21 Removing intermediate container 785ce7b5c6d4 05:03:21 ---> bdf6dce0c857 05:03:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:03:21 ---> 201427a0927c 05:03:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:03:21 ---> 263567f40000 05:03:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:03:22 ---> 185c94847513 05:03:22 Step 19/24 : EXPOSE 59982 05:03:22 ---> Running in 1cff3e0e0000 05:03:22 Removing intermediate container 1cff3e0e0000 05:03:22 ---> abe717f328f8 05:03:22 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:03:22 ---> Running in 9c579f9a8812 05:03:23 Removing intermediate container 9c579f9a8812 05:03:23 ---> caa7e4dc7734 05:03:23 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:03:23 ---> Running in 5d841680472a 05:03:23 Removing intermediate container 5d841680472a 05:03:23 ---> 531c9e11353c 05:03:23 Step 22/24 : LABEL arch=arm64 05:03:23 ---> Running in a72943dce271 05:03:24 Removing intermediate container a72943dce271 05:03:24 ---> b28d132ff211 05:03:24 Step 23/24 : LABEL git_sha=7300f1631db8a52a6c9bbc97f1ad6792569d05b3 05:03:24 ---> Running in 10d3d1339738 05:03:24 Removing intermediate container 10d3d1339738 05:03:24 ---> f503a14199fd 05:03:24 Step 24/24 : LABEL version=3.0.0-dev.26 05:03:24 ---> Running in 60940f349f99 05:03:24 Removing intermediate container 60940f349f99 05:03:24 ---> 975cb7701823 05:03:24 [Warning] One or more build-args [ARCH] were not consumed 05:03:24 Successfully built 975cb7701823 05:03:24 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 05:03:24 provisioning config files... 05:03:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/110@tmp/config5653666694154839990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:25 ---> docker-login.sh 05:03:25 nexus3.edgexfoundry.org:10001 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:25 Configure a credential helper to remove this warning. See 05:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:25 05:03:25 Login Succeeded 05:03:25 nexus3.edgexfoundry.org:10002 05:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:26 Configure a credential helper to remove this warning. See 05:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:26 05:03:26 Login Succeeded 05:03:26 nexus3.edgexfoundry.org:10003 05:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:26 Configure a credential helper to remove this warning. See 05:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:26 05:03:26 Login Succeeded 05:03:26 nexus3.edgexfoundry.org:10004 05:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:26 Configure a credential helper to remove this warning. See 05:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:26 05:03:26 Login Succeeded 05:03:26 docker.io 05:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:27 Configure a credential helper to remove this warning. See 05:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:27 05:03:27 Login Succeeded 05:03:27 ---> docker-login.sh ends [Pipeline] } 05:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:27 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 05:03:27 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 05:03:27 latest 05:03:27 3.0.0-dev.26 05:03:27 7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 05:03:27 main 05:03:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 05:03:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:03:28 830767b8651e: Preparing 05:03:28 d72c6c0da754: Preparing 05:03:28 9cc64b15180c: Preparing 05:03:28 31310aaa829b: Preparing 05:03:28 26cbea5cba74: Preparing 05:03:28 26cbea5cba74: Layer already exists 05:03:28 830767b8651e: Pushed 05:03:28 31310aaa829b: Pushed 05:03:28 d72c6c0da754: Pushed 05:03:33 9cc64b15180c: Pushed 05:03:34 7300f1631db8a52a6c9bbc97f1ad6792569d05b3: digest: sha256:0df556c4dddb642be39e57007c917ee0a6cd5feeb73ab9b61443ff8b63157a24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:03:34 830767b8651e: Preparing 05:03:34 d72c6c0da754: Preparing 05:03:34 9cc64b15180c: Preparing 05:03:34 31310aaa829b: Preparing 05:03:34 26cbea5cba74: Preparing 05:03:34 9cc64b15180c: Layer already exists 05:03:34 31310aaa829b: Layer already exists 05:03:34 26cbea5cba74: Layer already exists 05:03:34 d72c6c0da754: Layer already exists 05:03:34 830767b8651e: Layer already exists 05:03:34 latest: digest: sha256:0df556c4dddb642be39e57007c917ee0a6cd5feeb73ab9b61443ff8b63157a24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.26 05:03:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:03:35 830767b8651e: Preparing 05:03:35 d72c6c0da754: Preparing 05:03:35 9cc64b15180c: Preparing 05:03:35 31310aaa829b: Preparing 05:03:35 26cbea5cba74: Preparing 05:03:35 830767b8651e: Layer already exists 05:03:35 26cbea5cba74: Layer already exists 05:03:35 31310aaa829b: Layer already exists 05:03:35 9cc64b15180c: Layer already exists 05:03:35 d72c6c0da754: Layer already exists 05:03:35 3.0.0-dev.26: digest: sha256:0df556c4dddb642be39e57007c917ee0a6cd5feeb73ab9b61443ff8b63157a24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 05:03:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:03:36 830767b8651e: Preparing 05:03:36 d72c6c0da754: Preparing 05:03:36 9cc64b15180c: Preparing 05:03:36 31310aaa829b: Preparing 05:03:36 26cbea5cba74: Preparing 05:03:36 26cbea5cba74: Layer already exists 05:03:36 830767b8651e: Layer already exists 05:03:36 9cc64b15180c: Layer already exists 05:03:36 d72c6c0da754: Layer already exists 05:03:36 31310aaa829b: Layer already exists 05:03:36 7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26: digest: sha256:0df556c4dddb642be39e57007c917ee0a6cd5feeb73ab9b61443ff8b63157a24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 05:03:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:03:37 830767b8651e: Preparing 05:03:37 d72c6c0da754: Preparing 05:03:37 9cc64b15180c: Preparing 05:03:37 31310aaa829b: Preparing 05:03:37 26cbea5cba74: Preparing 05:03:37 830767b8651e: Layer already exists 05:03:37 26cbea5cba74: Layer already exists 05:03:37 9cc64b15180c: Layer already exists 05:03:37 31310aaa829b: Layer already exists 05:03:37 d72c6c0da754: Layer already exists 05:03:37 main: digest: sha256:0df556c4dddb642be39e57007c917ee0a6cd5feeb73ab9b61443ff8b63157a24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:03:37 ===================================================== [Pipeline] echo 05:03:37 taggedImages: 05:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3 05:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.26 05:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7300f1631db8a52a6c9bbc97f1ad6792569d05b3-3.0.0-dev.26 05:03:37 - 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 05:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:38 05:03:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:38 arm64: Pulling from edgex-lftools-log-publisher 05:03:38 8998bd30e6a1: Pulling fs layer 05:03:38 04944245beec: Pulling fs layer 05:03:38 699f458cf7ca: Pulling fs layer 05:03:38 765212b225bb: Pulling fs layer 05:03:38 f23df028b6ca: Pulling fs layer 05:03:38 d65c8cfc05b1: Pulling fs layer 05:03:38 2437ff75d9bd: Pulling fs layer 05:03:38 765212b225bb: Waiting 05:03:38 f23df028b6ca: Waiting 05:03:38 d65c8cfc05b1: Waiting 05:03:38 2437ff75d9bd: Waiting 05:03:38 04944245beec: Verifying Checksum 05:03:38 04944245beec: Download complete 05:03:38 765212b225bb: Download complete 05:03:38 f23df028b6ca: Verifying Checksum 05:03:38 f23df028b6ca: Download complete 05:03:38 d65c8cfc05b1: Verifying Checksum 05:03:38 d65c8cfc05b1: Download complete 05:03:38 699f458cf7ca: Verifying Checksum 05:03:38 699f458cf7ca: Download complete 05:03:39 8998bd30e6a1: Download complete 05:03:41 2437ff75d9bd: Verifying Checksum 05:03:41 2437ff75d9bd: Download complete 05:03:43 8998bd30e6a1: Pull complete 05:03:43 04944245beec: Pull complete 05:03:45 699f458cf7ca: Pull complete 05:03:46 765212b225bb: Pull complete 05:03:47 f23df028b6ca: Pull complete 05:03:47 d65c8cfc05b1: Pull complete 05:04:02 2437ff75d9bd: Pull complete 05:04:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:02 prd-ubuntu20.04-docker-arm64-4c-16g-11860 does not seem to be running inside a container 05:04:02 $ 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/110 -v /w/workspace/device-mqtt-go/110:/w/workspace/device-mqtt-go/110:rw,z -v /w/workspace/device-mqtt-go/110@tmp:/w/workspace/device-mqtt-go/110@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 05:04:05 $ docker top 0059dda4af9d8eb397a2f40e41516d319a70a4c899a2e01f68ea5081c1a38e5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:06 ---> job-cost.sh 05:04:06 lf-activate-venv: SKIPPING 05:04:06 INFO: No Stack... 05:04:06 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:07 INFO: Archiving Costs [Pipeline] sh 05:04:08 + cut -d, -f6 05:04:08 + cat /w/workspace/device-mqtt-go/110/archives/cost.csv [Pipeline] lock 05:04:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] 05:04:08 Resource [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] did not exist. Created. 05:04:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:09 /w/workspace/device-mqtt-go/110@tmp/durable-ed8b8c2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:09 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:09 Warning: overwriting stash ‘stack-cost’ 05:04:09 Stashed 1 file(s) [Pipeline] } 05:04:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:09 $ docker stop --time=1 0059dda4af9d8eb397a2f40e41516d319a70a4c899a2e01f68ea5081c1a38e5c 05:04:11 $ docker rm -f --volumes 0059dda4af9d8eb397a2f40e41516d319a70a4c899a2e01f68ea5081c1a38e5c [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 05:04:11 provisioning config files... 05:04:11 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5692600864026868815tmp [Pipeline] { [Pipeline] sh 05:04:12 + set +x 05:04:12 + curl -s https://codecov.io/bash 05:04:12 + bash -s -- 05:04:12 05:04:12 _____ _ 05:04:12 / ____| | | 05:04:12 | | ___ __| | ___ ___ _____ __ 05:04:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:12 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:12 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:12 Bash-1.0.6 05:04:12 05:04:12 05:04:12 ==> git version 2.25.1 found 05:04:12 ==> 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 05:04:12 Release-Date: 2020-01-08 05:04:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:12 ==> Jenkins CI detected. 05:04:12 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 05:04:12 project root: . 05:04:12 --> token set from env 05:04:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:12 ==> Running gcov in . (disable via -X gcov) 05:04:12 ==> Python coveragepy not found 05:04:12 ==> Searching for coverage reports in: 05:04:12 + . 05:04:12 -> Found 1 reports 05:04:12 ==> Detecting git/mercurial file structure 05:04:12 ==> Reading reports 05:04:12 + ./coverage.out bytes=16535 05:04:12 ==> Appending adjustments 05:04:12 https://docs.codecov.io/docs/fixing-reports 05:04:12 + Found adjustments 05:04:12 ==> Gzipping contents 05:04:12 4.0K /tmp/codecov.WTkpun.gz 05:04:12 ==> Uploading reports 05:04:12 url: https://codecov.io 05:04:12 query: branch=main&commit=7300f1631db8a52a6c9bbc97f1ad6792569d05b3&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:04:12 -> Pinging Codecov 05:04:12 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=7300f1631db8a52a6c9bbc97f1ad6792569d05b3&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:04:12 -> Uploading to 05:04:12 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/7D719EC7BBE17E464838252E33014C33/7300f1631db8a52a6c9bbc97f1ad6792569d05b3/bfef411c-c28e-4f24-9b37-c75e660f7922.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T050412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59b6d4860bd4a3fc05330a946c0e09a9288b2f83afa707771aee17bc5b15a1a1 05:04:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:12 Dload Upload Total Spent Left Speed 05:04:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 11785 --:--:-- --:--:-- --:--:-- 11785 05:04:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] } 05:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:04:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:04:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:13 05:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:04:13 df9b9388f04a: Pulling fs layer 05:04:13 52dc419b0ee2: Pulling fs layer 05:04:13 25bc292e5bac: Pulling fs layer 05:04:13 114826534d7a: Pulling fs layer 05:04:13 4657fd5d0bcf: Pulling fs layer 05:04:13 6ad1cebc031e: Pulling fs layer 05:04:13 8a3aa393b2d8: Pulling fs layer 05:04:13 114826534d7a: Waiting 05:04:13 4657fd5d0bcf: Waiting 05:04:13 6ad1cebc031e: Waiting 05:04:13 8a3aa393b2d8: Waiting 05:04:13 25bc292e5bac: Verifying Checksum 05:04:13 25bc292e5bac: Download complete 05:04:13 52dc419b0ee2: Verifying Checksum 05:04:13 52dc419b0ee2: Download complete 05:04:13 4657fd5d0bcf: Verifying Checksum 05:04:13 4657fd5d0bcf: Download complete 05:04:13 df9b9388f04a: Download complete 05:04:13 df9b9388f04a: Pull complete 05:04:13 6ad1cebc031e: Verifying Checksum 05:04:13 6ad1cebc031e: Download complete 05:04:13 52dc419b0ee2: Pull complete 05:04:13 25bc292e5bac: Pull complete 05:04:14 114826534d7a: Verifying Checksum 05:04:14 114826534d7a: Download complete 05:04:14 8a3aa393b2d8: Download complete 05:04:17 114826534d7a: Pull complete 05:04:17 4657fd5d0bcf: Pull complete 05:04:18 6ad1cebc031e: Pull complete 05:04:20 8a3aa393b2d8: Pull complete 05:04:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:20 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:04:20 $ 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 05:04:21 $ docker top 3c414e30ac54a147fbb309e621ac7267dca0249df2e92e8eae31ac31eb35ff26 -eo pid,comm [Pipeline] { [Pipeline] echo 05:04:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 05:04:22 + set -o pipefail 05:04:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 05:04:27 05:04:27 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 05:04:27 05:04:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/28efa1e6-448c-4e22-8da9-dbd29c2276b0 05:04:27 05:04:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:04:27 05:04:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:04:27 05:04:27 05:04:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:04:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:04:27 More details here: https://snyk.co/ue1NS [Pipeline] } 05:04:27 $ docker stop --time=1 3c414e30ac54a147fbb309e621ac7267dca0249df2e92e8eae31ac31eb35ff26 05:04:29 $ docker rm -f --volumes 3c414e30ac54a147fbb309e621ac7267dca0249df2e92e8eae31ac31eb35ff26 [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 05:04:29 + git log --format=format:%s -1 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 [Pipeline] sh 05:04:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:30 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:04:30 $ 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 05:04:30 $ docker top 888f6817fcb60afd6f57a9e6d5478faf9978a051c3cd1f81aaa4b592a0239173 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:30 [ssh-agent] Looking for ssh-agent implementation... 05:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:31 $ docker exec 888f6817fcb60afd6f57a9e6d5478faf9978a051c3cd1f81aaa4b592a0239173 ssh-agent 05:04:31 SSH_AUTH_SOCK=/tmp/ssh-lWtfA1Vndfbh/agent.32 05:04:31 SSH_AGENT_PID=38 05:04:31 Running ssh-add (command line suppressed) 05:04:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2910504646249752892.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2910504646249752892.key) 05:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:31 + git semver tag 05:04:31 2023-04-27 05:04:31,781 [run_tag] DEBUG tag force:False 05:04:31 2023-04-27 05:04:31,781 [check_head_tag] DEBUG check head tag 05:04:31 2023-04-27 05:04:31,782 [execute] INFO git cat-file --batch-check 05:04:31 2023-04-27 05:04:31,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 05:04:31 2023-04-27 05:04:31,786 [execute] INFO git cat-file --batch 05:04:31 2023-04-27 05:04:31,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 05:04:31 2023-04-27 05:04:31,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:31 2023-04-27 05:04:31,804 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 05:04:31 2023-04-27 05:04:31,804 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 05:04:31 2023-04-27 05:04:31,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:31 3.0.0-dev.26 [Pipeline] } 05:04:31 $ docker exec --env ******** --env ******** 888f6817fcb60afd6f57a9e6d5478faf9978a051c3cd1f81aaa4b592a0239173 ssh-agent -k 05:04:31 unset SSH_AUTH_SOCK; 05:04:31 unset SSH_AGENT_PID; 05:04:31 echo Agent pid 38 killed; 05:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:32 + git semver [Pipeline] } 05:04:32 $ docker stop --time=1 888f6817fcb60afd6f57a9e6d5478faf9978a051c3cd1f81aaa4b592a0239173 05:04:33 $ docker rm -f --volumes 888f6817fcb60afd6f57a9e6d5478faf9978a051c3cd1f81aaa4b592a0239173 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:04:34 05:04:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:04:34 0.23.1-centos7: Pulling from edgex-lftools 05:04:34 ab5ef0e58194: Pulling fs layer 05:04:34 9712f1f96733: Pulling fs layer 05:04:34 63f879dbbcfc: Pulling fs layer 05:04:34 0d9ebad4ef96: Pulling fs layer 05:04:34 e9a5061849ea: Pulling fs layer 05:04:34 d747dcd14b5f: Pulling fs layer 05:04:34 2de7ff778b66: Pulling fs layer 05:04:34 0d9ebad4ef96: Waiting 05:04:34 e9a5061849ea: Waiting 05:04:34 9712f1f96733: Download complete 05:04:34 63f879dbbcfc: Verifying Checksum 05:04:34 63f879dbbcfc: Download complete 05:04:35 0d9ebad4ef96: Verifying Checksum 05:04:35 0d9ebad4ef96: Download complete 05:04:35 ab5ef0e58194: Download complete 05:04:35 d747dcd14b5f: Verifying Checksum 05:04:35 d747dcd14b5f: Download complete 05:04:35 e9a5061849ea: Verifying Checksum 05:04:35 e9a5061849ea: Download complete 05:04:35 2de7ff778b66: Verifying Checksum 05:04:35 2de7ff778b66: Download complete 05:04:37 ab5ef0e58194: Pull complete 05:04:37 9712f1f96733: Pull complete 05:04:38 63f879dbbcfc: Pull complete 05:04:41 0d9ebad4ef96: Pull complete 05:04:42 e9a5061849ea: Pull complete 05:04:42 d747dcd14b5f: Pull complete 05:04:43 2de7ff778b66: Pull complete 05:04:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:04:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:43 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:04:43 $ 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 05:04:45 $ docker top ab88a2a8bb89d07da0509a68970b30c77adccfde5a9605e953e594df7935e78e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:04:45 provisioning config files... 05:04:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4541575117138957470tmp 05:04:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13224668727276786519tmp 05:04:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1098127088406041685tmp [Pipeline] { [Pipeline] echo 05:04:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:04:45 ---> sigul-configuration.sh 05:04:45 gpg: directory `/root/.gnupg' created 05:04:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:04:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:04:45 gpg: keyring `/root/.gnupg/secring.gpg' created 05:04:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:04:45 gpg: CAST5 encrypted data 05:04:45 gpg: encrypted with 1 passphrase 05:04:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:04:45 + mkdir /home/jenkins 05:04:45 + mkdir /home/jenkins/sigul [Pipeline] sh 05:04:46 + 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 05:04:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:04:46 ---> sigul-install.sh 05:04:46 Sigul already installed; skipping installation. [Pipeline] sh 05:04:46 + git tag --list 05:04:46 0.7.1 05:04:46 v1.0.0 05:04:46 v1.1.0 05:04:46 v1.1.1 05:04:46 v1.2.2 05:04:46 v1.3.0 05:04:46 v1.3.1 05:04:46 v2.0.0 05:04:46 v2.1.0 05:04:46 v2.1.1 05:04:46 v2.1.1-dev.1 05:04:46 v2.1.1-dev.2 05:04:46 v2.2.0 05:04:46 v2.2.1-dev.1 05:04:46 v2.2.1-dev.10 05:04:46 v2.2.1-dev.2 05:04:46 v2.2.1-dev.3 05:04:46 v2.2.1-dev.4 05:04:46 v2.2.1-dev.5 05:04:46 v2.2.1-dev.6 05:04:46 v2.2.1-dev.7 05:04:46 v2.2.1-dev.8 05:04:46 v2.2.1-dev.9 05:04:46 v2.3.0 05:04:46 v2.3.0-dev.10 05:04:46 v2.3.0-dev.11 05:04:46 v2.3.0-dev.12 05:04:46 v2.3.0-dev.13 05:04:46 v2.3.0-dev.14 05:04:46 v2.3.0-dev.15 05:04:46 v2.3.0-dev.16 05:04:46 v2.3.0-dev.17 05:04:46 v2.3.0-dev.18 05:04:46 v2.3.0-dev.19 05:04:46 v2.3.0-dev.20 05:04:46 v2.3.0-dev.21 05:04:46 v2.3.0-dev.22 05:04:46 v2.3.0-dev.23 05:04:46 v2.3.0-dev.24 05:04:46 v2.3.0-dev.25 05:04:46 v2.3.0-dev.26 05:04:46 v2.3.0-dev.27 05:04:46 v2.3.0-dev.28 05:04:46 v2.3.0-dev.29 05:04:46 v2.3.0-dev.30 05:04:46 v2.3.0-dev.31 05:04:46 v2.3.0-dev.32 05:04:46 v2.3.0-dev.33 05:04:46 v2.3.0-dev.34 05:04:46 v3.0.0-dev.1 05:04:46 v3.0.0-dev.10 05:04:46 v3.0.0-dev.11 05:04:46 v3.0.0-dev.12 05:04:46 v3.0.0-dev.13 05:04:46 v3.0.0-dev.14 05:04:46 v3.0.0-dev.15 05:04:46 v3.0.0-dev.16 05:04:46 v3.0.0-dev.17 05:04:46 v3.0.0-dev.18 05:04:46 v3.0.0-dev.19 05:04:46 v3.0.0-dev.2 05:04:46 v3.0.0-dev.20 05:04:46 v3.0.0-dev.21 05:04:46 v3.0.0-dev.22 05:04:46 v3.0.0-dev.23 05:04:46 v3.0.0-dev.24 05:04:46 v3.0.0-dev.25 05:04:46 v3.0.0-dev.26 05:04:46 v3.0.0-dev.3 05:04:46 v3.0.0-dev.4 05:04:46 v3.0.0-dev.5 05:04:46 v3.0.0-dev.6 05:04:46 v3.0.0-dev.7 05:04:46 v3.0.0-dev.8 05:04:46 v3.0.0-dev.9 [Pipeline] sh 05:04:46 + lftools sign git-tag v3.0.0-dev.26 05:04:47 Signing Git tag with Sigul... 05:04:47 Signing v3.0.0-dev.26 [Pipeline] echo 05:04:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:04:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:04:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:04:48 $ docker stop --time=1 ab88a2a8bb89d07da0509a68970b30c77adccfde5a9605e953e594df7935e78e 05:04:49 $ docker rm -f --volumes ab88a2a8bb89d07da0509a68970b30c77adccfde5a9605e953e594df7935e78e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:04:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:50 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:04:50 $ 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 05:04:50 $ docker top 951925620c9dc003cb4154417d8fd4233ae2ed1a6ac37583396dc4002cade5fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:50 [ssh-agent] Looking for ssh-agent implementation... 05:04:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:51 $ docker exec 951925620c9dc003cb4154417d8fd4233ae2ed1a6ac37583396dc4002cade5fc ssh-agent 05:04:51 SSH_AUTH_SOCK=/tmp/ssh-mmWry1Q0wHm5/agent.33 05:04:51 SSH_AGENT_PID=39 05:04:51 Running ssh-add (command line suppressed) 05:04:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11107442953048225858.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11107442953048225858.key) 05:04:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:51 + git semver bump pre 05:04:51 2023-04-27 05:04:51,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:51 2023-04-27 05:04:51,754 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 05:04:51 2023-04-27 05:04:51,754 [bump_version] DEBUG bumped version:3.0.0-dev.27 05:04:51 2023-04-27 05:04:51,754 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 05:04:51 2023-04-27 05:04:51,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:51 2023-04-27 05:04:51,754 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:51 2023-04-27 05:04:51,756 [execute] INFO git cat-file --batch-check 05:04:51 2023-04-27 05:04:51,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:51 2023-04-27 05:04:51,762 [execute] INFO git cat-file --batch 05:04:51 2023-04-27 05:04:51,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:51 2023-04-27 05:04:51,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:51 3.0.0-dev.27 [Pipeline] } 05:04:51 $ docker exec --env ******** --env ******** 951925620c9dc003cb4154417d8fd4233ae2ed1a6ac37583396dc4002cade5fc ssh-agent -k 05:04:51 unset SSH_AUTH_SOCK; 05:04:51 unset SSH_AGENT_PID; 05:04:51 echo Agent pid 39 killed; 05:04:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:52 + git semver [Pipeline] } 05:04:52 $ docker stop --time=1 951925620c9dc003cb4154417d8fd4233ae2ed1a6ac37583396dc4002cade5fc 05:04:53 $ docker rm -f --volumes 951925620c9dc003cb4154417d8fd4233ae2ed1a6ac37583396dc4002cade5fc [Pipeline] // withDockerContainer [Pipeline] sh 05:04:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:54 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:04:54 $ 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 05:04:54 $ docker top 96899813191ee895e88a1658339c89f191a8b3bdd21542050ac47a5b1d1a77a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:54 [ssh-agent] Looking for ssh-agent implementation... 05:04:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:55 $ docker exec 96899813191ee895e88a1658339c89f191a8b3bdd21542050ac47a5b1d1a77a0 ssh-agent 05:04:55 SSH_AUTH_SOCK=/tmp/ssh-FiAthc4pwtX5/agent.32 05:04:55 SSH_AGENT_PID=38 05:04:55 Running ssh-add (command line suppressed) 05:04:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5523431596301540979.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5523431596301540979.key) 05:04:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:55 + git semver push 05:04:55 2023-04-27 05:04:55,718 [run_push] DEBUG push 05:04:55 2023-04-27 05:04:55,719 [execute] INFO git cat-file --batch-check 05:04:55 2023-04-27 05:04:55,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:55 2023-04-27 05:04:55,722 [execute] INFO git rev-list 3965172a252f184fc36f566b645cde2523386125 -- 05:04:55 2023-04-27 05:04:55,723 [execute] DEBUG Popen(['git', 'rev-list', '3965172a252f184fc36f566b645cde2523386125', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:04:55 2023-04-27 05:04:55,731 [execute] INFO git fetch -v origin 05:04:55 2023-04-27 05:04:55,732 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:04:56 2023-04-27 05:04:56,213 [run_push] DEBUG no remote changes detected 05:04:56 2023-04-27 05:04:56,214 [execute] INFO git push origin semver 05:04:56 2023-04-27 05:04:56,214 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:04:57 2023-04-27 05:04:57,102 [run_push] DEBUG push all version tags 05:04:57 2023-04-27 05:04:57,102 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:04:57 2023-04-27 05:04:57,103 [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) 05:04:58 2023-04-27 05:04:58,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:04:58 3.0.0-dev.27 [Pipeline] } 05:04:58 $ docker exec --env ******** --env ******** 96899813191ee895e88a1658339c89f191a8b3bdd21542050ac47a5b1d1a77a0 ssh-agent -k 05:04:58 unset SSH_AUTH_SOCK; 05:04:58 unset SSH_AGENT_PID; 05:04:58 echo Agent pid 38 killed; 05:04:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:58 + git semver [Pipeline] } 05:04:58 $ docker stop --time=1 96899813191ee895e88a1658339c89f191a8b3bdd21542050ac47a5b1d1a77a0 05:05:00 $ docker rm -f --volumes 96899813191ee895e88a1658339c89f191a8b3bdd21542050ac47a5b1d1a77a0 [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 05:05:00 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 05:05:00 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:05:00 total 16 05:05:00 drwxr-xr-x 3 root root 4096 Apr 27 04:54 . 05:05:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 05:04 .. 05:05:00 drwxr-xr-x 2 root root 4096 Apr 27 04:54 cost 05:05:00 -rw-r--r-- 1 root root 86 Apr 27 04:54 cost.csv 05:05:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:05:00 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:05:00 total 16 05:05:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:54 . 05:05:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 05:04 .. 05:05:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:54 cost 05:05:00 -rw-r--r-- 1 jenkins jenkins 86 Apr 27 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> package-listing.sh 05:05:01 ++ facter osfamily 05:05:01 ++ tr '[:upper:]' '[:lower:]' 05:05:02 + OS_FAMILY=debian 05:05:02 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 05:05:02 + START_PACKAGES=/tmp/packages_start.txt 05:05:02 + END_PACKAGES=/tmp/packages_end.txt 05:05:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:02 + PACKAGES=/tmp/packages_start.txt 05:05:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:05:02 + PACKAGES=/tmp/packages_end.txt 05:05:02 + case "${OS_FAMILY}" in 05:05:02 + dpkg -l 05:05:02 + grep '^ii' 05:05:02 + '[' -f /tmp/packages_start.txt ']' 05:05:02 + '[' -f /tmp/packages_end.txt ']' 05:05:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:05:02 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 05:05:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 05:05:02 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 05:05:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:03 prd-ubuntu20.04-docker-8c-8g-11858 does not seem to be running inside a container 05:05:03 $ 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 05:05:03 $ docker top 68e0300d7c52be9b26a392bb75724cd41f5f876da6207de43571f80e35bb70d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:04 + ls /var/log/sa-host 05:05:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:04 provisioning config files... 05:05:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1156219047008189210tmp [Pipeline] { [Pipeline] echo 05:05:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:04 ---> create-netrc.sh [Pipeline] } 05:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:05 ---> python-tools-install.sh [Pipeline] echo 05:05:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:05 ---> sudo-logs.sh 05:05:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:05 ---> job-cost.sh 05:05:05 lf-activate-venv: SKIPPING 05:05:05 DEBUG: total: 0.2199999988079071 05:05:05 INFO: Retrieving Stack Cost... 05:05:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:06 INFO: Archiving Costs [Pipeline] echo 05:05:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:06 ---> logs-deploy.sh 05:05:06 lf-activate-venv: SKIPPING 05:05:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/110 05:05:06 INFO: archiving workspace using pattern(s): 05:05:07 Archives upload complete. 05:05:07 INFO: archiving logs to Nexus