Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45e704b8212ca39805298e898eb42b8dfe23ade0 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-ssh13685505303258236091.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-ssh11922008714331556393.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-ssh12202998373148615060.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-ssh13475755467486884589.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-ssh15655096077815223867.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 Running on prd-ubuntu20.04-docker-8c-8g-21927 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 45e704b8212ca39805298e898eb42b8dfe23ade0 (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 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408)" > git rev-list --no-walk bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:47:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:47:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:47:22 ========================================================= 09:47:22 EdgeX Global Pipelines Version Info 09:47:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:47:22 ------------------- 09:47:22 stable info: 09:47:22 ------------------- 09:47:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:47:22 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 09:47:22 Message: update stable to v1.0.238 09:47:23 ------------------- 09:47:23 experimental info: 09:47:23 ------------------- 09:47:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:47:23 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 09:47:23 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45e704b [Pipeline] echo 09:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:47:24 provisioning config files... 09:47:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1657556919540399045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:24 ---> docker-login.sh 09:47:24 nexus3.edgexfoundry.org:10001 09:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 nexus3.edgexfoundry.org:10002 09:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 nexus3.edgexfoundry.org:10003 09:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 nexus3.edgexfoundry.org:10004 09:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 docker.io 09:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 ---> docker-login.sh ends [Pipeline] } 09:47:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:47:26 + git rev-list -1 --merges 45e704b8212ca39805298e898eb42b8dfe23ade0~1..45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo 09:47:26 -----------> git rev-list -1 --merges 45e704b8212ca39805298e898eb42b8dfe23ade0~1..45e704b8212ca39805298e898eb42b8dfe23ade0 45e704b8212ca39805298e898eb42b8dfe23ade0 [false] [Pipeline] sh 09:47:26 + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo 09:47:26 ========================================================= 09:47:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:47:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:47:27 + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo 09:47:27 [semverPrep] GIT_COMMIT: 45e704b8212ca39805298e898eb42b8dfe23ade0, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408) [Pipeline] echo 09:47:27 [semverPrep] This is not a build commit. [Pipeline] sh 09:47:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:47:27 + grep -v github /etc/ssh/ssh_known_hosts 09:47:27 + [ -e /tmp/ssh_known_hosts ] 09:47:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:47:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:47:27 + sudo tee -a /etc/ssh/ssh_known_hosts 09:47:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:27 09:47:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:28 0.1.4: Pulling from edgex-devops/py-git-semver 09:47:28 b85a868b505f: Pulling fs layer 09:47:28 e2be974225ed: Pulling fs layer 09:47:28 339a4e72a1f5: Pulling fs layer 09:47:28 988bab9f4d93: Pulling fs layer 09:47:28 1469e6f7b9e6: Pulling fs layer 09:47:28 eaf3925da568: Pulling fs layer 09:47:28 bab4dde63d76: Pulling fs layer 09:47:28 bde34c3a00c8: Pulling fs layer 09:47:28 b352a97aabf1: Pulling fs layer 09:47:28 4872d77fe225: Pulling fs layer 09:47:28 5851b861e8e6: Pulling fs layer 09:47:28 bab4dde63d76: Waiting 09:47:28 4872d77fe225: Waiting 09:47:28 5851b861e8e6: Waiting 09:47:28 b352a97aabf1: Waiting 09:47:28 988bab9f4d93: Waiting 09:47:28 1469e6f7b9e6: Waiting 09:47:28 e2be974225ed: Verifying Checksum 09:47:28 e2be974225ed: Download complete 09:47:28 988bab9f4d93: Verifying Checksum 09:47:28 988bab9f4d93: Download complete 09:47:28 1469e6f7b9e6: Verifying Checksum 09:47:28 1469e6f7b9e6: Download complete 09:47:28 eaf3925da568: Verifying Checksum 09:47:28 eaf3925da568: Download complete 09:47:28 339a4e72a1f5: Verifying Checksum 09:47:28 339a4e72a1f5: Download complete 09:47:28 bde34c3a00c8: Download complete 09:47:28 b352a97aabf1: Download complete 09:47:28 4872d77fe225: Download complete 09:47:28 5851b861e8e6: Verifying Checksum 09:47:28 5851b861e8e6: Download complete 09:47:28 b85a868b505f: Verifying Checksum 09:47:28 b85a868b505f: Download complete 09:47:28 bab4dde63d76: Verifying Checksum 09:47:28 bab4dde63d76: Download complete 09:47:30 b85a868b505f: Pull complete 09:47:30 e2be974225ed: Pull complete 09:47:30 339a4e72a1f5: Pull complete 09:47:30 988bab9f4d93: Pull complete 09:47:31 1469e6f7b9e6: Pull complete 09:47:31 eaf3925da568: Pull complete 09:47:33 bab4dde63d76: Pull complete 09:47:33 bde34c3a00c8: Pull complete 09:47:33 b352a97aabf1: Pull complete 09:47:33 4872d77fe225: Pull complete 09:47:33 5851b861e8e6: Pull complete 09:47:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:33 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:47:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:47:36 $ docker top 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b -eo pid,comm 09:47:36 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). 09:47:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:47:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:36 [ssh-agent] Looking for ssh-agent implementation... 09:47:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:36 $ docker exec 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent 09:47:36 SSH_AUTH_SOCK=/tmp/ssh-iwgvFcgojb5t/agent.32 09:47:36 SSH_AGENT_PID=38 09:47:36 Running ssh-add (command line suppressed) 09:47:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_860749511839649596.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_860749511839649596.key) 09:47:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:36 + git tag --points-at HEAD [Pipeline] } 09:47:36 $ docker exec --env ******** --env ******** 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent -k 09:47:36 unset SSH_AUTH_SOCK; 09:47:36 unset SSH_AGENT_PID; 09:47:36 echo Agent pid 38 killed; 09:47:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:47:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:37 [ssh-agent] Looking for ssh-agent implementation... 09:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:37 $ docker exec 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent 09:47:37 SSH_AUTH_SOCK=/tmp/ssh-aGqSBkllfYU1/agent.72 09:47:37 SSH_AGENT_PID=78 09:47:37 Running ssh-add (command line suppressed) 09:47:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3282995787573976639.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3282995787573976639.key) 09:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:37 + git semver init 09:47:37 2022-08-04 09:47:37,917 [run_init] DEBUG init version:0.0.0 force:False 09:47:37 2022-08-04 09:47:37,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:47:37 2022-08-04 09:47:37,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:47:37 2022-08-04 09:47:37,919 [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) 09:47:38 2022-08-04 09:47:38,668 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 09:47:38 2022-08-04 09:47:38,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 09:47:38 2022-08-04 09:47:38,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:47:38 2022-08-04 09:47:38,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:47:38 2.3.0-dev.13 [Pipeline] } 09:47:38 $ docker exec --env ******** --env ******** 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent -k 09:47:39 unset SSH_AUTH_SOCK; 09:47:39 unset SSH_AGENT_PID; 09:47:39 echo Agent pid 78 killed; 09:47:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:47:39 + git semver [Pipeline] } 09:47:39 $ docker stop --time=1 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b 09:47:41 $ docker rm -f 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b [Pipeline] // withDockerContainer [Pipeline] sh 09:47:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:47:41 Stashed 1 file(s) [Pipeline] echo 09:47:41 [edgeXSemver]: initialized semver on version 2.3.0-dev.13 [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 09:47:41 provisioning config files... 09:47:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3717210250168407518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:42 ---> docker-login.sh 09:47:42 nexus3.edgexfoundry.org:10001 09:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:42 Configure a credential helper to remove this warning. See 09:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:42 09:47:42 Login Succeeded 09:47:42 nexus3.edgexfoundry.org:10002 09:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:42 Configure a credential helper to remove this warning. See 09:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:42 09:47:42 Login Succeeded 09:47:42 nexus3.edgexfoundry.org:10003 09:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:42 Configure a credential helper to remove this warning. See 09:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:42 09:47:42 Login Succeeded 09:47:42 nexus3.edgexfoundry.org:10004 09:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:42 Configure a credential helper to remove this warning. See 09:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:42 09:47:42 Login Succeeded 09:47:42 docker.io 09:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:42 Configure a credential helper to remove this warning. See 09:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:42 09:47:42 Login Succeeded 09:47:42 ---> docker-login.sh ends [Pipeline] } 09:47:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:42 ========================================================= 09:47:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:47:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:43 + 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 . 09:47:43 Sending build context to Docker daemon 6.073MB 09:47:43 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:47:43 Step 2/12 : FROM ${BASE} AS builder 09:47:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:47:43 2408cc74d12b: Pulling fs layer 09:47:43 ea60b727a1ce: Pulling fs layer 09:47:43 30c4a7721957: Pulling fs layer 09:47:43 370296b7ddb6: Pulling fs layer 09:47:43 7c6cee850709: Pulling fs layer 09:47:43 39a5fcdaea64: Pulling fs layer 09:47:43 d94ebbe4e438: Pulling fs layer 09:47:43 bcfd1f05c69d: Pulling fs layer 09:47:43 59ccb84bbe0f: Pulling fs layer 09:47:43 370296b7ddb6: Waiting 09:47:43 7c6cee850709: Waiting 09:47:43 39a5fcdaea64: Waiting 09:47:43 d94ebbe4e438: Waiting 09:47:43 bcfd1f05c69d: Waiting 09:47:43 59ccb84bbe0f: Waiting 09:47:43 30c4a7721957: Download complete 09:47:43 ea60b727a1ce: Verifying Checksum 09:47:43 ea60b727a1ce: Download complete 09:47:43 7c6cee850709: Verifying Checksum 09:47:43 7c6cee850709: Download complete 09:47:43 2408cc74d12b: Download complete 09:47:43 39a5fcdaea64: Verifying Checksum 09:47:43 39a5fcdaea64: Download complete 09:47:43 d94ebbe4e438: Verifying Checksum 09:47:43 d94ebbe4e438: Download complete 09:47:43 2408cc74d12b: Pull complete 09:47:43 ea60b727a1ce: Pull complete 09:47:43 30c4a7721957: Pull complete 09:47:43 59ccb84bbe0f: Verifying Checksum 09:47:43 59ccb84bbe0f: Download complete 09:47:44 bcfd1f05c69d: Verifying Checksum 09:47:44 bcfd1f05c69d: Download complete 09:47:44 370296b7ddb6: Verifying Checksum 09:47:44 370296b7ddb6: Download complete 09:47:48 370296b7ddb6: Pull complete 09:47:48 7c6cee850709: Pull complete 09:47:48 39a5fcdaea64: Pull complete 09:47:48 d94ebbe4e438: Pull complete 09:47:51 bcfd1f05c69d: Pull complete 09:47:51 59ccb84bbe0f: Pull complete 09:47:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:47:51 ---> a4fb48ad2a94 09:47:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:47:56 ---> Running in b5a09318d7b7 09:47:56 Removing intermediate container b5a09318d7b7 09:47:56 ---> 28ee8e1bf7e3 09:47:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:47:56 ---> Running in 7033b751b9ed 09:47:56 Removing intermediate container 7033b751b9ed 09:47:56 ---> 100b1d1dbbd1 09:47:56 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:47:56 ---> Running in 18f3a7c6f3e9 09:47:56 Removing intermediate container 18f3a7c6f3e9 09:47:56 ---> 5784ce452974 09:47:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:47:56 ---> Running in 8ad3320c16cd 09:47:56 Still waiting to schedule task 09:47:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:47:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:47:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:47:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:47:58 (2/4) Installing libedit (20210910.3.1-r0) 09:47:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:47:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:47:58 Executing busybox-1.35.0-r13.trigger 09:47:58 OK: 216 MiB in 55 packages 09:47:59 Removing intermediate container 8ad3320c16cd 09:47:59 ---> a68c7e76aff1 09:47:59 Step 7/12 : WORKDIR /device-mqtt-go 09:47:59 ---> Running in 1adfdccf3a2c 09:47:59 Removing intermediate container 1adfdccf3a2c 09:47:59 ---> da8a80f596e1 09:47:59 Step 8/12 : COPY go.mod vendor* ./ 09:47:59 ---> ba0d7b327f10 09:47:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:59 ---> Running in 81848983451d 09:48:21 Removing intermediate container 81848983451d 09:48:21 ---> 914f2dca9e85 09:48:21 Step 10/12 : COPY . . 09:48:21 ---> 03fb72955ca2 09:48:21 Step 11/12 : ARG MAKE='make build' 09:48:21 ---> Running in 7cb52457c7c5 09:48:21 Removing intermediate container 7cb52457c7c5 09:48:21 ---> 9e4f785edba2 09:48:21 Step 12/12 : RUN $MAKE 09:48:21 ---> Running in 98328061e859 09:48:21 noop 09:48:22 Removing intermediate container 98328061e859 09:48:22 ---> bec27321c7a6 09:48:22 Successfully built bec27321c7a6 09:48:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:22 + docker inspect -f . ci-base-image-x86_64 09:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:22 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:48:22 $ 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 ******** ci-base-image-x86_64 cat 09:48:23 $ docker top e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:23 + go version 09:48:23 go version go1.18.3 linux/amd64 [Pipeline] } 09:48:23 $ docker stop --time=1 e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 09:48:24 $ docker rm -f e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:25 + docker inspect -f . ci-base-image-x86_64 09:48:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:25 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:48:25 $ 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 ******** ci-base-image-x86_64 cat 09:48:25 $ docker top 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 09:48:26 + make test 09:48:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:48:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:48:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:48:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 09:48:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:48:46 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." 09:48:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:48:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:48:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:48:48 ./bin/test-attribution-txt.sh 09:48:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:48:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:48:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:48:48 $ docker stop --time=1 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 09:48:51 $ docker rm -f 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 [Pipeline] // withDockerContainer [Pipeline] sh 09:48:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:48:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:52 + ls -al . 09:48:52 total 180 09:48:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 09:48 . 09:48:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:47 .. 09:48:52 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 09:47 .dockerignore 09:48:52 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:48 .git 09:48:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 .github 09:48:52 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 09:47 .gitignore 09:48:52 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:47 .golangci.yml 09:48:52 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:47 .semver 09:48:52 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 09:47 Attribution.txt 09:48:52 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 09:47 CHANGELOG.md 09:48:52 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 09:47 Dockerfile 09:48:52 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:47 GOVERNANCE.md 09:48:52 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 09:47 Jenkinsfile 09:48:52 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:47 LICENSE 09:48:52 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 09:47 Makefile 09:48:52 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 09:47 OWNERS.md 09:48:52 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 09:47 README.md 09:48:52 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 09:47 VERSION 09:48:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:47 bin 09:48:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 cmd 09:48:52 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 09:48 coverage.out 09:48:52 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 09:47 go.mod 09:48:52 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 09:47 go.sum 09:48:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 internal 09:48:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:47 mock 09:48:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:47 snap 09:48:52 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:52 + 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=45e704b8212ca39805298e898eb42b8dfe23ade0 --label arch=amd64 --label version=2.3.0-dev.13 . 09:48:52 Sending build context to Docker daemon 6.091MB 09:48:52 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:48:52 Step 2/24 : FROM ${BASE} AS builder 09:48:52 ---> bec27321c7a6 09:48:52 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:48:53 ---> Running in 7beda1b81beb 09:48:53 Removing intermediate container 7beda1b81beb 09:48:53 ---> ed04ab018670 09:48:53 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:48:53 ---> Running in 2865b7386d81 09:48:53 Removing intermediate container 2865b7386d81 09:48:53 ---> 062582381445 09:48:53 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:53 ---> Running in e4700201d742 09:48:53 Removing intermediate container e4700201d742 09:48:53 ---> 8785f51e0029 09:48:53 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:48:53 ---> Running in 67340d0c534f 09:48:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:48:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:48:55 OK: 216 MiB in 55 packages 09:48:55 Removing intermediate container 67340d0c534f 09:48:55 ---> 0567c2a1aab0 09:48:55 Step 7/24 : WORKDIR /device-mqtt-go 09:48:55 ---> Running in 07951b141a4c 09:48:55 Removing intermediate container 07951b141a4c 09:48:55 ---> 785d68b99c2d 09:48:55 Step 8/24 : COPY go.mod vendor* ./ 09:48:55 ---> 8fca180b7a2b 09:48:55 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:48:55 ---> Running in cae466300586 09:48:56 Removing intermediate container cae466300586 09:48:56 ---> b1e16900aaac 09:48:56 Step 10/24 : COPY . . 09:48:56 ---> 20f952f84320 09:48:56 Step 11/24 : ARG MAKE='make build' 09:48:56 ---> Running in f01b1cb48628 09:48:56 Removing intermediate container f01b1cb48628 09:48:56 ---> 3fe9903785c9 09:48:56 Step 12/24 : RUN $MAKE 09:48:56 ---> Running in 4c562a53457f 09:48:57 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:49:23 Removing intermediate container 4c562a53457f 09:49:23 ---> 65575ed0e282 09:49:23 Step 13/24 : FROM alpine:3.16 09:49:23 3.16: Pulling from library/alpine 09:49:23 530afca65e2e: Pulling fs layer 09:49:23 530afca65e2e: Verifying Checksum 09:49:23 530afca65e2e: Download complete 09:49:23 530afca65e2e: Pull complete 09:49:23 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 09:49:23 Status: Downloaded newer image for alpine:3.16 09:49:23 ---> d7d3d98c851f 09:49:23 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:49:23 ---> Running in 0c595adeb4c0 09:49:23 Removing intermediate container 0c595adeb4c0 09:49:23 ---> 5c3932acb956 09:49:23 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:49:23 ---> Running in 7cf4befe4e52 09:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:49:24 (1/6) Installing dumb-init (1.2.5-r1) 09:49:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:49:24 (3/6) Installing libsodium (1.0.18-r0) 09:49:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:49:24 (5/6) Installing libzmq (4.3.4-r0) 09:49:24 (6/6) Installing zeromq (4.3.4-r0) 09:49:24 Executing busybox-1.35.0-r15.trigger 09:49:24 OK: 8 MiB in 20 packages 09:49:25 Removing intermediate container 7cf4befe4e52 09:49:25 ---> a43839b639cc 09:49:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:49:25 ---> eccb960e6cd8 09:49:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:49:25 ---> e8be3857f352 09:49:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:49:26 ---> 1802af8d4ad4 09:49:26 Step 19/24 : EXPOSE 59982 09:49:26 ---> Running in dd060bff518d 09:49:26 Removing intermediate container dd060bff518d 09:49:26 ---> d4a9281f2fac 09:49:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:49:26 ---> Running in 96e204315b84 09:49:26 Removing intermediate container 96e204315b84 09:49:26 ---> 51db32b0744b 09:49:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:49:26 ---> Running in 596928663f35 09:49:27 Removing intermediate container 596928663f35 09:49:27 ---> 7ca147827615 09:49:27 Step 22/24 : LABEL arch=amd64 09:49:27 ---> Running in 1594eb4c67eb 09:49:27 Removing intermediate container 1594eb4c67eb 09:49:27 ---> 4c1c5fc74a28 09:49:27 Step 23/24 : LABEL git_sha=45e704b8212ca39805298e898eb42b8dfe23ade0 09:49:27 ---> Running in e18deebd61f3 09:49:27 Removing intermediate container e18deebd61f3 09:49:27 ---> e514c9ca134f 09:49:27 Step 24/24 : LABEL version=2.3.0-dev.13 09:49:27 ---> Running in d6793f6f9fed 09:49:28 Removing intermediate container d6793f6f9fed 09:49:28 ---> 9e1e6219ca0d 09:49:28 [Warning] One or more build-args [ARCH] were not consumed 09:49:28 Successfully built 9e1e6219ca0d 09:49:28 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:49:28 provisioning config files... 09:49:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8889318783920192928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:28 ---> docker-login.sh 09:49:28 nexus3.edgexfoundry.org:10001 09:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:28 Configure a credential helper to remove this warning. See 09:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:28 09:49:28 Login Succeeded 09:49:28 nexus3.edgexfoundry.org:10002 09:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:28 Configure a credential helper to remove this warning. See 09:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:28 09:49:28 Login Succeeded 09:49:28 nexus3.edgexfoundry.org:10003 09:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:28 Configure a credential helper to remove this warning. See 09:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:28 09:49:28 Login Succeeded 09:49:28 nexus3.edgexfoundry.org:10004 09:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:29 Configure a credential helper to remove this warning. See 09:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:29 09:49:29 Login Succeeded 09:49:29 docker.io 09:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:29 Configure a credential helper to remove this warning. See 09:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:29 09:49:29 Login Succeeded 09:49:29 ---> docker-login.sh ends [Pipeline] } 09:49:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:29 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 09:49:29 45e704b8212ca39805298e898eb42b8dfe23ade0 09:49:29 latest 09:49:29 2.3.0-dev.13 09:49:29 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:49:29 main 09:49:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 09:49:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:49:30 faf9ecdd2c20: Preparing 09:49:30 ed6fb488acb9: Preparing 09:49:30 005e94b46ded: Preparing 09:49:30 be607a9f3483: Preparing 09:49:30 ec34fcc1d526: Preparing 09:49:30 ec34fcc1d526: Layer already exists 09:49:30 ed6fb488acb9: Pushed 09:49:30 faf9ecdd2c20: Pushed 09:49:30 be607a9f3483: Pushed 09:49:32 005e94b46ded: Pushed 09:49:33 45e704b8212ca39805298e898eb42b8dfe23ade0: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:49:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:49:33 faf9ecdd2c20: Preparing 09:49:33 ed6fb488acb9: Preparing 09:49:33 005e94b46ded: Preparing 09:49:33 be607a9f3483: Preparing 09:49:33 ec34fcc1d526: Preparing 09:49:33 be607a9f3483: Layer already exists 09:49:33 005e94b46ded: Layer already exists 09:49:33 ec34fcc1d526: Layer already exists 09:49:33 ed6fb488acb9: Layer already exists 09:49:33 faf9ecdd2c20: Layer already exists 09:49:33 latest: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 09:49:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:49:34 faf9ecdd2c20: Preparing 09:49:34 ed6fb488acb9: Preparing 09:49:34 005e94b46ded: Preparing 09:49:34 be607a9f3483: Preparing 09:49:34 ec34fcc1d526: Preparing 09:49:34 005e94b46ded: Layer already exists 09:49:34 faf9ecdd2c20: Layer already exists 09:49:34 ed6fb488acb9: Layer already exists 09:49:34 be607a9f3483: Layer already exists 09:49:34 ec34fcc1d526: Layer already exists 09:49:34 2.3.0-dev.13: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:49:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:49:35 faf9ecdd2c20: Preparing 09:49:35 ed6fb488acb9: Preparing 09:49:35 005e94b46ded: Preparing 09:49:35 be607a9f3483: Preparing 09:49:35 ec34fcc1d526: Preparing 09:49:35 faf9ecdd2c20: Layer already exists 09:49:35 ed6fb488acb9: Layer already exists 09:49:35 005e94b46ded: Layer already exists 09:49:35 be607a9f3483: Layer already exists 09:49:35 ec34fcc1d526: Layer already exists 09:49:35 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 09:49:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:49:35 faf9ecdd2c20: Preparing 09:49:35 ed6fb488acb9: Preparing 09:49:35 005e94b46ded: Preparing 09:49:35 be607a9f3483: Preparing 09:49:35 ec34fcc1d526: Preparing 09:49:35 ec34fcc1d526: Layer already exists 09:49:35 005e94b46ded: Layer already exists 09:49:35 faf9ecdd2c20: Layer already exists 09:49:35 be607a9f3483: Layer already exists 09:49:35 ed6fb488acb9: Layer already exists 09:49:35 main: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:35 ===================================================== [Pipeline] echo 09:49:35 taggedImages: 09:49:35 - nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 09:49:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:49:35 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 09:49:35 - nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:49:35 - 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 09:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:36 09:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:36 latest: Pulling from edgex-lftools-log-publisher 09:49:36 5eb5b503b376: Pulling fs layer 09:49:36 5c69ac0246d0: Pulling fs layer 09:49:36 ec43610c2a17: Pulling fs layer 09:49:36 3a2ae6a8a46f: Pulling fs layer 09:49:36 33b1e0a273af: Pulling fs layer 09:49:36 5d3b04190fa2: Pulling fs layer 09:49:36 2f39f015ded8: Pulling fs layer 09:49:36 3a2ae6a8a46f: Waiting 09:49:36 33b1e0a273af: Waiting 09:49:36 5d3b04190fa2: Waiting 09:49:36 2f39f015ded8: Waiting 09:49:36 5c69ac0246d0: Download complete 09:49:36 3a2ae6a8a46f: Verifying Checksum 09:49:36 3a2ae6a8a46f: Download complete 09:49:36 33b1e0a273af: Verifying Checksum 09:49:36 33b1e0a273af: Download complete 09:49:36 5d3b04190fa2: Verifying Checksum 09:49:36 5d3b04190fa2: Download complete 09:49:36 ec43610c2a17: Verifying Checksum 09:49:36 ec43610c2a17: Download complete 09:49:36 5eb5b503b376: Download complete 09:49:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21928 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 09:49:36 Running in /w/workspace/device-mqtt-go/60 [Pipeline] { [Pipeline] checkout 09:49:36 Selected Git installation does not exist. Using Default 09:49:36 The recommended git tool is: NONE 09:49:37 2f39f015ded8: Download complete 09:49:38 5eb5b503b376: Pull complete 09:49:38 5c69ac0246d0: Pull complete 09:49:38 ec43610c2a17: Pull complete 09:49:38 3a2ae6a8a46f: Pull complete 09:49:39 33b1e0a273af: Pull complete 09:49:39 5d3b04190fa2: Pull complete 09:49:43 using credential edgex-jenkins-ssh 09:49:43 Cloning the remote Git repository 09:49:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:49:43 > git init /w/workspace/device-mqtt-go/60 # timeout=10 09:49:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:49:44 > git --version # timeout=10 09:49:44 > git --version # 'git version 2.25.1' 09:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:49:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:44 2f39f015ded8: Pull complete 09:49:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:49:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:44 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:49:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:49:45 Avoid second fetch 09:49:45 Checking out Revision 45e704b8212ca39805298e898eb42b8dfe23ade0 (main) 09:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:49:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:45 > git config core.sparsecheckout # timeout=10 09:49:45 > git checkout -f 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 09:49:49 $ docker top 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:49 ---> job-cost.sh 09:49:49 lf-activate-venv: SKIPPING 09:49:49 INFO: No Stack... 09:49:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:49:49 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408)" 09:49:50 09:49:50 GitHub has been notified of this commit’s build result 09:49:50 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 09:49:50 INFO: Archiving Costs [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:50 + + cut -d, -f6 09:49:50 cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 09:49:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] 09:49:50 Resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] did not exist. Created. 09:49:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:49:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:49:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:49:50 Dload Upload Total Spent Left Speed 09:49:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88085 0 --:--:-- --:--:-- --:--:-- 88085 09:49:50 + echo total: 0.2199999988079071 [Pipeline] stash 09:49:50 Stashed 1 file(s) [Pipeline] } 09:49:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 09:49:50 $ docker stop --time=1 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 09:49:52 $ docker rm -f 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:49:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:49:52 + sudo tee /etc/docker/daemon.new 09:49:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:49:52 { 09:49:52 "registry-mirrors": [ 09:49:52 "https://nexus3.edgexfoundry.org:10001" 09:49:52 ], 09:49:52 "bip": "10.250.0.254/24", 09:49:52 "hosts": [ 09:49:52 "tcp://0.0.0.0:5555", 09:49:52 "unix:///var/run/docker.sock" 09:49:52 ], 09:49:52 "mtu": 1458, 09:49:52 "selinux-enabled": true, 09:49:52 "seccomp-profile": "/etc/docker/seccomp.json" 09:49:52 } [Pipeline] sh 09:49:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:49:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:50:11 provisioning config files... 09:50:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/60@tmp/config5487207453287593055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:12 ---> docker-login.sh 09:50:12 nexus3.edgexfoundry.org:10001 09:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:13 Configure a credential helper to remove this warning. See 09:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:13 09:50:13 Login Succeeded 09:50:13 nexus3.edgexfoundry.org:10002 09:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:13 Configure a credential helper to remove this warning. See 09:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:13 09:50:13 Login Succeeded 09:50:13 nexus3.edgexfoundry.org:10003 09:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:14 Configure a credential helper to remove this warning. See 09:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:14 09:50:14 Login Succeeded 09:50:14 nexus3.edgexfoundry.org:10004 09:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:14 Configure a credential helper to remove this warning. See 09:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:14 09:50:14 Login Succeeded 09:50:14 docker.io 09:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:15 Configure a credential helper to remove this warning. See 09:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:15 09:50:15 Login Succeeded 09:50:15 ---> docker-login.sh ends [Pipeline] } 09:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:16 ========================================================= 09:50:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:50:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:16 + 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 . 09:50:16 Sending build context to Docker daemon 3.135MB 09:50:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:50:16 Step 2/12 : FROM ${BASE} AS builder 09:50:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:50:17 b3c136eddcbf: Pulling fs layer 09:50:17 c0a3192eca97: Pulling fs layer 09:50:17 a050256f5b6f: Pulling fs layer 09:50:17 656be50a0ddc: Pulling fs layer 09:50:17 2bbca73fdf42: Pulling fs layer 09:50:17 46d945488cbd: Pulling fs layer 09:50:17 8a5474983e97: Pulling fs layer 09:50:17 329c88fbcd65: Pulling fs layer 09:50:17 656be50a0ddc: Waiting 09:50:17 46d945488cbd: Waiting 09:50:17 2bbca73fdf42: Waiting 09:50:17 329c88fbcd65: Waiting 09:50:17 8a5474983e97: Waiting 09:50:17 a050256f5b6f: Download complete 09:50:17 c0a3192eca97: Download complete 09:50:17 2bbca73fdf42: Verifying Checksum 09:50:17 2bbca73fdf42: Download complete 09:50:17 46d945488cbd: Verifying Checksum 09:50:17 46d945488cbd: Download complete 09:50:17 b3c136eddcbf: Verifying Checksum 09:50:17 b3c136eddcbf: Download complete 09:50:18 b3c136eddcbf: Pull complete 09:50:18 329c88fbcd65: Verifying Checksum 09:50:18 329c88fbcd65: Download complete 09:50:18 c0a3192eca97: Pull complete 09:50:18 a050256f5b6f: Pull complete 09:50:19 8a5474983e97: Verifying Checksum 09:50:19 8a5474983e97: Download complete 09:50:19 656be50a0ddc: Verifying Checksum 09:50:19 656be50a0ddc: Download complete 09:50:34 656be50a0ddc: Pull complete 09:50:34 2bbca73fdf42: Pull complete 09:50:34 46d945488cbd: Pull complete 09:50:39 8a5474983e97: Pull complete 09:50:41 329c88fbcd65: Pull complete 09:50:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:50:41 ---> ff4287adb874 09:50:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:50:42 ---> Running in 580e742f338b 09:50:42 Removing intermediate container 580e742f338b 09:50:42 ---> ad8d2b100e33 09:50:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:50:42 ---> Running in 58f4cf9accf3 09:50:43 Removing intermediate container 58f4cf9accf3 09:50:43 ---> 9d9aa3214f74 09:50:43 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:43 ---> Running in 727e7f19e173 09:50:45 Removing intermediate container 727e7f19e173 09:50:45 ---> 68cdefede8bd 09:50:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:45 ---> Running in ddbe2a9a66c3 09:50:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:50:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:50:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:50:48 (2/4) Installing libedit (20210910.3.1-r0) 09:50:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:50:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:50:48 Executing busybox-1.35.0-r13.trigger 09:50:48 OK: 226 MiB in 55 packages 09:50:49 Removing intermediate container ddbe2a9a66c3 09:50:49 ---> 45121b197aea 09:50:49 Step 7/12 : WORKDIR /device-mqtt-go 09:50:49 ---> Running in 75c9b9fb9f02 09:50:50 Removing intermediate container 75c9b9fb9f02 09:50:50 ---> 84e45c38836a 09:50:50 Step 8/12 : COPY go.mod vendor* ./ 09:50:50 ---> 9f3be3cb053b 09:50:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:50 ---> Running in 8e18de75ccbf 09:51:37 Removing intermediate container 8e18de75ccbf 09:51:37 ---> 048b59bb5966 09:51:37 Step 10/12 : COPY . . 09:51:37 ---> 73fd620bd4ec 09:51:37 Step 11/12 : ARG MAKE='make build' 09:51:37 ---> Running in e2456d05bc39 09:51:37 Removing intermediate container e2456d05bc39 09:51:37 ---> b92e80348dfd 09:51:37 Step 12/12 : RUN $MAKE 09:51:38 ---> Running in 8d9ebf6c96b9 09:51:39 noop 09:51:39 Removing intermediate container 8d9ebf6c96b9 09:51:39 ---> dc2fe0cc00e7 09:51:39 Successfully built dc2fe0cc00e7 09:51:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:40 + docker inspect -f . ci-base-image-arm64 09:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:40 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 09:51:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@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 09:51:41 $ docker top fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:42 + go version 09:51:42 go version go1.18.3 linux/arm64 [Pipeline] } 09:51:42 $ docker stop --time=1 fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e 09:51:44 $ docker rm -f fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:44 + docker inspect -f . ci-base-image-arm64 09:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:45 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 09:51:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@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 09:51:46 $ docker top 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:47 + git config --global --add safe.directory /w/workspace/device-mqtt-go/60 [Pipeline] fileExists [Pipeline] sh 09:51:48 + make test 09:51:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:51:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:53:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:53:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements 09:53:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:53:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:53:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:53:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:53:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:53:29 ./bin/test-attribution-txt.sh 09:53:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:53:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:53:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:53:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:53:29 $ docker stop --time=1 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 09:53:31 $ docker rm -f 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 [Pipeline] // withDockerContainer [Pipeline] sh 09:53:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:53:32 Warning: overwriting stash ‘coverage-report’ 09:53:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:53:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:53:33 + ls -al . 09:53:33 total 176 09:53:33 drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 09:51 . 09:53:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:49 .. 09:53:33 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 09:49 .dockerignore 09:53:33 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:49 .git 09:53:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 .github 09:53:33 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 09:49 .gitignore 09:53:33 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:49 .golangci.yml 09:53:33 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 09:49 Attribution.txt 09:53:33 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 09:49 CHANGELOG.md 09:53:33 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 09:49 Dockerfile 09:53:33 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:49 GOVERNANCE.md 09:53:33 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 09:49 Jenkinsfile 09:53:33 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:49 LICENSE 09:53:33 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 09:49 Makefile 09:53:33 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 09:49 OWNERS.md 09:53:33 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 09:49 README.md 09:53:33 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 09:47 VERSION 09:53:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:49 bin 09:53:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 cmd 09:53:33 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 09:53 coverage.out 09:53:33 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 09:49 go.mod 09:53:33 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 09:49 go.sum 09:53:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 internal 09:53:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:49 mock 09:53:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:49 snap 09:53:33 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 09:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:34 + 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=45e704b8212ca39805298e898eb42b8dfe23ade0 --label arch=arm64 --label version=2.3.0-dev.13 . 09:53:34 Sending build context to Docker daemon 3.153MB 09:53:34 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:53:34 Step 2/24 : FROM ${BASE} AS builder 09:53:34 ---> dc2fe0cc00e7 09:53:34 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:53:34 ---> Running in ad71496af7e4 09:53:34 Removing intermediate container ad71496af7e4 09:53:34 ---> 0c47529570a1 09:53:34 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:53:34 ---> Running in 1b72160b3e2e 09:53:35 Removing intermediate container 1b72160b3e2e 09:53:35 ---> 766caca14963 09:53:35 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:53:35 ---> Running in c3066bed79ff 09:53:36 Removing intermediate container c3066bed79ff 09:53:36 ---> 22ccc4aae54c 09:53:36 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:53:36 ---> Running in a4c3b8912973 09:53:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:53:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:53:39 OK: 226 MiB in 55 packages 09:53:40 Removing intermediate container a4c3b8912973 09:53:40 ---> 36c848275213 09:53:40 Step 7/24 : WORKDIR /device-mqtt-go 09:53:40 ---> Running in c2b409fa13bd 09:53:40 Removing intermediate container c2b409fa13bd 09:53:40 ---> 4ba393f0563f 09:53:40 Step 8/24 : COPY go.mod vendor* ./ 09:53:41 ---> 04ebdf5626c1 09:53:41 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:53:41 ---> Running in 2670d9536f00 09:53:43 Removing intermediate container 2670d9536f00 09:53:43 ---> 88d81af4cbcb 09:53:43 Step 10/24 : COPY . . 09:53:44 ---> 93f230432c95 09:53:44 Step 11/24 : ARG MAKE='make build' 09:53:44 ---> Running in 22ed7224a24c 09:53:44 Removing intermediate container 22ed7224a24c 09:53:44 ---> ebe4a818fca7 09:53:44 Step 12/24 : RUN $MAKE 09:53:44 ---> Running in 18905b1665b6 09:53:45 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:55:52 Removing intermediate container 18905b1665b6 09:55:52 ---> 31b213c597ed 09:55:52 Step 13/24 : FROM alpine:3.16 09:55:52 3.16: Pulling from library/alpine 09:55:52 f97344484467: Pulling fs layer 09:55:52 f97344484467: Verifying Checksum 09:55:52 f97344484467: Download complete 09:55:52 f97344484467: Pull complete 09:55:52 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 09:55:52 Status: Downloaded newer image for alpine:3.16 09:55:52 ---> 3d81c46cd875 09:55:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:55:52 ---> Running in 866747839d95 09:55:52 Removing intermediate container 866747839d95 09:55:52 ---> e8bc08980e94 09:55:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:55:52 ---> Running in be53ea296bbf 09:55:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:55:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:55:52 (1/6) Installing dumb-init (1.2.5-r1) 09:55:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:55:52 (3/6) Installing libsodium (1.0.18-r0) 09:55:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:55:52 (5/6) Installing libzmq (4.3.4-r0) 09:55:52 (6/6) Installing zeromq (4.3.4-r0) 09:55:52 Executing busybox-1.35.0-r15.trigger 09:55:52 OK: 8 MiB in 20 packages 09:55:52 Removing intermediate container be53ea296bbf 09:55:52 ---> b63d9c72a348 09:55:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:55:52 ---> cdd83be19162 09:55:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:55:52 ---> dc54c1f61613 09:55:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:55:52 ---> ca9e906f2616 09:55:52 Step 19/24 : EXPOSE 59982 09:55:52 ---> Running in c308246be509 09:55:52 Removing intermediate container c308246be509 09:55:52 ---> f4a3c2f77dd6 09:55:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:55:52 ---> Running in a0cf0405c8f9 09:55:53 Removing intermediate container a0cf0405c8f9 09:55:53 ---> 65549ca3ef31 09:55:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:55:53 ---> Running in 97ccaa8ca5f5 09:55:53 Removing intermediate container 97ccaa8ca5f5 09:55:53 ---> 0113ef8b61f7 09:55:53 Step 22/24 : LABEL arch=arm64 09:55:53 ---> Running in 7580ba75c215 09:55:54 Removing intermediate container 7580ba75c215 09:55:54 ---> 83cfa9ff53fa 09:55:54 Step 23/24 : LABEL git_sha=45e704b8212ca39805298e898eb42b8dfe23ade0 09:55:54 ---> Running in 431b63a4575a 09:55:54 Removing intermediate container 431b63a4575a 09:55:54 ---> b9abf1d020a9 09:55:54 Step 24/24 : LABEL version=2.3.0-dev.13 09:55:54 ---> Running in 8e062483d679 09:55:54 Removing intermediate container 8e062483d679 09:55:54 ---> e9f2322becd2 09:55:54 [Warning] One or more build-args [ARCH] were not consumed 09:55:54 Successfully built e9f2322becd2 09:55:54 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 09:55:54 provisioning config files... 09:55:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/60@tmp/config1949086345104364447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:55 ---> docker-login.sh 09:55:55 nexus3.edgexfoundry.org:10001 09:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:55 Configure a credential helper to remove this warning. See 09:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:55 09:55:55 Login Succeeded 09:55:55 nexus3.edgexfoundry.org:10002 09:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:56 Configure a credential helper to remove this warning. See 09:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:56 09:55:56 Login Succeeded 09:55:56 nexus3.edgexfoundry.org:10003 09:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:56 Configure a credential helper to remove this warning. See 09:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:56 09:55:56 Login Succeeded 09:55:56 nexus3.edgexfoundry.org:10004 09:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:57 Configure a credential helper to remove this warning. See 09:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:57 09:55:57 Login Succeeded 09:55:57 docker.io 09:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:57 Configure a credential helper to remove this warning. See 09:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:57 09:55:57 Login Succeeded 09:55:57 ---> docker-login.sh ends [Pipeline] } 09:55:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:55:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:55:57 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 09:55:57 45e704b8212ca39805298e898eb42b8dfe23ade0 09:55:57 latest 09:55:57 2.3.0-dev.13 09:55:57 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:55:57 main 09:55:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 09:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:55:58 bc56b55497e5: Preparing 09:55:58 684a24582dd2: Preparing 09:55:58 e0cbcd8e78fa: Preparing 09:55:58 159baa52ce2d: Preparing 09:55:58 5b7df235d876: Preparing 09:55:58 5b7df235d876: Layer already exists 09:55:58 684a24582dd2: Pushed 09:55:58 bc56b55497e5: Pushed 09:55:59 159baa52ce2d: Pushed 09:56:04 e0cbcd8e78fa: Pushed 09:56:04 45e704b8212ca39805298e898eb42b8dfe23ade0: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:56:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:56:05 bc56b55497e5: Preparing 09:56:05 684a24582dd2: Preparing 09:56:05 e0cbcd8e78fa: Preparing 09:56:05 159baa52ce2d: Preparing 09:56:05 5b7df235d876: Preparing 09:56:05 159baa52ce2d: Layer already exists 09:56:05 5b7df235d876: Layer already exists 09:56:05 e0cbcd8e78fa: Layer already exists 09:56:05 bc56b55497e5: Layer already exists 09:56:05 684a24582dd2: Layer already exists 09:56:05 latest: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 09:56:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:56:06 bc56b55497e5: Preparing 09:56:06 684a24582dd2: Preparing 09:56:06 e0cbcd8e78fa: Preparing 09:56:06 159baa52ce2d: Preparing 09:56:06 5b7df235d876: Preparing 09:56:06 684a24582dd2: Layer already exists 09:56:06 bc56b55497e5: Layer already exists 09:56:06 5b7df235d876: Layer already exists 09:56:06 e0cbcd8e78fa: Layer already exists 09:56:06 159baa52ce2d: Layer already exists 09:56:07 2.3.0-dev.13: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:56:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:56:07 bc56b55497e5: Preparing 09:56:07 684a24582dd2: Preparing 09:56:07 e0cbcd8e78fa: Preparing 09:56:07 159baa52ce2d: Preparing 09:56:07 5b7df235d876: Preparing 09:56:07 5b7df235d876: Layer already exists 09:56:07 e0cbcd8e78fa: Layer already exists 09:56:07 bc56b55497e5: Layer already exists 09:56:07 684a24582dd2: Layer already exists 09:56:07 159baa52ce2d: Layer already exists 09:56:08 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 09:56:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:56:08 bc56b55497e5: Preparing 09:56:08 684a24582dd2: Preparing 09:56:08 e0cbcd8e78fa: Preparing 09:56:08 159baa52ce2d: Preparing 09:56:08 5b7df235d876: Preparing 09:56:08 e0cbcd8e78fa: Layer already exists 09:56:08 5b7df235d876: Layer already exists 09:56:08 159baa52ce2d: Layer already exists 09:56:08 bc56b55497e5: Layer already exists 09:56:08 684a24582dd2: Layer already exists 09:56:09 main: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:56:09 ===================================================== [Pipeline] echo 09:56:09 taggedImages: 09:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 09:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 09:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 09:56:09 - 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 09:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:09 09:56:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:10 arm64: Pulling from edgex-lftools-log-publisher 09:56:10 8998bd30e6a1: Pulling fs layer 09:56:10 04944245beec: Pulling fs layer 09:56:10 699f458cf7ca: Pulling fs layer 09:56:10 765212b225bb: Pulling fs layer 09:56:10 f23df028b6ca: Pulling fs layer 09:56:10 d65c8cfc05b1: Pulling fs layer 09:56:10 2437ff75d9bd: Pulling fs layer 09:56:10 765212b225bb: Waiting 09:56:10 f23df028b6ca: Waiting 09:56:10 d65c8cfc05b1: Waiting 09:56:10 2437ff75d9bd: Waiting 09:56:10 04944245beec: Verifying Checksum 09:56:10 04944245beec: Download complete 09:56:10 765212b225bb: Verifying Checksum 09:56:10 765212b225bb: Download complete 09:56:10 f23df028b6ca: Verifying Checksum 09:56:10 f23df028b6ca: Download complete 09:56:10 d65c8cfc05b1: Verifying Checksum 09:56:10 d65c8cfc05b1: Download complete 09:56:10 699f458cf7ca: Verifying Checksum 09:56:10 699f458cf7ca: Download complete 09:56:10 8998bd30e6a1: Verifying Checksum 09:56:10 8998bd30e6a1: Download complete 09:56:13 2437ff75d9bd: Verifying Checksum 09:56:13 2437ff75d9bd: Download complete 09:56:15 8998bd30e6a1: Pull complete 09:56:15 04944245beec: Pull complete 09:56:17 699f458cf7ca: Pull complete 09:56:17 765212b225bb: Pull complete 09:56:17 f23df028b6ca: Pull complete 09:56:18 d65c8cfc05b1: Pull complete 09:56:33 2437ff75d9bd: Pull complete 09:56:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:33 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 09:56:33 $ 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/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@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 09:56:35 $ docker top f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:36 ---> job-cost.sh 09:56:36 lf-activate-venv: SKIPPING 09:56:36 INFO: No Stack... 09:56:37 INFO: Retrieving Pricing Info for: v3-standard-4 09:56:38 INFO: Archiving Costs [Pipeline] sh 09:56:38 + cat /w/workspace/device-mqtt-go/60/archives/cost.csv 09:56:38 + cut -d, -f6 [Pipeline] lock 09:56:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] 09:56:38 Resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] did not exist. Created. 09:56:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:56:39 /w/workspace/device-mqtt-go/60@tmp/durable-b07b71c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:56:40 + echo total: 0.10999999940395355 [Pipeline] stash 09:56:40 Warning: overwriting stash ‘stack-cost’ 09:56:40 Stashed 1 file(s) [Pipeline] } 09:56:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 09:56:40 $ docker stop --time=1 f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a 09:56:41 $ docker rm -f f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a [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 09:56:42 provisioning config files... 09:56:42 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1574325278938330002tmp [Pipeline] { [Pipeline] sh 09:56:42 + set +x 09:56:42 + curl -s https://codecov.io/bash 09:56:42 + bash -s -- 09:56:42 09:56:42 _____ _ 09:56:42 / ____| | | 09:56:42 | | ___ __| | ___ ___ _____ __ 09:56:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:56:42 | |___| (_) | (_| | __/ (_| (_) \ V / 09:56:42 \_____\___/ \__,_|\___|\___\___/ \_/ 09:56:42 Bash-1.0.6 09:56:42 09:56:42 09:56:42 ==> git version 2.25.1 found 09:56:42 ==> 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 09:56:42 Release-Date: 2020-01-08 09:56:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:56:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:56:42 ==> Jenkins CI detected. 09:56:42 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 09:56:42 project root: . 09:56:42 --> token set from env 09:56:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:56:42 ==> Running gcov in . (disable via -X gcov) 09:56:42 ==> Python coveragepy not found 09:56:42 ==> Searching for coverage reports in: 09:56:42 + . 09:56:42 -> Found 1 reports 09:56:42 ==> Detecting git/mercurial file structure 09:56:42 ==> Reading reports 09:56:42 + ./coverage.out bytes=17887 09:56:42 ==> Appending adjustments 09:56:42 https://docs.codecov.io/docs/fixing-reports 09:56:42 + Found adjustments 09:56:42 ==> Gzipping contents 09:56:42 4.0K /tmp/codecov.gKtQmj.gz 09:56:42 ==> Uploading reports 09:56:42 url: https://codecov.io 09:56:42 query: branch=main&commit=45e704b8212ca39805298e898eb42b8dfe23ade0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:56:42 -> Pinging Codecov 09:56:42 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=45e704b8212ca39805298e898eb42b8dfe23ade0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:56:43 -> Uploading to 09:56:43 https://storage.googleapis.com/codecov/v4/raw/2022-08-04/7D719EC7BBE17E464838252E33014C33/45e704b8212ca39805298e898eb42b8dfe23ade0/97b23bcc-c0a5-4e23-8541-0a79238f7ad9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T095643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9bff60a6e4e4c44bff9205376d32a805e73a98f5cd8c3ed715d1df05b58f089 09:56:43 % Total % Received % Xferd Average Speed Time Time Time Current 09:56:43 Dload Upload Total Spent Left Speed 09:56:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3225 0 0 100 3225 0 11159 --:--:-- --:--:-- --:--:-- 11159 09:56:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } 09:56:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:56:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:56:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:44 09:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:56:44 df9b9388f04a: Pulling fs layer 09:56:44 52dc419b0ee2: Pulling fs layer 09:56:44 25bc292e5bac: Pulling fs layer 09:56:44 114826534d7a: Pulling fs layer 09:56:44 4657fd5d0bcf: Pulling fs layer 09:56:44 6ad1cebc031e: Pulling fs layer 09:56:44 8a3aa393b2d8: Pulling fs layer 09:56:44 114826534d7a: Waiting 09:56:44 8a3aa393b2d8: Waiting 09:56:44 4657fd5d0bcf: Waiting 09:56:44 6ad1cebc031e: Waiting 09:56:44 25bc292e5bac: Verifying Checksum 09:56:44 25bc292e5bac: Download complete 09:56:44 52dc419b0ee2: Download complete 09:56:44 4657fd5d0bcf: Verifying Checksum 09:56:44 4657fd5d0bcf: Download complete 09:56:44 df9b9388f04a: Download complete 09:56:44 6ad1cebc031e: Verifying Checksum 09:56:44 6ad1cebc031e: Download complete 09:56:44 df9b9388f04a: Pull complete 09:56:44 52dc419b0ee2: Pull complete 09:56:45 25bc292e5bac: Pull complete 09:56:45 114826534d7a: Verifying Checksum 09:56:45 114826534d7a: Download complete 09:56:45 8a3aa393b2d8: Verifying Checksum 09:56:45 8a3aa393b2d8: Download complete 09:56:49 114826534d7a: Pull complete 09:56:49 4657fd5d0bcf: Pull complete 09:56:49 6ad1cebc031e: Pull complete 09:56:54 8a3aa393b2d8: Pull complete 09:56:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:56:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:54 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:56:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:56:57 $ docker top b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe -eo pid,comm [Pipeline] { [Pipeline] echo 09:56:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 09:56:57 + set -o pipefail 09:56:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 09:57:03 09:57:03 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 09:57:03 09:57:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/70676dc0-3046-4f25-8977-90ec4feaef56 09:57:03 09:57:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:57:03 09:57:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:57:03 09:57:03 [Pipeline] } 09:57:03 $ docker stop --time=1 b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe 09:57:06 $ docker rm -f b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe [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 09:57:07 + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] sh 09:57:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:08 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:57:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:57:08 $ docker top 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:08 [ssh-agent] Looking for ssh-agent implementation... 09:57:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:08 $ docker exec 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c ssh-agent 09:57:09 SSH_AUTH_SOCK=/tmp/ssh-VOsagRtW3f3y/agent.33 09:57:09 SSH_AGENT_PID=39 09:57:09 Running ssh-add (command line suppressed) 09:57:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6520160323549801036.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6520160323549801036.key) 09:57:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:09 + git semver tag 09:57:09 2022-08-04 09:57:09,714 [run_tag] DEBUG tag force:False 09:57:09 2022-08-04 09:57:09,714 [check_head_tag] DEBUG check head tag 09:57:09 2022-08-04 09:57:09,715 [execute] INFO git cat-file --batch-check 09:57:09 2022-08-04 09:57:09,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:57:09 2022-08-04 09:57:09,719 [execute] INFO git cat-file --batch 09:57:09 2022-08-04 09:57:09,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:57:09 2022-08-04 09:57:09,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:09 2022-08-04 09:57:09,733 [execute] INFO git tag -a v2.3.0-dev.13 -m v2.3.0-dev.13 09:57:09 2022-08-04 09:57:09,733 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.13', '-m', 'v2.3.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 09:57:09 2022-08-04 09:57:09,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:09 2.3.0-dev.13 [Pipeline] } 09:57:09 $ docker exec --env ******** --env ******** 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c ssh-agent -k 09:57:09 unset SSH_AUTH_SOCK; 09:57:09 unset SSH_AGENT_PID; 09:57:09 echo Agent pid 39 killed; 09:57:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:10 + git semver [Pipeline] } 09:57:10 $ docker stop --time=1 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c 09:57:11 $ docker rm -f 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:12 09:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:12 0.23.1-centos7: Pulling from edgex-lftools 09:57:12 ab5ef0e58194: Pulling fs layer 09:57:12 9712f1f96733: Pulling fs layer 09:57:12 63f879dbbcfc: Pulling fs layer 09:57:12 0d9ebad4ef96: Pulling fs layer 09:57:12 e9a5061849ea: Pulling fs layer 09:57:12 d747dcd14b5f: Pulling fs layer 09:57:12 2de7ff778b66: Pulling fs layer 09:57:12 e9a5061849ea: Waiting 09:57:12 0d9ebad4ef96: Waiting 09:57:12 2de7ff778b66: Waiting 09:57:12 9712f1f96733: Verifying Checksum 09:57:12 9712f1f96733: Download complete 09:57:12 63f879dbbcfc: Verifying Checksum 09:57:12 63f879dbbcfc: Download complete 09:57:13 e9a5061849ea: Verifying Checksum 09:57:13 e9a5061849ea: Download complete 09:57:13 d747dcd14b5f: Download complete 09:57:13 ab5ef0e58194: Verifying Checksum 09:57:13 ab5ef0e58194: Download complete 09:57:13 0d9ebad4ef96: Verifying Checksum 09:57:13 0d9ebad4ef96: Download complete 09:57:13 2de7ff778b66: Verifying Checksum 09:57:13 2de7ff778b66: Download complete 09:57:16 ab5ef0e58194: Pull complete 09:57:16 9712f1f96733: Pull complete 09:57:17 63f879dbbcfc: Pull complete 09:57:22 0d9ebad4ef96: Pull complete 09:57:22 e9a5061849ea: Pull complete 09:57:22 d747dcd14b5f: Pull complete 09:57:23 2de7ff778b66: Pull complete 09:57:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:57:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:23 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:57:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:57:30 $ docker top 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:57:30 provisioning config files... 09:57:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6591198251755250831tmp 09:57:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1854750888568240498tmp 09:57:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5478076609220892743tmp [Pipeline] { [Pipeline] echo 09:57:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:57:31 ---> sigul-configuration.sh 09:57:31 gpg: directory `/root/.gnupg' created 09:57:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:57:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:57:31 gpg: keyring `/root/.gnupg/secring.gpg' created 09:57:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:57:31 gpg: CAST5 encrypted data 09:57:31 gpg: encrypted with 1 passphrase 09:57:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:57:31 + mkdir /home/jenkins 09:57:31 + mkdir /home/jenkins/sigul [Pipeline] sh 09:57:31 + 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 09:57:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:57:32 ---> sigul-install.sh 09:57:32 Sigul already installed; skipping installation. [Pipeline] sh 09:57:32 + git tag --list 09:57:32 0.7.1 09:57:32 v1.0.0 09:57:32 v1.1.0 09:57:32 v1.1.1 09:57:32 v1.2.2 09:57:32 v1.3.0 09:57:32 v1.3.1 09:57:32 v2.0.0 09:57:32 v2.1.0 09:57:32 v2.1.1 09:57:32 v2.1.1-dev.1 09:57:32 v2.1.1-dev.2 09:57:32 v2.2.0 09:57:32 v2.2.1-dev.1 09:57:32 v2.2.1-dev.10 09:57:32 v2.2.1-dev.2 09:57:32 v2.2.1-dev.3 09:57:32 v2.2.1-dev.4 09:57:32 v2.2.1-dev.5 09:57:32 v2.2.1-dev.6 09:57:32 v2.2.1-dev.7 09:57:32 v2.2.1-dev.8 09:57:32 v2.2.1-dev.9 09:57:32 v2.3.0-dev.10 09:57:32 v2.3.0-dev.11 09:57:32 v2.3.0-dev.12 09:57:32 v2.3.0-dev.13 [Pipeline] sh 09:57:32 + lftools sign git-tag v2.3.0-dev.13 09:57:33 Signing Git tag with Sigul... 09:57:33 Signing v2.3.0-dev.13 [Pipeline] echo 09:57:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:57:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:57:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:57:33 $ docker stop --time=1 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 09:57:35 $ docker rm -f 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:57:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:36 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:57:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:57:36 $ docker top 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:36 [ssh-agent] Looking for ssh-agent implementation... 09:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:36 $ docker exec 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 ssh-agent 09:57:36 SSH_AUTH_SOCK=/tmp/ssh-gZuOoVYERqVe/agent.33 09:57:36 SSH_AGENT_PID=39 09:57:36 Running ssh-add (command line suppressed) 09:57:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1339803855894683621.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1339803855894683621.key) 09:57:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:37 + git semver bump pre 09:57:37 2022-08-04 09:57:37,407 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:37 2022-08-04 09:57:37,407 [bump_version] DEBUG bumping version:2.3.0-dev.13 on axis:pre with prefix:dev 09:57:37 2022-08-04 09:57:37,407 [bump_version] DEBUG bumped version:2.3.0-dev.14 09:57:37 2022-08-04 09:57:37,408 [write_version] DEBUG write version:2.3.0-dev.14 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 09:57:37 2022-08-04 09:57:37,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:37 2022-08-04 09:57:37,408 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:37 2022-08-04 09:57:37,409 [execute] INFO git cat-file --batch-check 09:57:37 2022-08-04 09:57:37,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:37 2022-08-04 09:57:37,415 [execute] INFO git cat-file --batch 09:57:37 2022-08-04 09:57:37,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:37 2022-08-04 09:57:37,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:37 2.3.0-dev.14 [Pipeline] } 09:57:37 $ docker exec --env ******** --env ******** 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 ssh-agent -k 09:57:37 unset SSH_AUTH_SOCK; 09:57:37 unset SSH_AGENT_PID; 09:57:37 echo Agent pid 39 killed; 09:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:37 + git semver [Pipeline] } 09:57:38 $ docker stop --time=1 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 09:57:39 $ docker rm -f 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 [Pipeline] // withDockerContainer [Pipeline] sh 09:57:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:40 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:57:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:57:40 $ docker top 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:40 [ssh-agent] Looking for ssh-agent implementation... 09:57:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:40 $ docker exec 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad ssh-agent 09:57:40 SSH_AUTH_SOCK=/tmp/ssh-b4p4wMlbhtdR/agent.32 09:57:40 SSH_AGENT_PID=39 09:57:40 Running ssh-add (command line suppressed) 09:57:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4451295023010642569.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4451295023010642569.key) 09:57:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:41 + git semver push 09:57:41 2022-08-04 09:57:41,601 [run_push] DEBUG push 09:57:41 2022-08-04 09:57:41,602 [execute] INFO git cat-file --batch-check 09:57:41 2022-08-04 09:57:41,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:41 2022-08-04 09:57:41,606 [execute] INFO git rev-list a1b4ab438154dc088eb6d998ea91da3c436fe25b -- 09:57:41 2022-08-04 09:57:41,607 [execute] DEBUG Popen(['git', 'rev-list', 'a1b4ab438154dc088eb6d998ea91da3c436fe25b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:57:41 2022-08-04 09:57:41,614 [execute] INFO git fetch -v origin 09:57:41 2022-08-04 09:57:41,614 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:57:42 2022-08-04 09:57:42,090 [run_push] DEBUG no remote changes detected 09:57:42 2022-08-04 09:57:42,090 [execute] INFO git push origin semver 09:57:42 2022-08-04 09:57:42,091 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:57:42 2022-08-04 09:57:42,838 [run_push] DEBUG push all version tags 09:57:42 2022-08-04 09:57:42,839 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:57:42 2022-08-04 09:57:42,839 [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) 09:57:43 2022-08-04 09:57:43,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:57:43 2.3.0-dev.14 [Pipeline] } 09:57:43 $ docker exec --env ******** --env ******** 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad ssh-agent -k 09:57:43 unset SSH_AUTH_SOCK; 09:57:43 unset SSH_AGENT_PID; 09:57:43 echo Agent pid 39 killed; 09:57:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:44 + git semver [Pipeline] } 09:57:44 $ docker stop --time=1 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad 09:57:45 $ docker rm -f 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad [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 09:57:46 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 09:57:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:57:46 total 16 09:57:46 drwxr-xr-x 3 root root 4096 Aug 4 09:49 . 09:57:46 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 09:57 .. 09:57:46 drwxr-xr-x 2 root root 4096 Aug 4 09:49 cost 09:57:46 -rw-r--r-- 1 root root 85 Aug 4 09:49 cost.csv 09:57:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:57:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:57:46 total 16 09:57:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:49 . 09:57:46 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 09:57 .. 09:57:46 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 09:49 cost 09:57:46 -rw-r--r-- 1 jenkins jenkins 85 Aug 4 09:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:57:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:57:47 ---> package-listing.sh 09:57:47 ++ facter osfamily 09:57:47 ++ tr '[:upper:]' '[:lower:]' 09:57:47 + OS_FAMILY=debian 09:57:47 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 09:57:47 + START_PACKAGES=/tmp/packages_start.txt 09:57:47 + END_PACKAGES=/tmp/packages_end.txt 09:57:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:57:47 + PACKAGES=/tmp/packages_start.txt 09:57:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:57:47 + PACKAGES=/tmp/packages_end.txt 09:57:47 + case "${OS_FAMILY}" in 09:57:47 + dpkg -l 09:57:47 + grep '^ii' 09:57:47 + '[' -f /tmp/packages_start.txt ']' 09:57:47 + '[' -f /tmp/packages_end.txt ']' 09:57:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:57:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:57:47 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 09:57:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 09:57:47 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 09:57:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:57:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:48 prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container 09:57:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:57:49 $ docker top 931e6bbea10fc0b2d6234da0f30180c3bc05b02d4c6e79fa0429b44f6a06451d -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:49 + touch /tmp/pre-build-complete [Pipeline] sh 09:57:49 + mkdir -p /var/log/sysstat [Pipeline] sh 09:57:50 + ls /var/log/sa-host 09:57:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:57:50 provisioning config files... 09:57:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8535962910532712317tmp [Pipeline] { [Pipeline] echo 09:57:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:57:50 ---> create-netrc.sh [Pipeline] } 09:57:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:57:50 ---> python-tools-install.sh [Pipeline] echo 09:57:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:57:51 ---> sudo-logs.sh 09:57:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:57:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:57:51 ---> job-cost.sh 09:57:51 lf-activate-venv: SKIPPING 09:57:51 DEBUG: total: 0.2199999988079071 09:57:51 INFO: Retrieving Stack Cost... 09:57:52 INFO: Retrieving Pricing Info for: v3-standard-8 09:57:52 INFO: Archiving Costs [Pipeline] echo 09:57:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:57:52 ---> logs-deploy.sh 09:57:52 lf-activate-venv: SKIPPING 09:57:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/60 09:57:52 INFO: archiving workspace using pattern(s): 09:57:53 Archives upload complete. 09:57:53 INFO: archiving logs to Nexus