Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d33384134bee0215aaad493adec514fb129bdc9 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-ssh15345703239788507842.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-ssh4659495441725447122.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-ssh11551574203231061401.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-ssh15529479917250656880.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-ssh12964058727499668724.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-9192 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 4d33384134bee0215aaad493adec514fb129bdc9 (main) Commit message: "Merge pull request #571 from hahattan/issue-567" > 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 4d33384134bee0215aaad493adec514fb129bdc9 # timeout=10 > git rev-list --no-walk 5d36472c489360535a63323b7f6c17c4ae0cfc32 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:21:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:21:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:21:25 ========================================================= 15:21:25 EdgeX Global Pipelines Version Info 15:21:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:21:26 ------------------- 15:21:26 stable info: 15:21:26 ------------------- 15:21:26 Commited By: Bill Mahoney bill.mahoney@intel.com 15:21:26 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:21:26 Message: update stable to v1.0.248 15:21:27 ------------------- 15:21:27 experimental info: 15:21:27 ------------------- 15:21:27 Commited By: **** collab-it+edgex@linuxfoundation.org 15:21:27 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:21:27 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d33384 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:27 provisioning config files... 15:21:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8817495628516239300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:28 ---> docker-login.sh 15:21:28 nexus3.edgexfoundry.org:10001 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10002 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10003 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10004 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 docker.io 15:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:29 Configure a credential helper to remove this warning. See 15:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:29 15:21:29 Login Succeeded 15:21:29 ---> docker-login.sh ends [Pipeline] } 15:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:21:30 + git rev-list -1 --merges 4d33384134bee0215aaad493adec514fb129bdc9~1..4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] echo 15:21:30 -----------> git rev-list -1 --merges 4d33384134bee0215aaad493adec514fb129bdc9~1..4d33384134bee0215aaad493adec514fb129bdc9 4d33384134bee0215aaad493adec514fb129bdc9 15:21:30 4d33384134bee0215aaad493adec514fb129bdc9 [false] [Pipeline] sh 15:21:30 + git log --format=format:%s -1 4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] echo 15:21:30 ========================================================= 15:21:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:21:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:30 + git log --format=format:%s -1 4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] echo 15:21:30 [semverPrep] GIT_COMMIT: 4d33384134bee0215aaad493adec514fb129bdc9, Commit Message: Merge pull request #571 from hahattan/issue-567 [Pipeline] echo 15:21:30 [semverPrep] This is not a build commit. [Pipeline] sh 15:21:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:31 + grep -v github /etc/ssh/ssh_known_hosts 15:21:31 + [ -e /tmp/ssh_known_hosts ] 15:21:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:21:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:21:31 + sudo tee -a /etc/ssh/ssh_known_hosts 15:21:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:31 15:21:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:31 0.1.4: Pulling from edgex-devops/py-git-semver 15:21:31 b85a868b505f: Pulling fs layer 15:21:31 e2be974225ed: Pulling fs layer 15:21:31 339a4e72a1f5: Pulling fs layer 15:21:31 988bab9f4d93: Pulling fs layer 15:21:31 1469e6f7b9e6: Pulling fs layer 15:21:31 eaf3925da568: Pulling fs layer 15:21:31 bab4dde63d76: Pulling fs layer 15:21:31 bde34c3a00c8: Pulling fs layer 15:21:31 b352a97aabf1: Pulling fs layer 15:21:31 4872d77fe225: Pulling fs layer 15:21:31 5851b861e8e6: Pulling fs layer 15:21:31 eaf3925da568: Waiting 15:21:31 bab4dde63d76: Waiting 15:21:31 bde34c3a00c8: Waiting 15:21:31 988bab9f4d93: Waiting 15:21:31 b352a97aabf1: Waiting 15:21:31 4872d77fe225: Waiting 15:21:31 1469e6f7b9e6: Waiting 15:21:31 5851b861e8e6: Waiting 15:21:31 e2be974225ed: Verifying Checksum 15:21:31 e2be974225ed: Download complete 15:21:31 988bab9f4d93: Verifying Checksum 15:21:31 988bab9f4d93: Download complete 15:21:31 1469e6f7b9e6: Verifying Checksum 15:21:31 1469e6f7b9e6: Download complete 15:21:31 339a4e72a1f5: Verifying Checksum 15:21:31 339a4e72a1f5: Download complete 15:21:32 eaf3925da568: Verifying Checksum 15:21:32 eaf3925da568: Download complete 15:21:32 bde34c3a00c8: Verifying Checksum 15:21:32 bde34c3a00c8: Download complete 15:21:32 b352a97aabf1: Verifying Checksum 15:21:32 b352a97aabf1: Download complete 15:21:32 4872d77fe225: Verifying Checksum 15:21:32 4872d77fe225: Download complete 15:21:32 5851b861e8e6: Download complete 15:21:32 b85a868b505f: Verifying Checksum 15:21:32 b85a868b505f: Download complete 15:21:32 bab4dde63d76: Verifying Checksum 15:21:32 bab4dde63d76: Download complete 15:21:33 b85a868b505f: Pull complete 15:21:33 e2be974225ed: Pull complete 15:21:33 339a4e72a1f5: Pull complete 15:21:33 988bab9f4d93: Pull complete 15:21:34 1469e6f7b9e6: Pull complete 15:21:34 eaf3925da568: Pull complete 15:21:36 bab4dde63d76: Pull complete 15:21:36 bde34c3a00c8: Pull complete 15:21:36 b352a97aabf1: Pull complete 15:21:36 4872d77fe225: Pull complete 15:21:36 5851b861e8e6: Pull complete 15:21:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:21:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:36 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:21:36 $ 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 15:21:39 $ docker top 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 -eo pid,comm 15:21:39 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). 15:21:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:39 [ssh-agent] Looking for ssh-agent implementation... 15:21:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:39 $ docker exec 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 ssh-agent 15:21:39 SSH_AUTH_SOCK=/tmp/ssh-FGZwTJFia9Cp/agent.32 15:21:39 SSH_AGENT_PID=38 15:21:39 Running ssh-add (command line suppressed) 15:21:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12665900918966008566.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12665900918966008566.key) 15:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:40 + git tag --points-at HEAD [Pipeline] } 15:21:40 $ docker exec --env ******** --env ******** 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 ssh-agent -k 15:21:40 unset SSH_AUTH_SOCK; 15:21:40 unset SSH_AGENT_PID; 15:21:40 echo Agent pid 38 killed; 15:21:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:21:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:40 [ssh-agent] Looking for ssh-agent implementation... 15:21:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:40 $ docker exec 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 ssh-agent 15:21:40 SSH_AUTH_SOCK=/tmp/ssh-5NLk3yk2FE6o/agent.70 15:21:40 SSH_AGENT_PID=76 15:21:40 Running ssh-add (command line suppressed) 15:21:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13170409720215019718.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13170409720215019718.key) 15:21:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:40 + git semver init 15:21:41 2023-04-20 15:21:41,054 [run_init] DEBUG init version:0.0.0 force:False 15:21:41 2023-04-20 15:21:41,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:21:41 2023-04-20 15:21:41,056 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:21:41 2023-04-20 15:21:41,056 [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) 15:21:42 2023-04-20 15:21:41,856 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 15:21:42 2023-04-20 15:21:41,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 15:21:42 2023-04-20 15:21:41,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:21:42 2023-04-20 15:21:41,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:21:42 3.0.0-dev.22 [Pipeline] } 15:21:42 $ docker exec --env ******** --env ******** 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 ssh-agent -k 15:21:42 unset SSH_AUTH_SOCK; 15:21:42 unset SSH_AGENT_PID; 15:21:42 echo Agent pid 76 killed; 15:21:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:42 + git semver [Pipeline] } 15:21:42 $ docker stop --time=1 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 15:21:44 $ docker rm -f --volumes 0bdd3f3147c0a3b9f51d450054c69440f638a950fee782960ada5fa7a4d06404 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:21:44 Stashed 1 file(s) [Pipeline] echo 15:21:44 [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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 15:21:44 provisioning config files... 15:21:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1315957912196530943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:45 ---> docker-login.sh 15:21:45 nexus3.edgexfoundry.org:10001 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 nexus3.edgexfoundry.org:10002 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 nexus3.edgexfoundry.org:10003 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 nexus3.edgexfoundry.org:10004 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 docker.io 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 ---> docker-login.sh ends [Pipeline] } 15:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:45 ========================================================= 15:21:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:21:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:45 + 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 . 15:21:45 Sending build context to Docker daemon 6.459MB 15:21:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:21:45 Step 2/12 : FROM ${BASE} AS builder 15:21:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:21:45 63b65145d645: Pulling fs layer 15:21:45 a2d21d5440eb: Pulling fs layer 15:21:45 935e6c44a52c: Pulling fs layer 15:21:45 94cc34f8dd06: Pulling fs layer 15:21:45 30dea6a524f1: Pulling fs layer 15:21:45 a2aff8979fd8: Pulling fs layer 15:21:45 6808be2612f2: Pulling fs layer 15:21:45 f25807f1079a: Pulling fs layer 15:21:45 94cc34f8dd06: Waiting 15:21:45 a2aff8979fd8: Waiting 15:21:45 30dea6a524f1: Waiting 15:21:45 f25807f1079a: Waiting 15:21:45 6808be2612f2: Waiting 15:21:46 a2d21d5440eb: Verifying Checksum 15:21:46 a2d21d5440eb: Download complete 15:21:46 94cc34f8dd06: Download complete 15:21:46 30dea6a524f1: Download complete 15:21:46 63b65145d645: Verifying Checksum 15:21:46 63b65145d645: Download complete 15:21:46 a2aff8979fd8: Verifying Checksum 15:21:46 a2aff8979fd8: Download complete 15:21:46 63b65145d645: Pull complete 15:21:46 a2d21d5440eb: Pull complete 15:21:46 f25807f1079a: Verifying Checksum 15:21:46 f25807f1079a: Download complete 15:21:46 935e6c44a52c: Verifying Checksum 15:21:46 935e6c44a52c: Download complete 15:21:47 6808be2612f2: Verifying Checksum 15:21:47 6808be2612f2: Download complete 15:21:50 935e6c44a52c: Pull complete 15:21:50 94cc34f8dd06: Pull complete 15:21:50 30dea6a524f1: Pull complete 15:21:50 a2aff8979fd8: Pull complete 15:21:52 6808be2612f2: Pull complete 15:21:53 f25807f1079a: Pull complete 15:21:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:21:53 ---> 3b553350e43f 15:21:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:21:59 Still waiting to schedule task 15:21:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:21:59 ---> Running in fff5370e153f 15:21:59 Removing intermediate container fff5370e153f 15:21:59 ---> 88f047bb3917 15:21:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:21:59 ---> Running in 7e21f1894bd1 15:21:59 Removing intermediate container 7e21f1894bd1 15:21:59 ---> e2dcdacd45c9 15:21:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:21:59 ---> Running in b273ce10ad8f 15:21:59 Removing intermediate container b273ce10ad8f 15:21:59 ---> 781f67e50c22 15:21:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:21:59 ---> Running in 196a75fd4786 15:21:59 Removing intermediate container 196a75fd4786 15:21:59 ---> ecf20704e7a1 15:21:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:21:59 ---> Running in 70a5e16f4991 15:21:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:21:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:21:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:21:59 (2/4) Installing libedit (20221030.3.1-r0) 15:21:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:21:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:21:59 Executing busybox-1.35.0-r29.trigger 15:21:59 OK: 269 MiB in 57 packages 15:22:00 Removing intermediate container 70a5e16f4991 15:22:00 ---> 2a3c81e1f392 15:22:00 Step 8/12 : WORKDIR /device-mqtt-go 15:22:00 ---> Running in 5d577649ab15 15:22:00 Removing intermediate container 5d577649ab15 15:22:00 ---> 42954b0aae82 15:22:00 Step 9/12 : COPY go.mod vendor* ./ 15:22:00 ---> 9ebc387ba2f1 15:22:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:00 ---> Running in 9ded552ea4cb 15:22:47 Removing intermediate container 9ded552ea4cb 15:22:47 ---> 93dcaa84ad39 15:22:47 Step 11/12 : COPY . . 15:22:47 ---> 3972ff1e615d 15:22:47 Step 12/12 : RUN $MAKE 15:22:47 ---> Running in da8ee7daad12 15:22:47 noop 15:22:47 Removing intermediate container da8ee7daad12 15:22:47 ---> e2a56fb265a0 15:22:47 Successfully built e2a56fb265a0 15:22:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:47 + docker inspect -f . ci-base-image-x86_64 15:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:47 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:22:47 $ 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 15:22:48 $ docker top 42bbd57e78d4a88a33d2a2196e10a9ca544e51ec1ef118c8ef2651f8cf6e07c2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:48 + go version 15:22:48 go version go1.20.2 linux/amd64 [Pipeline] } 15:22:48 $ docker stop --time=1 42bbd57e78d4a88a33d2a2196e10a9ca544e51ec1ef118c8ef2651f8cf6e07c2 15:22:49 $ docker rm -f --volumes 42bbd57e78d4a88a33d2a2196e10a9ca544e51ec1ef118c8ef2651f8cf6e07c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:50 + docker inspect -f . ci-base-image-x86_64 15:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:50 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:22:50 $ 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 15:22:50 $ docker top 4cae6ed6a25704d9aa846dddd06f5611d0091c8111cd39816b665b4e53bb3ddc -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 15:22:51 + make test 15:22:51 go test ./... -coverprofile=coverage.out ./... 15:22:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:23:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:23:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:23:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.9% of statements 15:23:12 go vet ./... 15:23:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:23:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:23:14 ./bin/test-attribution-txt.sh [Pipeline] echo 15:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:23:14 $ docker stop --time=1 4cae6ed6a25704d9aa846dddd06f5611d0091c8111cd39816b665b4e53bb3ddc 15:23:17 $ docker rm -f --volumes 4cae6ed6a25704d9aa846dddd06f5611d0091c8111cd39816b665b4e53bb3ddc [Pipeline] // withDockerContainer [Pipeline] sh 15:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:23:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:19 + ls -al . 15:23:19 total 180 15:23:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 15:22 . 15:23:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:21 .. 15:23:19 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 15:21 .dockerignore 15:23:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:21 .git 15:23:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:21 .github 15:23:19 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 15:21 .gitignore 15:23:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 15:21 .golangci.yml 15:23:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 15:21 .semver 15:23:19 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 20 15:21 Attribution.txt 15:23:19 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 20 15:21 CHANGELOG.md 15:23:19 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 20 15:21 Dockerfile 15:23:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 15:21 GOVERNANCE.md 15:23:19 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 15:21 Jenkinsfile 15:23:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 15:21 LICENSE 15:23:19 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 20 15:21 Makefile 15:23:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 15:21 OWNERS.md 15:23:19 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 20 15:21 README.md 15:23:19 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 15:21 VERSION 15:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:21 bin 15:23:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:21 cmd 15:23:19 -rw-r--r-- 1 jenkins jenkins 18460 Apr 20 15:23 coverage.out 15:23:19 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 20 15:21 go.mod 15:23:19 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 15:21 go.sum 15:23:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:21 internal 15:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:21 mock 15:23:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:21 snap 15:23:19 -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 15:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:19 + 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=4d33384134bee0215aaad493adec514fb129bdc9 --label arch=amd64 --label version=3.0.0-dev.22 . 15:23:19 Sending build context to Docker daemon 6.479MB 15:23:19 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:23:19 Step 2/24 : FROM ${BASE} AS builder 15:23:19 ---> e2a56fb265a0 15:23:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:23:19 ---> Running in 8e0036b5efd5 15:23:19 Removing intermediate container 8e0036b5efd5 15:23:19 ---> 9281a83826ef 15:23:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:23:19 ---> Running in f1c362257a18 15:23:20 Removing intermediate container f1c362257a18 15:23:20 ---> d072054adaa0 15:23:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:23:20 ---> Running in c368d4464cae 15:23:20 Removing intermediate container c368d4464cae 15:23:20 ---> aaae9ff45753 15:23:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:23:21 ---> Running in eea3ec9db149 15:23:21 Removing intermediate container eea3ec9db149 15:23:21 ---> bafdd40e5bc9 15:23:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:23:21 ---> Running in c8c855f25291 15:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:23:22 OK: 269 MiB in 57 packages 15:23:22 Removing intermediate container c8c855f25291 15:23:22 ---> 396915cf975f 15:23:22 Step 8/24 : WORKDIR /device-mqtt-go 15:23:22 ---> Running in 8a4f1f1a9f67 15:23:22 Removing intermediate container 8a4f1f1a9f67 15:23:22 ---> d3ded3feec01 15:23:22 Step 9/24 : COPY go.mod vendor* ./ 15:23:23 ---> d182d5ce0ec6 15:23:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:23 ---> Running in 3c14906de446 15:23:24 Removing intermediate container 3c14906de446 15:23:24 ---> 23f27d759af9 15:23:24 Step 11/24 : COPY . . 15:23:24 ---> 4e6b8896a6b4 15:23:24 Step 12/24 : RUN $MAKE 15:23:24 ---> Running in faf2d868830e 15:23:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:23:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9193 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 15:23:26 Running in /w/workspace/device-mqtt-go/106 [Pipeline] { [Pipeline] checkout 15:23:26 Selected Git installation does not exist. Using Default 15:23:26 The recommended git tool is: NONE 15:23:32 using credential edgex-jenkins-ssh 15:23:32 Cloning the remote Git repository 15:23:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:23:32 > git init /w/workspace/device-mqtt-go/106 # timeout=10 15:23:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:23:32 > git --version # timeout=10 15:23:32 > git --version # 'git version 2.25.1' 15:23:32 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:23:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:34 Avoid second fetch 15:23:34 Checking out Revision 4d33384134bee0215aaad493adec514fb129bdc9 (main) 15:23:35 Commit message: "Merge pull request #571 from hahattan/issue-567" 15:23:34 > git config core.sparsecheckout # timeout=10 15:23:34 > git checkout -f 4d33384134bee0215aaad493adec514fb129bdc9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 15:23:36 Dload Upload Total Spent Left Speed 15:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69298 [Pipeline] sh 15:23:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:23:36 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 15:23:36 15:23:36 { 15:23:36 "registry-mirrors": [ 15:23:36 "https://nexus3.edgexfoundry.org:10001" 15:23:36 ], 15:23:36 "bip": "10.250.0.254/24", 15:23:36 "hosts": [ 15:23:36 "tcp://0.0.0.0:5555", 15:23:36 "unix:///var/run/docker.sock" 15:23:36 ], 15:23:36 "mtu": 1458, 15:23:36 "selinux-enabled": true, 15:23:36 "seccomp-profile": "/etc/docker/seccomp.json" 15:23:36 } [Pipeline] sh 15:23:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:23:37 + sudo service docker restart 15:23:42 Removing intermediate container faf2d868830e 15:23:42 ---> 055f7e9d19e5 15:23:42 Step 13/24 : FROM alpine:3.17 15:23:42 3.17: Pulling from library/alpine 15:23:42 f56be85fc22e: Pulling fs layer 15:23:43 f56be85fc22e: Verifying Checksum 15:23:43 f56be85fc22e: Download complete 15:23:43 f56be85fc22e: Pull complete 15:23:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:23:43 Status: Downloaded newer image for alpine:3.17 15:23:43 ---> 9ed4aefc74f6 15:23:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:23:43 ---> Running in 2290eac0c3a8 15:23:43 Removing intermediate container 2290eac0c3a8 15:23:43 ---> 57b389783cf1 15:23:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:23:43 ---> Running in fe981a4e9cb9 15:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:23:44 (1/1) Installing dumb-init (1.2.5-r2) 15:23:44 Executing busybox-1.35.0-r29.trigger 15:23:44 OK: 7 MiB in 16 packages 15:23:44 Removing intermediate container fe981a4e9cb9 15:23:44 ---> eb9338b6b8c5 15:23:44 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:23:45 ---> 8eb0b5f87922 15:23:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:23:45 ---> 383d33166a18 15:23:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:23:45 ---> 75087f89dee2 15:23:45 Step 19/24 : EXPOSE 59982 15:23:45 ---> Running in b07f9f7e62e2 15:23:45 Removing intermediate container b07f9f7e62e2 15:23:45 ---> bfb82ad4c90a 15:23:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:23:45 ---> Running in 08d88b3a3a57 15:23:45 Removing intermediate container 08d88b3a3a57 15:23:45 ---> 73486a151e8f 15:23:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:23:45 ---> Running in 5e0478c42cc8 15:23:45 Removing intermediate container 5e0478c42cc8 15:23:45 ---> cbb664fff26a 15:23:45 Step 22/24 : LABEL arch=amd64 15:23:45 ---> Running in 886d34115fa7 15:23:45 Removing intermediate container 886d34115fa7 15:23:45 ---> 175e416219af 15:23:45 Step 23/24 : LABEL git_sha=4d33384134bee0215aaad493adec514fb129bdc9 15:23:45 ---> Running in 0323ae16adb7 15:23:45 Removing intermediate container 0323ae16adb7 15:23:45 ---> c16f11112589 15:23:45 Step 24/24 : LABEL version=3.0.0-dev.22 15:23:45 ---> Running in c8d410944010 15:23:45 Removing intermediate container c8d410944010 15:23:45 ---> 36620b5f99f1 15:23:45 [Warning] One or more build-args [ARCH] were not consumed 15:23:45 Successfully built 36620b5f99f1 15:23:45 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:45 provisioning config files... 15:23:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5471440986423138381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:46 ---> docker-login.sh 15:23:46 nexus3.edgexfoundry.org:10001 15:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:46 Configure a credential helper to remove this warning. See 15:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:46 15:23:46 Login Succeeded 15:23:46 nexus3.edgexfoundry.org:10002 15:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:46 Configure a credential helper to remove this warning. See 15:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:46 15:23:46 Login Succeeded 15:23:46 nexus3.edgexfoundry.org:10003 15:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:46 Configure a credential helper to remove this warning. See 15:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:46 15:23:46 Login Succeeded 15:23:46 nexus3.edgexfoundry.org:10004 15:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:46 Configure a credential helper to remove this warning. See 15:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:46 15:23:46 Login Succeeded 15:23:46 docker.io 15:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:46 Configure a credential helper to remove this warning. See 15:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:46 15:23:46 Login Succeeded 15:23:46 ---> docker-login.sh ends [Pipeline] } 15:23:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:46 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:23:46 4d33384134bee0215aaad493adec514fb129bdc9 15:23:46 latest 15:23:46 3.0.0-dev.22 15:23:46 4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:23:46 main 15:23:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9 15:23:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:23:47 f01adcc7656c: Preparing 15:23:47 6f6f92d18bc5: Preparing 15:23:47 c75f254cad0e: Preparing 15:23:47 e1ac5ebef0ea: Preparing 15:23:47 f1417ff83b31: Preparing 15:23:47 f1417ff83b31: Layer already exists 15:23:47 6f6f92d18bc5: Pushed 15:23:47 f01adcc7656c: Pushed 15:23:47 e1ac5ebef0ea: Pushed 15:23:49 c75f254cad0e: Pushed 15:23:49 4d33384134bee0215aaad493adec514fb129bdc9: digest: sha256:a0a756c09ca80db03e1821f23797da96d337caab9ee62f46983dd847cd594c78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:23:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:23:50 f01adcc7656c: Preparing 15:23:50 6f6f92d18bc5: Preparing 15:23:50 c75f254cad0e: Preparing 15:23:50 e1ac5ebef0ea: Preparing 15:23:50 f1417ff83b31: Preparing 15:23:50 f01adcc7656c: Layer already exists 15:23:50 c75f254cad0e: Layer already exists 15:23:50 e1ac5ebef0ea: Layer already exists 15:23:50 f1417ff83b31: Layer already exists 15:23:50 6f6f92d18bc5: Layer already exists 15:23:50 latest: digest: sha256:a0a756c09ca80db03e1821f23797da96d337caab9ee62f46983dd847cd594c78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.22 15:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:23:51 f01adcc7656c: Preparing 15:23:51 6f6f92d18bc5: Preparing 15:23:51 c75f254cad0e: Preparing 15:23:51 e1ac5ebef0ea: Preparing 15:23:51 f1417ff83b31: Preparing 15:23:51 f01adcc7656c: Layer already exists 15:23:51 f1417ff83b31: Layer already exists 15:23:51 c75f254cad0e: Layer already exists 15:23:51 6f6f92d18bc5: Layer already exists 15:23:51 e1ac5ebef0ea: Layer already exists 15:23:51 3.0.0-dev.22: digest: sha256:a0a756c09ca80db03e1821f23797da96d337caab9ee62f46983dd847cd594c78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:23:51 f01adcc7656c: Preparing 15:23:51 6f6f92d18bc5: Preparing 15:23:51 c75f254cad0e: Preparing 15:23:51 e1ac5ebef0ea: Preparing 15:23:51 f1417ff83b31: Preparing 15:23:51 6f6f92d18bc5: Layer already exists 15:23:51 c75f254cad0e: Layer already exists 15:23:51 f01adcc7656c: Layer already exists 15:23:51 f1417ff83b31: Layer already exists 15:23:51 e1ac5ebef0ea: Layer already exists 15:23:51 4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22: digest: sha256:a0a756c09ca80db03e1821f23797da96d337caab9ee62f46983dd847cd594c78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:23:52 f01adcc7656c: Preparing 15:23:52 6f6f92d18bc5: Preparing 15:23:52 c75f254cad0e: Preparing 15:23:52 e1ac5ebef0ea: Preparing 15:23:52 f1417ff83b31: Preparing 15:23:52 c75f254cad0e: Layer already exists 15:23:52 f1417ff83b31: Layer already exists 15:23:52 6f6f92d18bc5: Layer already exists 15:23:52 e1ac5ebef0ea: Layer already exists 15:23:52 f01adcc7656c: Layer already exists 15:23:52 main: digest: sha256:a0a756c09ca80db03e1821f23797da96d337caab9ee62f46983dd847cd594c78 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:23:52 ===================================================== [Pipeline] echo 15:23:52 taggedImages: 15:23:52 - nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9 15:23:52 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:23:52 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.22 15:23:52 - nexus3.edgexfoundry.org:10004/device-mqtt:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:23:52 - 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 15:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:52 15:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:53 latest: Pulling from edgex-lftools-log-publisher 15:23:53 5eb5b503b376: Pulling fs layer 15:23:53 5c69ac0246d0: Pulling fs layer 15:23:53 ec43610c2a17: Pulling fs layer 15:23:53 3a2ae6a8a46f: Pulling fs layer 15:23:53 33b1e0a273af: Pulling fs layer 15:23:53 5d3b04190fa2: Pulling fs layer 15:23:53 2f39f015ded8: Pulling fs layer 15:23:53 5d3b04190fa2: Waiting 15:23:53 33b1e0a273af: Waiting 15:23:53 2f39f015ded8: Waiting 15:23:53 3a2ae6a8a46f: Waiting 15:23:53 5c69ac0246d0: Download complete 15:23:53 3a2ae6a8a46f: Verifying Checksum 15:23:53 3a2ae6a8a46f: Download complete 15:23:53 33b1e0a273af: Verifying Checksum 15:23:53 33b1e0a273af: Download complete 15:23:53 ec43610c2a17: Verifying Checksum 15:23:53 ec43610c2a17: Download complete 15:23:53 5d3b04190fa2: Verifying Checksum 15:23:53 5d3b04190fa2: Download complete 15:23:53 5eb5b503b376: Verifying Checksum 15:23:53 5eb5b503b376: Download complete 15:23:53 2f39f015ded8: Download complete 15:23:54 5eb5b503b376: Pull complete 15:23:54 5c69ac0246d0: Pull complete 15:23:55 ec43610c2a17: Pull complete 15:23:55 3a2ae6a8a46f: Pull complete 15:23:55 33b1e0a273af: Pull complete 15:23:55 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:55 provisioning config files... 15:23:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/106@tmp/config6286704755222574193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:56 ---> docker-login.sh 15:23:56 nexus3.edgexfoundry.org:10001 15:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:56 Configure a credential helper to remove this warning. See 15:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:56 15:23:56 Login Succeeded 15:23:56 nexus3.edgexfoundry.org:10002 15:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:57 Configure a credential helper to remove this warning. See 15:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:57 15:23:57 Login Succeeded 15:23:57 nexus3.edgexfoundry.org:10003 15:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:57 Configure a credential helper to remove this warning. See 15:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:57 15:23:57 Login Succeeded 15:23:57 nexus3.edgexfoundry.org:10004 15:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:58 Configure a credential helper to remove this warning. See 15:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:58 15:23:58 Login Succeeded 15:23:58 docker.io 15:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:58 Configure a credential helper to remove this warning. See 15:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:58 15:23:58 Login Succeeded 15:23:58 ---> docker-login.sh ends [Pipeline] } 15:23:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:58 ========================================================= 15:23:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:23:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:59 + 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 . 15:23:59 Sending build context to Docker daemon 3.342MB 15:23:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:23:59 Step 2/12 : FROM ${BASE} AS builder 15:23:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:23:59 af6eaf76a39c: Pulling fs layer 15:23:59 55522c791124: Pulling fs layer 15:23:59 ce5c4a1c91eb: Pulling fs layer 15:23:59 169dfbe0d373: Pulling fs layer 15:23:59 e1ff8fa3b103: Pulling fs layer 15:23:59 52ebb69f0ebf: Pulling fs layer 15:23:59 5abe8eddf0d5: Pulling fs layer 15:23:59 e1ff8fa3b103: Waiting 15:23:59 52ebb69f0ebf: Waiting 15:23:59 5abe8eddf0d5: Waiting 15:23:59 169dfbe0d373: Waiting 15:23:59 55522c791124: Verifying Checksum 15:23:59 55522c791124: Download complete 15:23:59 169dfbe0d373: Verifying Checksum 15:23:59 169dfbe0d373: Download complete 15:23:59 e1ff8fa3b103: Verifying Checksum 15:23:59 e1ff8fa3b103: Download complete 15:23:59 af6eaf76a39c: Verifying Checksum 15:23:59 af6eaf76a39c: Download complete 15:23:59 2f39f015ded8: Pull complete 15:23:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:23:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:59 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:23:59 $ 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 15:24:00 af6eaf76a39c: Pull complete 15:24:00 5abe8eddf0d5: Verifying Checksum 15:24:00 5abe8eddf0d5: Download complete 15:24:01 55522c791124: Pull complete 15:24:02 ce5c4a1c91eb: Verifying Checksum 15:24:02 ce5c4a1c91eb: Download complete 15:24:02 52ebb69f0ebf: Verifying Checksum 15:24:04 $ docker top 6ede30b8306a310b97ef083f085bd0f76c27b9f83df64e09b2bcbc9333e4b920 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:04 ---> job-cost.sh 15:24:04 lf-activate-venv: SKIPPING 15:24:04 INFO: No Stack... 15:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:24:05 INFO: Archiving Costs [Pipeline] sh 15:24:05 + cut -d, -f6 15:24:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 15:24:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] 15:24:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] did not exist. Created. 15:24:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:24:06 + echo total: 0.2199999988079071 [Pipeline] stash 15:24:06 Stashed 1 file(s) [Pipeline] } 15:24:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 15:24:06 $ docker stop --time=1 6ede30b8306a310b97ef083f085bd0f76c27b9f83df64e09b2bcbc9333e4b920 15:24:07 $ docker rm -f --volumes 6ede30b8306a310b97ef083f085bd0f76c27b9f83df64e09b2bcbc9333e4b920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:24:14 ce5c4a1c91eb: Pull complete 15:24:14 169dfbe0d373: Pull complete 15:24:14 e1ff8fa3b103: Pull complete 15:24:20 52ebb69f0ebf: Pull complete 15:24:21 5abe8eddf0d5: Pull complete 15:24:21 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:24:21 ---> 6cb57ee374ae 15:24:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:24:23 ---> Running in 99fe1452a8b1 15:24:23 Removing intermediate container 99fe1452a8b1 15:24:23 ---> af723125e3dc 15:24:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:24:23 ---> Running in 56b2a37b2dbc 15:24:23 Removing intermediate container 56b2a37b2dbc 15:24:23 ---> c527b8f7d28e 15:24:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:24:24 ---> Running in af3cae71e4f3 15:24:24 Removing intermediate container af3cae71e4f3 15:24:24 ---> 53836908b917 15:24:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:24:24 ---> Running in 2c819877c121 15:24:24 Removing intermediate container 2c819877c121 15:24:24 ---> 1fdc3ff5b611 15:24:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:25 ---> Running in 909ef3dfae80 15:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:24:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:24:27 (2/4) Installing libedit (20221030.3.1-r0) 15:24:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:24:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:24:27 Executing busybox-1.35.0-r29.trigger 15:24:27 OK: 268 MiB in 57 packages 15:24:28 Removing intermediate container 909ef3dfae80 15:24:28 ---> 66c4c82ad073 15:24:28 Step 8/12 : WORKDIR /device-mqtt-go 15:24:28 ---> Running in 2ea89ef34bcc 15:24:29 Removing intermediate container 2ea89ef34bcc 15:24:29 ---> a0d0e9c28fd0 15:24:29 Step 9/12 : COPY go.mod vendor* ./ 15:24:29 ---> f4186b1d7c16 15:24:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:30 ---> Running in 514bf61aa080 15:25:38 Removing intermediate container 514bf61aa080 15:25:38 ---> 88229e9b4866 15:25:38 Step 11/12 : COPY . . 15:25:38 ---> de7670ec3553 15:25:38 Step 12/12 : RUN $MAKE 15:25:38 ---> Running in b394cedba1c1 15:25:38 noop 15:25:38 Removing intermediate container b394cedba1c1 15:25:38 ---> 347bc7485220 15:25:38 Successfully built 347bc7485220 15:25:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:38 + docker inspect -f . ci-base-image-arm64 15:25:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-9193 does not seem to be running inside a container 15:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/106 -v /w/workspace/device-mqtt-go/106:/w/workspace/device-mqtt-go/106:rw,z -v /w/workspace/device-mqtt-go/106@tmp:/w/workspace/device-mqtt-go/106@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 15:25:39 $ docker top e953ed267fad663b84a13d48d444532dc83b8818611d5e49239b68ad82556380 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:40 + go version 15:25:40 go version go1.20.2 linux/arm64 [Pipeline] } 15:25:40 $ docker stop --time=1 e953ed267fad663b84a13d48d444532dc83b8818611d5e49239b68ad82556380 15:25:42 $ docker rm -f --volumes e953ed267fad663b84a13d48d444532dc83b8818611d5e49239b68ad82556380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:43 + docker inspect -f . ci-base-image-arm64 15:25:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:43 prd-ubuntu20.04-docker-arm64-4c-16g-9193 does not seem to be running inside a container 15:25:43 $ 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/106 -v /w/workspace/device-mqtt-go/106:/w/workspace/device-mqtt-go/106:rw,z -v /w/workspace/device-mqtt-go/106@tmp:/w/workspace/device-mqtt-go/106@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 15:25:44 $ docker top 76997a2531d557728ed9ba9d3b0977308ca699db473c23bad7518f57afa50057 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:45 + git config --global --add safe.directory /w/workspace/device-mqtt-go/106 [Pipeline] fileExists [Pipeline] sh 15:25:45 + make test 15:25:45 go test ./... -coverprofile=coverage.out ./... 15:26:17 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:28:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:28:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:28:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.9% of statements 15:28:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:28:09 go vet ./... 15:28:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:28:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:28:41 ./bin/test-attribution-txt.sh [Pipeline] echo 15:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:28:42 $ docker stop --time=1 76997a2531d557728ed9ba9d3b0977308ca699db473c23bad7518f57afa50057 15:28:44 $ docker rm -f --volumes 76997a2531d557728ed9ba9d3b0977308ca699db473c23bad7518f57afa50057 [Pipeline] // withDockerContainer [Pipeline] sh 15:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:28:45 Warning: overwriting stash ‘coverage-report’ 15:28:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:28:46 + ls -al . 15:28:46 total 176 15:28:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 15:25 . 15:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:23 .. 15:28:46 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 15:23 .dockerignore 15:28:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:23 .git 15:28:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:23 .github 15:28:46 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 15:23 .gitignore 15:28:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 15:23 .golangci.yml 15:28:46 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 20 15:23 Attribution.txt 15:28:46 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 20 15:23 CHANGELOG.md 15:28:46 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 20 15:23 Dockerfile 15:28:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 15:23 GOVERNANCE.md 15:28:46 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 15:23 Jenkinsfile 15:28:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 15:23 LICENSE 15:28:46 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 20 15:23 Makefile 15:28:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 15:23 OWNERS.md 15:28:46 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 20 15:23 README.md 15:28:46 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 15:21 VERSION 15:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:23 bin 15:28:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:23 cmd 15:28:46 -rw-r--r-- 1 jenkins jenkins 18460 Apr 20 15:28 coverage.out 15:28:46 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 20 15:23 go.mod 15:28:46 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 15:23 go.sum 15:28:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:23 internal 15:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:23 mock 15:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:23 snap 15:28:46 -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 15:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:46 + 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=4d33384134bee0215aaad493adec514fb129bdc9 --label arch=arm64 --label version=3.0.0-dev.22 . 15:28:47 Sending build context to Docker daemon 3.361MB 15:28:47 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:28:47 Step 2/24 : FROM ${BASE} AS builder 15:28:47 ---> 347bc7485220 15:28:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:28:47 ---> Running in 7c0b5403b408 15:28:47 Removing intermediate container 7c0b5403b408 15:28:47 ---> 6ebe080b564a 15:28:47 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:47 ---> Running in 63edea9504a2 15:28:48 Removing intermediate container 63edea9504a2 15:28:48 ---> 6fdca585a0cb 15:28:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:28:48 ---> Running in 3afe0bdf3e56 15:28:48 Removing intermediate container 3afe0bdf3e56 15:28:48 ---> 3a89f9c4240a 15:28:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:28:48 ---> Running in 1655cb738801 15:28:48 Removing intermediate container 1655cb738801 15:28:48 ---> 1fd8dd474278 15:28:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:48 ---> Running in c41235d7905d 15:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:28:51 OK: 268 MiB in 57 packages 15:28:52 Removing intermediate container c41235d7905d 15:28:52 ---> 6bf57fa87c02 15:28:52 Step 8/24 : WORKDIR /device-mqtt-go 15:28:52 ---> Running in f4a0f40448d9 15:28:52 Removing intermediate container f4a0f40448d9 15:28:52 ---> 90398b964031 15:28:52 Step 9/24 : COPY go.mod vendor* ./ 15:28:53 ---> cf54782c6b31 15:28:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:53 ---> Running in 017790981e94 15:28:55 Removing intermediate container 017790981e94 15:28:55 ---> 31a7939c4284 15:28:55 Step 11/24 : COPY . . 15:28:56 ---> 0df6b96f1d52 15:28:56 Step 12/24 : RUN $MAKE 15:28:56 ---> Running in eb4407c7be09 15:28:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:31:04 Removing intermediate container eb4407c7be09 15:31:04 ---> feee5e8c9955 15:31:04 Step 13/24 : FROM alpine:3.17 15:31:04 3.17: Pulling from library/alpine 15:31:04 c41833b44d91: Pulling fs layer 15:31:04 c41833b44d91: Verifying Checksum 15:31:04 c41833b44d91: Download complete 15:31:04 c41833b44d91: Pull complete 15:31:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:31:04 Status: Downloaded newer image for alpine:3.17 15:31:04 ---> 51e60588ff2c 15:31:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:31:04 ---> Running in dad3e1e8a15b 15:31:04 Removing intermediate container dad3e1e8a15b 15:31:04 ---> f164b0247ad8 15:31:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:31:04 ---> Running in 4144de3cfada 15:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:31:05 (1/1) Installing dumb-init (1.2.5-r2) 15:31:05 Executing busybox-1.35.0-r29.trigger 15:31:05 OK: 8 MiB in 16 packages 15:31:05 Removing intermediate container 4144de3cfada 15:31:05 ---> 80f759ff8b59 15:31:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:31:07 ---> c751f464f674 15:31:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:31:08 ---> 2895d9582904 15:31:08 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:31:08 ---> 7f391d966e00 15:31:08 Step 19/24 : EXPOSE 59982 15:31:08 ---> Running in bc9a716b5f29 15:31:08 Removing intermediate container bc9a716b5f29 15:31:08 ---> 5b4975cc213d 15:31:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:31:08 ---> Running in 7886117ca799 15:31:09 Removing intermediate container 7886117ca799 15:31:09 ---> 15318faff82d 15:31:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:31:09 ---> Running in 426173dc42bf 15:31:09 Removing intermediate container 426173dc42bf 15:31:09 ---> 962a1cfd194a 15:31:09 Step 22/24 : LABEL arch=arm64 15:31:09 ---> Running in 8b1ba2acfca9 15:31:10 Removing intermediate container 8b1ba2acfca9 15:31:10 ---> 0519e4eeb59b 15:31:10 Step 23/24 : LABEL git_sha=4d33384134bee0215aaad493adec514fb129bdc9 15:31:10 ---> Running in 238a7b595d3d 15:31:10 Removing intermediate container 238a7b595d3d 15:31:10 ---> cffc770ea6f6 15:31:10 Step 24/24 : LABEL version=3.0.0-dev.22 15:31:10 ---> Running in aba083ac3847 15:31:10 Removing intermediate container aba083ac3847 15:31:10 ---> 57f76e83e298 15:31:10 [Warning] One or more build-args [ARCH] were not consumed 15:31:10 Successfully built 57f76e83e298 15:31:10 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 15:31:10 provisioning config files... 15:31:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/106@tmp/config18198425935840914117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:11 ---> docker-login.sh 15:31:11 nexus3.edgexfoundry.org:10001 15:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:11 Configure a credential helper to remove this warning. See 15:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:11 15:31:11 Login Succeeded 15:31:11 nexus3.edgexfoundry.org:10002 15:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:11 Configure a credential helper to remove this warning. See 15:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:11 15:31:11 Login Succeeded 15:31:11 nexus3.edgexfoundry.org:10003 15:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:12 Configure a credential helper to remove this warning. See 15:31:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:12 15:31:12 Login Succeeded 15:31:12 nexus3.edgexfoundry.org:10004 15:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:12 Configure a credential helper to remove this warning. See 15:31:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:12 15:31:12 Login Succeeded 15:31:12 docker.io 15:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:13 Configure a credential helper to remove this warning. See 15:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:13 15:31:13 Login Succeeded 15:31:13 ---> docker-login.sh ends [Pipeline] } 15:31:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:31:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 15:31:13 4d33384134bee0215aaad493adec514fb129bdc9 15:31:13 latest 15:31:13 3.0.0-dev.22 15:31:13 4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:31:13 main 15:31:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9 15:31:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:31:13 abe096c19d66: Preparing 15:31:13 6546df3e38d3: Preparing 15:31:13 48b2c1c91db7: Preparing 15:31:13 18cf3630390c: Preparing 15:31:13 26cbea5cba74: Preparing 15:31:13 26cbea5cba74: Layer already exists 15:31:14 abe096c19d66: Pushed 15:31:14 6546df3e38d3: Pushed 15:31:14 18cf3630390c: Pushed 15:31:19 48b2c1c91db7: Pushed 15:31:19 4d33384134bee0215aaad493adec514fb129bdc9: digest: sha256:fc66c846945a7a93c4812455f388289d0eca222923b218af7254fb4246e1c150 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:31:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:31:20 abe096c19d66: Preparing 15:31:20 6546df3e38d3: Preparing 15:31:20 48b2c1c91db7: Preparing 15:31:20 18cf3630390c: Preparing 15:31:20 26cbea5cba74: Preparing 15:31:20 18cf3630390c: Layer already exists 15:31:20 26cbea5cba74: Layer already exists 15:31:20 6546df3e38d3: Layer already exists 15:31:20 abe096c19d66: Layer already exists 15:31:20 48b2c1c91db7: Layer already exists 15:31:20 latest: digest: sha256:fc66c846945a7a93c4812455f388289d0eca222923b218af7254fb4246e1c150 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.22 15:31:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:31:21 abe096c19d66: Preparing 15:31:21 6546df3e38d3: Preparing 15:31:21 48b2c1c91db7: Preparing 15:31:21 18cf3630390c: Preparing 15:31:21 26cbea5cba74: Preparing 15:31:21 18cf3630390c: Layer already exists 15:31:21 26cbea5cba74: Layer already exists 15:31:21 abe096c19d66: Layer already exists 15:31:21 6546df3e38d3: Layer already exists 15:31:21 48b2c1c91db7: Layer already exists 15:31:21 3.0.0-dev.22: digest: sha256:fc66c846945a7a93c4812455f388289d0eca222923b218af7254fb4246e1c150 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:31:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:31:21 abe096c19d66: Preparing 15:31:21 6546df3e38d3: Preparing 15:31:21 48b2c1c91db7: Preparing 15:31:21 18cf3630390c: Preparing 15:31:21 26cbea5cba74: Preparing 15:31:21 18cf3630390c: Layer already exists 15:31:21 26cbea5cba74: Layer already exists 15:31:21 48b2c1c91db7: Layer already exists 15:31:21 6546df3e38d3: Layer already exists 15:31:21 abe096c19d66: Layer already exists 15:31:21 4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22: digest: sha256:fc66c846945a7a93c4812455f388289d0eca222923b218af7254fb4246e1c150 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 15:31:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:31:22 abe096c19d66: Preparing 15:31:22 6546df3e38d3: Preparing 15:31:22 48b2c1c91db7: Preparing 15:31:22 18cf3630390c: Preparing 15:31:22 26cbea5cba74: Preparing 15:31:22 48b2c1c91db7: Layer already exists 15:31:22 abe096c19d66: Layer already exists 15:31:22 18cf3630390c: Layer already exists 15:31:22 6546df3e38d3: Layer already exists 15:31:22 26cbea5cba74: Layer already exists 15:31:22 main: digest: sha256:fc66c846945a7a93c4812455f388289d0eca222923b218af7254fb4246e1c150 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:31:22 ===================================================== [Pipeline] echo 15:31:22 taggedImages: 15:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9 15:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.22 15:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d33384134bee0215aaad493adec514fb129bdc9-3.0.0-dev.22 15:31:22 - 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 15:31:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:31:22 15:31:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:31:23 arm64: Pulling from edgex-lftools-log-publisher 15:31:23 8998bd30e6a1: Pulling fs layer 15:31:23 04944245beec: Pulling fs layer 15:31:23 699f458cf7ca: Pulling fs layer 15:31:23 765212b225bb: Pulling fs layer 15:31:23 f23df028b6ca: Pulling fs layer 15:31:23 d65c8cfc05b1: Pulling fs layer 15:31:23 2437ff75d9bd: Pulling fs layer 15:31:23 765212b225bb: Waiting 15:31:23 f23df028b6ca: Waiting 15:31:23 d65c8cfc05b1: Waiting 15:31:23 2437ff75d9bd: Waiting 15:31:23 04944245beec: Verifying Checksum 15:31:23 04944245beec: Download complete 15:31:23 765212b225bb: Verifying Checksum 15:31:23 765212b225bb: Download complete 15:31:23 f23df028b6ca: Verifying Checksum 15:31:23 f23df028b6ca: Download complete 15:31:23 d65c8cfc05b1: Verifying Checksum 15:31:23 d65c8cfc05b1: Download complete 15:31:23 699f458cf7ca: Verifying Checksum 15:31:23 699f458cf7ca: Download complete 15:31:24 8998bd30e6a1: Verifying Checksum 15:31:24 8998bd30e6a1: Download complete 15:31:26 2437ff75d9bd: Verifying Checksum 15:31:26 2437ff75d9bd: Download complete 15:31:28 8998bd30e6a1: Pull complete 15:31:28 04944245beec: Pull complete 15:31:29 699f458cf7ca: Pull complete 15:31:30 765212b225bb: Pull complete 15:31:30 f23df028b6ca: Pull complete 15:31:30 d65c8cfc05b1: Pull complete 15:31:45 2437ff75d9bd: Pull complete 15:31:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:31:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:46 prd-ubuntu20.04-docker-arm64-4c-16g-9193 does not seem to be running inside a container 15:31:46 $ 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/106 -v /w/workspace/device-mqtt-go/106:/w/workspace/device-mqtt-go/106:rw,z -v /w/workspace/device-mqtt-go/106@tmp:/w/workspace/device-mqtt-go/106@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 15:31:48 $ docker top bf8b42bc68bb51ae221f3a50fe64334839ba42c98624bd73d8c6095eccbff0f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:49 ---> job-cost.sh 15:31:49 lf-activate-venv: SKIPPING 15:31:49 INFO: No Stack... 15:31:49 INFO: Retrieving Pricing Info for: v3-standard-4 15:31:50 INFO: Archiving Costs [Pipeline] sh 15:31:51 + cat /w/workspace/device-mqtt-go/106/archives/cost.csv 15:31:51 + cut -d, -f6 [Pipeline] lock 15:31:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] 15:31:51 Resource [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] did not exist. Created. 15:31:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:31:51 /w/workspace/device-mqtt-go/106@tmp/durable-f787f9ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:31:52 + echo total: 0.10999999940395355 [Pipeline] stash 15:31:52 Warning: overwriting stash ‘stack-cost’ 15:31:52 Stashed 1 file(s) [Pipeline] } 15:31:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 15:31:52 $ docker stop --time=1 bf8b42bc68bb51ae221f3a50fe64334839ba42c98624bd73d8c6095eccbff0f0 15:31:55 $ docker rm -f --volumes bf8b42bc68bb51ae221f3a50fe64334839ba42c98624bd73d8c6095eccbff0f0 [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 15:31:55 provisioning config files... 15:31:55 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2611981234150407597tmp [Pipeline] { [Pipeline] sh 15:31:55 + set +x 15:31:55 + bash -s -- 15:31:55 + curl -s https://codecov.io/bash 15:31:56 15:31:56 _____ _ 15:31:56 / ____| | | 15:31:56 | | ___ __| | ___ ___ _____ __ 15:31:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:31:56 | |___| (_) | (_| | __/ (_| (_) \ V / 15:31:56 \_____\___/ \__,_|\___|\___\___/ \_/ 15:31:56 Bash-1.0.6 15:31:56 15:31:56 15:31:56 ==> git version 2.25.1 found 15:31:56 ==> 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 15:31:56 Release-Date: 2020-01-08 15:31:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:31:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:31:56 ==> Jenkins CI detected. 15:31:56 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 15:31:56 project root: . 15:31:56 --> token set from env 15:31:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:31:56 ==> Running gcov in . (disable via -X gcov) 15:31:56 ==> Python coveragepy not found 15:31:56 ==> Searching for coverage reports in: 15:31:56 + . 15:31:56 -> Found 1 reports 15:31:56 ==> Detecting git/mercurial file structure 15:31:56 ==> Reading reports 15:31:56 + ./coverage.out bytes=18460 15:31:56 ==> Appending adjustments 15:31:56 https://docs.codecov.io/docs/fixing-reports 15:31:56 + Found adjustments 15:31:56 ==> Gzipping contents 15:31:56 4.0K /tmp/codecov.297V0M.gz 15:31:56 ==> Uploading reports 15:31:56 url: https://codecov.io 15:31:56 query: branch=main&commit=4d33384134bee0215aaad493adec514fb129bdc9&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:31:56 -> Pinging Codecov 15:31:56 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=4d33384134bee0215aaad493adec514fb129bdc9&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:31:56 -> Uploading to 15:31:56 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/7D719EC7BBE17E464838252E33014C33/4d33384134bee0215aaad493adec514fb129bdc9/ef4bd1f5-7a4f-4266-b9e4-bf30e833a23e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T153156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebd21d42f453fdf9a29b53b29935a5278569c699ec3c374b65fb0912c3756b4a 15:31:56 % Total % Received % Xferd Average Speed Time Time Time Current 15:31:56 Dload Upload Total Spent Left Speed 15:31:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 12478 --:--:-- --:--:-- --:--:-- 12478 15:31:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] } 15:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:31:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:31:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:31:57 15:31:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:31:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:31:57 df9b9388f04a: Pulling fs layer 15:31:57 52dc419b0ee2: Pulling fs layer 15:31:57 25bc292e5bac: Pulling fs layer 15:31:57 114826534d7a: Pulling fs layer 15:31:57 4657fd5d0bcf: Pulling fs layer 15:31:57 6ad1cebc031e: Pulling fs layer 15:31:57 8a3aa393b2d8: Pulling fs layer 15:31:57 114826534d7a: Waiting 15:31:57 8a3aa393b2d8: Waiting 15:31:57 4657fd5d0bcf: Waiting 15:31:57 6ad1cebc031e: Waiting 15:31:57 25bc292e5bac: Verifying Checksum 15:31:57 25bc292e5bac: Download complete 15:31:57 52dc419b0ee2: Download complete 15:31:57 4657fd5d0bcf: Download complete 15:31:57 df9b9388f04a: Download complete 15:31:57 6ad1cebc031e: Verifying Checksum 15:31:57 6ad1cebc031e: Download complete 15:31:57 df9b9388f04a: Pull complete 15:31:57 52dc419b0ee2: Pull complete 15:31:57 25bc292e5bac: Pull complete 15:31:58 114826534d7a: Verifying Checksum 15:31:58 114826534d7a: Download complete 15:31:58 8a3aa393b2d8: Verifying Checksum 15:32:01 114826534d7a: Pull complete 15:32:01 4657fd5d0bcf: Pull complete 15:32:01 6ad1cebc031e: Pull complete 15:32:04 8a3aa393b2d8: Pull complete 15:32:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:32:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:04 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:32:04 $ 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 15:32:08 $ docker top 1068ec97c85d3be9d6f4862db04f5858f1253c18708d578e692149168f949d3c -eo pid,comm [Pipeline] { [Pipeline] echo 15:32:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 15:32:08 + set -o pipefail 15:32:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 15:32:15 15:32:15 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 15:32:15 15:32:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/b3ccb4db-6e25-4b46-ac7d-578ac2762aaa 15:32:15 15:32:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:32:15 15:32:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:32:15 15:32:15 15:32:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:32:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:32:15 More details here: https://snyk.co/ue1NS [Pipeline] } 15:32:15 $ docker stop --time=1 1068ec97c85d3be9d6f4862db04f5858f1253c18708d578e692149168f949d3c 15:32:18 $ docker rm -f --volumes 1068ec97c85d3be9d6f4862db04f5858f1253c18708d578e692149168f949d3c [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 15:32:18 + git log --format=format:%s -1 4d33384134bee0215aaad493adec514fb129bdc9 [Pipeline] sh 15:32:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:32:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:19 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:32:19 $ 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 15:32:19 $ docker top 5a477420a03a322d92dac618007fd2c1ab8f25dff5e3630a8fe727f5100be20b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:32:19 [ssh-agent] Looking for ssh-agent implementation... 15:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:32:20 $ docker exec 5a477420a03a322d92dac618007fd2c1ab8f25dff5e3630a8fe727f5100be20b ssh-agent 15:32:20 SSH_AUTH_SOCK=/tmp/ssh-oQElwFC5Nd6m/agent.32 15:32:20 SSH_AGENT_PID=38 15:32:20 Running ssh-add (command line suppressed) 15:32:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15124337790978601639.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15124337790978601639.key) 15:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:32:20 + git semver tag 15:32:20 2023-04-20 15:32:20,694 [run_tag] DEBUG tag force:False 15:32:20 2023-04-20 15:32:20,694 [check_head_tag] DEBUG check head tag 15:32:20 2023-04-20 15:32:20,695 [execute] INFO git cat-file --batch-check 15:32:20 2023-04-20 15:32:20,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:32:20 2023-04-20 15:32:20,699 [execute] INFO git cat-file --batch 15:32:20 2023-04-20 15:32:20,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:32:20 2023-04-20 15:32:20,726 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:32:20 2023-04-20 15:32:20,726 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 15:32:20 2023-04-20 15:32:20,726 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 15:32:20 2023-04-20 15:32:20,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:32:20 3.0.0-dev.22 [Pipeline] } 15:32:20 $ docker exec --env ******** --env ******** 5a477420a03a322d92dac618007fd2c1ab8f25dff5e3630a8fe727f5100be20b ssh-agent -k 15:32:20 unset SSH_AUTH_SOCK; 15:32:20 unset SSH_AGENT_PID; 15:32:20 echo Agent pid 38 killed; 15:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:32:21 + git semver [Pipeline] } 15:32:21 $ docker stop --time=1 5a477420a03a322d92dac618007fd2c1ab8f25dff5e3630a8fe727f5100be20b 15:32:22 $ docker rm -f --volumes 5a477420a03a322d92dac618007fd2c1ab8f25dff5e3630a8fe727f5100be20b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:32:23 15:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:32:23 0.23.1-centos7: Pulling from edgex-lftools 15:32:23 ab5ef0e58194: Pulling fs layer 15:32:23 9712f1f96733: Pulling fs layer 15:32:23 63f879dbbcfc: Pulling fs layer 15:32:23 0d9ebad4ef96: Pulling fs layer 15:32:23 e9a5061849ea: Pulling fs layer 15:32:23 d747dcd14b5f: Pulling fs layer 15:32:23 2de7ff778b66: Pulling fs layer 15:32:23 d747dcd14b5f: Waiting 15:32:23 e9a5061849ea: Waiting 15:32:23 2de7ff778b66: Waiting 15:32:23 0d9ebad4ef96: Waiting 15:32:23 9712f1f96733: Download complete 15:32:23 63f879dbbcfc: Verifying Checksum 15:32:23 63f879dbbcfc: Download complete 15:32:23 e9a5061849ea: Verifying Checksum 15:32:23 e9a5061849ea: Download complete 15:32:23 d747dcd14b5f: Verifying Checksum 15:32:23 d747dcd14b5f: Download complete 15:32:23 ab5ef0e58194: Verifying Checksum 15:32:23 ab5ef0e58194: Download complete 15:32:23 0d9ebad4ef96: Verifying Checksum 15:32:23 0d9ebad4ef96: Download complete 15:32:23 2de7ff778b66: Verifying Checksum 15:32:23 2de7ff778b66: Download complete 15:32:26 ab5ef0e58194: Pull complete 15:32:26 9712f1f96733: Pull complete 15:32:27 63f879dbbcfc: Pull complete 15:32:30 0d9ebad4ef96: Pull complete 15:32:30 e9a5061849ea: Pull complete 15:32:30 d747dcd14b5f: Pull complete 15:32:31 2de7ff778b66: Pull complete 15:32:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:32:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:32 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:32:32 $ 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 15:32:36 $ docker top 19b7496a422fb2350420d50aa7b127eb02290fa3fc5d3f4110e0a9540afb3636 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:32:36 provisioning config files... 15:32:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9713761666973248972tmp 15:32:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config518916294818280390tmp 15:32:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5357667838798150314tmp [Pipeline] { [Pipeline] echo 15:32:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:32:36 ---> sigul-configuration.sh 15:32:36 gpg: directory `/root/.gnupg' created 15:32:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:32:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:32:36 gpg: keyring `/root/.gnupg/secring.gpg' created 15:32:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:32:36 gpg: CAST5 encrypted data 15:32:36 gpg: encrypted with 1 passphrase 15:32:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:32:36 + mkdir /home/jenkins 15:32:36 + mkdir /home/jenkins/sigul [Pipeline] sh 15:32:37 + 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 15:32:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:32:37 ---> sigul-install.sh 15:32:37 Sigul already installed; skipping installation. [Pipeline] sh 15:32:37 + git tag --list 15:32:37 0.7.1 15:32:37 v1.0.0 15:32:37 v1.1.0 15:32:37 v1.1.1 15:32:37 v1.2.2 15:32:37 v1.3.0 15:32:37 v1.3.1 15:32:37 v2.0.0 15:32:37 v2.1.0 15:32:37 v2.1.1 15:32:37 v2.1.1-dev.1 15:32:37 v2.1.1-dev.2 15:32:37 v2.2.0 15:32:37 v2.2.1-dev.1 15:32:37 v2.2.1-dev.10 15:32:37 v2.2.1-dev.2 15:32:37 v2.2.1-dev.3 15:32:37 v2.2.1-dev.4 15:32:37 v2.2.1-dev.5 15:32:37 v2.2.1-dev.6 15:32:37 v2.2.1-dev.7 15:32:37 v2.2.1-dev.8 15:32:37 v2.2.1-dev.9 15:32:37 v2.3.0 15:32:37 v2.3.0-dev.10 15:32:37 v2.3.0-dev.11 15:32:37 v2.3.0-dev.12 15:32:37 v2.3.0-dev.13 15:32:37 v2.3.0-dev.14 15:32:37 v2.3.0-dev.15 15:32:37 v2.3.0-dev.16 15:32:37 v2.3.0-dev.17 15:32:37 v2.3.0-dev.18 15:32:37 v2.3.0-dev.19 15:32:37 v2.3.0-dev.20 15:32:37 v2.3.0-dev.21 15:32:37 v2.3.0-dev.22 15:32:37 v2.3.0-dev.23 15:32:37 v2.3.0-dev.24 15:32:37 v2.3.0-dev.25 15:32:37 v2.3.0-dev.26 15:32:37 v2.3.0-dev.27 15:32:37 v2.3.0-dev.28 15:32:37 v2.3.0-dev.29 15:32:37 v2.3.0-dev.30 15:32:37 v2.3.0-dev.31 15:32:37 v2.3.0-dev.32 15:32:37 v2.3.0-dev.33 15:32:37 v2.3.0-dev.34 15:32:37 v3.0.0-dev.1 15:32:37 v3.0.0-dev.10 15:32:37 v3.0.0-dev.11 15:32:37 v3.0.0-dev.12 15:32:37 v3.0.0-dev.13 15:32:37 v3.0.0-dev.14 15:32:37 v3.0.0-dev.15 15:32:37 v3.0.0-dev.16 15:32:37 v3.0.0-dev.17 15:32:37 v3.0.0-dev.18 15:32:37 v3.0.0-dev.19 15:32:37 v3.0.0-dev.2 15:32:37 v3.0.0-dev.20 15:32:37 v3.0.0-dev.21 15:32:37 v3.0.0-dev.22 15:32:37 v3.0.0-dev.3 15:32:37 v3.0.0-dev.4 15:32:37 v3.0.0-dev.5 15:32:37 v3.0.0-dev.6 15:32:37 v3.0.0-dev.7 15:32:37 v3.0.0-dev.8 15:32:37 v3.0.0-dev.9 [Pipeline] sh 15:32:38 + lftools sign git-tag v3.0.0-dev.22 15:32:38 Signing Git tag with Sigul... 15:32:38 Signing v3.0.0-dev.22 15:34:30 ERROR: I/O error: NSPR connection reset [Pipeline] echo 15:34:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:34:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:34:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:34:30 $ docker stop --time=1 19b7496a422fb2350420d50aa7b127eb02290fa3fc5d3f4110e0a9540afb3636 15:34:31 $ docker rm -f --volumes 19b7496a422fb2350420d50aa7b127eb02290fa3fc5d3f4110e0a9540afb3636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:34:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:32 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:34:32 $ 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 15:34:33 $ docker top 9530501bcde7349e7b3850c7964bd93c0c4688e969ea0bef8ef2f5f15e79ae3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:33 [ssh-agent] Looking for ssh-agent implementation... 15:34:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:33 $ docker exec 9530501bcde7349e7b3850c7964bd93c0c4688e969ea0bef8ef2f5f15e79ae3a ssh-agent 15:34:33 SSH_AUTH_SOCK=/tmp/ssh-oCrtITepvahY/agent.32 15:34:33 SSH_AGENT_PID=38 15:34:33 Running ssh-add (command line suppressed) 15:34:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_20529260360276750.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_20529260360276750.key) 15:34:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:33 + git semver bump pre 15:34:34 2023-04-20 15:34:33,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:34:34 2023-04-20 15:34:33,939 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev 15:34:34 2023-04-20 15:34:33,939 [bump_version] DEBUG bumped version:3.0.0-dev.23 15:34:34 2023-04-20 15:34:33,939 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 15:34:34 2023-04-20 15:34:33,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:34:34 2023-04-20 15:34:33,940 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:34:34 2023-04-20 15:34:33,941 [execute] INFO git cat-file --batch-check 15:34:34 2023-04-20 15:34:33,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:34 2023-04-20 15:34:33,947 [execute] INFO git cat-file --batch 15:34:34 2023-04-20 15:34:33,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:34 2023-04-20 15:34:33,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:34:34 3.0.0-dev.23 [Pipeline] } 15:34:34 $ docker exec --env ******** --env ******** 9530501bcde7349e7b3850c7964bd93c0c4688e969ea0bef8ef2f5f15e79ae3a ssh-agent -k 15:34:34 unset SSH_AUTH_SOCK; 15:34:34 unset SSH_AGENT_PID; 15:34:34 echo Agent pid 38 killed; 15:34:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:34 + git semver [Pipeline] } 15:34:34 $ docker stop --time=1 9530501bcde7349e7b3850c7964bd93c0c4688e969ea0bef8ef2f5f15e79ae3a 15:34:36 $ docker rm -f --volumes 9530501bcde7349e7b3850c7964bd93c0c4688e969ea0bef8ef2f5f15e79ae3a [Pipeline] // withDockerContainer [Pipeline] sh 15:34:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:37 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:34:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:34:38 $ docker top a1c53d2b5952f612078a13c12c58571267f17b8d3f2d811ac093576814960b11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:38 [ssh-agent] Looking for ssh-agent implementation... 15:34:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:38 $ docker exec a1c53d2b5952f612078a13c12c58571267f17b8d3f2d811ac093576814960b11 ssh-agent 15:34:38 SSH_AUTH_SOCK=/tmp/ssh-ck4tngmKnZQx/agent.33 15:34:38 SSH_AGENT_PID=39 15:34:38 Running ssh-add (command line suppressed) 15:34:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14551283083394564309.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14551283083394564309.key) 15:34:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:39 + git semver push 15:34:39 2023-04-20 15:34:39,237 [run_push] DEBUG push 15:34:39 2023-04-20 15:34:39,237 [execute] INFO git cat-file --batch-check 15:34:39 2023-04-20 15:34:39,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:39 2023-04-20 15:34:39,242 [execute] INFO git rev-list a70da2a45f3d544f98539474d1c6c8d0c387eca3 -- 15:34:39 2023-04-20 15:34:39,242 [execute] DEBUG Popen(['git', 'rev-list', 'a70da2a45f3d544f98539474d1c6c8d0c387eca3', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:39 2023-04-20 15:34:39,251 [execute] INFO git fetch -v origin 15:34:39 2023-04-20 15:34:39,251 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:34:40 2023-04-20 15:34:39,748 [run_push] DEBUG no remote changes detected 15:34:40 2023-04-20 15:34:39,749 [execute] INFO git push origin semver 15:34:40 2023-04-20 15:34:39,750 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:40 2023-04-20 15:34:40,566 [run_push] DEBUG push all version tags 15:34:40 2023-04-20 15:34:40,567 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:34:40 2023-04-20 15:34:40,567 [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) 15:34:41 2023-04-20 15:34:41,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:34:41 3.0.0-dev.23 [Pipeline] } 15:34:41 $ docker exec --env ******** --env ******** a1c53d2b5952f612078a13c12c58571267f17b8d3f2d811ac093576814960b11 ssh-agent -k 15:34:41 unset SSH_AUTH_SOCK; 15:34:41 unset SSH_AGENT_PID; 15:34:41 echo Agent pid 39 killed; 15:34:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:41 + git semver [Pipeline] } 15:34:42 $ docker stop --time=1 a1c53d2b5952f612078a13c12c58571267f17b8d3f2d811ac093576814960b11 15:34:43 $ docker rm -f --volumes a1c53d2b5952f612078a13c12c58571267f17b8d3f2d811ac093576814960b11 [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 15:34:44 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 15:34:44 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:34:44 total 16 15:34:44 drwxr-xr-x 3 root root 4096 Apr 20 15:24 . 15:34:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 15:32 .. 15:34:44 drwxr-xr-x 2 root root 4096 Apr 20 15:24 cost 15:34:44 -rw-r--r-- 1 root root 86 Apr 20 15:24 cost.csv 15:34:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:34:44 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:34:44 total 16 15:34:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 15:24 . 15:34:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 15:32 .. 15:34:44 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 15:24 cost 15:34:44 -rw-r--r-- 1 jenkins jenkins 86 Apr 20 15:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:34:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:34:45 ---> package-listing.sh 15:34:45 ++ facter osfamily 15:34:45 ++ tr '[:upper:]' '[:lower:]' 15:34:45 + OS_FAMILY=debian 15:34:45 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 15:34:45 + START_PACKAGES=/tmp/packages_start.txt 15:34:45 + END_PACKAGES=/tmp/packages_end.txt 15:34:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:34:45 + PACKAGES=/tmp/packages_start.txt 15:34:45 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:34:45 + PACKAGES=/tmp/packages_end.txt 15:34:45 + case "${OS_FAMILY}" in 15:34:45 + dpkg -l 15:34:45 + grep '^ii' 15:34:45 + '[' -f /tmp/packages_start.txt ']' 15:34:45 + '[' -f /tmp/packages_end.txt ']' 15:34:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:34:45 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:34:45 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 15:34:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 15:34:45 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 15:34:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:34:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:46 prd-ubuntu20.04-docker-8c-8g-9192 does not seem to be running inside a container 15:34:46 $ 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 15:34:46 $ docker top d5fb361f1f5899616c1ffdbc4cf61c4a52d3325dfd95dcb5c03b1ccd18148412 -eo pid,comm [Pipeline] { [Pipeline] sh 15:34:46 + touch /tmp/pre-build-complete [Pipeline] sh 15:34:47 + mkdir -p /var/log/sysstat [Pipeline] sh 15:34:47 + ls /var/log/sa-host 15:34:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:47 provisioning config files... 15:34:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config719096388236279607tmp [Pipeline] { [Pipeline] echo 15:34:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:34:47 ---> create-netrc.sh [Pipeline] } 15:34:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:34:48 ---> python-tools-install.sh [Pipeline] echo 15:34:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:34:48 ---> sudo-logs.sh 15:34:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:34:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:34:48 ---> job-cost.sh 15:34:48 lf-activate-venv: SKIPPING 15:34:48 DEBUG: total: 0.2199999988079071 15:34:48 INFO: Retrieving Stack Cost... 15:34:49 INFO: Retrieving Pricing Info for: v3-standard-8 15:34:49 INFO: Archiving Costs [Pipeline] echo 15:34:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:34:50 ---> logs-deploy.sh 15:34:50 lf-activate-venv: SKIPPING 15:34:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/106 15:34:50 INFO: archiving workspace using pattern(s): 15:34:50 Archives upload complete. 15:34:50 INFO: archiving logs to Nexus