Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc471bab23d8bb68ec889611181b9f9035c4a73d 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-ssh7399180296374747411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10541896726336994725.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13145452022533249326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh8236004308515181517.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-ssh7988241232984368070.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-6442’ Running on prd-ubuntu20.04-docker-8c-8g-6451 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 Avoid second fetch Checking out Revision dc471bab23d8bb68ec889611181b9f9035c4a73d (main) Commit message: "Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 > git rev-list --no-walk 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:34:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:34:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:34:20 ========================================================= 02:34:20 EdgeX Global Pipelines Version Info 02:34:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:34:21 ------------------- 02:34:21 stable info: 02:34:21 ------------------- 02:34:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:34:21 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:34:21 Message: update stable to v1.0.254 02:34:22 ------------------- 02:34:22 experimental info: 02:34:22 ------------------- 02:34:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:34:22 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:34:22 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc471ba [Pipeline] echo 02:34:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:22 provisioning config files... 02:34:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17123401801371904613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:23 ---> docker-login.sh 02:34:23 nexus3.edgexfoundry.org:10001 02:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:23 Configure a credential helper to remove this warning. See 02:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:23 02:34:23 Login Succeeded 02:34:23 nexus3.edgexfoundry.org:10002 02:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:23 Configure a credential helper to remove this warning. See 02:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:23 02:34:23 Login Succeeded 02:34:23 nexus3.edgexfoundry.org:10003 02:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:23 Configure a credential helper to remove this warning. See 02:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:23 02:34:23 Login Succeeded 02:34:23 nexus3.edgexfoundry.org:10004 02:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:23 Configure a credential helper to remove this warning. See 02:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:23 02:34:23 Login Succeeded 02:34:23 docker.io 02:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:23 Configure a credential helper to remove this warning. See 02:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:23 02:34:23 Login Succeeded 02:34:23 ---> docker-login.sh ends [Pipeline] } 02:34:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:34:24 + git rev-list -1 --merges dc471bab23d8bb68ec889611181b9f9035c4a73d~1..dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo 02:34:24 -----------> git rev-list -1 --merges dc471bab23d8bb68ec889611181b9f9035c4a73d~1..dc471bab23d8bb68ec889611181b9f9035c4a73d dc471bab23d8bb68ec889611181b9f9035c4a73d 02:34:24 dc471bab23d8bb68ec889611181b9f9035c4a73d [false] [Pipeline] sh 02:34:24 + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo 02:34:24 ========================================================= 02:34:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:34:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:24 + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo 02:34:24 [semverPrep] GIT_COMMIT: dc471bab23d8bb68ec889611181b9f9035c4a73d, Commit Message: Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo 02:34:24 [semverPrep] This is not a build commit. [Pipeline] sh 02:34:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:34:25 + grep -v github /etc/ssh/ssh_known_hosts 02:34:25 + [ -e /tmp/ssh_known_hosts ] 02:34:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:34:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:34:25 + sudo tee -a /etc/ssh/ssh_known_hosts 02:34:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:25 02:34:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:25 0.1.4: Pulling from edgex-devops/py-git-semver 02:34:25 b85a868b505f: Pulling fs layer 02:34:25 e2be974225ed: Pulling fs layer 02:34:25 339a4e72a1f5: Pulling fs layer 02:34:25 988bab9f4d93: Pulling fs layer 02:34:25 1469e6f7b9e6: Pulling fs layer 02:34:25 eaf3925da568: Pulling fs layer 02:34:25 bab4dde63d76: Pulling fs layer 02:34:25 bde34c3a00c8: Pulling fs layer 02:34:25 b352a97aabf1: Pulling fs layer 02:34:25 4872d77fe225: Pulling fs layer 02:34:25 988bab9f4d93: Waiting 02:34:25 5851b861e8e6: Pulling fs layer 02:34:25 1469e6f7b9e6: Waiting 02:34:25 bde34c3a00c8: Waiting 02:34:25 b352a97aabf1: Waiting 02:34:25 4872d77fe225: Waiting 02:34:25 bab4dde63d76: Waiting 02:34:25 eaf3925da568: Waiting 02:34:25 e2be974225ed: Download complete 02:34:25 988bab9f4d93: Verifying Checksum 02:34:25 988bab9f4d93: Download complete 02:34:25 1469e6f7b9e6: Verifying Checksum 02:34:25 1469e6f7b9e6: Download complete 02:34:25 339a4e72a1f5: Verifying Checksum 02:34:25 339a4e72a1f5: Download complete 02:34:26 eaf3925da568: Verifying Checksum 02:34:26 eaf3925da568: Download complete 02:34:26 bde34c3a00c8: Verifying Checksum 02:34:26 bde34c3a00c8: Download complete 02:34:26 b352a97aabf1: Download complete 02:34:26 4872d77fe225: Verifying Checksum 02:34:26 4872d77fe225: Download complete 02:34:26 5851b861e8e6: Verifying Checksum 02:34:26 5851b861e8e6: Download complete 02:34:26 b85a868b505f: Verifying Checksum 02:34:26 b85a868b505f: Download complete 02:34:26 bab4dde63d76: Verifying Checksum 02:34:26 bab4dde63d76: Download complete 02:34:27 b85a868b505f: Pull complete 02:34:27 e2be974225ed: Pull complete 02:34:27 339a4e72a1f5: Pull complete 02:34:28 988bab9f4d93: Pull complete 02:34:28 1469e6f7b9e6: Pull complete 02:34:28 eaf3925da568: Pull complete 02:34:30 bab4dde63d76: Pull complete 02:34:30 bde34c3a00c8: Pull complete 02:34:30 b352a97aabf1: Pull complete 02:34:30 4872d77fe225: Pull complete 02:34:30 5851b861e8e6: Pull complete 02:34:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:30 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:34:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:34:34 $ docker top bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 -eo pid,comm 02:34:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:34:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:34:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:34 [ssh-agent] Looking for ssh-agent implementation... 02:34:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:34 $ docker exec bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent 02:34:35 SSH_AUTH_SOCK=/tmp/ssh-vcyC1hbgWGLf/agent.33 02:34:35 SSH_AGENT_PID=39 02:34:35 Running ssh-add (command line suppressed) 02:34:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5077753669423123008.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5077753669423123008.key) 02:34:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:35 + git tag --points-at HEAD [Pipeline] } 02:34:35 $ docker exec --env ******** --env ******** bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent -k 02:34:35 unset SSH_AUTH_SOCK; 02:34:35 unset SSH_AGENT_PID; 02:34:35 echo Agent pid 39 killed; 02:34:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:34:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:35 [ssh-agent] Looking for ssh-agent implementation... 02:34:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:35 $ docker exec bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent 02:34:35 SSH_AUTH_SOCK=/tmp/ssh-MtUijy93y1d3/agent.70 02:34:35 SSH_AGENT_PID=76 02:34:35 Running ssh-add (command line suppressed) 02:34:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5984179073744144688.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5984179073744144688.key) 02:34:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:36 + git semver init 02:34:36 2023-09-19 02:34:36,487 [run_init] DEBUG init version:0.0.0 force:False 02:34:36 2023-09-19 02:34:36,488 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:34:36 2023-09-19 02:34:36,489 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:34:36 2023-09-19 02:34:36,489 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:34:37 2023-09-19 02:34:37,299 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:34:37 2023-09-19 02:34:37,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:34:37 2023-09-19 02:34:37,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:34:37 2023-09-19 02:34:37,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:34:37 3.1.0-dev.10 [Pipeline] } 02:34:37 $ docker exec --env ******** --env ******** bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent -k 02:34:37 unset SSH_AUTH_SOCK; 02:34:37 unset SSH_AGENT_PID; 02:34:37 echo Agent pid 76 killed; 02:34:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:34:37 + git semver [Pipeline] } 02:34:38 $ docker stop --time=1 bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 02:34:39 $ docker rm -f --volumes bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 [Pipeline] // withDockerContainer [Pipeline] sh 02:34:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:34:40 Stashed 1 file(s) [Pipeline] echo 02:34:40 [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:40 provisioning config files... 02:34:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14986243963739661655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:40 ---> docker-login.sh 02:34:40 nexus3.edgexfoundry.org:10001 02:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:40 Configure a credential helper to remove this warning. See 02:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:40 02:34:40 Login Succeeded 02:34:40 nexus3.edgexfoundry.org:10002 02:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:40 Configure a credential helper to remove this warning. See 02:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:40 02:34:40 Login Succeeded 02:34:40 nexus3.edgexfoundry.org:10003 02:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:40 Configure a credential helper to remove this warning. See 02:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:40 02:34:40 Login Succeeded 02:34:40 nexus3.edgexfoundry.org:10004 02:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:40 Configure a credential helper to remove this warning. See 02:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:40 02:34:40 Login Succeeded 02:34:40 docker.io 02:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:40 Configure a credential helper to remove this warning. See 02:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:40 02:34:40 Login Succeeded 02:34:40 ---> docker-login.sh ends [Pipeline] } 02:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:41 ========================================================= 02:34:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:34:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:41 + 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 . 02:34:41 Sending build context to Docker daemon 6.472MB 02:34:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:34:41 Step 2/12 : FROM ${BASE} AS builder 02:34:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:34:41 7264a8db6415: Pulling fs layer 02:34:41 c4d48a809fc2: Pulling fs layer 02:34:41 4f1c88b9dad5: Pulling fs layer 02:34:41 ad3a456e5733: Pulling fs layer 02:34:41 9e4f439ed901: Pulling fs layer 02:34:41 ad3a456e5733: Waiting 02:34:41 feaf6a47b606: Pulling fs layer 02:34:41 5e8b037d7d82: Pulling fs layer 02:34:41 8ac70367396e: Pulling fs layer 02:34:41 6db16350a2e2: Pulling fs layer 02:34:41 9e4f439ed901: Waiting 02:34:41 5e8b037d7d82: Waiting 02:34:41 8ac70367396e: Waiting 02:34:41 9250d5d63582: Pulling fs layer 02:34:41 6db16350a2e2: Waiting 02:34:41 c4d48a809fc2: Verifying Checksum 02:34:41 c4d48a809fc2: Download complete 02:34:41 ad3a456e5733: Verifying Checksum 02:34:41 ad3a456e5733: Download complete 02:34:41 9e4f439ed901: Download complete 02:34:41 7264a8db6415: Verifying Checksum 02:34:41 7264a8db6415: Download complete 02:34:41 feaf6a47b606: Verifying Checksum 02:34:41 feaf6a47b606: Download complete 02:34:41 7264a8db6415: Pull complete 02:34:41 8ac70367396e: Verifying Checksum 02:34:41 c4d48a809fc2: Pull complete 02:34:41 4f1c88b9dad5: Verifying Checksum 02:34:41 4f1c88b9dad5: Download complete 02:34:42 6db16350a2e2: Verifying Checksum 02:34:42 6db16350a2e2: Download complete 02:34:42 5e8b037d7d82: Download complete 02:34:42 9250d5d63582: Verifying Checksum 02:34:42 9250d5d63582: Download complete 02:34:44 4f1c88b9dad5: Pull complete 02:34:45 ad3a456e5733: Pull complete 02:34:45 9e4f439ed901: Pull complete 02:34:45 feaf6a47b606: Pull complete 02:34:47 5e8b037d7d82: Pull complete 02:34:48 8ac70367396e: Pull complete 02:34:48 6db16350a2e2: Pull complete 02:34:49 9250d5d63582: Pull complete 02:34:49 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 02:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:34:49 ---> fa269f55d9b9 02:34:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:34:55 Still waiting to schedule task 02:34:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6448’ 02:34:55 ---> Running in f325a0bbc192 02:34:55 Removing intermediate container f325a0bbc192 02:34:55 ---> c46ae271bc3d 02:34:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:55 ---> Running in d3ca9f944a61 02:34:55 Removing intermediate container d3ca9f944a61 02:34:55 ---> fb0b0254f752 02:34:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:34:55 ---> Running in b0aac49afe81 02:34:55 Removing intermediate container b0aac49afe81 02:34:55 ---> 89c808af7066 02:34:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:34:55 ---> Running in 907d40ccaef6 02:34:55 Removing intermediate container 907d40ccaef6 02:34:55 ---> d1d1ddc18b1d 02:34:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:55 ---> Running in 786f885b1ef0 02:34:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:34:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:34:56 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:34:56 (2/4) Installing libedit (20221030.3.1-r1) 02:34:56 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:34:56 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:34:56 Executing busybox-1.36.1-r2.trigger 02:34:56 OK: 270 MiB in 60 packages 02:34:57 Removing intermediate container 786f885b1ef0 02:34:57 ---> 8a5bcc50eb05 02:34:57 Step 8/12 : WORKDIR /device-mqtt-go 02:34:57 ---> Running in 33ba214878e6 02:34:57 Removing intermediate container 33ba214878e6 02:34:57 ---> d7d120154e39 02:34:57 Step 9/12 : COPY go.mod vendor* ./ 02:34:57 ---> 418cf01950d1 02:34:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:57 ---> Running in ad0195549a1f 02:35:29 Removing intermediate container ad0195549a1f 02:35:29 ---> 24dfc162c42f 02:35:29 Step 11/12 : COPY . . 02:35:29 ---> 23d29700b128 02:35:29 Step 12/12 : RUN $MAKE 02:35:29 ---> Running in 3318f3d6ebf4 02:35:29 noop 02:35:29 Removing intermediate container 3318f3d6ebf4 02:35:29 ---> f6f5c3992558 02:35:29 Successfully built f6f5c3992558 02:35:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:30 + docker inspect -f . ci-base-image-x86_64 02:35:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:30 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:35:31 $ docker top f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:31 + go version 02:35:31 go version go1.21.0 linux/amd64 [Pipeline] } 02:35:31 $ docker stop --time=1 f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 02:35:32 $ docker rm -f --volumes f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:33 + docker inspect -f . ci-base-image-x86_64 02:35:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:33 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:35:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:35:33 $ docker top 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:35:34 + make test 02:35:34 go test ./... -coverprofile=coverage.out ./... 02:35:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:35:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:35:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:35:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 02:35:50 go vet ./... 02:35:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:53 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:54 $ docker stop --time=1 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 02:35:57 $ docker rm -f --volumes 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 [Pipeline] // withDockerContainer [Pipeline] sh 02:35:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:35:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:58 + ls -al . 02:35:58 total 188 02:35:58 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:35 . 02:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:34 .. 02:35:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 02:34 .dockerignore 02:35:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:35 .git 02:35:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 .github 02:35:58 -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 02:34 .gitignore 02:35:58 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:34 .golangci.yml 02:35:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:34 .semver 02:35:58 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 02:34 Attribution.txt 02:35:58 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 02:34 CHANGELOG.md 02:35:58 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 02:34 Dockerfile 02:35:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:34 GOVERNANCE.md 02:35:58 -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 02:34 Jenkinsfile 02:35:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:34 LICENSE 02:35:58 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 02:34 Makefile 02:35:58 -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 02:34 OWNERS.md 02:35:58 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 02:34 README.md 02:35:58 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:34 VERSION 02:35:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:34 bin 02:35:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 cmd 02:35:58 -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 02:35 coverage.out 02:35:58 -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 02:34 go.mod 02:35:58 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 02:34 go.sum 02:35:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 internal 02:35:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:34 mock 02:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:34 snap 02:35:58 -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:59 + 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=dc471bab23d8bb68ec889611181b9f9035c4a73d --label arch=amd64 --label version=3.1.0-dev.10 . 02:35:59 Sending build context to Docker daemon 6.492MB 02:35:59 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:35:59 Step 2/24 : FROM ${BASE} AS builder 02:35:59 ---> f6f5c3992558 02:35:59 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:35:59 ---> Running in 20111914ae08 02:35:59 Removing intermediate container 20111914ae08 02:35:59 ---> 19701fae536b 02:35:59 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:59 ---> Running in eb7171059ef0 02:35:59 Removing intermediate container eb7171059ef0 02:35:59 ---> 00d6ce9e4d93 02:35:59 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:35:59 ---> Running in 6760425c1851 02:35:59 Removing intermediate container 6760425c1851 02:35:59 ---> 1434c1aa027d 02:35:59 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:35:59 ---> Running in fc26dae345c3 02:35:59 Removing intermediate container fc26dae345c3 02:35:59 ---> c7ed78069ffe 02:35:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:59 ---> Running in a8195ec09841 02:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:36:00 OK: 270 MiB in 60 packages 02:36:00 Removing intermediate container a8195ec09841 02:36:00 ---> 6f10eb9395bf 02:36:00 Step 8/24 : WORKDIR /device-mqtt-go 02:36:00 ---> Running in 75e99cd79245 02:36:00 Removing intermediate container 75e99cd79245 02:36:00 ---> 3faa066b7246 02:36:00 Step 9/24 : COPY go.mod vendor* ./ 02:36:00 ---> af0df0cbe94e 02:36:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:00 ---> Running in 60993634554a 02:36:01 Removing intermediate container 60993634554a 02:36:01 ---> afa2fd6d636d 02:36:01 Step 11/24 : COPY . . 02:36:01 ---> 78b2c1aedb9f 02:36:01 Step 12/24 : RUN $MAKE 02:36:01 ---> Running in b89a1e4b7453 02:36:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:36:24 Removing intermediate container b89a1e4b7453 02:36:24 ---> edd0f0519a58 02:36:24 Step 13/24 : FROM alpine:3.18 02:36:24 3.18: Pulling from library/alpine 02:36:24 7264a8db6415: Already exists 02:36:24 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:36:24 Status: Downloaded newer image for alpine:3.18 02:36:24 ---> 7e01a0d0a1dc 02:36:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:36:24 ---> Running in 9969e9e53268 02:36:24 Removing intermediate container 9969e9e53268 02:36:24 ---> f3ad293d8541 02:36:24 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:36:24 ---> Running in 62209d9f0ba8 02:36:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:36:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:36:24 (1/1) Installing dumb-init (1.2.5-r2) 02:36:24 Executing busybox-1.36.1-r2.trigger 02:36:24 OK: 7 MiB in 16 packages 02:36:24 Removing intermediate container 62209d9f0ba8 02:36:24 ---> f27bbeb6fef1 02:36:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:36:24 ---> ed1e94285c0b 02:36:24 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:36:24 ---> 548f00962d8a 02:36:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:36:24 ---> 1a4f82d8aad8 02:36:24 Step 19/24 : EXPOSE 59982 02:36:24 ---> Running in 6d25c6c5879a 02:36:24 Removing intermediate container 6d25c6c5879a 02:36:24 ---> 136a92d3895b 02:36:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:36:24 ---> Running in bd2a7038a3bd 02:36:24 Removing intermediate container bd2a7038a3bd 02:36:24 ---> 5e36d03fdb46 02:36:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:36:24 ---> Running in e9771f36c627 02:36:24 Removing intermediate container e9771f36c627 02:36:24 ---> 2ef915e1f331 02:36:24 Step 22/24 : LABEL arch=amd64 02:36:24 ---> Running in 6b9b58955fc3 02:36:24 Removing intermediate container 6b9b58955fc3 02:36:24 ---> b554a29ecdb1 02:36:24 Step 23/24 : LABEL git_sha=dc471bab23d8bb68ec889611181b9f9035c4a73d 02:36:24 ---> Running in a79a2f11182d 02:36:24 Removing intermediate container a79a2f11182d 02:36:24 ---> 40d6348f2d08 02:36:24 Step 24/24 : LABEL version=3.1.0-dev.10 02:36:24 ---> Running in 022e268f5908 02:36:24 Removing intermediate container 022e268f5908 02:36:24 ---> 0dd406065152 02:36:24 [Warning] One or more build-args [ARCH] were not consumed 02:36:24 Successfully built 0dd406065152 02:36:24 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:36:24 provisioning config files... 02:36:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2207350220425788458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:25 ---> docker-login.sh 02:36:25 nexus3.edgexfoundry.org:10001 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10002 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10003 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 nexus3.edgexfoundry.org:10004 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 docker.io 02:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:36:25 Configure a credential helper to remove this warning. See 02:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:36:25 02:36:25 Login Succeeded 02:36:25 ---> docker-login.sh ends [Pipeline] } 02:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:36:25 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:36:25 dc471bab23d8bb68ec889611181b9f9035c4a73d 02:36:25 latest 02:36:25 3.1.0-dev.10 02:36:25 dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:36:25 main 02:36:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d 02:36:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:36:26 274dddd91153: Preparing 02:36:26 bf6ce5b6aee6: Preparing 02:36:26 6571c93dba6f: Preparing 02:36:26 0451956247da: Preparing 02:36:26 4693057ce236: Preparing 02:36:26 4693057ce236: Layer already exists 02:36:26 274dddd91153: Pushed 02:36:26 bf6ce5b6aee6: Pushed 02:36:26 0451956247da: Pushed 02:36:28 6571c93dba6f: Pushed 02:36:29 dc471bab23d8bb68ec889611181b9f9035c4a73d: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:36:29 274dddd91153: Preparing 02:36:29 bf6ce5b6aee6: Preparing 02:36:29 6571c93dba6f: Preparing 02:36:29 0451956247da: Preparing 02:36:29 4693057ce236: Preparing 02:36:29 bf6ce5b6aee6: Layer already exists 02:36:29 4693057ce236: Layer already exists 02:36:29 0451956247da: Layer already exists 02:36:29 274dddd91153: Layer already exists 02:36:29 6571c93dba6f: Layer already exists 02:36:29 latest: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 02:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:36:30 274dddd91153: Preparing 02:36:30 bf6ce5b6aee6: Preparing 02:36:30 6571c93dba6f: Preparing 02:36:30 0451956247da: Preparing 02:36:30 4693057ce236: Preparing 02:36:30 4693057ce236: Layer already exists 02:36:30 6571c93dba6f: Layer already exists 02:36:30 bf6ce5b6aee6: Layer already exists 02:36:30 0451956247da: Layer already exists 02:36:30 274dddd91153: Layer already exists 02:36:30 3.1.0-dev.10: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:36:31 274dddd91153: Preparing 02:36:31 bf6ce5b6aee6: Preparing 02:36:31 6571c93dba6f: Preparing 02:36:31 0451956247da: Preparing 02:36:31 4693057ce236: Preparing 02:36:31 0451956247da: Layer already exists 02:36:31 274dddd91153: Layer already exists 02:36:31 4693057ce236: Layer already exists 02:36:31 bf6ce5b6aee6: Layer already exists 02:36:31 6571c93dba6f: Layer already exists 02:36:31 dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:36:31 274dddd91153: Preparing 02:36:31 bf6ce5b6aee6: Preparing 02:36:31 6571c93dba6f: Preparing 02:36:31 0451956247da: Preparing 02:36:31 4693057ce236: Preparing 02:36:31 0451956247da: Layer already exists 02:36:31 bf6ce5b6aee6: Layer already exists 02:36:31 274dddd91153: Layer already exists 02:36:31 6571c93dba6f: Layer already exists 02:36:31 4693057ce236: Layer already exists 02:36:31 main: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:31 ===================================================== [Pipeline] echo 02:36:31 taggedImages: 02:36:31 - nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d 02:36:31 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:36:31 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 02:36:31 - nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:36:31 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:32 02:36:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:32 latest: Pulling from edgex-lftools-log-publisher 02:36:32 5eb5b503b376: Pulling fs layer 02:36:32 5c69ac0246d0: Pulling fs layer 02:36:32 ec43610c2a17: Pulling fs layer 02:36:32 3a2ae6a8a46f: Pulling fs layer 02:36:32 33b1e0a273af: Pulling fs layer 02:36:32 5d3b04190fa2: Pulling fs layer 02:36:32 2f39f015ded8: Pulling fs layer 02:36:32 33b1e0a273af: Waiting 02:36:32 5d3b04190fa2: Waiting 02:36:32 2f39f015ded8: Waiting 02:36:32 3a2ae6a8a46f: Waiting 02:36:32 5c69ac0246d0: Download complete 02:36:32 3a2ae6a8a46f: Verifying Checksum 02:36:32 3a2ae6a8a46f: Download complete 02:36:32 ec43610c2a17: Verifying Checksum 02:36:32 ec43610c2a17: Download complete 02:36:32 33b1e0a273af: Verifying Checksum 02:36:32 33b1e0a273af: Download complete 02:36:32 5d3b04190fa2: Download complete 02:36:32 5eb5b503b376: Verifying Checksum 02:36:32 5eb5b503b376: Download complete 02:36:33 2f39f015ded8: Verifying Checksum 02:36:33 2f39f015ded8: Download complete 02:36:33 5eb5b503b376: Pull complete 02:36:34 5c69ac0246d0: Pull complete 02:36:34 ec43610c2a17: Pull complete 02:36:34 3a2ae6a8a46f: Pull complete 02:36:34 33b1e0a273af: Pull complete 02:36:34 5d3b04190fa2: Pull complete 02:36:39 2f39f015ded8: Pull complete 02:36:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:39 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:36:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:36:44 $ docker top f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:44 ---> job-cost.sh 02:36:44 lf-activate-venv: SKIPPING 02:36:44 INFO: No Stack... 02:36:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:36:45 INFO: Archiving Costs [Pipeline] sh 02:36:45 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:36:45 + cut -d, -f6 [Pipeline] lock 02:36:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] 02:36:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] did not exist. Created. 02:36:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:45 + echo total: 0.2199999988079071 [Pipeline] stash 02:36:45 Stashed 1 file(s) [Pipeline] } 02:36:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:45 $ docker stop --time=1 f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 02:36:46 $ docker rm -f --volumes f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:37:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6454 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:37:40 Running in /w/workspace/device-mqtt-go/138 [Pipeline] { [Pipeline] checkout 02:37:40 The recommended git tool is: git 02:37:46 using credential edgex-jenkins-ssh 02:37:46 Cloning the remote Git repository 02:37:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:37:46 > git init /w/workspace/device-mqtt-go/138 # timeout=10 02:37:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:37:46 > git --version # timeout=10 02:37:46 > git --version # 'git version 2.25.1' 02:37:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:37:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:48 Avoid second fetch 02:37:48 Checking out Revision dc471bab23d8bb68ec889611181b9f9035c4a73d (main) 02:37:49 Commit message: "Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" 02:37:48 > git config core.sparsecheckout # timeout=10 02:37:48 > git checkout -f dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:37:49 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:49 Dload Upload Total Spent Left Speed 02:37:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 02:37:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:37:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:37:50 + sudo tee /etc/docker/daemon.new 02:37:50 { 02:37:50 "registry-mirrors": [ 02:37:50 "https://nexus3.edgexfoundry.org:10001" 02:37:50 ], 02:37:50 "bip": "10.250.0.254/24", 02:37:50 "hosts": [ 02:37:50 "tcp://0.0.0.0:5555", 02:37:50 "unix:///var/run/docker.sock" 02:37:50 ], 02:37:50 "mtu": 1458, 02:37:50 "selinux-enabled": true, 02:37:50 "seccomp-profile": "/etc/docker/seccomp.json" 02:37:50 } [Pipeline] sh 02:37:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:37:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:38:09 provisioning config files... 02:38:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/138@tmp/config16906601528727609901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:10 ---> docker-login.sh 02:38:10 nexus3.edgexfoundry.org:10001 02:38:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10002 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10003 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10004 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:12 Configure a credential helper to remove this warning. See 02:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:12 02:38:12 Login Succeeded 02:38:12 docker.io 02:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:12 Configure a credential helper to remove this warning. See 02:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:12 02:38:12 Login Succeeded 02:38:12 ---> docker-login.sh ends [Pipeline] } 02:38:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:38:13 ========================================================= 02:38:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:38:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:13 + 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 . 02:38:13 Sending build context to Docker daemon 3.335MB 02:38:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:38:13 Step 2/12 : FROM ${BASE} AS builder 02:38:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:38:13 9fda8d8052c6: Pulling fs layer 02:38:13 5d54e960e981: Pulling fs layer 02:38:13 c4a7e357bf2a: Pulling fs layer 02:38:13 f0e02332f6b5: Pulling fs layer 02:38:13 66412af1f25a: Pulling fs layer 02:38:13 1baf3a5c0e64: Pulling fs layer 02:38:13 9a37bb91b891: Pulling fs layer 02:38:13 a29adfc67d43: Pulling fs layer 02:38:13 d5de9f91c1a4: Pulling fs layer 02:38:13 f0e02332f6b5: Waiting 02:38:13 66412af1f25a: Waiting 02:38:13 a29adfc67d43: Waiting 02:38:13 d5de9f91c1a4: Waiting 02:38:13 1baf3a5c0e64: Waiting 02:38:13 9a37bb91b891: Waiting 02:38:13 5d54e960e981: Verifying Checksum 02:38:13 5d54e960e981: Download complete 02:38:13 f0e02332f6b5: Verifying Checksum 02:38:13 f0e02332f6b5: Download complete 02:38:13 66412af1f25a: Verifying Checksum 02:38:13 66412af1f25a: Download complete 02:38:13 9fda8d8052c6: Download complete 02:38:14 9a37bb91b891: Verifying Checksum 02:38:14 9a37bb91b891: Download complete 02:38:15 a29adfc67d43: Verifying Checksum 02:38:15 a29adfc67d43: Download complete 02:38:15 d5de9f91c1a4: Verifying Checksum 02:38:15 d5de9f91c1a4: Download complete 02:38:15 c4a7e357bf2a: Verifying Checksum 02:38:16 1baf3a5c0e64: Verifying Checksum 02:38:16 1baf3a5c0e64: Download complete 02:38:16 9fda8d8052c6: Pull complete 02:38:17 5d54e960e981: Pull complete 02:38:29 c4a7e357bf2a: Pull complete 02:38:29 f0e02332f6b5: Pull complete 02:38:29 66412af1f25a: Pull complete 02:38:35 1baf3a5c0e64: Pull complete 02:38:36 9a37bb91b891: Pull complete 02:38:37 a29adfc67d43: Pull complete 02:38:38 d5de9f91c1a4: Pull complete 02:38:38 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 02:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:38:38 ---> 746ca1b523b5 02:38:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:38:41 ---> Running in 34be0ea9f15d 02:38:41 Removing intermediate container 34be0ea9f15d 02:38:41 ---> 7c38a3f9baff 02:38:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:38:41 ---> Running in f4935e2d656f 02:38:41 Removing intermediate container f4935e2d656f 02:38:41 ---> a83a7cc7459b 02:38:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:38:42 ---> Running in d7773655bcaa 02:38:42 Removing intermediate container d7773655bcaa 02:38:42 ---> fdbe56181e30 02:38:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:38:42 ---> Running in 99afe1eba4e1 02:38:42 Removing intermediate container 99afe1eba4e1 02:38:42 ---> dc3c606b1e11 02:38:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:38:42 ---> Running in 404b1d85afc5 02:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:38:45 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:38:45 (2/4) Installing libedit (20221030.3.1-r1) 02:38:45 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:38:45 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:38:45 Executing busybox-1.36.1-r2.trigger 02:38:45 OK: 272 MiB in 60 packages 02:38:46 Removing intermediate container 404b1d85afc5 02:38:46 ---> 5fafed14df89 02:38:46 Step 8/12 : WORKDIR /device-mqtt-go 02:38:46 ---> Running in e72a9b6406db 02:38:47 Removing intermediate container e72a9b6406db 02:38:47 ---> 09348f2e2b86 02:38:47 Step 9/12 : COPY go.mod vendor* ./ 02:38:47 ---> 18dc22c83cbb 02:38:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:47 ---> Running in 5c723815c4ef 02:39:55 Removing intermediate container 5c723815c4ef 02:39:55 ---> 5ed9a5ec8b4f 02:39:55 Step 11/12 : COPY . . 02:39:55 ---> 30df04b4772a 02:39:55 Step 12/12 : RUN $MAKE 02:39:55 ---> Running in 34a7f9df5746 02:39:55 noop 02:39:55 Removing intermediate container 34a7f9df5746 02:39:55 ---> 8185f100a336 02:39:55 Successfully built 8185f100a336 02:39:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:56 + docker inspect -f . ci-base-image-arm64 02:39:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:56 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 02:39:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:39:57 $ docker top 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:58 + go version 02:39:58 go version go1.21.0 linux/arm64 [Pipeline] } 02:39:58 $ docker stop --time=1 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a 02:40:00 $ docker rm -f --volumes 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:00 + docker inspect -f . ci-base-image-arm64 02:40:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:00 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 02:40:00 $ 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/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:40:02 $ docker top b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:02 + git config --global --add safe.directory /w/workspace/device-mqtt-go/138 [Pipeline] fileExists [Pipeline] sh 02:40:03 + make test 02:40:03 go test ./... -coverprofile=coverage.out ./... 02:40:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:42:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:42:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:42:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.8% of statements 02:42:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:42:03 go vet ./... 02:42:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:42:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:42:35 ./bin/test-attribution-txt.sh [Pipeline] echo 02:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:42:35 $ docker stop --time=1 b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 02:42:38 $ docker rm -f --volumes b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:39 Warning: overwriting stash ‘coverage-report’ 02:42:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:40 + ls -al . 02:42:40 total 184 02:42:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:40 . 02:42:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:37 .. 02:42:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 02:37 .dockerignore 02:42:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:37 .git 02:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 .github 02:42:40 -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 02:37 .gitignore 02:42:40 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:37 .golangci.yml 02:42:40 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 02:37 Attribution.txt 02:42:40 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 02:37 CHANGELOG.md 02:42:40 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 02:37 Dockerfile 02:42:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:37 GOVERNANCE.md 02:42:40 -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 02:37 Jenkinsfile 02:42:40 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:37 LICENSE 02:42:40 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 02:37 Makefile 02:42:40 -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 02:37 OWNERS.md 02:42:40 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 02:37 README.md 02:42:40 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:34 VERSION 02:42:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:37 bin 02:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 cmd 02:42:40 -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 02:41 coverage.out 02:42:40 -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 02:37 go.mod 02:42:40 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 02:37 go.sum 02:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 internal 02:42:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:37 mock 02:42:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:37 snap 02:42:40 -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:41 + 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=dc471bab23d8bb68ec889611181b9f9035c4a73d --label arch=arm64 --label version=3.1.0-dev.10 . 02:42:41 Sending build context to Docker daemon 3.354MB 02:42:41 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:42:41 Step 2/24 : FROM ${BASE} AS builder 02:42:41 ---> 8185f100a336 02:42:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:42:41 ---> Running in cccd730e408c 02:42:41 Removing intermediate container cccd730e408c 02:42:41 ---> adde8b7ef819 02:42:41 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:42:41 ---> Running in 53be4542538e 02:42:42 Removing intermediate container 53be4542538e 02:42:42 ---> 2e8fe588211d 02:42:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:42:42 ---> Running in 891a0ac9fcbd 02:42:42 Removing intermediate container 891a0ac9fcbd 02:42:42 ---> 9dcc87cb446f 02:42:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:42:42 ---> Running in f131753fd2dc 02:42:43 Removing intermediate container f131753fd2dc 02:42:43 ---> c85e637a7e41 02:42:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:42:43 ---> Running in 3d934f4808ab 02:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:42:45 OK: 272 MiB in 60 packages 02:42:51 Removing intermediate container 3d934f4808ab 02:42:51 ---> ca50a890c038 02:42:51 Step 8/24 : WORKDIR /device-mqtt-go 02:42:51 ---> Running in f02f0b0a03c7 02:42:51 Removing intermediate container f02f0b0a03c7 02:42:51 ---> d63728e33041 02:42:51 Step 9/24 : COPY go.mod vendor* ./ 02:42:51 ---> a8b221281fa9 02:42:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:51 ---> Running in 6eba56457bd1 02:42:54 Removing intermediate container 6eba56457bd1 02:42:54 ---> b0f907085bcf 02:42:54 Step 11/24 : COPY . . 02:42:55 ---> ab6055d93736 02:42:55 Step 12/24 : RUN $MAKE 02:42:55 ---> Running in b51856257768 02:42:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:45:02 Removing intermediate container b51856257768 02:45:02 ---> 834e4e14b5d7 02:45:02 Step 13/24 : FROM alpine:3.18 02:45:02 3.18: Pulling from library/alpine 02:45:02 9fda8d8052c6: Already exists 02:45:02 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:45:02 Status: Downloaded newer image for alpine:3.18 02:45:02 ---> f6648c04cd6c 02:45:02 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:45:02 ---> Running in e29f3b9abc85 02:45:02 Removing intermediate container e29f3b9abc85 02:45:02 ---> 093611d40284 02:45:02 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:45:02 ---> Running in 026e02da06e8 02:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:02 (1/1) Installing dumb-init (1.2.5-r2) 02:45:02 Executing busybox-1.36.1-r2.trigger 02:45:02 OK: 8 MiB in 16 packages 02:45:02 Removing intermediate container 026e02da06e8 02:45:02 ---> 5259dec9740e 02:45:02 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:45:02 ---> 1d281f999e63 02:45:02 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:45:02 ---> 3a86c00899df 02:45:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:45:03 ---> 6e2ca0289865 02:45:03 Step 19/24 : EXPOSE 59982 02:45:03 ---> Running in ef603bf40c67 02:45:04 Removing intermediate container ef603bf40c67 02:45:04 ---> d0aba464b61f 02:45:04 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:45:04 ---> Running in 66e8df5f50b3 02:45:05 Removing intermediate container 66e8df5f50b3 02:45:05 ---> 0f7219483d43 02:45:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:45:05 ---> Running in dacc2ae62d26 02:45:05 Removing intermediate container dacc2ae62d26 02:45:05 ---> f6e2d17473bc 02:45:05 Step 22/24 : LABEL arch=arm64 02:45:05 ---> Running in 8631af9651af 02:45:06 Removing intermediate container 8631af9651af 02:45:06 ---> b3c6e2958e7b 02:45:06 Step 23/24 : LABEL git_sha=dc471bab23d8bb68ec889611181b9f9035c4a73d 02:45:06 ---> Running in 268ab219c5ff 02:45:06 Removing intermediate container 268ab219c5ff 02:45:06 ---> 71ad0355999e 02:45:06 Step 24/24 : LABEL version=3.1.0-dev.10 02:45:06 ---> Running in 5cd7e7fd3920 02:45:06 Removing intermediate container 5cd7e7fd3920 02:45:06 ---> 27ba2425ea66 02:45:06 [Warning] One or more build-args [ARCH] were not consumed 02:45:07 Successfully built 27ba2425ea66 02:45:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:07 provisioning config files... 02:45:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/138@tmp/config8935739173396064168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:07 ---> docker-login.sh 02:45:07 nexus3.edgexfoundry.org:10001 02:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:07 Configure a credential helper to remove this warning. See 02:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:07 02:45:07 Login Succeeded 02:45:07 nexus3.edgexfoundry.org:10002 02:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:08 Configure a credential helper to remove this warning. See 02:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:08 02:45:08 Login Succeeded 02:45:08 nexus3.edgexfoundry.org:10003 02:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:08 Configure a credential helper to remove this warning. See 02:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:08 02:45:08 Login Succeeded 02:45:08 nexus3.edgexfoundry.org:10004 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 docker.io 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 ---> docker-login.sh ends [Pipeline] } 02:45:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:09 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:45:09 dc471bab23d8bb68ec889611181b9f9035c4a73d 02:45:09 latest 02:45:09 3.1.0-dev.10 02:45:09 dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:45:09 main 02:45:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d 02:45:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:45:10 75b92550275c: Preparing 02:45:10 341f514e5119: Preparing 02:45:10 ce2c60192b18: Preparing 02:45:10 d13851f4d940: Preparing 02:45:10 b2191e2be29d: Preparing 02:45:10 b2191e2be29d: Layer already exists 02:45:10 341f514e5119: Pushed 02:45:10 d13851f4d940: Pushed 02:45:10 75b92550275c: Pushed 02:45:17 ce2c60192b18: Pushed 02:45:17 dc471bab23d8bb68ec889611181b9f9035c4a73d: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:45:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:45:20 75b92550275c: Preparing 02:45:20 341f514e5119: Preparing 02:45:20 ce2c60192b18: Preparing 02:45:20 d13851f4d940: Preparing 02:45:20 b2191e2be29d: Preparing 02:45:20 ce2c60192b18: Layer already exists 02:45:20 341f514e5119: Layer already exists 02:45:20 b2191e2be29d: Layer already exists 02:45:20 d13851f4d940: Layer already exists 02:45:20 75b92550275c: Layer already exists 02:45:20 latest: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 02:45:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:45:21 75b92550275c: Preparing 02:45:21 341f514e5119: Preparing 02:45:21 ce2c60192b18: Preparing 02:45:21 d13851f4d940: Preparing 02:45:21 b2191e2be29d: Preparing 02:45:21 b2191e2be29d: Layer already exists 02:45:21 341f514e5119: Layer already exists 02:45:21 75b92550275c: Layer already exists 02:45:21 d13851f4d940: Layer already exists 02:45:21 ce2c60192b18: Layer already exists 02:45:21 3.1.0-dev.10: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:45:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:45:22 75b92550275c: Preparing 02:45:22 341f514e5119: Preparing 02:45:22 ce2c60192b18: Preparing 02:45:22 d13851f4d940: Preparing 02:45:22 b2191e2be29d: Preparing 02:45:22 341f514e5119: Layer already exists 02:45:22 d13851f4d940: Layer already exists 02:45:22 75b92550275c: Layer already exists 02:45:22 ce2c60192b18: Layer already exists 02:45:22 b2191e2be29d: Layer already exists 02:45:22 dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:45:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:45:23 75b92550275c: Preparing 02:45:23 341f514e5119: Preparing 02:45:23 ce2c60192b18: Preparing 02:45:23 d13851f4d940: Preparing 02:45:23 b2191e2be29d: Preparing 02:45:23 d13851f4d940: Layer already exists 02:45:23 341f514e5119: Layer already exists 02:45:23 b2191e2be29d: Layer already exists 02:45:23 ce2c60192b18: Layer already exists 02:45:23 75b92550275c: Layer already exists 02:45:23 main: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:45:23 ===================================================== [Pipeline] echo 02:45:23 taggedImages: 02:45:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d 02:45:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:45:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 02:45:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 02:45:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:23 02:45:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:24 arm64: Pulling from edgex-lftools-log-publisher 02:45:24 8998bd30e6a1: Pulling fs layer 02:45:24 04944245beec: Pulling fs layer 02:45:24 699f458cf7ca: Pulling fs layer 02:45:24 765212b225bb: Pulling fs layer 02:45:24 f23df028b6ca: Pulling fs layer 02:45:24 d65c8cfc05b1: Pulling fs layer 02:45:24 2437ff75d9bd: Pulling fs layer 02:45:24 765212b225bb: Waiting 02:45:24 f23df028b6ca: Waiting 02:45:24 d65c8cfc05b1: Waiting 02:45:24 2437ff75d9bd: Waiting 02:45:24 04944245beec: Verifying Checksum 02:45:24 04944245beec: Download complete 02:45:24 765212b225bb: Verifying Checksum 02:45:24 765212b225bb: Download complete 02:45:24 f23df028b6ca: Verifying Checksum 02:45:24 f23df028b6ca: Download complete 02:45:24 d65c8cfc05b1: Verifying Checksum 02:45:24 d65c8cfc05b1: Download complete 02:45:24 699f458cf7ca: Verifying Checksum 02:45:24 699f458cf7ca: Download complete 02:45:25 8998bd30e6a1: Download complete 02:45:27 2437ff75d9bd: Verifying Checksum 02:45:27 2437ff75d9bd: Download complete 02:45:29 8998bd30e6a1: Pull complete 02:45:29 04944245beec: Pull complete 02:45:31 699f458cf7ca: Pull complete 02:45:31 765212b225bb: Pull complete 02:45:32 f23df028b6ca: Pull complete 02:45:32 d65c8cfc05b1: Pull complete 02:45:48 2437ff75d9bd: Pull complete 02:45:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:45:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:48 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 02:45:48 $ 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/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:45:51 $ docker top 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:52 ---> job-cost.sh 02:45:52 lf-activate-venv: SKIPPING 02:45:52 INFO: No Stack... 02:45:52 INFO: Retrieving Pricing Info for: v3-standard-4 02:45:53 INFO: Archiving Costs [Pipeline] sh 02:45:54 + cat /w/workspace/device-mqtt-go/138/archives/cost.csv 02:45:54 + cut -d, -f6 [Pipeline] lock 02:45:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] 02:45:54 Resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] did not exist. Created. 02:45:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:45:55 /w/workspace/device-mqtt-go/138@tmp/durable-c61e45f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:45:55 + echo total: 0.10999999940395355 [Pipeline] stash 02:45:55 Warning: overwriting stash ‘stack-cost’ 02:45:55 Stashed 1 file(s) [Pipeline] } 02:45:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 02:45:55 $ docker stop --time=1 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad 02:45:57 $ docker rm -f --volumes 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:45:57 provisioning config files... 02:45:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15217396500657717569tmp [Pipeline] { [Pipeline] sh 02:45:58 + set +x 02:45:58 + bash -s -- 02:45:58 + curl -s https://codecov.io/bash 02:45:58 02:45:58 _____ _ 02:45:58 / ____| | | 02:45:58 | | ___ __| | ___ ___ _____ __ 02:45:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:45:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:45:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:45:58 Bash-1.0.6 02:45:58 02:45:58 02:45:58 ==> git version 2.25.1 found 02:45:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:45:58 Release-Date: 2020-01-08 02:45:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:45:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:45:58 ==> Jenkins CI detected. 02:45:58 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:45:58 project root: . 02:45:58 --> token set from env 02:45:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:45:58 ==> Running gcov in . (disable via -X gcov) 02:45:58 ==> Python coveragepy not found 02:45:58 ==> Searching for coverage reports in: 02:45:58 + . 02:45:58 -> Found 1 reports 02:45:58 ==> Detecting git/mercurial file structure 02:45:58 ==> Reading reports 02:45:58 + ./coverage.out bytes=18506 02:45:58 ==> Appending adjustments 02:45:58 https://docs.codecov.io/docs/fixing-reports 02:45:58 + Found adjustments 02:45:58 ==> Gzipping contents 02:45:58 4.0K /tmp/codecov.cTPFl6.gz 02:45:58 ==> Uploading reports 02:45:58 url: https://codecov.io 02:45:58 query: branch=main&commit=dc471bab23d8bb68ec889611181b9f9035c4a73d&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:45:58 -> Pinging Codecov 02:45:58 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=dc471bab23d8bb68ec889611181b9f9035c4a73d&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:45:58 -> Uploading to 02:45:58 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7D719EC7BBE17E464838252E33014C33/dc471bab23d8bb68ec889611181b9f9035c4a73d/ce475ecb-aa65-41a9-94a3-81f5a65fd24d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T024558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a59e94b48bfa8a450f7a0fec9f8470262964d649482ed24e159b758eb805f213 02:45:58 % Total % Received % Xferd Average Speed Time Time Time Current 02:45:58 Dload Upload Total Spent Left Speed 02:45:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17494 --:--:-- --:--:-- --:--:-- 17494 02:45:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } 02:45:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:45:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:45:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:59 02:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:45:59 df9b9388f04a: Pulling fs layer 02:45:59 52dc419b0ee2: Pulling fs layer 02:45:59 25bc292e5bac: Pulling fs layer 02:45:59 114826534d7a: Pulling fs layer 02:45:59 4657fd5d0bcf: Pulling fs layer 02:45:59 6ad1cebc031e: Pulling fs layer 02:45:59 8a3aa393b2d8: Pulling fs layer 02:45:59 4657fd5d0bcf: Waiting 02:45:59 6ad1cebc031e: Waiting 02:45:59 8a3aa393b2d8: Waiting 02:45:59 114826534d7a: Waiting 02:45:59 52dc419b0ee2: Verifying Checksum 02:45:59 52dc419b0ee2: Download complete 02:45:59 25bc292e5bac: Verifying Checksum 02:45:59 25bc292e5bac: Download complete 02:45:59 4657fd5d0bcf: Verifying Checksum 02:45:59 4657fd5d0bcf: Download complete 02:45:59 df9b9388f04a: Verifying Checksum 02:45:59 df9b9388f04a: Download complete 02:45:59 6ad1cebc031e: Verifying Checksum 02:45:59 6ad1cebc031e: Download complete 02:45:59 df9b9388f04a: Pull complete 02:45:59 52dc419b0ee2: Pull complete 02:45:59 25bc292e5bac: Pull complete 02:46:00 114826534d7a: Verifying Checksum 02:46:00 114826534d7a: Download complete 02:46:00 8a3aa393b2d8: Verifying Checksum 02:46:00 8a3aa393b2d8: Download complete 02:46:03 114826534d7a: Pull complete 02:46:03 4657fd5d0bcf: Pull complete 02:46:03 6ad1cebc031e: Pull complete 02:46:07 8a3aa393b2d8: Pull complete 02:46:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:46:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:07 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:46:14 $ docker top b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 -eo pid,comm [Pipeline] { [Pipeline] echo 02:46:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:46:15 + set -o pipefail 02:46:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:46:20 02:46:20 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:46:20 02:46:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/aaf87d10-996e-481c-88fe-12b6b1bd2995 02:46:20 02:46:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:46:20 02:46:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:46:20 02:46:20 02:46:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:46:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:46:20 More details here: https://snyk.co/ue1NS [Pipeline] } 02:46:20 $ docker stop --time=1 b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 02:46:24 $ docker rm -f --volumes b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:46:25 + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] sh 02:46:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:25 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:46:26 $ docker top 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:26 [ssh-agent] Looking for ssh-agent implementation... 02:46:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:26 $ docker exec 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 ssh-agent 02:46:26 SSH_AUTH_SOCK=/tmp/ssh-ZqwcmvVlb2Aw/agent.31 02:46:26 SSH_AGENT_PID=37 02:46:26 Running ssh-add (command line suppressed) 02:46:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12128894299411184348.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12128894299411184348.key) 02:46:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:27 + git semver tag 02:46:27 2023-09-19 02:46:27,286 [run_tag] DEBUG tag force:False 02:46:27 2023-09-19 02:46:27,286 [check_head_tag] DEBUG check head tag 02:46:27 2023-09-19 02:46:27,286 [execute] INFO git cat-file --batch-check 02:46:27 2023-09-19 02:46:27,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:46:27 2023-09-19 02:46:27,290 [execute] INFO git cat-file --batch 02:46:27 2023-09-19 02:46:27,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:46:27 2023-09-19 02:46:27,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:27 2023-09-19 02:46:27,300 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 02:46:27 2023-09-19 02:46:27,301 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:46:27 2023-09-19 02:46:27,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:27 3.1.0-dev.10 [Pipeline] } 02:46:27 $ docker exec --env ******** --env ******** 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 ssh-agent -k 02:46:27 unset SSH_AUTH_SOCK; 02:46:27 unset SSH_AGENT_PID; 02:46:27 echo Agent pid 37 killed; 02:46:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:27 + git semver [Pipeline] } 02:46:28 $ docker stop --time=1 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 02:46:29 $ docker rm -f --volumes 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:29 02:46:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:29 0.23.1-centos7: Pulling from edgex-lftools 02:46:29 ab5ef0e58194: Pulling fs layer 02:46:29 9712f1f96733: Pulling fs layer 02:46:29 63f879dbbcfc: Pulling fs layer 02:46:29 0d9ebad4ef96: Pulling fs layer 02:46:29 e9a5061849ea: Pulling fs layer 02:46:29 d747dcd14b5f: Pulling fs layer 02:46:29 2de7ff778b66: Pulling fs layer 02:46:29 e9a5061849ea: Waiting 02:46:29 d747dcd14b5f: Waiting 02:46:29 0d9ebad4ef96: Waiting 02:46:29 9712f1f96733: Verifying Checksum 02:46:29 9712f1f96733: Download complete 02:46:30 63f879dbbcfc: Verifying Checksum 02:46:30 63f879dbbcfc: Download complete 02:46:30 e9a5061849ea: Verifying Checksum 02:46:30 e9a5061849ea: Download complete 02:46:30 0d9ebad4ef96: Verifying Checksum 02:46:30 0d9ebad4ef96: Download complete 02:46:30 d747dcd14b5f: Download complete 02:46:30 ab5ef0e58194: Verifying Checksum 02:46:30 ab5ef0e58194: Download complete 02:46:30 2de7ff778b66: Verifying Checksum 02:46:30 2de7ff778b66: Download complete 02:46:33 ab5ef0e58194: Pull complete 02:46:33 9712f1f96733: Pull complete 02:46:33 63f879dbbcfc: Pull complete 02:46:37 0d9ebad4ef96: Pull complete 02:46:37 e9a5061849ea: Pull complete 02:46:37 d747dcd14b5f: Pull complete 02:46:38 2de7ff778b66: Pull complete 02:46:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:38 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:46:45 $ docker top e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:46:45 provisioning config files... 02:46:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4362519929006752108tmp 02:46:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5486895956099107530tmp 02:46:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9628092742074765364tmp [Pipeline] { [Pipeline] echo 02:46:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:46:45 ---> sigul-configuration.sh 02:46:45 gpg: directory `/root/.gnupg' created 02:46:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:46:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:46:45 gpg: keyring `/root/.gnupg/secring.gpg' created 02:46:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:46:45 gpg: CAST5 encrypted data 02:46:45 gpg: encrypted with 1 passphrase 02:46:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:46:45 + mkdir /home/jenkins 02:46:45 + mkdir /home/jenkins/sigul [Pipeline] sh 02:46:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:46:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:46:46 ---> sigul-install.sh 02:46:46 Sigul already installed; skipping installation. [Pipeline] sh 02:46:46 + git tag --list 02:46:46 0.7.1 02:46:46 v1.0.0 02:46:46 v1.1.0 02:46:46 v1.1.1 02:46:46 v1.2.2 02:46:46 v1.3.0 02:46:46 v1.3.1 02:46:46 v2.0.0 02:46:46 v2.1.0 02:46:46 v2.1.1 02:46:46 v2.2.0 02:46:46 v2.3.0 02:46:46 v3.0 02:46:46 v3.0.0 02:46:46 v3.1.0-dev.1 02:46:46 v3.1.0-dev.10 02:46:46 v3.1.0-dev.2 02:46:46 v3.1.0-dev.3 02:46:46 v3.1.0-dev.4 02:46:46 v3.1.0-dev.5 02:46:46 v3.1.0-dev.6 02:46:46 v3.1.0-dev.7 02:46:46 v3.1.0-dev.8 02:46:46 v3.1.0-dev.9 [Pipeline] sh 02:46:47 + lftools sign git-tag v3.1.0-dev.10 02:46:47 Signing Git tag with Sigul... 02:46:47 Signing v3.1.0-dev.10 [Pipeline] echo 02:46:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:46:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:46:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:46:48 $ docker stop --time=1 e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 02:46:50 $ docker rm -f --volumes e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:46:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:51 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:46:51 $ docker top 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 -eo pid,comm 02:46:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:46:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:51 [ssh-agent] Looking for ssh-agent implementation... 02:46:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:52 $ docker exec 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 ssh-agent 02:46:52 SSH_AUTH_SOCK=/tmp/ssh-fyrO8Yx0UGB2/agent.32 02:46:52 SSH_AGENT_PID=38 02:46:52 Running ssh-add (command line suppressed) 02:46:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15167561858121497485.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15167561858121497485.key) 02:46:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:52 + git semver bump pre 02:46:52 2023-09-19 02:46:52,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:52 2023-09-19 02:46:52,683 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev 02:46:52 2023-09-19 02:46:52,683 [bump_version] DEBUG bumped version:3.1.0-dev.11 02:46:52 2023-09-19 02:46:52,683 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:46:52 2023-09-19 02:46:52,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:52 2023-09-19 02:46:52,683 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:52 2023-09-19 02:46:52,685 [execute] INFO git cat-file --batch-check 02:46:52 2023-09-19 02:46:52,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:52 2023-09-19 02:46:52,690 [execute] INFO git cat-file --batch 02:46:52 2023-09-19 02:46:52,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:52 2023-09-19 02:46:52,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:52 3.1.0-dev.11 [Pipeline] } 02:46:52 $ docker exec --env ******** --env ******** 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 ssh-agent -k 02:46:52 unset SSH_AUTH_SOCK; 02:46:52 unset SSH_AGENT_PID; 02:46:52 echo Agent pid 38 killed; 02:46:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:53 + git semver [Pipeline] } 02:46:53 $ docker stop --time=1 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 02:46:54 $ docker rm -f --volumes 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:55 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:46:55 $ docker top c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 -eo pid,comm 02:46:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:46:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:55 [ssh-agent] Looking for ssh-agent implementation... 02:46:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:55 $ docker exec c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 ssh-agent 02:46:56 SSH_AUTH_SOCK=/tmp/ssh-1hAau4TQ5ZfB/agent.33 02:46:56 SSH_AGENT_PID=39 02:46:56 Running ssh-add (command line suppressed) 02:46:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3211936226672183576.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3211936226672183576.key) 02:46:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:56 + git semver push 02:46:56 2023-09-19 02:46:56,650 [run_push] DEBUG push 02:46:56 2023-09-19 02:46:56,651 [execute] INFO git cat-file --batch-check 02:46:56 2023-09-19 02:46:56,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:56 2023-09-19 02:46:56,655 [execute] INFO git rev-list d1f98c41e07728b8ab9a32212a9cc6c5e81d1511 -- 02:46:56 2023-09-19 02:46:56,655 [execute] DEBUG Popen(['git', 'rev-list', 'd1f98c41e07728b8ab9a32212a9cc6c5e81d1511', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:46:56 2023-09-19 02:46:56,662 [execute] INFO git fetch -v origin 02:46:56 2023-09-19 02:46:56,663 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:46:57 2023-09-19 02:46:57,116 [run_push] DEBUG no remote changes detected 02:46:57 2023-09-19 02:46:57,116 [execute] INFO git push origin semver 02:46:57 2023-09-19 02:46:57,117 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:46:57 2023-09-19 02:46:57,815 [run_push] DEBUG push all version tags 02:46:57 2023-09-19 02:46:57,815 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:46:57 2023-09-19 02:46:57,816 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:46:58 2023-09-19 02:46:58,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:58 3.1.0-dev.11 [Pipeline] } 02:46:58 $ docker exec --env ******** --env ******** c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 ssh-agent -k 02:46:59 unset SSH_AUTH_SOCK; 02:46:59 unset SSH_AGENT_PID; 02:46:59 echo Agent pid 39 killed; 02:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:59 + git semver [Pipeline] } 02:46:59 $ docker stop --time=1 c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 02:47:00 $ docker rm -f --volumes c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:47:01 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:47:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:47:01 total 16 02:47:01 drwxr-xr-x 3 root root 4096 Sep 19 02:36 . 02:47:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:46 .. 02:47:01 drwxr-xr-x 2 root root 4096 Sep 19 02:36 cost 02:47:01 -rw-r--r-- 1 root root 86 Sep 19 02:36 cost.csv 02:47:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:47:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:47:01 total 16 02:47:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:36 . 02:47:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:46 .. 02:47:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:36 cost 02:47:01 -rw-r--r-- 1 jenkins jenkins 86 Sep 19 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:47:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:02 ---> package-listing.sh 02:47:02 ++ facter osfamily 02:47:02 ++ tr '[:upper:]' '[:lower:]' 02:47:02 + OS_FAMILY=debian 02:47:02 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:47:02 + START_PACKAGES=/tmp/packages_start.txt 02:47:02 + END_PACKAGES=/tmp/packages_end.txt 02:47:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:02 + PACKAGES=/tmp/packages_start.txt 02:47:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:47:02 + PACKAGES=/tmp/packages_end.txt 02:47:02 + case "${OS_FAMILY}" in 02:47:02 + dpkg -l 02:47:02 + grep '^ii' 02:47:02 + '[' -f /tmp/packages_start.txt ']' 02:47:02 + '[' -f /tmp/packages_end.txt ']' 02:47:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:47:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:47:02 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:47:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:47:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:47:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:03 prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container 02:47:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:04 $ docker top 518055204d2c623e21890e50d44dc8d29dd0f1e6b8754ae4ce41fcfa6bc8e87a -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:04 + touch /tmp/pre-build-complete [Pipeline] sh 02:47:04 + mkdir -p /var/log/sysstat [Pipeline] sh 02:47:05 + ls /var/log/sa-host 02:47:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:05 provisioning config files... 02:47:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14139506563752076462tmp [Pipeline] { [Pipeline] echo 02:47:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:47:05 ---> create-netrc.sh [Pipeline] } 02:47:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:47:05 ---> python-tools-install.sh [Pipeline] echo 02:47:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:47:06 ---> sudo-logs.sh 02:47:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:47:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:47:06 ---> job-cost.sh 02:47:06 lf-activate-venv: SKIPPING 02:47:06 DEBUG: total: 0.2199999988079071 02:47:06 INFO: Retrieving Stack Cost... 02:47:06 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:07 INFO: Archiving Costs [Pipeline] echo 02:47:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:47:07 ---> logs-deploy.sh 02:47:07 lf-activate-venv: SKIPPING 02:47:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/138 02:47:07 INFO: archiving workspace using pattern(s): 02:47:08 Archives upload complete. 02:47:08 INFO: archiving logs to Nexus