Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b7988ad925f4dc882909eccaaf50c651f359b4a 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-ssh499357812144859238.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5323137638421926981.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4752855639222669279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12325290007596093151.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-ssh16251414414641855424.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17419 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0b7988ad925f4dc882909eccaaf50c651f359b4a (main) Commit message: "docs: Update changelog for 3.1 release (#645)" > git config core.sparsecheckout # timeout=10 > git checkout -f 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 > git rev-list --no-walk 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:07 ========================================================= 00:11:07 EdgeX Global Pipelines Version Info 00:11:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:08 ------------------- 00:11:08 stable info: 00:11:08 ------------------- 00:11:08 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 00:11:08 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:11:08 Message: update stable to v1.0.257 00:11:08 ------------------- 00:11:08 experimental info: 00:11:08 ------------------- 00:11:08 Commited By: **** collab-it+edgex@linuxfoundation.org 00:11:08 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:11:08 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b7988a [Pipeline] echo 00:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:09 provisioning config files... 00:11:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config898641737578761691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:09 ---> docker-login.sh 00:11:09 nexus3.edgexfoundry.org:10001 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 nexus3.edgexfoundry.org:10002 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 nexus3.edgexfoundry.org:10003 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 nexus3.edgexfoundry.org:10004 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 docker.io 00:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:11 Configure a credential helper to remove this warning. See 00:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:11 00:11:11 Login Succeeded 00:11:11 ---> docker-login.sh ends [Pipeline] } 00:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:11:11 + git rev-list -1 --merges 0b7988ad925f4dc882909eccaaf50c651f359b4a~1..0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo 00:11:11 -----------> git rev-list -1 --merges 0b7988ad925f4dc882909eccaaf50c651f359b4a~1..0b7988ad925f4dc882909eccaaf50c651f359b4a 0b7988ad925f4dc882909eccaaf50c651f359b4a [false] [Pipeline] sh 00:11:12 + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo 00:11:12 ========================================================= 00:11:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:11:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:12 + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo 00:11:12 [semverPrep] GIT_COMMIT: 0b7988ad925f4dc882909eccaaf50c651f359b4a, Commit Message: docs: Update changelog for 3.1 release (#645) [Pipeline] echo 00:11:12 [semverPrep] This is not a build commit. [Pipeline] sh 00:11:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:12 + grep -v github /etc/ssh/ssh_known_hosts 00:11:12 + [ -e /tmp/ssh_known_hosts ] 00:11:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:11:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:11:12 + sudo tee -a /etc/ssh/ssh_known_hosts 00:11:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:13 00:11:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:13 0.1.4: Pulling from edgex-devops/py-git-semver 00:11:13 b85a868b505f: Pulling fs layer 00:11:13 e2be974225ed: Pulling fs layer 00:11:13 339a4e72a1f5: Pulling fs layer 00:11:13 988bab9f4d93: Pulling fs layer 00:11:13 1469e6f7b9e6: Pulling fs layer 00:11:13 eaf3925da568: Pulling fs layer 00:11:13 bab4dde63d76: Pulling fs layer 00:11:13 bde34c3a00c8: Pulling fs layer 00:11:13 b352a97aabf1: Pulling fs layer 00:11:13 4872d77fe225: Pulling fs layer 00:11:13 5851b861e8e6: Pulling fs layer 00:11:13 bde34c3a00c8: Waiting 00:11:13 988bab9f4d93: Waiting 00:11:13 1469e6f7b9e6: Waiting 00:11:13 eaf3925da568: Waiting 00:11:13 bab4dde63d76: Waiting 00:11:13 b352a97aabf1: Waiting 00:11:13 e2be974225ed: Verifying Checksum 00:11:13 e2be974225ed: Download complete 00:11:13 988bab9f4d93: Download complete 00:11:13 339a4e72a1f5: Verifying Checksum 00:11:13 339a4e72a1f5: Download complete 00:11:13 1469e6f7b9e6: Verifying Checksum 00:11:13 1469e6f7b9e6: Download complete 00:11:13 eaf3925da568: Download complete 00:11:13 bde34c3a00c8: Verifying Checksum 00:11:13 bde34c3a00c8: Download complete 00:11:13 b352a97aabf1: Verifying Checksum 00:11:13 b352a97aabf1: Download complete 00:11:13 4872d77fe225: Verifying Checksum 00:11:13 4872d77fe225: Download complete 00:11:13 5851b861e8e6: Verifying Checksum 00:11:13 5851b861e8e6: Download complete 00:11:13 b85a868b505f: Verifying Checksum 00:11:13 b85a868b505f: Download complete 00:11:13 bab4dde63d76: Verifying Checksum 00:11:13 bab4dde63d76: Download complete 00:11:14 b85a868b505f: Pull complete 00:11:15 e2be974225ed: Pull complete 00:11:15 339a4e72a1f5: Pull complete 00:11:15 988bab9f4d93: Pull complete 00:11:16 1469e6f7b9e6: Pull complete 00:11:16 eaf3925da568: Pull complete 00:11:18 bab4dde63d76: Pull complete 00:11:18 bde34c3a00c8: Pull complete 00:11:18 b352a97aabf1: Pull complete 00:11:19 4872d77fe225: Pull complete 00:11:19 5851b861e8e6: Pull complete 00:11:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:19 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:11: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:25 $ docker top ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc -eo pid,comm 00:11:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:11:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:26 [ssh-agent] Looking for ssh-agent implementation... 00:11:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:26 $ docker exec ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent 00:11:26 SSH_AUTH_SOCK=/tmp/ssh-OpB0mm3xkZ6M/agent.34 00:11:26 SSH_AGENT_PID=40 00:11:26 Running ssh-add (command line suppressed) 00:11:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1266450053874555705.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1266450053874555705.key) 00:11:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:26 + git tag --points-at HEAD [Pipeline] } 00:11:26 $ docker exec --env ******** --env ******** ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent -k 00:11:26 unset SSH_AUTH_SOCK; 00:11:26 unset SSH_AGENT_PID; 00:11:26 echo Agent pid 40 killed; 00:11:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:26 [ssh-agent] Looking for ssh-agent implementation... 00:11:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:26 $ docker exec ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent 00:11:27 SSH_AUTH_SOCK=/tmp/ssh-7gSki63K6OQX/agent.72 00:11:27 SSH_AGENT_PID=78 00:11:27 Running ssh-add (command line suppressed) 00:11:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2731609404662619084.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2731609404662619084.key) 00:11:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:27 + git semver init 00:11:28 2023-11-14 00:11:27,818 [run_init] DEBUG init version:0.0.0 force:False 00:11:28 2023-11-14 00:11:27,819 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:11:28 2023-11-14 00:11:27,820 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:11:28 2023-11-14 00:11:27,821 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:11:29 2023-11-14 00:11:28,729 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 00:11:29 2023-11-14 00:11:28,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 00:11:29 2023-11-14 00:11:28,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:11:29 2023-11-14 00:11:28,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:11:29 3.1.0-dev.24 [Pipeline] } 00:11:29 $ docker exec --env ******** --env ******** ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent -k 00:11:29 unset SSH_AUTH_SOCK; 00:11:29 unset SSH_AGENT_PID; 00:11:29 echo Agent pid 78 killed; 00:11:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:29 + git semver [Pipeline] } 00:11:29 $ docker stop --time=1 ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc 00:11:31 $ docker rm -f --volumes ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc [Pipeline] // withDockerContainer [Pipeline] sh 00:11:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:31 Stashed 1 file(s) [Pipeline] echo 00:11:31 [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:31 provisioning config files... 00:11:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1799614766238533253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:32 ---> docker-login.sh 00:11:32 nexus3.edgexfoundry.org:10001 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 nexus3.edgexfoundry.org:10002 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 nexus3.edgexfoundry.org:10003 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 nexus3.edgexfoundry.org:10004 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 docker.io 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:32 Configure a credential helper to remove this warning. See 00:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:32 00:11:32 Login Succeeded 00:11:32 ---> docker-login.sh ends [Pipeline] } 00:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:11:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:11:32 ========================================================= 00:11:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:11:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:11:33 Sending build context to Docker daemon 6.565MB 00:11:33 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:11:33 Step 2/12 : FROM ${BASE} AS builder 00:11:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:33 7264a8db6415: Pulling fs layer 00:11:33 c4d48a809fc2: Pulling fs layer 00:11:33 4f1c88b9dad5: Pulling fs layer 00:11:33 ad3a456e5733: Pulling fs layer 00:11:33 33e27b845d1e: Pulling fs layer 00:11:33 c68163c4e522: Pulling fs layer 00:11:33 50da416c3ac9: Pulling fs layer 00:11:33 23d2d4c4bb30: Pulling fs layer 00:11:33 ad3a456e5733: Waiting 00:11:33 33e27b845d1e: Waiting 00:11:33 c68163c4e522: Waiting 00:11:33 50da416c3ac9: Waiting 00:11:33 23d2d4c4bb30: Waiting 00:11:33 c4d48a809fc2: Verifying Checksum 00:11:33 c4d48a809fc2: Download complete 00:11:33 ad3a456e5733: Verifying Checksum 00:11:33 ad3a456e5733: Download complete 00:11:33 33e27b845d1e: Download complete 00:11:33 7264a8db6415: Verifying Checksum 00:11:33 7264a8db6415: Download complete 00:11:33 c68163c4e522: Verifying Checksum 00:11:33 c68163c4e522: Download complete 00:11:33 7264a8db6415: Pull complete 00:11:33 23d2d4c4bb30: Verifying Checksum 00:11:33 23d2d4c4bb30: Download complete 00:11:33 c4d48a809fc2: Pull complete 00:11:33 4f1c88b9dad5: Verifying Checksum 00:11:33 4f1c88b9dad5: Download complete 00:11:34 50da416c3ac9: Verifying Checksum 00:11:34 50da416c3ac9: Download complete 00:11:37 4f1c88b9dad5: Pull complete 00:11:37 ad3a456e5733: Pull complete 00:11:37 33e27b845d1e: Pull complete 00:11:37 c68163c4e522: Pull complete 00:11:39 50da416c3ac9: Pull complete 00:11:39 23d2d4c4bb30: Pull complete 00:11:39 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:11:39 ---> 0786185ac409 00:11:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:11:46 Still waiting to schedule task 00:11:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:11:48 ---> Running in 7aee6fd66cf4 00:11:48 Removing intermediate container 7aee6fd66cf4 00:11:48 ---> ff3045f41c9d 00:11:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:48 ---> Running in 44d2903d44d3 00:11:48 Removing intermediate container 44d2903d44d3 00:11:48 ---> a0f23a2819bf 00:11:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:11:48 ---> Running in 15be0616bb22 00:11:48 Removing intermediate container 15be0616bb22 00:11:48 ---> b6006805e473 00:11:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:11:48 ---> Running in 9e0c7ae4085d 00:11:48 Removing intermediate container 9e0c7ae4085d 00:11:48 ---> c6ff1e82e80d 00:11:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:48 ---> Running in ec4f0b4af682 00:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:11:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:11:48 (2/4) Installing libedit (20221030.3.1-r1) 00:11:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:11:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:11:48 Executing busybox-1.36.1-r2.trigger 00:11:48 OK: 268 MiB in 56 packages 00:11:48 Removing intermediate container ec4f0b4af682 00:11:48 ---> ad55cb906fcf 00:11:48 Step 8/12 : WORKDIR /device-mqtt-go 00:11:48 ---> Running in e33b67b5af80 00:11:49 Removing intermediate container e33b67b5af80 00:11:49 ---> 945168d0ef73 00:11:49 Step 9/12 : COPY go.mod vendor* ./ 00:11:49 ---> c1d5fdbe83b7 00:11:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:49 ---> Running in 51526325559c 00:12:45 Removing intermediate container 51526325559c 00:12:45 ---> 6da29adf65ae 00:12:45 Step 11/12 : COPY . . 00:12:45 ---> 2abc392232ec 00:12:45 Step 12/12 : RUN $MAKE 00:12:45 ---> Running in 0f4399666b88 00:12:45 noop 00:12:45 Removing intermediate container 0f4399666b88 00:12:45 ---> 67fea7243d90 00:12:45 Successfully built 67fea7243d90 00:12:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:45 + docker inspect -f . ci-base-image-x86_64 00:12:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:45 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:12:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:46 $ docker top a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:46 + go version 00:12:46 go version go1.21.0 linux/amd64 [Pipeline] } 00:12:46 $ docker stop --time=1 a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 00:12:47 $ docker rm -f --volumes a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:48 + docker inspect -f . ci-base-image-x86_64 00:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:48 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:48 $ docker top c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 00:12:49 + make test 00:12:49 go test ./... -coverprofile=coverage.out ./... 00:12:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:13:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:13:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:13:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 00:13:07 go vet ./... 00:13:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:10 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:13:10 $ docker stop --time=1 c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 00:13:18 $ docker rm -f --volumes c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:13:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:13:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:13:20 + ls -al . 00:13:20 total 184 00:13:20 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 00:12 . 00:13:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 00:11 .. 00:13:20 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 00:11 .dockerignore 00:13:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:13 .git 00:13:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 .github 00:13:20 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 00:11 .gitignore 00:13:20 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 00:11 .golangci.yml 00:13:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 00:11 .semver 00:13:20 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 00:11 Attribution.txt 00:13:20 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 00:11 CHANGELOG.md 00:13:20 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 14 00:11 Dockerfile 00:13:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 00:11 GOVERNANCE.md 00:13:20 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 00:11 Jenkinsfile 00:13:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 00:11 LICENSE 00:13:20 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 00:11 Makefile 00:13:20 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 00:11 OWNERS.md 00:13:20 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 00:11 README.md 00:13:20 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 00:11 VERSION 00:13:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:11 bin 00:13:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 cmd 00:13:20 -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 00:13 coverage.out 00:13:20 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 00:11 go.mod 00:13:20 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 00:11 go.sum 00:13:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 internal 00:13:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:11 mock 00:13:20 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:20 + 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=0b7988ad925f4dc882909eccaaf50c651f359b4a --label arch=amd64 --label version=3.1.0-dev.24 . 00:13:20 Sending build context to Docker daemon 6.584MB 00:13:20 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 00:13:20 Step 2/24 : FROM ${BASE} AS builder 00:13:20 ---> 67fea7243d90 00:13:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:13:20 ---> Running in 3a54091aecd8 00:13:21 Removing intermediate container 3a54091aecd8 00:13:21 ---> 520aab35a964 00:13:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:21 ---> Running in 5f707b5a3e94 00:13:21 Removing intermediate container 5f707b5a3e94 00:13:21 ---> a4d843c5a768 00:13:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:13:21 ---> Running in 3347705c6f15 00:13:22 Removing intermediate container 3347705c6f15 00:13:22 ---> a204a8f38cce 00:13:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:13:22 ---> Running in 6523ea918b6f 00:13:22 Removing intermediate container 6523ea918b6f 00:13:22 ---> 49064d9951db 00:13:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:22 ---> Running in 568e6235445b 00:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:13:22 OK: 268 MiB in 56 packages 00:13:23 Removing intermediate container 568e6235445b 00:13:23 ---> cbf39ed83f5f 00:13:23 Step 8/24 : WORKDIR /device-mqtt-go 00:13:23 ---> Running in b65b7fd77d1c 00:13:23 Removing intermediate container b65b7fd77d1c 00:13:23 ---> 56a72fd28e2e 00:13:23 Step 9/24 : COPY go.mod vendor* ./ 00:13:23 ---> bd4c203da72a 00:13:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:24 ---> Running in 51a2ab3291e8 00:13:24 Removing intermediate container 51a2ab3291e8 00:13:24 ---> 584388beb85f 00:13:24 Step 11/24 : COPY . . 00:13:25 ---> 73622f99216d 00:13:25 Step 12/24 : RUN $MAKE 00:13:25 ---> Running in b1f275474a3c 00:13:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:13:57 Removing intermediate container b1f275474a3c 00:13:57 ---> 0bfe47ab93f8 00:13:57 Step 13/24 : FROM alpine:3.18 00:13:57 3.18: Pulling from library/alpine 00:13:57 96526aa774ef: Pulling fs layer 00:13:57 96526aa774ef: Verifying Checksum 00:13:57 96526aa774ef: Download complete 00:13:57 96526aa774ef: Pull complete 00:13:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:13:57 Status: Downloaded newer image for alpine:3.18 00:13:57 ---> 8ca4688f4f35 00:13:57 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:13:57 ---> Running in 3936f2fbd654 00:13:57 Removing intermediate container 3936f2fbd654 00:13:57 ---> f057bd3ea1fe 00:13:57 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:13:57 ---> Running in f4fae7f18ad5 00:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:13:57 (1/1) Installing dumb-init (1.2.5-r2) 00:13:57 Executing busybox-1.36.1-r2.trigger 00:13:57 OK: 7 MiB in 16 packages 00:13:57 Removing intermediate container f4fae7f18ad5 00:13:57 ---> f93d63e856b8 00:13:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:13:57 ---> 6f4ca4284f41 00:13:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:13:57 ---> 11ae159f06cb 00:13:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:13:57 ---> c25cf7d8e035 00:13:57 Step 19/24 : EXPOSE 59982 00:13:57 ---> Running in d7798cadc2f7 00:13:57 Removing intermediate container d7798cadc2f7 00:13:57 ---> ab102bd2a9bf 00:13:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:13:57 ---> Running in 34e4e3ca8862 00:13:57 Removing intermediate container 34e4e3ca8862 00:13:57 ---> 7a3ca5f9330c 00:13:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:13:57 ---> Running in af698afebc83 00:13:57 Removing intermediate container af698afebc83 00:13:57 ---> 9745626e2a12 00:13:57 Step 22/24 : LABEL arch=amd64 00:13:57 ---> Running in 6940ab9d84b3 00:13:57 Removing intermediate container 6940ab9d84b3 00:13:57 ---> 919b9f6cd4f3 00:13:57 Step 23/24 : LABEL git_sha=0b7988ad925f4dc882909eccaaf50c651f359b4a 00:13:57 ---> Running in 54de1e80a35e 00:13:57 Removing intermediate container 54de1e80a35e 00:13:57 ---> 6158c9f3b1e1 00:13:57 Step 24/24 : LABEL version=3.1.0-dev.24 00:13:57 ---> Running in 5ab61ec90a66 00:13:57 Removing intermediate container 5ab61ec90a66 00:13:57 ---> 88e5a0a14670 00:13:57 [Warning] One or more build-args [ARCH] were not consumed 00:13:57 Successfully built 88e5a0a14670 00:13:57 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:57 provisioning config files... 00:13:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9103970741126142896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:58 ---> docker-login.sh 00:13:58 nexus3.edgexfoundry.org:10001 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:58 Configure a credential helper to remove this warning. See 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:58 00:13:58 Login Succeeded 00:13:58 nexus3.edgexfoundry.org:10002 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:58 Configure a credential helper to remove this warning. See 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:58 00:13:58 Login Succeeded 00:13:58 nexus3.edgexfoundry.org:10003 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:58 Configure a credential helper to remove this warning. See 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:58 00:13:58 Login Succeeded 00:13:58 nexus3.edgexfoundry.org:10004 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:58 Configure a credential helper to remove this warning. See 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:58 00:13:58 Login Succeeded 00:13:58 docker.io 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:58 Configure a credential helper to remove this warning. See 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:58 00:13:58 Login Succeeded 00:13:58 ---> docker-login.sh ends [Pipeline] } 00:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:13:58 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:13:58 0b7988ad925f4dc882909eccaaf50c651f359b4a 00:13:58 latest 00:13:58 3.1.0-dev.24 00:13:58 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:13:58 main 00:13:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a 00:13:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:59 1abee1b2f4a5: Preparing 00:13:59 fed8d9ff2856: Preparing 00:13:59 0b632d7bf6db: Preparing 00:13:59 e5e782e1a71e: Preparing 00:13:59 cc2447e1835a: Preparing 00:13:59 cc2447e1835a: Layer already exists 00:13:59 fed8d9ff2856: Pushed 00:13:59 e5e782e1a71e: Pushed 00:13:59 1abee1b2f4a5: Pushed 00:14:01 0b632d7bf6db: Pushed 00:14:02 0b7988ad925f4dc882909eccaaf50c651f359b4a: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:14:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:14:02 1abee1b2f4a5: Preparing 00:14:02 fed8d9ff2856: Preparing 00:14:02 0b632d7bf6db: Preparing 00:14:02 e5e782e1a71e: Preparing 00:14:02 cc2447e1835a: Preparing 00:14:02 fed8d9ff2856: Layer already exists 00:14:02 cc2447e1835a: Layer already exists 00:14:02 0b632d7bf6db: Layer already exists 00:14:02 1abee1b2f4a5: Layer already exists 00:14:02 e5e782e1a71e: Layer already exists 00:14:02 latest: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 00:14:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:14:03 1abee1b2f4a5: Preparing 00:14:03 fed8d9ff2856: Preparing 00:14:03 0b632d7bf6db: Preparing 00:14:03 e5e782e1a71e: Preparing 00:14:03 cc2447e1835a: Preparing 00:14:03 e5e782e1a71e: Layer already exists 00:14:03 cc2447e1835a: Layer already exists 00:14:03 1abee1b2f4a5: Layer already exists 00:14:03 0b632d7bf6db: Layer already exists 00:14:03 fed8d9ff2856: Layer already exists 00:14:03 3.1.0-dev.24: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:14:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:14:04 1abee1b2f4a5: Preparing 00:14:04 fed8d9ff2856: Preparing 00:14:04 0b632d7bf6db: Preparing 00:14:04 e5e782e1a71e: Preparing 00:14:04 cc2447e1835a: Preparing 00:14:04 cc2447e1835a: Layer already exists 00:14:04 1abee1b2f4a5: Layer already exists 00:14:04 fed8d9ff2856: Layer already exists 00:14:04 e5e782e1a71e: Layer already exists 00:14:04 0b632d7bf6db: Layer already exists 00:14:04 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:14:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:14:04 1abee1b2f4a5: Preparing 00:14:04 fed8d9ff2856: Preparing 00:14:04 0b632d7bf6db: Preparing 00:14:04 e5e782e1a71e: Preparing 00:14:04 cc2447e1835a: Preparing 00:14:04 fed8d9ff2856: Layer already exists 00:14:04 e5e782e1a71e: Layer already exists 00:14:04 0b632d7bf6db: Layer already exists 00:14:04 cc2447e1835a: Layer already exists 00:14:04 1abee1b2f4a5: Layer already exists 00:14:04 main: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:04 ===================================================== [Pipeline] echo 00:14:04 taggedImages: 00:14:04 - nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a 00:14:04 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:14:04 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 00:14:04 - nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:14:04 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:05 00:14:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:05 latest: Pulling from edgex-lftools-log-publisher 00:14:05 5eb5b503b376: Pulling fs layer 00:14:05 5c69ac0246d0: Pulling fs layer 00:14:05 ec43610c2a17: Pulling fs layer 00:14:05 3a2ae6a8a46f: Pulling fs layer 00:14:05 33b1e0a273af: Pulling fs layer 00:14:05 5d3b04190fa2: Pulling fs layer 00:14:05 2f39f015ded8: Pulling fs layer 00:14:05 3a2ae6a8a46f: Waiting 00:14:05 2f39f015ded8: Waiting 00:14:05 5d3b04190fa2: Waiting 00:14:05 33b1e0a273af: Waiting 00:14:05 5c69ac0246d0: Verifying Checksum 00:14:05 5c69ac0246d0: Download complete 00:14:05 3a2ae6a8a46f: Verifying Checksum 00:14:05 3a2ae6a8a46f: Download complete 00:14:05 33b1e0a273af: Verifying Checksum 00:14:05 33b1e0a273af: Download complete 00:14:05 5d3b04190fa2: Verifying Checksum 00:14:05 5d3b04190fa2: Download complete 00:14:05 ec43610c2a17: Verifying Checksum 00:14:05 ec43610c2a17: Download complete 00:14:05 5eb5b503b376: Verifying Checksum 00:14:05 5eb5b503b376: Download complete 00:14:06 2f39f015ded8: Download complete 00:14:07 5eb5b503b376: Pull complete 00:14:07 5c69ac0246d0: Pull complete 00:14:07 ec43610c2a17: Pull complete 00:14:07 3a2ae6a8a46f: Pull complete 00:14:08 33b1e0a273af: Pull complete 00:14:08 5d3b04190fa2: Pull complete 00:14:12 2f39f015ded8: Pull complete 00:14:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:12 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:14:20 $ docker top b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:21 ---> job-cost.sh 00:14:21 lf-activate-venv: SKIPPING 00:14:21 INFO: No Stack... 00:14:21 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:21 INFO: Archiving Costs [Pipeline] sh 00:14:22 + + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 00:14:22 cut -d, -f6 [Pipeline] lock 00:14:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] 00:14:22 Resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] did not exist. Created. 00:14:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:22 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:22 Stashed 1 file(s) [Pipeline] } 00:14:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:22 $ docker stop --time=1 b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 00:14:23 $ docker rm -f --volumes b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17420 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:15:37 Running in /w/workspace/device-mqtt-go/152 [Pipeline] { [Pipeline] checkout 00:15:37 The recommended git tool is: git 00:15:47 using credential edgex-jenkins-ssh 00:15:47 Cloning the remote Git repository 00:15:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:15:47 > git init /w/workspace/device-mqtt-go/152 # timeout=10 00:15:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:15:47 > git --version # timeout=10 00:15:47 > git --version # 'git version 2.25.1' 00:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:15:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:50 Avoid second fetch 00:15:50 Checking out Revision 0b7988ad925f4dc882909eccaaf50c651f359b4a (main) 00:15:50 Commit message: "docs: Update changelog for 3.1 release (#645)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:50 > git config core.sparsecheckout # timeout=10 00:15:50 > git checkout -f 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 00:15:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:51 Dload Upload Total Spent Left Speed 00:15:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82350 0 --:--:-- --:--:-- --:--:-- 82350 [Pipeline] sh 00:15:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:52 + sudo tee /etc/docker/daemon.new 00:15:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:52 { 00:15:52 "registry-mirrors": [ 00:15:52 "https://nexus3.edgexfoundry.org:10001" 00:15:52 ], 00:15:52 "bip": "10.250.0.254/24", 00:15:52 "hosts": [ 00:15:52 "tcp://0.0.0.0:5555", 00:15:52 "unix:///var/run/docker.sock" 00:15:52 ], 00:15:52 "mtu": 1458, 00:15:52 "selinux-enabled": true, 00:15:52 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:52 } [Pipeline] sh 00:15:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:11 provisioning config files... 00:16:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/152@tmp/config4103576394890535941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:11 ---> docker-login.sh 00:16:11 nexus3.edgexfoundry.org:10001 00:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:12 Configure a credential helper to remove this warning. See 00:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:12 00:16:12 Login Succeeded 00:16:12 nexus3.edgexfoundry.org:10002 00:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:12 Configure a credential helper to remove this warning. See 00:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:12 00:16:12 Login Succeeded 00:16:12 nexus3.edgexfoundry.org:10003 00:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:13 Configure a credential helper to remove this warning. See 00:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:13 00:16:13 Login Succeeded 00:16:13 nexus3.edgexfoundry.org:10004 00:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:13 Configure a credential helper to remove this warning. See 00:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:13 00:16:13 Login Succeeded 00:16:13 docker.io 00:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:14 Configure a credential helper to remove this warning. See 00:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:14 00:16:14 Login Succeeded 00:16:14 ---> docker-login.sh ends [Pipeline] } 00:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:16:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:16:14 ========================================================= 00:16:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:16:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:16:15 Sending build context to Docker daemon 3.381MB 00:16:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:16:15 Step 2/12 : FROM ${BASE} AS builder 00:16:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:15 9fda8d8052c6: Pulling fs layer 00:16:15 5d54e960e981: Pulling fs layer 00:16:15 c4a7e357bf2a: Pulling fs layer 00:16:15 f0e02332f6b5: Pulling fs layer 00:16:15 cefa15bbcfad: Pulling fs layer 00:16:15 17808c966233: Pulling fs layer 00:16:15 f4c1fc716caa: Pulling fs layer 00:16:15 cefa15bbcfad: Waiting 00:16:15 f0e02332f6b5: Waiting 00:16:15 f4c1fc716caa: Waiting 00:16:15 17808c966233: Waiting 00:16:15 5d54e960e981: Verifying Checksum 00:16:15 5d54e960e981: Download complete 00:16:15 f0e02332f6b5: Verifying Checksum 00:16:15 f0e02332f6b5: Download complete 00:16:15 cefa15bbcfad: Verifying Checksum 00:16:15 cefa15bbcfad: Download complete 00:16:15 9fda8d8052c6: Verifying Checksum 00:16:15 9fda8d8052c6: Download complete 00:16:15 f4c1fc716caa: Verifying Checksum 00:16:15 f4c1fc716caa: Download complete 00:16:16 9fda8d8052c6: Pull complete 00:16:16 5d54e960e981: Pull complete 00:16:17 c4a7e357bf2a: Verifying Checksum 00:16:17 c4a7e357bf2a: Download complete 00:16:18 17808c966233: Verifying Checksum 00:16:18 17808c966233: Download complete 00:16:30 c4a7e357bf2a: Pull complete 00:16:30 f0e02332f6b5: Pull complete 00:16:30 cefa15bbcfad: Pull complete 00:16:40 17808c966233: Pull complete 00:16:40 f4c1fc716caa: Pull complete 00:16:40 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:16:40 ---> ea914061e18c 00:16:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:16:41 ---> Running in 4845bac72630 00:16:41 Removing intermediate container 4845bac72630 00:16:41 ---> f994a655a0bb 00:16:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:41 ---> Running in eef431d4e4ea 00:16:42 Removing intermediate container eef431d4e4ea 00:16:42 ---> 42073fd33398 00:16:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:42 ---> Running in 5b0537ae5ae0 00:16:42 Removing intermediate container 5b0537ae5ae0 00:16:42 ---> f5b3c9d93ff2 00:16:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:16:42 ---> Running in 2d9058933ae6 00:16:43 Removing intermediate container 2d9058933ae6 00:16:43 ---> b35a60099ebd 00:16:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:43 ---> Running in 738b8a308010 00:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:16:45 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:16:45 (2/4) Installing libedit (20221030.3.1-r1) 00:16:45 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:16:45 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:16:45 Executing busybox-1.36.1-r2.trigger 00:16:45 OK: 270 MiB in 56 packages 00:16:47 Removing intermediate container 738b8a308010 00:16:47 ---> 5465e1529a7c 00:16:47 Step 8/12 : WORKDIR /device-mqtt-go 00:16:47 ---> Running in a9dc1839790b 00:16:47 Removing intermediate container a9dc1839790b 00:16:47 ---> 13a5982d3f49 00:16:47 Step 9/12 : COPY go.mod vendor* ./ 00:16:47 ---> 7751d6242c0d 00:16:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:47 ---> Running in 82c153ca8468 00:18:09 Removing intermediate container 82c153ca8468 00:18:09 ---> a70c31e61f96 00:18:09 Step 11/12 : COPY . . 00:18:09 ---> de9358a2f0be 00:18:09 Step 12/12 : RUN $MAKE 00:18:09 ---> Running in 4848b0df57bd 00:18:09 noop 00:18:09 Removing intermediate container 4848b0df57bd 00:18:09 ---> d7658ac517e5 00:18:09 Successfully built d7658ac517e5 00:18:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:09 + docker inspect -f . ci-base-image-arm64 00:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:10 prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container 00:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:11 $ docker top 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:12 + go version 00:18:12 go version go1.21.0 linux/arm64 [Pipeline] } 00:18:12 $ docker stop --time=1 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f 00:18:13 $ docker rm -f --volumes 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:14 + docker inspect -f . ci-base-image-arm64 00:18:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container 00:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:15 $ docker top fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:16 + git config --global --add safe.directory /w/workspace/device-mqtt-go/152 [Pipeline] fileExists [Pipeline] sh 00:18:17 + make test 00:18:17 go test ./... -coverprofile=coverage.out ./... 00:18:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:19:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:19:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:19:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements 00:19:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:19:59 go vet ./... 00:20:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:21 ./bin/test-attribution-txt.sh [Pipeline] echo 00:20:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:20:21 $ docker stop --time=1 fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd 00:20:24 $ docker rm -f --volumes fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd [Pipeline] // withDockerContainer [Pipeline] sh 00:20:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:25 Warning: overwriting stash ‘coverage-report’ 00:20:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:27 + ls -al . 00:20:27 total 180 00:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:18 . 00:20:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 00:15 .. 00:20:27 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 00:15 .dockerignore 00:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:15 .git 00:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 .github 00:20:27 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 00:15 .gitignore 00:20:27 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 00:15 .golangci.yml 00:20:27 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 00:15 Attribution.txt 00:20:27 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 00:15 CHANGELOG.md 00:20:27 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 14 00:15 Dockerfile 00:20:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 00:15 GOVERNANCE.md 00:20:27 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 00:15 Jenkinsfile 00:20:27 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 00:15 LICENSE 00:20:27 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 00:15 Makefile 00:20:27 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 00:15 OWNERS.md 00:20:27 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 00:15 README.md 00:20:27 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 00:11 VERSION 00:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:15 bin 00:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 cmd 00:20:27 -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 00:19 coverage.out 00:20:27 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 00:15 go.mod 00:20:27 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 00:15 go.sum 00:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 internal 00:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:15 mock 00:20:27 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:27 + 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=0b7988ad925f4dc882909eccaaf50c651f359b4a --label arch=arm64 --label version=3.1.0-dev.24 . 00:20:27 Sending build context to Docker daemon 3.4MB 00:20:27 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 00:20:27 Step 2/24 : FROM ${BASE} AS builder 00:20:27 ---> d7658ac517e5 00:20:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:20:27 ---> Running in 1a3ec1a7af86 00:20:28 Removing intermediate container 1a3ec1a7af86 00:20:28 ---> 45b2a11b2add 00:20:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:20:28 ---> Running in 2343736f3fdf 00:20:28 Removing intermediate container 2343736f3fdf 00:20:28 ---> 87315b85f2e2 00:20:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:20:28 ---> Running in 54a5c94e53ea 00:20:29 Removing intermediate container 54a5c94e53ea 00:20:29 ---> 0c805bb15d15 00:20:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:20:29 ---> Running in 996f018567c5 00:20:29 Removing intermediate container 996f018567c5 00:20:29 ---> f498b6d739df 00:20:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:29 ---> Running in e23bf30bbc10 00:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:20:32 OK: 270 MiB in 56 packages 00:20:33 Removing intermediate container e23bf30bbc10 00:20:33 ---> 5d9b5bc70295 00:20:33 Step 8/24 : WORKDIR /device-mqtt-go 00:20:33 ---> Running in 0ad12c70c0c4 00:20:33 Removing intermediate container 0ad12c70c0c4 00:20:33 ---> d28461f8f7ed 00:20:33 Step 9/24 : COPY go.mod vendor* ./ 00:20:34 ---> 039f571c55b3 00:20:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:34 ---> Running in 8839fbc0dbf5 00:20:38 Removing intermediate container 8839fbc0dbf5 00:20:38 ---> 35ff6004e53e 00:20:38 Step 11/24 : COPY . . 00:20:39 ---> fa6959151893 00:20:39 Step 12/24 : RUN $MAKE 00:20:39 ---> Running in c51b3b48dad3 00:20:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:22:32 Removing intermediate container c51b3b48dad3 00:22:32 ---> 680f17a69fb0 00:22:32 Step 13/24 : FROM alpine:3.18 00:22:32 3.18: Pulling from library/alpine 00:22:32 579b34f0a95b: Pulling fs layer 00:22:32 579b34f0a95b: Verifying Checksum 00:22:32 579b34f0a95b: Download complete 00:22:32 579b34f0a95b: Pull complete 00:22:32 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:22:32 Status: Downloaded newer image for alpine:3.18 00:22:32 ---> 3cc203321400 00:22:32 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:22:32 ---> Running in ceb55c32fa7b 00:22:32 Removing intermediate container ceb55c32fa7b 00:22:32 ---> 0591dbe408b8 00:22:32 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:22:32 ---> Running in 7f510187b310 00:22:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:22:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:22:33 (1/1) Installing dumb-init (1.2.5-r2) 00:22:33 Executing busybox-1.36.1-r2.trigger 00:22:33 OK: 8 MiB in 16 packages 00:22:34 Removing intermediate container 7f510187b310 00:22:34 ---> 41a9cb215b89 00:22:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:22:36 ---> 01ee87a7cb9c 00:22:36 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:22:36 ---> af5bd3ef6d2a 00:22:36 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:22:36 ---> 2acb568126f6 00:22:36 Step 19/24 : EXPOSE 59982 00:22:37 ---> Running in fc13dcdfd190 00:22:37 Removing intermediate container fc13dcdfd190 00:22:37 ---> e55a9217ec75 00:22:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:22:37 ---> Running in 0391959788ac 00:22:37 Removing intermediate container 0391959788ac 00:22:37 ---> c5ad27a42f63 00:22:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:22:37 ---> Running in 97633a075e03 00:22:38 Removing intermediate container 97633a075e03 00:22:38 ---> c21beea78f20 00:22:38 Step 22/24 : LABEL arch=arm64 00:22:38 ---> Running in 48acf04857f9 00:22:38 Removing intermediate container 48acf04857f9 00:22:38 ---> 91bbd3a5f67d 00:22:38 Step 23/24 : LABEL git_sha=0b7988ad925f4dc882909eccaaf50c651f359b4a 00:22:38 ---> Running in 6a7f004c6320 00:22:38 Removing intermediate container 6a7f004c6320 00:22:38 ---> 0279253381f2 00:22:38 Step 24/24 : LABEL version=3.1.0-dev.24 00:22:39 ---> Running in e5a8c1ba6dde 00:22:39 Removing intermediate container e5a8c1ba6dde 00:22:39 ---> 2c71a1c4ebbf 00:22:39 [Warning] One or more build-args [ARCH] were not consumed 00:22:39 Successfully built 2c71a1c4ebbf 00:22:39 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:39 provisioning config files... 00:22:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/152@tmp/config3413432688892207925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:39 ---> docker-login.sh 00:22:39 nexus3.edgexfoundry.org:10001 00:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:40 Configure a credential helper to remove this warning. See 00:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:40 00:22:40 Login Succeeded 00:22:40 nexus3.edgexfoundry.org:10002 00:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:40 Configure a credential helper to remove this warning. See 00:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:40 00:22:40 Login Succeeded 00:22:40 nexus3.edgexfoundry.org:10003 00:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:40 Configure a credential helper to remove this warning. See 00:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:40 00:22:40 Login Succeeded 00:22:40 nexus3.edgexfoundry.org:10004 00:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 docker.io 00:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:41 Configure a credential helper to remove this warning. See 00:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:41 00:22:41 Login Succeeded 00:22:41 ---> docker-login.sh ends [Pipeline] } 00:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:22:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:22:41 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:22:41 0b7988ad925f4dc882909eccaaf50c651f359b4a 00:22:41 latest 00:22:41 3.1.0-dev.24 00:22:41 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:22:41 main 00:22:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a 00:22:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:22:42 46db2505ec78: Preparing 00:22:42 35dfb1330ed7: Preparing 00:22:42 171ba683e4b3: Preparing 00:22:42 ebcdf66234bd: Preparing 00:22:42 5f4d9fc4d98d: Preparing 00:22:42 5f4d9fc4d98d: Layer already exists 00:22:42 46db2505ec78: Pushed 00:22:42 35dfb1330ed7: Pushed 00:22:42 ebcdf66234bd: Pushed 00:22:49 171ba683e4b3: Pushed 00:22:49 0b7988ad925f4dc882909eccaaf50c651f359b4a: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:22:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:22:50 46db2505ec78: Preparing 00:22:50 35dfb1330ed7: Preparing 00:22:50 171ba683e4b3: Preparing 00:22:50 ebcdf66234bd: Preparing 00:22:50 5f4d9fc4d98d: Preparing 00:22:50 171ba683e4b3: Layer already exists 00:22:50 35dfb1330ed7: Layer already exists 00:22:50 5f4d9fc4d98d: Layer already exists 00:22:50 ebcdf66234bd: Layer already exists 00:22:50 46db2505ec78: Layer already exists 00:22:50 latest: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 00:22:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:22:51 46db2505ec78: Preparing 00:22:51 35dfb1330ed7: Preparing 00:22:51 171ba683e4b3: Preparing 00:22:51 ebcdf66234bd: Preparing 00:22:51 5f4d9fc4d98d: Preparing 00:22:51 ebcdf66234bd: Layer already exists 00:22:51 35dfb1330ed7: Layer already exists 00:22:51 171ba683e4b3: Layer already exists 00:22:51 5f4d9fc4d98d: Layer already exists 00:22:51 46db2505ec78: Layer already exists 00:22:51 3.1.0-dev.24: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:22:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:22:51 46db2505ec78: Preparing 00:22:51 35dfb1330ed7: Preparing 00:22:51 171ba683e4b3: Preparing 00:22:51 ebcdf66234bd: Preparing 00:22:51 5f4d9fc4d98d: Preparing 00:22:51 35dfb1330ed7: Layer already exists 00:22:51 171ba683e4b3: Layer already exists 00:22:51 ebcdf66234bd: Layer already exists 00:22:51 5f4d9fc4d98d: Layer already exists 00:22:51 46db2505ec78: Layer already exists 00:22:51 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 00:22:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:22:52 46db2505ec78: Preparing 00:22:52 35dfb1330ed7: Preparing 00:22:52 171ba683e4b3: Preparing 00:22:52 ebcdf66234bd: Preparing 00:22:52 5f4d9fc4d98d: Preparing 00:22:52 5f4d9fc4d98d: Layer already exists 00:22:52 35dfb1330ed7: Layer already exists 00:22:52 171ba683e4b3: Layer already exists 00:22:52 46db2505ec78: Layer already exists 00:22:52 ebcdf66234bd: Layer already exists 00:22:52 main: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:22:52 ===================================================== [Pipeline] echo 00:22:52 taggedImages: 00:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a 00:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 00:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 00:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:53 00:22:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:53 arm64: Pulling from edgex-lftools-log-publisher 00:22:53 8998bd30e6a1: Pulling fs layer 00:22:53 04944245beec: Pulling fs layer 00:22:53 699f458cf7ca: Pulling fs layer 00:22:53 765212b225bb: Pulling fs layer 00:22:53 f23df028b6ca: Pulling fs layer 00:22:53 d65c8cfc05b1: Pulling fs layer 00:22:53 2437ff75d9bd: Pulling fs layer 00:22:53 765212b225bb: Waiting 00:22:53 f23df028b6ca: Waiting 00:22:53 d65c8cfc05b1: Waiting 00:22:53 2437ff75d9bd: Waiting 00:22:53 04944245beec: Verifying Checksum 00:22:53 04944245beec: Download complete 00:22:53 765212b225bb: Verifying Checksum 00:22:53 765212b225bb: Download complete 00:22:53 f23df028b6ca: Download complete 00:22:53 d65c8cfc05b1: Verifying Checksum 00:22:53 d65c8cfc05b1: Download complete 00:22:54 699f458cf7ca: Verifying Checksum 00:22:54 699f458cf7ca: Download complete 00:22:54 8998bd30e6a1: Verifying Checksum 00:22:54 8998bd30e6a1: Download complete 00:22:56 2437ff75d9bd: Verifying Checksum 00:22:56 2437ff75d9bd: Download complete 00:22:58 8998bd30e6a1: Pull complete 00:22:59 04944245beec: Pull complete 00:23:03 699f458cf7ca: Pull complete 00:23:03 765212b225bb: Pull complete 00:23:03 f23df028b6ca: Pull complete 00:23:03 d65c8cfc05b1: Pull complete 00:23:18 2437ff75d9bd: Pull complete 00:23:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:19 prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container 00:23:19 $ 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/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:23:22 $ docker top 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:23 ---> job-cost.sh 00:23:23 lf-activate-venv: SKIPPING 00:23:23 INFO: No Stack... 00:23:23 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:24 INFO: Archiving Costs [Pipeline] sh 00:23:25 + cat /w/workspace/device-mqtt-go/152/archives/cost.csv 00:23:25 + cut -d, -f6 [Pipeline] lock 00:23:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] 00:23:25 Resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] did not exist. Created. 00:23:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:25 /w/workspace/device-mqtt-go/152@tmp/durable-3ae1075d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:26 + echo total: 0.10999999940395355 [Pipeline] stash 00:23:26 Warning: overwriting stash ‘stack-cost’ 00:23:26 Stashed 1 file(s) [Pipeline] } 00:23:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:26 $ docker stop --time=1 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 00:23:30 $ docker rm -f --volumes 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:23:30 provisioning config files... 00:23:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11419106736143773796tmp [Pipeline] { [Pipeline] sh 00:23:30 + set +x 00:23:30 + curl -s https://codecov.io/bash 00:23:30 + bash -s -- 00:23:30 00:23:30 _____ _ 00:23:30 / ____| | | 00:23:30 | | ___ __| | ___ ___ _____ __ 00:23:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:30 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:30 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:30 Bash-1.0.6 00:23:30 00:23:30 00:23:30 ==> git version 2.25.1 found 00:23:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:23:30 Release-Date: 2020-01-08 00:23:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:23:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:23:30 ==> Jenkins CI detected. 00:23:30 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 00:23:30 project root: . 00:23:30 --> token set from env 00:23:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:30 ==> Running gcov in . (disable via -X gcov) 00:23:30 ==> Python coveragepy not found 00:23:30 ==> Searching for coverage reports in: 00:23:30 + . 00:23:30 -> Found 1 reports 00:23:30 ==> Detecting git/mercurial file structure 00:23:30 ==> Reading reports 00:23:31 + ./coverage.out bytes=18506 00:23:31 ==> Appending adjustments 00:23:31 https://docs.codecov.io/docs/fixing-reports 00:23:31 + Found adjustments 00:23:31 ==> Gzipping contents 00:23:31 4.0K /tmp/codecov.tIlNgC.gz 00:23:31 ==> Uploading reports 00:23:31 url: https://codecov.io 00:23:31 query: branch=main&commit=0b7988ad925f4dc882909eccaaf50c651f359b4a&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:23:31 -> Pinging Codecov 00:23:31 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=0b7988ad925f4dc882909eccaaf50c651f359b4a&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:23:31 -> Uploading to 00:23:31 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7D719EC7BBE17E464838252E33014C33/0b7988ad925f4dc882909eccaaf50c651f359b4a/26b84037-c125-49ed-88f1-4bb536807550.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T002331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67139751e8553869e9ca6260ed376aa6af9ef43a54e52fd2447b38533313fafb 00:23:31 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:31 Dload Upload Total Spent Left Speed 00:23:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14729 --:--:-- --:--:-- --:--:-- 14658 100 3049 0 0 100 3049 0 11910 --:--:-- --:--:-- --:--:-- 11863 00:23:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } 00:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:23:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:23:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:32 00:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:23:32 df9b9388f04a: Pulling fs layer 00:23:32 52dc419b0ee2: Pulling fs layer 00:23:32 25bc292e5bac: Pulling fs layer 00:23:32 114826534d7a: Pulling fs layer 00:23:32 4657fd5d0bcf: Pulling fs layer 00:23:32 6ad1cebc031e: Pulling fs layer 00:23:32 8a3aa393b2d8: Pulling fs layer 00:23:32 4657fd5d0bcf: Waiting 00:23:32 6ad1cebc031e: Waiting 00:23:32 8a3aa393b2d8: Waiting 00:23:32 114826534d7a: Waiting 00:23:32 25bc292e5bac: Verifying Checksum 00:23:32 25bc292e5bac: Download complete 00:23:32 52dc419b0ee2: Verifying Checksum 00:23:32 52dc419b0ee2: Download complete 00:23:32 4657fd5d0bcf: Verifying Checksum 00:23:32 4657fd5d0bcf: Download complete 00:23:32 df9b9388f04a: Verifying Checksum 00:23:32 df9b9388f04a: Download complete 00:23:32 6ad1cebc031e: Verifying Checksum 00:23:32 6ad1cebc031e: Download complete 00:23:33 df9b9388f04a: Pull complete 00:23:33 52dc419b0ee2: Pull complete 00:23:33 25bc292e5bac: Pull complete 00:23:33 114826534d7a: Verifying Checksum 00:23:33 114826534d7a: Download complete 00:23:33 8a3aa393b2d8: Verifying Checksum 00:23:33 8a3aa393b2d8: Download complete 00:23:36 114826534d7a: Pull complete 00:23:36 4657fd5d0bcf: Pull complete 00:23:36 6ad1cebc031e: Pull complete 00:23:39 8a3aa393b2d8: Pull complete 00:23:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:39 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:23:46 $ docker top c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 -eo pid,comm [Pipeline] { [Pipeline] echo 00:23:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 00:23:46 + set -o pipefail 00:23:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 00:23:52 00:23:52 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 00:23:52 00:23:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/993de2c3-8b97-478f-b40c-4c3b8ab3f7ce 00:23:52 00:23:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:23:52 00:23:52 00:23:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:23:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:23:52 More details here: https://snyk.co/ue1NS 00:23:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:23:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:23:52 $ docker stop --time=1 c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 00:23:56 $ docker rm -f --volumes c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:57 + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] sh 00:23:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:23:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:58 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:23:58 $ docker top d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:23:58 [ssh-agent] Looking for ssh-agent implementation... 00:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:23:58 $ docker exec d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd ssh-agent 00:23:58 SSH_AUTH_SOCK=/tmp/ssh-90TrcvHDLqK4/agent.33 00:23:58 SSH_AGENT_PID=39 00:23:58 Running ssh-add (command line suppressed) 00:23:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_251400179054350487.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_251400179054350487.key) 00:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:23:59 + git semver tag 00:23:59 2023-11-14 00:23:59,377 [run_tag] DEBUG tag force:False 00:23:59 2023-11-14 00:23:59,377 [check_head_tag] DEBUG check head tag 00:23:59 2023-11-14 00:23:59,378 [execute] INFO git cat-file --batch-check 00:23:59 2023-11-14 00:23:59,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:23:59 2023-11-14 00:23:59,382 [execute] INFO git cat-file --batch 00:23:59 2023-11-14 00:23:59,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:23:59 2023-11-14 00:23:59,396 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:23:59 2023-11-14 00:23:59,396 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 00:23:59 2023-11-14 00:23:59,396 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:23:59 2023-11-14 00:23:59,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:23:59 3.1.0-dev.24 [Pipeline] } 00:23:59 $ docker exec --env ******** --env ******** d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd ssh-agent -k 00:23:59 unset SSH_AUTH_SOCK; 00:23:59 unset SSH_AGENT_PID; 00:23:59 echo Agent pid 39 killed; 00:23:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:23:59 + git semver [Pipeline] } 00:24:00 $ docker stop --time=1 d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd 00:24:01 $ docker rm -f --volumes d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:24:01 00:24:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:24:02 0.23.1-centos7: Pulling from edgex-lftools 00:24:02 ab5ef0e58194: Pulling fs layer 00:24:02 9712f1f96733: Pulling fs layer 00:24:02 63f879dbbcfc: Pulling fs layer 00:24:02 0d9ebad4ef96: Pulling fs layer 00:24:02 e9a5061849ea: Pulling fs layer 00:24:02 d747dcd14b5f: Pulling fs layer 00:24:02 2de7ff778b66: Pulling fs layer 00:24:02 0d9ebad4ef96: Waiting 00:24:02 e9a5061849ea: Waiting 00:24:02 d747dcd14b5f: Waiting 00:24:02 2de7ff778b66: Waiting 00:24:02 9712f1f96733: Download complete 00:24:02 63f879dbbcfc: Verifying Checksum 00:24:02 63f879dbbcfc: Download complete 00:24:02 0d9ebad4ef96: Verifying Checksum 00:24:02 0d9ebad4ef96: Download complete 00:24:02 e9a5061849ea: Verifying Checksum 00:24:02 e9a5061849ea: Download complete 00:24:02 d747dcd14b5f: Verifying Checksum 00:24:02 d747dcd14b5f: Download complete 00:24:02 ab5ef0e58194: Verifying Checksum 00:24:02 ab5ef0e58194: Download complete 00:24:02 2de7ff778b66: Verifying Checksum 00:24:02 2de7ff778b66: Download complete 00:24:05 ab5ef0e58194: Pull complete 00:24:05 9712f1f96733: Pull complete 00:24:06 63f879dbbcfc: Pull complete 00:24:09 0d9ebad4ef96: Pull complete 00:24:09 e9a5061849ea: Pull complete 00:24:09 d747dcd14b5f: Pull complete 00:24:10 2de7ff778b66: Pull complete 00:24:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:24:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:10 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:24:17 $ docker top e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:24:17 provisioning config files... 00:24:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15324134716613066045tmp 00:24:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1115392769698639970tmp 00:24:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14244761033601057329tmp [Pipeline] { [Pipeline] echo 00:24:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:24:18 ---> sigul-configuration.sh 00:24:18 gpg: directory `/root/.gnupg' created 00:24:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:24:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:24:18 gpg: keyring `/root/.gnupg/secring.gpg' created 00:24:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:24:18 gpg: CAST5 encrypted data 00:24:18 gpg: encrypted with 1 passphrase 00:24:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:24:18 + mkdir /home/jenkins 00:24:18 + mkdir /home/jenkins/sigul [Pipeline] sh 00:24:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:24:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:24:19 ---> sigul-install.sh 00:24:19 Sigul already installed; skipping installation. [Pipeline] sh 00:24:19 + git tag --list 00:24:19 0.7.1 00:24:19 v1.0.0 00:24:19 v1.1.0 00:24:19 v1.1.1 00:24:19 v1.2.2 00:24:19 v1.3.0 00:24:19 v1.3.1 00:24:19 v2.0.0 00:24:19 v2.1.0 00:24:19 v2.1.1 00:24:19 v2.2.0 00:24:19 v2.3.0 00:24:19 v3.0 00:24:19 v3.0.0 00:24:19 v3.1.0-dev.1 00:24:19 v3.1.0-dev.10 00:24:19 v3.1.0-dev.11 00:24:19 v3.1.0-dev.12 00:24:19 v3.1.0-dev.13 00:24:19 v3.1.0-dev.14 00:24:19 v3.1.0-dev.15 00:24:19 v3.1.0-dev.16 00:24:19 v3.1.0-dev.17 00:24:19 v3.1.0-dev.18 00:24:19 v3.1.0-dev.19 00:24:19 v3.1.0-dev.2 00:24:19 v3.1.0-dev.20 00:24:19 v3.1.0-dev.21 00:24:19 v3.1.0-dev.22 00:24:19 v3.1.0-dev.23 00:24:19 v3.1.0-dev.24 00:24:19 v3.1.0-dev.3 00:24:19 v3.1.0-dev.4 00:24:19 v3.1.0-dev.5 00:24:19 v3.1.0-dev.6 00:24:19 v3.1.0-dev.7 00:24:19 v3.1.0-dev.8 00:24:19 v3.1.0-dev.9 [Pipeline] sh 00:24:19 + lftools sign git-tag v3.1.0-dev.24 00:24:20 Signing Git tag with Sigul... 00:24:20 Signing v3.1.0-dev.24 [Pipeline] echo 00:24:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:24:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:24:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:24:20 $ docker stop --time=1 e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da 00:24:22 $ docker rm -f --volumes e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:24:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:24:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:22 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:24:23 $ docker top 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:23 [ssh-agent] Looking for ssh-agent implementation... 00:24:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:23 $ docker exec 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f ssh-agent 00:24:23 SSH_AUTH_SOCK=/tmp/ssh-B6fTzcQkTrhQ/agent.32 00:24:23 SSH_AGENT_PID=38 00:24:23 Running ssh-add (command line suppressed) 00:24:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2835289915928376788.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2835289915928376788.key) 00:24:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:24 + git semver bump pre 00:24:24 2023-11-14 00:24:24,193 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:24:24 2023-11-14 00:24:24,193 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev 00:24:24 2023-11-14 00:24:24,193 [bump_version] DEBUG bumped version:3.1.0-dev.25 00:24:24 2023-11-14 00:24:24,193 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 00:24:24 2023-11-14 00:24:24,193 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:24:24 2023-11-14 00:24:24,193 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:24:24 2023-11-14 00:24:24,195 [execute] INFO git cat-file --batch-check 00:24:24 2023-11-14 00:24:24,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:24:24 2023-11-14 00:24:24,200 [execute] INFO git cat-file --batch 00:24:24 2023-11-14 00:24:24,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:24:24 2023-11-14 00:24:24,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:24:24 3.1.0-dev.25 [Pipeline] } 00:24:24 $ docker exec --env ******** --env ******** 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f ssh-agent -k 00:24:24 unset SSH_AUTH_SOCK; 00:24:24 unset SSH_AGENT_PID; 00:24:24 echo Agent pid 38 killed; 00:24:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:24 + git semver [Pipeline] } 00:24:24 $ docker stop --time=1 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f 00:24:26 $ docker rm -f --volumes 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f [Pipeline] // withDockerContainer [Pipeline] sh 00:24:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:24:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:26 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:24:27 $ docker top fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:27 [ssh-agent] Looking for ssh-agent implementation... 00:24:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:27 $ docker exec fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc ssh-agent 00:24:27 SSH_AUTH_SOCK=/tmp/ssh-uRXBwnlMYjTy/agent.32 00:24:27 SSH_AGENT_PID=38 00:24:27 Running ssh-add (command line suppressed) 00:24:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16540451182654963425.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16540451182654963425.key) 00:24:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:28 + git semver push 00:24:28 2023-11-14 00:24:28,199 [run_push] DEBUG push 00:24:28 2023-11-14 00:24:28,200 [execute] INFO git cat-file --batch-check 00:24:28 2023-11-14 00:24:28,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:24:28 2023-11-14 00:24:28,204 [execute] INFO git rev-list 9eb252048e07c350d413648ad72f560747b1c8e0 -- 00:24:28 2023-11-14 00:24:28,204 [execute] DEBUG Popen(['git', 'rev-list', '9eb252048e07c350d413648ad72f560747b1c8e0', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:24:28 2023-11-14 00:24:28,214 [execute] INFO git fetch -v origin 00:24:28 2023-11-14 00:24:28,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:24:28 2023-11-14 00:24:28,757 [run_push] DEBUG no remote changes detected 00:24:28 2023-11-14 00:24:28,758 [execute] INFO git push origin semver 00:24:28 2023-11-14 00:24:28,758 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:24:29 2023-11-14 00:24:29,597 [run_push] DEBUG push all version tags 00:24:29 2023-11-14 00:24:29,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:24:29 2023-11-14 00:24:29,598 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:24:30 2023-11-14 00:24:30,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:24:30 3.1.0-dev.25 [Pipeline] } 00:24:30 $ docker exec --env ******** --env ******** fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc ssh-agent -k 00:24:30 unset SSH_AUTH_SOCK; 00:24:30 unset SSH_AGENT_PID; 00:24:30 echo Agent pid 38 killed; 00:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:31 + git semver [Pipeline] } 00:24:31 $ docker stop --time=1 fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc 00:24:32 $ docker rm -f --volumes fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:24:33 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 00:24:33 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:24:33 total 16 00:24:33 drwxr-xr-x 3 root root 4096 Nov 14 00:14 . 00:24:33 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 00:24 .. 00:24:33 drwxr-xr-x 2 root root 4096 Nov 14 00:14 cost 00:24:33 -rw-r--r-- 1 root root 86 Nov 14 00:14 cost.csv 00:24:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:24:33 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:24:33 total 16 00:24:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 00:14 . 00:24:33 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 00:24 .. 00:24:33 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 00:14 cost 00:24:33 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:34 ---> package-listing.sh 00:24:34 ++ facter osfamily 00:24:34 ++ tr '[:upper:]' '[:lower:]' 00:24:34 + OS_FAMILY=debian 00:24:34 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 00:24:34 + START_PACKAGES=/tmp/packages_start.txt 00:24:34 + END_PACKAGES=/tmp/packages_end.txt 00:24:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:34 + PACKAGES=/tmp/packages_start.txt 00:24:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:24:34 + PACKAGES=/tmp/packages_end.txt 00:24:34 + case "${OS_FAMILY}" in 00:24:34 + dpkg -l 00:24:34 + grep '^ii' 00:24:34 + '[' -f /tmp/packages_start.txt ']' 00:24:34 + '[' -f /tmp/packages_end.txt ']' 00:24:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:24:34 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 00:24:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 00:24:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:24:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:35 prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container 00:24:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:24:35 $ docker top 4943dd5f5624ef94a471c08712010f901174d759ff71a561b6e53406738bbcb6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:35 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:36 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:36 + ls /var/log/sa-host 00:24:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:36 provisioning config files... 00:24:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1429626022813144431tmp [Pipeline] { [Pipeline] echo 00:24:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:36 ---> create-netrc.sh [Pipeline] } 00:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:37 ---> python-tools-install.sh [Pipeline] echo 00:24:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:37 ---> sudo-logs.sh 00:24:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:37 ---> job-cost.sh 00:24:37 lf-activate-venv: SKIPPING 00:24:37 DEBUG: total: 0.2199999988079071 00:24:37 INFO: Retrieving Stack Cost... 00:24:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:38 INFO: Archiving Costs [Pipeline] echo 00:24:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:38 ---> logs-deploy.sh 00:24:38 lf-activate-venv: SKIPPING 00:24:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/152 00:24:38 INFO: archiving workspace using pattern(s): 00:24:39 Archives upload complete. 00:24:39 INFO: archiving logs to Nexus