Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 848b2de29f6cbb620b3229edbec9a9c03b237451 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-ssh1774839767227107212.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh1790073973049088945.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7122123427987017014.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh17184159865304839802.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh6374237380773999200.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22753 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 848b2de29f6cbb620b3229edbec9a9c03b237451 (main) > 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 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 Commit message: "Merge pull request #411 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:46:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:46:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:46:16 ========================================================= 01:46:16 EdgeX Global Pipelines Version Info 01:46:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:46:17 ------------------- 01:46:17 stable info: 01:46:17 ------------------- 01:46:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:46:17 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:46:17 Message: update stable to v1.0.238 01:46:17 ------------------- 01:46:17 experimental info: 01:46:17 ------------------- 01:46:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:46:17 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:46:17 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 848b2de [Pipeline] echo 01:46:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:46:18 provisioning config files... 01:46:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4564700281168465324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:18 ---> docker-login.sh 01:46:18 nexus3.edgexfoundry.org:10001 01:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:19 Configure a credential helper to remove this warning. See 01:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:19 01:46:19 Login Succeeded 01:46:19 nexus3.edgexfoundry.org:10002 01:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:19 Configure a credential helper to remove this warning. See 01:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:19 01:46:19 Login Succeeded 01:46:19 nexus3.edgexfoundry.org:10003 01:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:19 Configure a credential helper to remove this warning. See 01:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:19 01:46:19 Login Succeeded 01:46:19 nexus3.edgexfoundry.org:10004 01:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:19 Configure a credential helper to remove this warning. See 01:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:19 01:46:19 Login Succeeded 01:46:19 docker.io 01:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:20 Configure a credential helper to remove this warning. See 01:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:20 01:46:20 Login Succeeded 01:46:20 ---> docker-login.sh ends [Pipeline] } 01:46:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:46:20 + git rev-list -1 --merges 848b2de29f6cbb620b3229edbec9a9c03b237451~1..848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] echo 01:46:20 -----------> git rev-list -1 --merges 848b2de29f6cbb620b3229edbec9a9c03b237451~1..848b2de29f6cbb620b3229edbec9a9c03b237451 848b2de29f6cbb620b3229edbec9a9c03b237451 01:46:20 848b2de29f6cbb620b3229edbec9a9c03b237451 [false] [Pipeline] sh 01:46:20 + git log --format=format:%s -1 848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] echo 01:46:20 ========================================================= 01:46:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:46:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:21 + git log --format=format:%s -1 848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] echo 01:46:21 [semverPrep] GIT_COMMIT: 848b2de29f6cbb620b3229edbec9a9c03b237451, Commit Message: Merge pull request #411 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 01:46:21 [semverPrep] This is not a build commit. [Pipeline] sh 01:46:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:46:21 + grep -v github /etc/ssh/ssh_known_hosts 01:46:21 + [ -e /tmp/ssh_known_hosts ] 01:46:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:46:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:46:21 + sudo tee -a /etc/ssh/ssh_known_hosts 01:46:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:22 01:46:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:22 0.1.4: Pulling from edgex-devops/py-git-semver 01:46:22 b85a868b505f: Pulling fs layer 01:46:22 e2be974225ed: Pulling fs layer 01:46:22 339a4e72a1f5: Pulling fs layer 01:46:22 988bab9f4d93: Pulling fs layer 01:46:22 1469e6f7b9e6: Pulling fs layer 01:46:22 eaf3925da568: Pulling fs layer 01:46:22 bab4dde63d76: Pulling fs layer 01:46:22 bde34c3a00c8: Pulling fs layer 01:46:22 b352a97aabf1: Pulling fs layer 01:46:22 4872d77fe225: Pulling fs layer 01:46:22 5851b861e8e6: Pulling fs layer 01:46:22 b352a97aabf1: Waiting 01:46:22 bde34c3a00c8: Waiting 01:46:22 988bab9f4d93: Waiting 01:46:22 1469e6f7b9e6: Waiting 01:46:22 4872d77fe225: Waiting 01:46:22 eaf3925da568: Waiting 01:46:22 5851b861e8e6: Waiting 01:46:22 bab4dde63d76: Waiting 01:46:22 e2be974225ed: Download complete 01:46:22 988bab9f4d93: Verifying Checksum 01:46:22 988bab9f4d93: Download complete 01:46:22 1469e6f7b9e6: Verifying Checksum 01:46:22 1469e6f7b9e6: Download complete 01:46:22 339a4e72a1f5: Verifying Checksum 01:46:22 339a4e72a1f5: Download complete 01:46:22 eaf3925da568: Verifying Checksum 01:46:22 eaf3925da568: Download complete 01:46:22 bde34c3a00c8: Verifying Checksum 01:46:22 bde34c3a00c8: Download complete 01:46:22 b352a97aabf1: Verifying Checksum 01:46:22 4872d77fe225: Download complete 01:46:22 5851b861e8e6: Verifying Checksum 01:46:22 5851b861e8e6: Download complete 01:46:22 b85a868b505f: Verifying Checksum 01:46:22 b85a868b505f: Download complete 01:46:22 bab4dde63d76: Verifying Checksum 01:46:22 bab4dde63d76: Download complete 01:46:24 b85a868b505f: Pull complete 01:46:24 e2be974225ed: Pull complete 01:46:24 339a4e72a1f5: Pull complete 01:46:24 988bab9f4d93: Pull complete 01:46:25 1469e6f7b9e6: Pull complete 01:46:25 eaf3925da568: Pull complete 01:46:27 bab4dde63d76: Pull complete 01:46:27 bde34c3a00c8: Pull complete 01:46:27 b352a97aabf1: Pull complete 01:46:27 4872d77fe225: Pull complete 01:46:27 5851b861e8e6: Pull complete 01:46:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:28 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:46:28 $ 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 01:46:30 $ docker top 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 -eo pid,comm 01:46:30 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). 01:46:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:30 [ssh-agent] Looking for ssh-agent implementation... 01:46:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:30 $ docker exec 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 ssh-agent 01:46:31 SSH_AUTH_SOCK=/tmp/ssh-WHXMYwqZyB42/agent.32 01:46:31 SSH_AGENT_PID=39 01:46:31 Running ssh-add (command line suppressed) 01:46:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7378359344921176163.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7378359344921176163.key) 01:46:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:31 + git tag --points-at HEAD [Pipeline] } 01:46:31 $ docker exec --env ******** --env ******** 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 ssh-agent -k 01:46:31 unset SSH_AUTH_SOCK; 01:46:31 unset SSH_AGENT_PID; 01:46:31 echo Agent pid 39 killed; 01:46:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:46:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:31 [ssh-agent] Looking for ssh-agent implementation... 01:46:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:31 $ docker exec 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 ssh-agent 01:46:31 SSH_AUTH_SOCK=/tmp/ssh-4FSVBl0FAjTc/agent.71 01:46:31 SSH_AGENT_PID=78 01:46:31 Running ssh-add (command line suppressed) 01:46:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7482906736409220852.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7482906736409220852.key) 01:46:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:32 + git semver init 01:46:32 2022-08-15 01:46:32,540 [run_init] DEBUG init version:0.0.0 force:False 01:46:32 2022-08-15 01:46:32,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:46:32 2022-08-15 01:46:32,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:46:32 2022-08-15 01:46:32,542 [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) 01:46:33 2022-08-15 01:46:33,292 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:46:33 2022-08-15 01:46:33,292 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:46:33 2022-08-15 01:46:33,293 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:46:33 2022-08-15 01:46:33,293 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:46:33 2.3.0-dev.15 [Pipeline] } 01:46:33 $ docker exec --env ******** --env ******** 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 ssh-agent -k 01:46:33 unset SSH_AUTH_SOCK; 01:46:33 unset SSH_AGENT_PID; 01:46:33 echo Agent pid 78 killed; 01:46:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:34 + git semver [Pipeline] } 01:46:34 $ docker stop --time=1 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 01:46:35 $ docker rm -f 628d4af4ce44b01247eda8fbf09f5be0fc532f541c01e446fdfe75a151730148 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:46:36 Stashed 1 file(s) [Pipeline] echo 01:46:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 01:46:36 provisioning config files... 01:46:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7485634629069278913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:36 ---> docker-login.sh 01:46:36 nexus3.edgexfoundry.org:10001 01:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:36 Configure a credential helper to remove this warning. See 01:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:36 01:46:36 Login Succeeded 01:46:36 nexus3.edgexfoundry.org:10002 01:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:36 Configure a credential helper to remove this warning. See 01:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:36 01:46:36 Login Succeeded 01:46:36 nexus3.edgexfoundry.org:10003 01:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:36 Configure a credential helper to remove this warning. See 01:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:36 01:46:36 Login Succeeded 01:46:36 nexus3.edgexfoundry.org:10004 01:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:37 Configure a credential helper to remove this warning. See 01:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:37 01:46:37 Login Succeeded 01:46:37 docker.io 01:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:37 Configure a credential helper to remove this warning. See 01:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:37 01:46:37 Login Succeeded 01:46:37 ---> docker-login.sh ends [Pipeline] } 01:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:46:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:46:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:46:37 ========================================================= 01:46:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:46:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:46:37 Sending build context to Docker daemon 6.082MB 01:46:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:46:37 Step 2/12 : FROM ${BASE} AS builder 01:46:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:46:37 2408cc74d12b: Pulling fs layer 01:46:37 ea60b727a1ce: Pulling fs layer 01:46:37 30c4a7721957: Pulling fs layer 01:46:37 370296b7ddb6: Pulling fs layer 01:46:37 7c6cee850709: Pulling fs layer 01:46:37 39a5fcdaea64: Pulling fs layer 01:46:37 d94ebbe4e438: Pulling fs layer 01:46:37 bcfd1f05c69d: Pulling fs layer 01:46:37 59ccb84bbe0f: Pulling fs layer 01:46:37 7c6cee850709: Waiting 01:46:37 370296b7ddb6: Waiting 01:46:37 d94ebbe4e438: Waiting 01:46:37 bcfd1f05c69d: Waiting 01:46:37 59ccb84bbe0f: Waiting 01:46:37 39a5fcdaea64: Waiting 01:46:37 30c4a7721957: Verifying Checksum 01:46:37 30c4a7721957: Download complete 01:46:38 ea60b727a1ce: Verifying Checksum 01:46:38 ea60b727a1ce: Download complete 01:46:38 7c6cee850709: Verifying Checksum 01:46:38 7c6cee850709: Download complete 01:46:38 39a5fcdaea64: Verifying Checksum 01:46:38 39a5fcdaea64: Download complete 01:46:38 2408cc74d12b: Verifying Checksum 01:46:38 2408cc74d12b: Download complete 01:46:38 d94ebbe4e438: Download complete 01:46:38 2408cc74d12b: Pull complete 01:46:38 ea60b727a1ce: Pull complete 01:46:38 30c4a7721957: Pull complete 01:46:38 59ccb84bbe0f: Verifying Checksum 01:46:38 59ccb84bbe0f: Download complete 01:46:38 370296b7ddb6: Verifying Checksum 01:46:38 370296b7ddb6: Download complete 01:46:38 bcfd1f05c69d: Verifying Checksum 01:46:38 bcfd1f05c69d: Download complete 01:46:43 370296b7ddb6: Pull complete 01:46:43 7c6cee850709: Pull complete 01:46:43 39a5fcdaea64: Pull complete 01:46:43 d94ebbe4e438: Pull complete 01:46:45 bcfd1f05c69d: Pull complete 01:46:46 59ccb84bbe0f: Pull complete 01:46:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:46:46 ---> a4fb48ad2a94 01:46:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:46:48 ---> Running in f1fa5f894b73 01:46:49 Removing intermediate container f1fa5f894b73 01:46:49 ---> ad1543db4913 01:46:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:46:49 ---> Running in 11f8057b183d 01:46:49 Removing intermediate container 11f8057b183d 01:46:49 ---> 27c63d5226c1 01:46:49 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:46:49 ---> Running in 64d1a2efd404 01:46:49 Removing intermediate container 64d1a2efd404 01:46:49 ---> 359aee66f099 01:46:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:49 ---> Running in 0e28750adc6d 01:46:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:46:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:46:51 Still waiting to schedule task 01:46:51 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:46:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:46:51 (2/4) Installing libedit (20210910.3.1-r0) 01:46:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:46:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:46:51 Executing busybox-1.35.0-r13.trigger 01:46:51 OK: 216 MiB in 55 packages 01:46:52 Removing intermediate container 0e28750adc6d 01:46:52 ---> 050e625d67e6 01:46:52 Step 7/12 : WORKDIR /device-mqtt-go 01:46:52 ---> Running in ab36f0f3bdd2 01:46:52 Removing intermediate container ab36f0f3bdd2 01:46:52 ---> 529e3836b862 01:46:52 Step 8/12 : COPY go.mod vendor* ./ 01:46:52 ---> fedbc820007e 01:46:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:52 ---> Running in 28fbb3ace8d9 01:47:10 Removing intermediate container 28fbb3ace8d9 01:47:10 ---> b784e9a4cd3d 01:47:10 Step 10/12 : COPY . . 01:47:10 ---> b5899ad3265b 01:47:10 Step 11/12 : ARG MAKE='make build' 01:47:10 ---> Running in aa9068e621ef 01:47:10 Removing intermediate container aa9068e621ef 01:47:10 ---> f18bfe7fa9e8 01:47:10 Step 12/12 : RUN $MAKE 01:47:10 ---> Running in c3af24c8427b 01:47:10 noop 01:47:10 Removing intermediate container c3af24c8427b 01:47:10 ---> a1e36bcd6b5d 01:47:10 Successfully built a1e36bcd6b5d 01:47:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:10 + docker inspect -f . ci-base-image-x86_64 01:47:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:11 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:47:11 $ 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 01:47:11 $ docker top 6d65bb97fb40597778aebd3838a77e1edbd0bc54329ffa2dec536971a57db0bd -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:11 + go version 01:47:11 go version go1.18.3 linux/amd64 [Pipeline] } 01:47:11 $ docker stop --time=1 6d65bb97fb40597778aebd3838a77e1edbd0bc54329ffa2dec536971a57db0bd 01:47:13 $ docker rm -f 6d65bb97fb40597778aebd3838a77e1edbd0bc54329ffa2dec536971a57db0bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:13 + docker inspect -f . ci-base-image-x86_64 01:47:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:13 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:47:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 01:47:14 $ docker top 9f3bdcddf7f4707f6f1daebded6ee609640b81803218d1622ffeae757cd60c22 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:47:14 + make test 01:47:14 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:47:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:47:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:47:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 21.8% of statements 01:47:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:47:34 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:47:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:47:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:47:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:47:36 ./bin/test-attribution-txt.sh 01:47:36 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:47:36 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:47:36 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:47:36 $ docker stop --time=1 9f3bdcddf7f4707f6f1daebded6ee609640b81803218d1622ffeae757cd60c22 01:47:38 $ docker rm -f 9f3bdcddf7f4707f6f1daebded6ee609640b81803218d1622ffeae757cd60c22 [Pipeline] // withDockerContainer [Pipeline] sh 01:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:47:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:47:39 + ls -al . 01:47:39 total 180 01:47:39 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:47 . 01:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:46 .. 01:47:39 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 01:46 .dockerignore 01:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:47 .git 01:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:46 .github 01:47:39 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 01:46 .gitignore 01:47:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:46 .golangci.yml 01:47:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:46 .semver 01:47:39 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 15 01:46 Attribution.txt 01:47:39 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 15 01:46 CHANGELOG.md 01:47:39 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 15 01:46 Dockerfile 01:47:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:46 GOVERNANCE.md 01:47:39 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 01:46 Jenkinsfile 01:47:39 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:46 LICENSE 01:47:39 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 15 01:46 Makefile 01:47:39 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 01:46 OWNERS.md 01:47:39 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 15 01:46 README.md 01:47:39 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 01:46 VERSION 01:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:46 bin 01:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:46 cmd 01:47:39 -rw-r--r-- 1 jenkins jenkins 17887 Aug 15 01:47 coverage.out 01:47:39 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 15 01:46 go.mod 01:47:39 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 01:46 go.sum 01:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:46 internal 01:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:46 mock 01:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:46 snap 01:47:39 -rw-rw-r-- 1 jenkins jenkins 227 Aug 15 01:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:40 + 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=848b2de29f6cbb620b3229edbec9a9c03b237451 --label arch=amd64 --label version=2.3.0-dev.15 . 01:47:40 Sending build context to Docker daemon 6.1MB 01:47:40 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:47:40 Step 2/24 : FROM ${BASE} AS builder 01:47:40 ---> a1e36bcd6b5d 01:47:40 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:47:40 ---> Running in dcaa12d34db3 01:47:40 Removing intermediate container dcaa12d34db3 01:47:40 ---> 722a787e1a59 01:47:40 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:47:40 ---> Running in 32dca1be3e35 01:47:40 Removing intermediate container 32dca1be3e35 01:47:40 ---> 05b19ec6aac0 01:47:40 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:47:40 ---> Running in 74d00bf44e3d 01:47:41 Removing intermediate container 74d00bf44e3d 01:47:41 ---> 1dda527b48ca 01:47:41 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:41 ---> Running in 89b20432de68 01:47:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:47:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:47:42 OK: 216 MiB in 55 packages 01:47:42 Removing intermediate container 89b20432de68 01:47:42 ---> 2550c0c81391 01:47:42 Step 7/24 : WORKDIR /device-mqtt-go 01:47:42 ---> Running in b49c044c314f 01:47:43 Removing intermediate container b49c044c314f 01:47:43 ---> 45e4fabbfc38 01:47:43 Step 8/24 : COPY go.mod vendor* ./ 01:47:43 ---> 8f31c8b8ec7d 01:47:43 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:43 ---> Running in 88998ed4cfe1 01:47:43 Removing intermediate container 88998ed4cfe1 01:47:43 ---> 8c98d4494f89 01:47:43 Step 10/24 : COPY . . 01:47:44 ---> 1d0c2c5d39de 01:47:44 Step 11/24 : ARG MAKE='make build' 01:47:44 ---> Running in cd373d6ee836 01:47:44 Removing intermediate container cd373d6ee836 01:47:44 ---> 2ca4da83d1e6 01:47:44 Step 12/24 : RUN $MAKE 01:47:44 ---> Running in f04bd6a950f6 01:47:44 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:48:06 Removing intermediate container f04bd6a950f6 01:48:06 ---> 2e880d56ceb5 01:48:06 Step 13/24 : FROM alpine:3.16 01:48:06 3.16: Pulling from library/alpine 01:48:06 213ec9aee27d: Pulling fs layer 01:48:06 213ec9aee27d: Download complete 01:48:06 213ec9aee27d: Pull complete 01:48:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:48:06 Status: Downloaded newer image for alpine:3.16 01:48:06 ---> 9c6f07244728 01:48:06 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:48:06 ---> Running in 84aa33243920 01:48:06 Removing intermediate container 84aa33243920 01:48:06 ---> 84f6789999c1 01:48:06 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:48:06 ---> Running in 5b7094df5774 01:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:48:07 (1/6) Installing dumb-init (1.2.5-r1) 01:48:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:48:07 (3/6) Installing libsodium (1.0.18-r0) 01:48:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:48:07 (5/6) Installing libzmq (4.3.4-r0) 01:48:07 (6/6) Installing zeromq (4.3.4-r0) 01:48:07 Executing busybox-1.35.0-r17.trigger 01:48:07 OK: 8 MiB in 20 packages 01:48:07 Removing intermediate container 5b7094df5774 01:48:07 ---> 04cd79b7dbc7 01:48:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:48:08 ---> ba35ed2d1ad1 01:48:08 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:48:08 ---> 7b46cedbe920 01:48:08 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:48:08 ---> ae31fa9e830f 01:48:08 Step 19/24 : EXPOSE 59982 01:48:08 ---> Running in 65d59d9bacc8 01:48:08 Removing intermediate container 65d59d9bacc8 01:48:08 ---> a1d58fd0cc3a 01:48:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:48:08 ---> Running in 9f2ab821cf57 01:48:08 Removing intermediate container 9f2ab821cf57 01:48:08 ---> b3a2c81a0f59 01:48:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:48:08 ---> Running in 8ddba3961e86 01:48:08 Removing intermediate container 8ddba3961e86 01:48:08 ---> bf263a5c8016 01:48:08 Step 22/24 : LABEL arch=amd64 01:48:09 ---> Running in feb34d18901e 01:48:09 Removing intermediate container feb34d18901e 01:48:09 ---> a58d274b4cec 01:48:09 Step 23/24 : LABEL git_sha=848b2de29f6cbb620b3229edbec9a9c03b237451 01:48:09 ---> Running in c573d9d9c796 01:48:09 Removing intermediate container c573d9d9c796 01:48:09 ---> 4656f8da6b9f 01:48:09 Step 24/24 : LABEL version=2.3.0-dev.15 01:48:09 ---> Running in d265b5317cba 01:48:09 Removing intermediate container d265b5317cba 01:48:09 ---> 2e821ee72f55 01:48:09 [Warning] One or more build-args [ARCH] were not consumed 01:48:09 Successfully built 2e821ee72f55 01:48:09 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:09 provisioning config files... 01:48:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1095885355559169379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:09 ---> docker-login.sh 01:48:09 nexus3.edgexfoundry.org:10001 01:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:09 Configure a credential helper to remove this warning. See 01:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:09 01:48:09 Login Succeeded 01:48:09 nexus3.edgexfoundry.org:10002 01:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:10 Configure a credential helper to remove this warning. See 01:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:10 01:48:10 Login Succeeded 01:48:10 nexus3.edgexfoundry.org:10003 01:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:10 Configure a credential helper to remove this warning. See 01:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:10 01:48:10 Login Succeeded 01:48:10 nexus3.edgexfoundry.org:10004 01:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:10 Configure a credential helper to remove this warning. See 01:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:10 01:48:10 Login Succeeded 01:48:10 docker.io 01:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:10 Configure a credential helper to remove this warning. See 01:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:10 01:48:10 Login Succeeded 01:48:10 ---> docker-login.sh ends [Pipeline] } 01:48:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:10 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:48:10 848b2de29f6cbb620b3229edbec9a9c03b237451 01:48:10 latest 01:48:10 2.3.0-dev.15 01:48:10 848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:48:10 main 01:48:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451 01:48:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:48:11 d71073efeacc: Preparing 01:48:11 ed0935f85a9d: Preparing 01:48:11 6e96ab0898f2: Preparing 01:48:11 e32d186b3de3: Preparing 01:48:11 994393dc58e7: Preparing 01:48:11 994393dc58e7: Layer already exists 01:48:11 ed0935f85a9d: Pushed 01:48:11 d71073efeacc: Pushed 01:48:11 e32d186b3de3: Pushed 01:48:14 6e96ab0898f2: Pushed 01:48:14 848b2de29f6cbb620b3229edbec9a9c03b237451: digest: sha256:2c9901378982412ff5a10be353a4e7d5a35639ec53e5edd0b101ad7d60205e6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:48:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:48:15 d71073efeacc: Preparing 01:48:15 ed0935f85a9d: Preparing 01:48:15 6e96ab0898f2: Preparing 01:48:15 e32d186b3de3: Preparing 01:48:15 994393dc58e7: Preparing 01:48:15 6e96ab0898f2: Layer already exists 01:48:15 e32d186b3de3: Layer already exists 01:48:15 d71073efeacc: Layer already exists 01:48:15 ed0935f85a9d: Layer already exists 01:48:15 994393dc58e7: Layer already exists 01:48:15 latest: digest: sha256:2c9901378982412ff5a10be353a4e7d5a35639ec53e5edd0b101ad7d60205e6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.15 01:48:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:48:15 d71073efeacc: Preparing 01:48:15 ed0935f85a9d: Preparing 01:48:15 6e96ab0898f2: Preparing 01:48:15 e32d186b3de3: Preparing 01:48:15 994393dc58e7: Preparing 01:48:15 d71073efeacc: Layer already exists 01:48:15 994393dc58e7: Layer already exists 01:48:15 6e96ab0898f2: Layer already exists 01:48:15 ed0935f85a9d: Layer already exists 01:48:15 e32d186b3de3: Layer already exists 01:48:15 2.3.0-dev.15: digest: sha256:2c9901378982412ff5a10be353a4e7d5a35639ec53e5edd0b101ad7d60205e6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:48:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:48:16 d71073efeacc: Preparing 01:48:16 ed0935f85a9d: Preparing 01:48:16 6e96ab0898f2: Preparing 01:48:16 e32d186b3de3: Preparing 01:48:16 994393dc58e7: Preparing 01:48:16 6e96ab0898f2: Layer already exists 01:48:16 ed0935f85a9d: Layer already exists 01:48:16 d71073efeacc: Layer already exists 01:48:16 e32d186b3de3: Layer already exists 01:48:16 994393dc58e7: Layer already exists 01:48:16 848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15: digest: sha256:2c9901378982412ff5a10be353a4e7d5a35639ec53e5edd0b101ad7d60205e6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:48:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:48:17 d71073efeacc: Preparing 01:48:17 ed0935f85a9d: Preparing 01:48:17 6e96ab0898f2: Preparing 01:48:17 e32d186b3de3: Preparing 01:48:17 994393dc58e7: Preparing 01:48:17 d71073efeacc: Layer already exists 01:48:17 6e96ab0898f2: Layer already exists 01:48:17 994393dc58e7: Layer already exists 01:48:17 e32d186b3de3: Layer already exists 01:48:17 ed0935f85a9d: Layer already exists 01:48:17 main: digest: sha256:2c9901378982412ff5a10be353a4e7d5a35639ec53e5edd0b101ad7d60205e6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:17 ===================================================== [Pipeline] echo 01:48:17 taggedImages: 01:48:17 - nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451 01:48:17 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:48:17 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.15 01:48:17 - nexus3.edgexfoundry.org:10004/device-mqtt:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:48:17 - 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 01:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:17 01:48:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:17 latest: Pulling from edgex-lftools-log-publisher 01:48:17 5eb5b503b376: Pulling fs layer 01:48:17 5c69ac0246d0: Pulling fs layer 01:48:17 ec43610c2a17: Pulling fs layer 01:48:17 3a2ae6a8a46f: Pulling fs layer 01:48:17 33b1e0a273af: Pulling fs layer 01:48:17 5d3b04190fa2: Pulling fs layer 01:48:17 2f39f015ded8: Pulling fs layer 01:48:17 33b1e0a273af: Waiting 01:48:17 5d3b04190fa2: Waiting 01:48:17 2f39f015ded8: Waiting 01:48:17 3a2ae6a8a46f: Waiting 01:48:17 5c69ac0246d0: Verifying Checksum 01:48:17 5c69ac0246d0: Download complete 01:48:17 3a2ae6a8a46f: Verifying Checksum 01:48:17 3a2ae6a8a46f: Download complete 01:48:18 33b1e0a273af: Verifying Checksum 01:48:18 33b1e0a273af: Download complete 01:48:18 ec43610c2a17: Verifying Checksum 01:48:18 ec43610c2a17: Download complete 01:48:18 5d3b04190fa2: Verifying Checksum 01:48:18 5d3b04190fa2: Download complete 01:48:18 5eb5b503b376: Verifying Checksum 01:48:18 5eb5b503b376: Download complete 01:48:18 2f39f015ded8: Download complete 01:48:19 5eb5b503b376: Pull complete 01:48:19 5c69ac0246d0: Pull complete 01:48:20 ec43610c2a17: Pull complete 01:48:20 3a2ae6a8a46f: Pull complete 01:48:20 33b1e0a273af: Pull complete 01:48:20 5d3b04190fa2: Pull complete 01:48:26 2f39f015ded8: Pull complete 01:48:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:26 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:48:26 $ 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 01:48:28 $ docker top 07ee166a2b72a7b08fadb1260986e4945843536bbd2a3b918b351dd24d617783 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> job-cost.sh 01:48:28 lf-activate-venv: SKIPPING 01:48:28 INFO: No Stack... 01:48:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:29 INFO: Archiving Costs [Pipeline] sh 01:48:29 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:48:29 + cut -d, -f6 [Pipeline] lock 01:48:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] 01:48:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] did not exist. Created. 01:48:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:30 + echo total: 0.2199999988079071 [Pipeline] stash 01:48:30 Stashed 1 file(s) [Pipeline] } 01:48:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:30 $ docker stop --time=1 07ee166a2b72a7b08fadb1260986e4945843536bbd2a3b918b351dd24d617783 01:48:31 $ docker rm -f 07ee166a2b72a7b08fadb1260986e4945843536bbd2a3b918b351dd24d617783 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:50:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22754 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:50:37 Running in /w/workspace/device-mqtt-go/62 [Pipeline] { [Pipeline] checkout 01:50:37 Selected Git installation does not exist. Using Default 01:50:37 The recommended git tool is: NONE 01:50:43 using credential edgex-jenkins-ssh 01:50:43 Cloning the remote Git repository 01:50:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:50:43 > git init /w/workspace/device-mqtt-go/62 # timeout=10 01:50:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:50:43 > git --version # timeout=10 01:50:43 > git --version # 'git version 2.25.1' 01:50:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:45 Avoid second fetch 01:50:45 Checking out Revision 848b2de29f6cbb620b3229edbec9a9c03b237451 (main) 01:50:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:50:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:45 > git config core.sparsecheckout # timeout=10 01:50:45 > git checkout -f 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 01:50:49 Commit message: "Merge pull request #411 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:50:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:50 Dload Upload Total Spent Left Speed 01:50:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 83324 0 --:--:-- --:--:-- --:--:-- 83324 [Pipeline] sh 01:50:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:50:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:50:51 + sudo tee /etc/docker/daemon.new 01:50:51 { 01:50:51 "registry-mirrors": [ 01:50:51 "https://nexus3.edgexfoundry.org:10001" 01:50:51 ], 01:50:51 "bip": "10.250.0.254/24", 01:50:51 "hosts": [ 01:50:51 "tcp://0.0.0.0:5555", 01:50:51 "unix:///var/run/docker.sock" 01:50:51 ], 01:50:51 "mtu": 1458, 01:50:51 "selinux-enabled": true, 01:50:51 "seccomp-profile": "/etc/docker/seccomp.json" 01:50:51 } [Pipeline] sh 01:50:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:50:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:10 provisioning config files... 01:51:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config8068579040268839562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:11 ---> docker-login.sh 01:51:11 nexus3.edgexfoundry.org:10001 01:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:11 Configure a credential helper to remove this warning. See 01:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:11 01:51:11 Login Succeeded 01:51:11 nexus3.edgexfoundry.org:10002 01:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:12 Configure a credential helper to remove this warning. See 01:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:12 01:51:12 Login Succeeded 01:51:12 nexus3.edgexfoundry.org:10003 01:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:13 Configure a credential helper to remove this warning. See 01:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:13 01:51:13 Login Succeeded 01:51:13 nexus3.edgexfoundry.org:10004 01:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:13 Configure a credential helper to remove this warning. See 01:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:13 01:51:13 Login Succeeded 01:51:13 docker.io 01:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:14 Configure a credential helper to remove this warning. See 01:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:14 01:51:14 Login Succeeded 01:51:14 ---> docker-login.sh ends [Pipeline] } 01:51:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:51:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:51:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:51:14 ========================================================= 01:51:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:51:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:51:15 Sending build context to Docker daemon 3.14MB 01:51:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:51:15 Step 2/12 : FROM ${BASE} AS builder 01:51:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:51:15 b3c136eddcbf: Pulling fs layer 01:51:15 c0a3192eca97: Pulling fs layer 01:51:15 a050256f5b6f: Pulling fs layer 01:51:15 656be50a0ddc: Pulling fs layer 01:51:15 2bbca73fdf42: Pulling fs layer 01:51:15 46d945488cbd: Pulling fs layer 01:51:15 8a5474983e97: Pulling fs layer 01:51:15 329c88fbcd65: Pulling fs layer 01:51:15 656be50a0ddc: Waiting 01:51:15 2bbca73fdf42: Waiting 01:51:15 46d945488cbd: Waiting 01:51:15 8a5474983e97: Waiting 01:51:15 329c88fbcd65: Waiting 01:51:15 a050256f5b6f: Download complete 01:51:15 c0a3192eca97: Download complete 01:51:15 2bbca73fdf42: Verifying Checksum 01:51:15 2bbca73fdf42: Download complete 01:51:15 46d945488cbd: Verifying Checksum 01:51:15 46d945488cbd: Download complete 01:51:15 b3c136eddcbf: Verifying Checksum 01:51:15 b3c136eddcbf: Download complete 01:51:16 b3c136eddcbf: Pull complete 01:51:16 329c88fbcd65: Verifying Checksum 01:51:16 329c88fbcd65: Download complete 01:51:17 c0a3192eca97: Pull complete 01:51:17 a050256f5b6f: Pull complete 01:51:18 8a5474983e97: Verifying Checksum 01:51:18 8a5474983e97: Download complete 01:51:18 656be50a0ddc: Verifying Checksum 01:51:18 656be50a0ddc: Download complete 01:51:34 656be50a0ddc: Pull complete 01:51:34 2bbca73fdf42: Pull complete 01:51:34 46d945488cbd: Pull complete 01:51:38 8a5474983e97: Pull complete 01:51:40 329c88fbcd65: Pull complete 01:51:40 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:51:40 ---> ff4287adb874 01:51:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:51:41 ---> Running in 5a374c5f411a 01:51:42 Removing intermediate container 5a374c5f411a 01:51:42 ---> 3657eb87a01e 01:51:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:51:42 ---> Running in cf44a60e065d 01:51:42 Removing intermediate container cf44a60e065d 01:51:42 ---> 58b6dd619356 01:51:42 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:42 ---> Running in 34f96813b9ad 01:51:44 Removing intermediate container 34f96813b9ad 01:51:44 ---> e960e0739137 01:51:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:44 ---> Running in 211f292e1e8a 01:51:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:51:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:51:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:51:48 (2/4) Installing libedit (20210910.3.1-r0) 01:51:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:51:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:51:48 Executing busybox-1.35.0-r13.trigger 01:51:48 OK: 226 MiB in 55 packages 01:51:49 Removing intermediate container 211f292e1e8a 01:51:49 ---> 1021f8053941 01:51:49 Step 7/12 : WORKDIR /device-mqtt-go 01:51:49 ---> Running in e85175dc50b2 01:51:50 Removing intermediate container e85175dc50b2 01:51:50 ---> cbd22c38f900 01:51:50 Step 8/12 : COPY go.mod vendor* ./ 01:51:50 ---> c11bf1427fa8 01:51:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:50 ---> Running in d26a9533cd31 01:52:37 Removing intermediate container d26a9533cd31 01:52:37 ---> ba1969c549d3 01:52:37 Step 10/12 : COPY . . 01:52:37 ---> 6a5acdf47567 01:52:37 Step 11/12 : ARG MAKE='make build' 01:52:37 ---> Running in 103d490cd2c1 01:52:37 Removing intermediate container 103d490cd2c1 01:52:37 ---> 34d6104a3e66 01:52:37 Step 12/12 : RUN $MAKE 01:52:37 ---> Running in 5d472576dc63 01:52:38 noop 01:52:38 Removing intermediate container 5d472576dc63 01:52:38 ---> 083fdd05db78 01:52:38 Successfully built 083fdd05db78 01:52:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:39 + docker inspect -f . ci-base-image-arm64 01:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:39 prd-ubuntu20.04-docker-arm64-4c-16g-22754 does not seem to be running inside a container 01:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@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 01:52:40 $ docker top bfa6072e383db6c0ecc45ac9a4e54e78f6bfef5bd1ce8167cc05df4be82869c5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:41 + go version 01:52:41 go version go1.18.3 linux/arm64 [Pipeline] } 01:52:41 $ docker stop --time=1 bfa6072e383db6c0ecc45ac9a4e54e78f6bfef5bd1ce8167cc05df4be82869c5 01:52:43 $ docker rm -f bfa6072e383db6c0ecc45ac9a4e54e78f6bfef5bd1ce8167cc05df4be82869c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:43 + docker inspect -f . ci-base-image-arm64 01:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:44 prd-ubuntu20.04-docker-arm64-4c-16g-22754 does not seem to be running inside a container 01:52:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@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 01:52:45 $ docker top a6dbc3b7475d81fd8441d23cb0d79cb082219b038d5a29877392c0b5af1b64ce -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:46 + git config --global --add safe.directory /w/workspace/device-mqtt-go/62 [Pipeline] fileExists [Pipeline] sh 01:52:47 + make test 01:52:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:52:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:54:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:54:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 01:54:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:54:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:54:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:54:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:54:35 ./bin/test-attribution-txt.sh 01:54:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:54:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:54:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:54:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:54:36 $ docker stop --time=1 a6dbc3b7475d81fd8441d23cb0d79cb082219b038d5a29877392c0b5af1b64ce 01:54:37 $ docker rm -f a6dbc3b7475d81fd8441d23cb0d79cb082219b038d5a29877392c0b5af1b64ce [Pipeline] // withDockerContainer [Pipeline] sh 01:54:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:54:38 Warning: overwriting stash ‘coverage-report’ 01:54:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:54:40 + ls -al . 01:54:40 total 176 01:54:40 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 01:52 . 01:54:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:50 .. 01:54:40 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 01:50 .dockerignore 01:54:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:50 .git 01:54:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:50 .github 01:54:40 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 01:50 .gitignore 01:54:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:50 .golangci.yml 01:54:40 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 15 01:50 Attribution.txt 01:54:40 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 15 01:50 CHANGELOG.md 01:54:40 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 15 01:50 Dockerfile 01:54:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:50 GOVERNANCE.md 01:54:40 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 01:50 Jenkinsfile 01:54:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:50 LICENSE 01:54:40 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 15 01:50 Makefile 01:54:40 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 01:50 OWNERS.md 01:54:40 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 15 01:50 README.md 01:54:40 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 01:46 VERSION 01:54:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:50 bin 01:54:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:50 cmd 01:54:40 -rw-r--r-- 1 jenkins jenkins 17887 Aug 15 01:54 coverage.out 01:54:40 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 15 01:50 go.mod 01:54:40 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 01:50 go.sum 01:54:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:50 internal 01:54:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:50 mock 01:54:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:50 snap 01:54:40 -rw-rw-r-- 1 jenkins jenkins 227 Aug 15 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:40 + 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=848b2de29f6cbb620b3229edbec9a9c03b237451 --label arch=arm64 --label version=2.3.0-dev.15 . 01:54:40 Sending build context to Docker daemon 3.158MB 01:54:41 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:54:41 Step 2/24 : FROM ${BASE} AS builder 01:54:41 ---> 083fdd05db78 01:54:41 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:54:41 ---> Running in d957433463bc 01:54:41 Removing intermediate container d957433463bc 01:54:41 ---> 65ef636b1970 01:54:41 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:54:41 ---> Running in 38864d00fb0a 01:54:42 Removing intermediate container 38864d00fb0a 01:54:42 ---> e660a9d80fdf 01:54:42 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:54:42 ---> Running in 75fbb52ef64d 01:54:43 Removing intermediate container 75fbb52ef64d 01:54:43 ---> b026815f768a 01:54:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:43 ---> Running in 3f812b304034 01:54:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:54:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:54:46 OK: 226 MiB in 55 packages 01:54:47 Removing intermediate container 3f812b304034 01:54:47 ---> 2127ece06833 01:54:47 Step 7/24 : WORKDIR /device-mqtt-go 01:54:47 ---> Running in d53fbbff6bb5 01:54:47 Removing intermediate container d53fbbff6bb5 01:54:47 ---> 6b798e9b5359 01:54:47 Step 8/24 : COPY go.mod vendor* ./ 01:54:48 ---> df58dde99976 01:54:48 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:48 ---> Running in 2bd6862da09c 01:54:50 Removing intermediate container 2bd6862da09c 01:54:50 ---> e126e23f9cfe 01:54:50 Step 10/24 : COPY . . 01:54:51 ---> 89662e157539 01:54:51 Step 11/24 : ARG MAKE='make build' 01:54:51 ---> Running in 0ced3c303f36 01:54:51 Removing intermediate container 0ced3c303f36 01:54:51 ---> 66d122f2891f 01:54:51 Step 12/24 : RUN $MAKE 01:54:51 ---> Running in e356307415fd 01:54:52 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:57:14 Removing intermediate container e356307415fd 01:57:14 ---> d3549101ead5 01:57:14 Step 13/24 : FROM alpine:3.16 01:57:14 3.16: Pulling from library/alpine 01:57:14 9b18e9b68314: Pulling fs layer 01:57:14 9b18e9b68314: Verifying Checksum 01:57:14 9b18e9b68314: Download complete 01:57:14 9b18e9b68314: Pull complete 01:57:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:57:14 Status: Downloaded newer image for alpine:3.16 01:57:14 ---> a6215f271958 01:57:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:57:14 ---> Running in 65d4ecb34668 01:57:14 Removing intermediate container 65d4ecb34668 01:57:14 ---> c57d3061e031 01:57:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:57:14 ---> Running in ee45d7f755d5 01:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:57:14 (1/6) Installing dumb-init (1.2.5-r1) 01:57:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:57:14 (3/6) Installing libsodium (1.0.18-r0) 01:57:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:57:14 (5/6) Installing libzmq (4.3.4-r0) 01:57:14 (6/6) Installing zeromq (4.3.4-r0) 01:57:14 Executing busybox-1.35.0-r17.trigger 01:57:14 OK: 8 MiB in 20 packages 01:57:14 Removing intermediate container ee45d7f755d5 01:57:14 ---> 1d51ab3654ae 01:57:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:57:14 ---> 4140b17d3f17 01:57:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:57:14 ---> 3a5f0de56a31 01:57:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:57:15 ---> 6bf95183cd5d 01:57:15 Step 19/24 : EXPOSE 59982 01:57:15 ---> Running in 4a3d63afaafc 01:57:15 Removing intermediate container 4a3d63afaafc 01:57:15 ---> 2b61a6c40df6 01:57:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:57:15 ---> Running in 31552e2b5f9b 01:57:15 Removing intermediate container 31552e2b5f9b 01:57:15 ---> 31e1ee40bdcf 01:57:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:57:16 ---> Running in 24164f9628db 01:57:16 Removing intermediate container 24164f9628db 01:57:16 ---> e4dc22094f3b 01:57:16 Step 22/24 : LABEL arch=arm64 01:57:16 ---> Running in 2400f9ed733a 01:57:16 Removing intermediate container 2400f9ed733a 01:57:16 ---> 117f86df667e 01:57:16 Step 23/24 : LABEL git_sha=848b2de29f6cbb620b3229edbec9a9c03b237451 01:57:16 ---> Running in e03d2cd3f7f3 01:57:17 Removing intermediate container e03d2cd3f7f3 01:57:17 ---> e1d7f2057679 01:57:17 Step 24/24 : LABEL version=2.3.0-dev.15 01:57:17 ---> Running in 89b52019ee87 01:57:17 Removing intermediate container 89b52019ee87 01:57:17 ---> eb6cb20bc20a 01:57:17 [Warning] One or more build-args [ARCH] were not consumed 01:57:17 Successfully built eb6cb20bc20a 01:57:17 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 01:57:17 provisioning config files... 01:57:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config3902034292534329239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:17 ---> docker-login.sh 01:57:17 nexus3.edgexfoundry.org:10001 01:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:18 Configure a credential helper to remove this warning. See 01:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:18 01:57:18 Login Succeeded 01:57:18 nexus3.edgexfoundry.org:10002 01:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:18 Configure a credential helper to remove this warning. See 01:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:18 01:57:18 Login Succeeded 01:57:18 nexus3.edgexfoundry.org:10003 01:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:19 Configure a credential helper to remove this warning. See 01:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:19 01:57:19 Login Succeeded 01:57:19 nexus3.edgexfoundry.org:10004 01:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:19 Configure a credential helper to remove this warning. See 01:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:19 01:57:19 Login Succeeded 01:57:19 docker.io 01:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:20 Configure a credential helper to remove this warning. See 01:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:20 01:57:20 Login Succeeded 01:57:20 ---> docker-login.sh ends [Pipeline] } 01:57:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:57:20 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:57:20 848b2de29f6cbb620b3229edbec9a9c03b237451 01:57:20 latest 01:57:20 2.3.0-dev.15 01:57:20 848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:57:20 main 01:57:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451 01:57:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:21 1400355c641f: Preparing 01:57:21 d183928b32ab: Preparing 01:57:21 b9bc30baa7dc: Preparing 01:57:21 178c3e6d9704: Preparing 01:57:21 5d3e392a13a0: Preparing 01:57:21 5d3e392a13a0: Layer already exists 01:57:21 d183928b32ab: Pushed 01:57:21 1400355c641f: Pushed 01:57:22 178c3e6d9704: Pushed 01:57:26 b9bc30baa7dc: Pushed 01:57:27 848b2de29f6cbb620b3229edbec9a9c03b237451: digest: sha256:af59a54cc6f3a5fb17db175cd5f3e946386750de8c10936e5731d84a4fbea6c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:57:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:27 1400355c641f: Preparing 01:57:27 d183928b32ab: Preparing 01:57:27 b9bc30baa7dc: Preparing 01:57:27 178c3e6d9704: Preparing 01:57:27 5d3e392a13a0: Preparing 01:57:27 178c3e6d9704: Layer already exists 01:57:27 d183928b32ab: Layer already exists 01:57:27 b9bc30baa7dc: Layer already exists 01:57:27 1400355c641f: Layer already exists 01:57:27 5d3e392a13a0: Layer already exists 01:57:28 latest: digest: sha256:af59a54cc6f3a5fb17db175cd5f3e946386750de8c10936e5731d84a4fbea6c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.15 01:57:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:28 1400355c641f: Preparing 01:57:28 d183928b32ab: Preparing 01:57:28 b9bc30baa7dc: Preparing 01:57:28 178c3e6d9704: Preparing 01:57:28 5d3e392a13a0: Preparing 01:57:28 178c3e6d9704: Layer already exists 01:57:28 5d3e392a13a0: Layer already exists 01:57:28 d183928b32ab: Layer already exists 01:57:28 b9bc30baa7dc: Layer already exists 01:57:28 1400355c641f: Layer already exists 01:57:29 2.3.0-dev.15: digest: sha256:af59a54cc6f3a5fb17db175cd5f3e946386750de8c10936e5731d84a4fbea6c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:57:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:29 1400355c641f: Preparing 01:57:29 d183928b32ab: Preparing 01:57:29 b9bc30baa7dc: Preparing 01:57:29 178c3e6d9704: Preparing 01:57:29 5d3e392a13a0: Preparing 01:57:29 5d3e392a13a0: Layer already exists 01:57:29 d183928b32ab: Layer already exists 01:57:29 1400355c641f: Layer already exists 01:57:29 b9bc30baa7dc: Layer already exists 01:57:29 178c3e6d9704: Layer already exists 01:57:30 848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15: digest: sha256:af59a54cc6f3a5fb17db175cd5f3e946386750de8c10936e5731d84a4fbea6c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:57:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:30 1400355c641f: Preparing 01:57:30 d183928b32ab: Preparing 01:57:30 b9bc30baa7dc: Preparing 01:57:30 178c3e6d9704: Preparing 01:57:30 5d3e392a13a0: Preparing 01:57:30 5d3e392a13a0: Layer already exists 01:57:30 d183928b32ab: Layer already exists 01:57:30 b9bc30baa7dc: Layer already exists 01:57:30 178c3e6d9704: Layer already exists 01:57:30 1400355c641f: Layer already exists 01:57:31 main: digest: sha256:af59a54cc6f3a5fb17db175cd5f3e946386750de8c10936e5731d84a4fbea6c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:31 ===================================================== [Pipeline] echo 01:57:31 taggedImages: 01:57:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451 01:57:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:57:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.15 01:57:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:848b2de29f6cbb620b3229edbec9a9c03b237451-2.3.0-dev.15 01:57:31 - 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 01:57:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:31 01:57:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:32 arm64: Pulling from edgex-lftools-log-publisher 01:57:32 8998bd30e6a1: Pulling fs layer 01:57:32 04944245beec: Pulling fs layer 01:57:32 699f458cf7ca: Pulling fs layer 01:57:32 765212b225bb: Pulling fs layer 01:57:32 f23df028b6ca: Pulling fs layer 01:57:32 d65c8cfc05b1: Pulling fs layer 01:57:32 2437ff75d9bd: Pulling fs layer 01:57:32 765212b225bb: Waiting 01:57:32 f23df028b6ca: Waiting 01:57:32 d65c8cfc05b1: Waiting 01:57:32 2437ff75d9bd: Waiting 01:57:32 04944245beec: Verifying Checksum 01:57:32 04944245beec: Download complete 01:57:32 765212b225bb: Download complete 01:57:32 f23df028b6ca: Download complete 01:57:32 d65c8cfc05b1: Verifying Checksum 01:57:32 d65c8cfc05b1: Download complete 01:57:32 699f458cf7ca: Verifying Checksum 01:57:32 699f458cf7ca: Download complete 01:57:32 8998bd30e6a1: Download complete 01:57:35 2437ff75d9bd: Verifying Checksum 01:57:35 2437ff75d9bd: Download complete 01:57:37 8998bd30e6a1: Pull complete 01:57:37 04944245beec: Pull complete 01:57:39 699f458cf7ca: Pull complete 01:57:39 765212b225bb: Pull complete 01:57:40 f23df028b6ca: Pull complete 01:57:40 d65c8cfc05b1: Pull complete 01:57:55 2437ff75d9bd: Pull complete 01:57:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:56 prd-ubuntu20.04-docker-arm64-4c-16g-22754 does not seem to be running inside a container 01:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@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 01:57:59 $ docker top a0b423df8654830cbcb5947cd47a1e64079fe53316d0c2c2b96680b112cbfef4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:59 ---> job-cost.sh 01:57:59 lf-activate-venv: SKIPPING 01:57:59 INFO: No Stack... 01:58:00 INFO: Retrieving Pricing Info for: v3-standard-4 01:58:01 INFO: Archiving Costs [Pipeline] sh 01:58:02 + cut -d, -f6 01:58:02 + cat /w/workspace/device-mqtt-go/62/archives/cost.csv [Pipeline] lock 01:58:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] 01:58:02 Resource [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] did not exist. Created. 01:58:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:03 /w/workspace/device-mqtt-go/62@tmp/durable-8cc9b4ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:58:03 + echo total: 0.10999999940395355 [Pipeline] stash 01:58:03 Warning: overwriting stash ‘stack-cost’ 01:58:03 Stashed 1 file(s) [Pipeline] } 01:58:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:03 $ docker stop --time=1 a0b423df8654830cbcb5947cd47a1e64079fe53316d0c2c2b96680b112cbfef4 01:58:05 $ docker rm -f a0b423df8654830cbcb5947cd47a1e64079fe53316d0c2c2b96680b112cbfef4 [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 01:58:05 provisioning config files... 01:58:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5924977985063398427tmp [Pipeline] { [Pipeline] sh 01:58:06 + set +x 01:58:06 + curl -s https://codecov.io/bash 01:58:06 + bash -s -- 01:58:06 01:58:06 _____ _ 01:58:06 / ____| | | 01:58:06 | | ___ __| | ___ ___ _____ __ 01:58:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:58:06 | |___| (_) | (_| | __/ (_| (_) \ V / 01:58:06 \_____\___/ \__,_|\___|\___\___/ \_/ 01:58:06 Bash-1.0.6 01:58:06 01:58:06 01:58:06 ==> git version 2.25.1 found 01:58:06 ==> 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 01:58:06 Release-Date: 2020-01-08 01:58:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:58:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:58:06 ==> Jenkins CI detected. 01:58:06 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:58:06 project root: . 01:58:06 --> token set from env 01:58:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:58:06 ==> Running gcov in . (disable via -X gcov) 01:58:06 ==> Python coveragepy not found 01:58:06 ==> Searching for coverage reports in: 01:58:06 + . 01:58:06 -> Found 1 reports 01:58:06 ==> Detecting git/mercurial file structure 01:58:06 ==> Reading reports 01:58:06 + ./coverage.out bytes=17887 01:58:06 ==> Appending adjustments 01:58:06 https://docs.codecov.io/docs/fixing-reports 01:58:06 + Found adjustments 01:58:06 ==> Gzipping contents 01:58:06 4.0K /tmp/codecov.X71c7L.gz 01:58:06 ==> Uploading reports 01:58:06 url: https://codecov.io 01:58:06 query: branch=main&commit=848b2de29f6cbb620b3229edbec9a9c03b237451&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:06 -> Pinging Codecov 01:58:06 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=848b2de29f6cbb620b3229edbec9a9c03b237451&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:06 -> Uploading to 01:58:06 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/7D719EC7BBE17E464838252E33014C33/848b2de29f6cbb620b3229edbec9a9c03b237451/71da9bd3-61d1-452b-ba17-bfc08d6f0ed9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T015806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c99f02ba269f19ac0dbabcaeb71a4212b8446c109207032fe9089647e67c566 01:58:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:06 Dload Upload Total Spent Left Speed 01:58:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13573 --:--:-- --:--:-- --:--:-- 13573 01:58:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] } 01:58:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:58:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:58:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:07 01:58:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:58:07 df9b9388f04a: Pulling fs layer 01:58:07 52dc419b0ee2: Pulling fs layer 01:58:07 25bc292e5bac: Pulling fs layer 01:58:07 114826534d7a: Pulling fs layer 01:58:07 4657fd5d0bcf: Pulling fs layer 01:58:07 114826534d7a: Waiting 01:58:07 6ad1cebc031e: Pulling fs layer 01:58:07 8a3aa393b2d8: Pulling fs layer 01:58:07 6ad1cebc031e: Waiting 01:58:07 4657fd5d0bcf: Waiting 01:58:07 8a3aa393b2d8: Waiting 01:58:07 25bc292e5bac: Download complete 01:58:07 52dc419b0ee2: Download complete 01:58:07 4657fd5d0bcf: Verifying Checksum 01:58:07 4657fd5d0bcf: Download complete 01:58:07 df9b9388f04a: Verifying Checksum 01:58:07 df9b9388f04a: Download complete 01:58:08 df9b9388f04a: Pull complete 01:58:08 6ad1cebc031e: Verifying Checksum 01:58:08 6ad1cebc031e: Download complete 01:58:08 52dc419b0ee2: Pull complete 01:58:08 25bc292e5bac: Pull complete 01:58:08 114826534d7a: Verifying Checksum 01:58:08 114826534d7a: Download complete 01:58:09 8a3aa393b2d8: Verifying Checksum 01:58:09 8a3aa393b2d8: Download complete 01:58:13 114826534d7a: Pull complete 01:58:13 4657fd5d0bcf: Pull complete 01:58:13 6ad1cebc031e: Pull complete 01:58:16 8a3aa393b2d8: Pull complete 01:58:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:16 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:58:16 $ 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 01:58:18 $ docker top d5601df2a65ad75cbad2e3ee10478e1dfb72b1e0a66d691e757bc36cac5c3a4a -eo pid,comm [Pipeline] { [Pipeline] echo 01:58:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 01:58:18 + set -o pipefail 01:58:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 01:58:24 01:58:24 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:58:24 01:58:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/7b97baff-a831-486a-8da9-3ea4a2a72da6 01:58:24 01:58:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:58:24 01:58:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:58:24 01:58:24 [Pipeline] } 01:58:24 $ docker stop --time=1 d5601df2a65ad75cbad2e3ee10478e1dfb72b1e0a66d691e757bc36cac5c3a4a 01:58:26 $ docker rm -f d5601df2a65ad75cbad2e3ee10478e1dfb72b1e0a66d691e757bc36cac5c3a4a [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 01:58:27 + git log --format=format:%s -1 848b2de29f6cbb620b3229edbec9a9c03b237451 [Pipeline] sh 01:58:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:28 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:58:28 $ 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 01:58:28 $ docker top 27a6eafbad28cdab46f292491d4e0d0be15197d909adf69dda2bb33564fd2fc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:28 [ssh-agent] Looking for ssh-agent implementation... 01:58:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:28 $ docker exec 27a6eafbad28cdab46f292491d4e0d0be15197d909adf69dda2bb33564fd2fc0 ssh-agent 01:58:28 SSH_AUTH_SOCK=/tmp/ssh-hyThXbOkDgkx/agent.32 01:58:28 SSH_AGENT_PID=39 01:58:28 Running ssh-add (command line suppressed) 01:58:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_338880061209836733.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_338880061209836733.key) 01:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:29 + git semver tag 01:58:29 2022-08-15 01:58:29,591 [run_tag] DEBUG tag force:False 01:58:29 2022-08-15 01:58:29,591 [check_head_tag] DEBUG check head tag 01:58:29 2022-08-15 01:58:29,592 [execute] INFO git cat-file --batch-check 01:58:29 2022-08-15 01:58:29,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:58:29 2022-08-15 01:58:29,596 [execute] INFO git cat-file --batch 01:58:29 2022-08-15 01:58:29,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:58:29 2022-08-15 01:58:29,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:29 2022-08-15 01:58:29,610 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 01:58:29 2022-08-15 01:58:29,610 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:58:29 2022-08-15 01:58:29,616 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:29 2.3.0-dev.15 [Pipeline] } 01:58:29 $ docker exec --env ******** --env ******** 27a6eafbad28cdab46f292491d4e0d0be15197d909adf69dda2bb33564fd2fc0 ssh-agent -k 01:58:29 unset SSH_AUTH_SOCK; 01:58:29 unset SSH_AGENT_PID; 01:58:29 echo Agent pid 39 killed; 01:58:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:30 + git semver [Pipeline] } 01:58:30 $ docker stop --time=1 27a6eafbad28cdab46f292491d4e0d0be15197d909adf69dda2bb33564fd2fc0 01:58:31 $ docker rm -f 27a6eafbad28cdab46f292491d4e0d0be15197d909adf69dda2bb33564fd2fc0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:32 01:58:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:32 0.23.1-centos7: Pulling from edgex-lftools 01:58:32 ab5ef0e58194: Pulling fs layer 01:58:32 9712f1f96733: Pulling fs layer 01:58:32 63f879dbbcfc: Pulling fs layer 01:58:32 0d9ebad4ef96: Pulling fs layer 01:58:32 e9a5061849ea: Pulling fs layer 01:58:32 d747dcd14b5f: Pulling fs layer 01:58:32 2de7ff778b66: Pulling fs layer 01:58:32 0d9ebad4ef96: Waiting 01:58:32 d747dcd14b5f: Waiting 01:58:32 e9a5061849ea: Waiting 01:58:32 2de7ff778b66: Waiting 01:58:32 9712f1f96733: Verifying Checksum 01:58:32 9712f1f96733: Download complete 01:58:32 63f879dbbcfc: Verifying Checksum 01:58:32 63f879dbbcfc: Download complete 01:58:32 0d9ebad4ef96: Verifying Checksum 01:58:32 0d9ebad4ef96: Download complete 01:58:32 d747dcd14b5f: Verifying Checksum 01:58:32 d747dcd14b5f: Download complete 01:58:32 e9a5061849ea: Verifying Checksum 01:58:32 e9a5061849ea: Download complete 01:58:32 ab5ef0e58194: Verifying Checksum 01:58:32 ab5ef0e58194: Download complete 01:58:32 2de7ff778b66: Download complete 01:58:36 ab5ef0e58194: Pull complete 01:58:36 9712f1f96733: Pull complete 01:58:36 63f879dbbcfc: Pull complete 01:58:42 0d9ebad4ef96: Pull complete 01:58:42 e9a5061849ea: Pull complete 01:58:42 d747dcd14b5f: Pull complete 01:58:43 2de7ff778b66: Pull complete 01:58:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:43 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:58:45 $ docker top bb1c8cc30f9614ac8b9e1e8c1a27a001d279ef3f01d27015371dc67b8f83443e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:58:45 provisioning config files... 01:58:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8478641394262499874tmp 01:58:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4289898044426512270tmp 01:58:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7278918151837608878tmp [Pipeline] { [Pipeline] echo 01:58:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:58:45 ---> sigul-configuration.sh 01:58:45 gpg: directory `/root/.gnupg' created 01:58:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:58:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:58:45 gpg: keyring `/root/.gnupg/secring.gpg' created 01:58:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:58:45 gpg: CAST5 encrypted data 01:58:45 gpg: encrypted with 1 passphrase 01:58:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:58:46 + mkdir /home/jenkins 01:58:46 + mkdir /home/jenkins/sigul [Pipeline] sh 01:58: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 01:58:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:58:46 ---> sigul-install.sh 01:58:46 Sigul already installed; skipping installation. [Pipeline] sh 01:58:46 + git tag --list 01:58:46 0.7.1 01:58:46 v1.0.0 01:58:46 v1.1.0 01:58:46 v1.1.1 01:58:46 v1.2.2 01:58:46 v1.3.0 01:58:46 v1.3.1 01:58:46 v2.0.0 01:58:46 v2.1.0 01:58:46 v2.1.1 01:58:46 v2.1.1-dev.1 01:58:46 v2.1.1-dev.2 01:58:46 v2.2.0 01:58:46 v2.2.1-dev.1 01:58:46 v2.2.1-dev.10 01:58:46 v2.2.1-dev.2 01:58:46 v2.2.1-dev.3 01:58:46 v2.2.1-dev.4 01:58:46 v2.2.1-dev.5 01:58:46 v2.2.1-dev.6 01:58:46 v2.2.1-dev.7 01:58:46 v2.2.1-dev.8 01:58:46 v2.2.1-dev.9 01:58:46 v2.3.0-dev.10 01:58:46 v2.3.0-dev.11 01:58:46 v2.3.0-dev.12 01:58:46 v2.3.0-dev.13 01:58:46 v2.3.0-dev.14 01:58:46 v2.3.0-dev.15 [Pipeline] sh 01:58:47 + lftools sign git-tag v2.3.0-dev.15 01:58:47 Signing Git tag with Sigul... 01:58:47 Signing v2.3.0-dev.15 [Pipeline] echo 01:58:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:58:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:58:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:58:48 $ docker stop --time=1 bb1c8cc30f9614ac8b9e1e8c1a27a001d279ef3f01d27015371dc67b8f83443e 01:58:49 $ docker rm -f bb1c8cc30f9614ac8b9e1e8c1a27a001d279ef3f01d27015371dc67b8f83443e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:58:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:50 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:50 $ docker top bd99372c7984bf42ddfefbbab6d3bec65c74271e4486e18aae870f0f3038e4e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:51 [ssh-agent] Looking for ssh-agent implementation... 01:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:51 $ docker exec bd99372c7984bf42ddfefbbab6d3bec65c74271e4486e18aae870f0f3038e4e7 ssh-agent 01:58:51 SSH_AUTH_SOCK=/tmp/ssh-1Q6KvbfDMp62/agent.32 01:58:51 SSH_AGENT_PID=38 01:58:51 Running ssh-add (command line suppressed) 01:58:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9086142201979858073.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9086142201979858073.key) 01:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:51 + git semver bump pre 01:58:52 2022-08-15 01:58:52,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:52 2022-08-15 01:58:52,024 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 01:58:52 2022-08-15 01:58:52,024 [bump_version] DEBUG bumped version:2.3.0-dev.16 01:58:52 2022-08-15 01:58:52,025 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 01:58:52 2022-08-15 01:58:52,025 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:52 2022-08-15 01:58:52,025 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:52 2022-08-15 01:58:52,027 [execute] INFO git cat-file --batch-check 01:58:52 2022-08-15 01:58:52,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:58:52 2022-08-15 01:58:52,033 [execute] INFO git cat-file --batch 01:58:52 2022-08-15 01:58:52,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:58:52 2022-08-15 01:58:52,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:52 2.3.0-dev.16 [Pipeline] } 01:58:52 $ docker exec --env ******** --env ******** bd99372c7984bf42ddfefbbab6d3bec65c74271e4486e18aae870f0f3038e4e7 ssh-agent -k 01:58:52 unset SSH_AUTH_SOCK; 01:58:52 unset SSH_AGENT_PID; 01:58:52 echo Agent pid 38 killed; 01:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:52 + git semver [Pipeline] } 01:58:52 $ docker stop --time=1 bd99372c7984bf42ddfefbbab6d3bec65c74271e4486e18aae870f0f3038e4e7 01:58:54 $ docker rm -f bd99372c7984bf42ddfefbbab6d3bec65c74271e4486e18aae870f0f3038e4e7 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:54 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:55 $ docker top 62f86255de6e72f3be5dae0edbf76c51ced23640869678da0394744e3ba2d5c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:55 [ssh-agent] Looking for ssh-agent implementation... 01:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:55 $ docker exec 62f86255de6e72f3be5dae0edbf76c51ced23640869678da0394744e3ba2d5c0 ssh-agent 01:58:55 SSH_AUTH_SOCK=/tmp/ssh-wNrhSU7zqxEf/agent.32 01:58:55 SSH_AGENT_PID=38 01:58:55 Running ssh-add (command line suppressed) 01:58:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7522157473299993664.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7522157473299993664.key) 01:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:56 + git semver push 01:58:56 2022-08-15 01:58:56,216 [run_push] DEBUG push 01:58:56 2022-08-15 01:58:56,217 [execute] INFO git cat-file --batch-check 01:58:56 2022-08-15 01:58:56,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:58:56 2022-08-15 01:58:56,221 [execute] INFO git rev-list 398a1d1572e2597b8296e9e480a71022233c410a -- 01:58:56 2022-08-15 01:58:56,221 [execute] DEBUG Popen(['git', 'rev-list', '398a1d1572e2597b8296e9e480a71022233c410a', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:58:56 2022-08-15 01:58:56,229 [execute] INFO git fetch -v origin 01:58:56 2022-08-15 01:58:56,230 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:58:56 2022-08-15 01:58:56,724 [run_push] DEBUG no remote changes detected 01:58:56 2022-08-15 01:58:56,725 [execute] INFO git push origin semver 01:58:56 2022-08-15 01:58:56,725 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:58:57 2022-08-15 01:58:57,422 [run_push] DEBUG push all version tags 01:58:57 2022-08-15 01:58:57,423 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:58:57 2022-08-15 01:58:57,423 [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) 01:58:58 2022-08-15 01:58:58,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:58 2.3.0-dev.16 [Pipeline] } 01:58:58 $ docker exec --env ******** --env ******** 62f86255de6e72f3be5dae0edbf76c51ced23640869678da0394744e3ba2d5c0 ssh-agent -k 01:58:58 unset SSH_AUTH_SOCK; 01:58:58 unset SSH_AGENT_PID; 01:58:58 echo Agent pid 38 killed; 01:58:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:58 + git semver [Pipeline] } 01:58:59 $ docker stop --time=1 62f86255de6e72f3be5dae0edbf76c51ced23640869678da0394744e3ba2d5c0 01:59:00 $ docker rm -f 62f86255de6e72f3be5dae0edbf76c51ced23640869678da0394744e3ba2d5c0 [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 01:59:01 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 01:59:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:01 total 16 01:59:01 drwxr-xr-x 3 root root 4096 Aug 15 01:48 . 01:59:01 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 01:58 .. 01:59:01 drwxr-xr-x 2 root root 4096 Aug 15 01:48 cost 01:59:01 -rw-r--r-- 1 root root 85 Aug 15 01:48 cost.csv 01:59:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:01 total 16 01:59:01 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:48 . 01:59:01 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 01:58 .. 01:59:01 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 01:48 cost 01:59:01 -rw-r--r-- 1 jenkins jenkins 85 Aug 15 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:02 ---> package-listing.sh 01:59:02 ++ facter osfamily 01:59:02 ++ tr '[:upper:]' '[:lower:]' 01:59:02 + OS_FAMILY=debian 01:59:02 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:59:02 + START_PACKAGES=/tmp/packages_start.txt 01:59:02 + END_PACKAGES=/tmp/packages_end.txt 01:59:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:02 + PACKAGES=/tmp/packages_start.txt 01:59:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:59:02 + PACKAGES=/tmp/packages_end.txt 01:59:02 + case "${OS_FAMILY}" in 01:59:02 + dpkg -l 01:59:02 + grep '^ii' 01:59:02 + '[' -f /tmp/packages_start.txt ']' 01:59:02 + '[' -f /tmp/packages_end.txt ']' 01:59:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:59:02 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:59: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 01:59: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 01:59:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:03 prd-ubuntu20.04-docker-8c-8g-22753 does not seem to be running inside a container 01:59: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 01:59:03 $ docker top 8b3ebbe98b765f73d6534eb05f20888a30fbc830f03086332c64d851f4a6d38d -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:03 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:04 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:04 + ls /var/log/sa-host 01:59:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:04 provisioning config files... 01:59:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3664931000484499277tmp [Pipeline] { [Pipeline] echo 01:59:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:05 ---> create-netrc.sh [Pipeline] } 01:59:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:05 ---> python-tools-install.sh [Pipeline] echo 01:59:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:05 ---> sudo-logs.sh 01:59:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:05 ---> job-cost.sh 01:59:05 lf-activate-venv: SKIPPING 01:59:05 DEBUG: total: 0.2199999988079071 01:59:05 INFO: Retrieving Stack Cost... 01:59:06 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:06 INFO: Archiving Costs [Pipeline] echo 01:59:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:07 ---> logs-deploy.sh 01:59:07 lf-activate-venv: SKIPPING 01:59:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/62 01:59:07 INFO: archiving workspace using pattern(s): 01:59:08 Archives upload complete. 01:59:08 INFO: archiving logs to Nexus