Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec4bdb71d113baf8f62d105c9dc125da7e597352 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-ssh16548081631490717332.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17723936560696940106.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8798142102721329454.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10322998807026904990.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14402311350122898039.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8811 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 ec4bdb71d113baf8f62d105c9dc125da7e597352 (main) Commit message: "feat!: updates for common config (#512)" > 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 ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-list --no-walk bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:03:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:03:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:03:15 ========================================================= 15:03:15 EdgeX Global Pipelines Version Info 15:03:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:03:15 ------------------- 15:03:15 stable info: 15:03:15 ------------------- 15:03:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:03:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:03:15 Message: update stable to v1.0.244 15:03:16 ------------------- 15:03:16 experimental info: 15:03:16 ------------------- 15:03:16 Commited By: **** collab-it+edgex@linuxfoundation.org 15:03:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:03:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec4bdb7 [Pipeline] echo 15:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:17 provisioning config files... 15:03:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17026363889870878147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:17 ---> docker-login.sh 15:03:17 nexus3.edgexfoundry.org:10001 15:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:17 Configure a credential helper to remove this warning. See 15:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:17 15:03:17 Login Succeeded 15:03:17 nexus3.edgexfoundry.org:10002 15:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:17 Configure a credential helper to remove this warning. See 15:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:17 15:03:17 Login Succeeded 15:03:17 nexus3.edgexfoundry.org:10003 15:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:17 Configure a credential helper to remove this warning. See 15:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:17 15:03:17 Login Succeeded 15:03:17 nexus3.edgexfoundry.org:10004 15:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:18 Configure a credential helper to remove this warning. See 15:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:18 15:03:18 Login Succeeded 15:03:18 docker.io 15:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:18 Configure a credential helper to remove this warning. See 15:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:18 15:03:18 Login Succeeded 15:03:18 ---> docker-login.sh ends [Pipeline] } 15:03:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:03:18 + git rev-list -1 --merges ec4bdb71d113baf8f62d105c9dc125da7e597352~1..ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] echo 15:03:18 -----------> git rev-list -1 --merges ec4bdb71d113baf8f62d105c9dc125da7e597352~1..ec4bdb71d113baf8f62d105c9dc125da7e597352 ec4bdb71d113baf8f62d105c9dc125da7e597352 [false] [Pipeline] sh 15:03:19 + git log --format=format:%s -1 ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] echo 15:03:19 ========================================================= 15:03:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:03:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:03:19 + git log --format=format:%s -1 ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] echo 15:03:19 [semverPrep] GIT_COMMIT: ec4bdb71d113baf8f62d105c9dc125da7e597352, Commit Message: feat!: updates for common config (#512) [Pipeline] echo 15:03:19 [semverPrep] This is not a build commit. [Pipeline] sh 15:03:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:03:19 + grep -v github /etc/ssh/ssh_known_hosts 15:03:19 + [ -e /tmp/ssh_known_hosts ] 15:03:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:03:19 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:03:19 sudo tee -a /etc/ssh/ssh_known_hosts 15:03:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:20 15:03:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:20 0.1.4: Pulling from edgex-devops/py-git-semver 15:03:20 b85a868b505f: Pulling fs layer 15:03:20 e2be974225ed: Pulling fs layer 15:03:20 339a4e72a1f5: Pulling fs layer 15:03:20 988bab9f4d93: Pulling fs layer 15:03:20 1469e6f7b9e6: Pulling fs layer 15:03:20 eaf3925da568: Pulling fs layer 15:03:20 bab4dde63d76: Pulling fs layer 15:03:20 bde34c3a00c8: Pulling fs layer 15:03:20 b352a97aabf1: Pulling fs layer 15:03:20 4872d77fe225: Pulling fs layer 15:03:20 5851b861e8e6: Pulling fs layer 15:03:20 988bab9f4d93: Waiting 15:03:20 bde34c3a00c8: Waiting 15:03:20 4872d77fe225: Waiting 15:03:20 5851b861e8e6: Waiting 15:03:20 1469e6f7b9e6: Waiting 15:03:20 bab4dde63d76: Waiting 15:03:20 b352a97aabf1: Waiting 15:03:20 eaf3925da568: Waiting 15:03:20 e2be974225ed: Verifying Checksum 15:03:20 e2be974225ed: Download complete 15:03:20 988bab9f4d93: Verifying Checksum 15:03:20 988bab9f4d93: Download complete 15:03:20 1469e6f7b9e6: Verifying Checksum 15:03:20 1469e6f7b9e6: Download complete 15:03:20 eaf3925da568: Verifying Checksum 15:03:20 eaf3925da568: Download complete 15:03:20 339a4e72a1f5: Verifying Checksum 15:03:20 339a4e72a1f5: Download complete 15:03:20 bde34c3a00c8: Verifying Checksum 15:03:20 bde34c3a00c8: Download complete 15:03:20 b352a97aabf1: Download complete 15:03:20 4872d77fe225: Verifying Checksum 15:03:20 4872d77fe225: Download complete 15:03:20 5851b861e8e6: Verifying Checksum 15:03:20 5851b861e8e6: Download complete 15:03:20 b85a868b505f: Verifying Checksum 15:03:20 b85a868b505f: Download complete 15:03:21 bab4dde63d76: Verifying Checksum 15:03:21 bab4dde63d76: Download complete 15:03:22 b85a868b505f: Pull complete 15:03:22 e2be974225ed: Pull complete 15:03:22 339a4e72a1f5: Pull complete 15:03:22 988bab9f4d93: Pull complete 15:03:23 1469e6f7b9e6: Pull complete 15:03:23 eaf3925da568: Pull complete 15:03:25 bab4dde63d76: Pull complete 15:03:25 bde34c3a00c8: Pull complete 15:03:25 b352a97aabf1: Pull complete 15:03:25 4872d77fe225: Pull complete 15:03:25 5851b861e8e6: Pull complete 15:03:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:25 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:03:26 $ docker top 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 -eo pid,comm 15:03:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:03:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:26 [ssh-agent] Looking for ssh-agent implementation... 15:03:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:27 $ docker exec 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 ssh-agent 15:03:27 SSH_AUTH_SOCK=/tmp/ssh-UPASJG9GlSh5/agent.32 15:03:27 SSH_AGENT_PID=38 15:03:27 Running ssh-add (command line suppressed) 15:03:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9731487933307092376.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9731487933307092376.key) 15:03:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:27 + git tag --points-at HEAD [Pipeline] } 15:03:27 $ docker exec --env ******** --env ******** 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 ssh-agent -k 15:03:27 unset SSH_AUTH_SOCK; 15:03:27 unset SSH_AGENT_PID; 15:03:27 echo Agent pid 38 killed; 15:03:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:03:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:27 [ssh-agent] Looking for ssh-agent implementation... 15:03:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:27 $ docker exec 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 ssh-agent 15:03:28 SSH_AUTH_SOCK=/tmp/ssh-Zr7KqDjVV95S/agent.70 15:03:28 SSH_AGENT_PID=76 15:03:28 Running ssh-add (command line suppressed) 15:03:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5919225076157427860.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5919225076157427860.key) 15:03:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:28 + git semver init 15:03:28 2023-03-08 15:03:28,634 [run_init] DEBUG init version:0.0.0 force:False 15:03:28 2023-03-08 15:03:28,635 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:03:28 2023-03-08 15:03:28,635 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:03:28 2023-03-08 15:03:28,636 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 15:03:29 2023-03-08 15:03:29,439 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 15:03:29 2023-03-08 15:03:29,440 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 15:03:29 2023-03-08 15:03:29,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:03:29 2023-03-08 15:03:29,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:03:29 3.0.0-dev.6 [Pipeline] } 15:03:29 $ docker exec --env ******** --env ******** 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 ssh-agent -k 15:03:29 unset SSH_AUTH_SOCK; 15:03:29 unset SSH_AGENT_PID; 15:03:29 echo Agent pid 76 killed; 15:03:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:30 + git semver [Pipeline] } 15:03:30 $ docker stop --time=1 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 15:03:31 $ docker rm -f --volumes 07d8a7d6dfefd25c34368ce45debc67d0c4e58f33fd40ddcaa567de170fd08a1 [Pipeline] // withDockerContainer [Pipeline] sh 15:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:03:32 Stashed 1 file(s) [Pipeline] echo 15:03:32 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:32 provisioning config files... 15:03:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6564181168543108700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:32 ---> docker-login.sh 15:03:32 nexus3.edgexfoundry.org:10001 15:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:32 Configure a credential helper to remove this warning. See 15:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:32 15:03:32 Login Succeeded 15:03:32 nexus3.edgexfoundry.org:10002 15:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:32 Configure a credential helper to remove this warning. See 15:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:32 15:03:32 Login Succeeded 15:03:32 nexus3.edgexfoundry.org:10003 15:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:32 Configure a credential helper to remove this warning. See 15:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:32 15:03:32 Login Succeeded 15:03:32 nexus3.edgexfoundry.org:10004 15:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:32 Configure a credential helper to remove this warning. See 15:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:32 15:03:32 Login Succeeded 15:03:32 docker.io 15:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:33 Configure a credential helper to remove this warning. See 15:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:33 15:03:33 Login Succeeded 15:03:33 ---> docker-login.sh ends [Pipeline] } 15:03:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:33 ========================================================= 15:03:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:03:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:33 + 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 . 15:03:33 Sending build context to Docker daemon 6.329MB 15:03:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:03:33 Step 2/12 : FROM ${BASE} AS builder 15:03:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:03:33 213ec9aee27d: Pulling fs layer 15:03:33 4583459ba037: Pulling fs layer 15:03:33 93c1e223e6f2: Pulling fs layer 15:03:33 53926ce57604: Pulling fs layer 15:03:33 21b2b0c7a3f4: Pulling fs layer 15:03:33 22ff95d597cd: Pulling fs layer 15:03:33 12d6caf4c0d1: Pulling fs layer 15:03:33 96b7cbca73a9: Pulling fs layer 15:03:33 a7acece74701: Pulling fs layer 15:03:33 53926ce57604: Waiting 15:03:33 21b2b0c7a3f4: Waiting 15:03:33 22ff95d597cd: Waiting 15:03:33 12d6caf4c0d1: Waiting 15:03:33 96b7cbca73a9: Waiting 15:03:33 93c1e223e6f2: Verifying Checksum 15:03:33 93c1e223e6f2: Download complete 15:03:33 4583459ba037: Verifying Checksum 15:03:33 4583459ba037: Download complete 15:03:33 21b2b0c7a3f4: Verifying Checksum 15:03:33 21b2b0c7a3f4: Download complete 15:03:33 22ff95d597cd: Download complete 15:03:33 213ec9aee27d: Verifying Checksum 15:03:33 213ec9aee27d: Download complete 15:03:33 12d6caf4c0d1: Download complete 15:03:33 213ec9aee27d: Pull complete 15:03:34 4583459ba037: Pull complete 15:03:34 93c1e223e6f2: Pull complete 15:03:34 a7acece74701: Verifying Checksum 15:03:34 a7acece74701: Download complete 15:03:34 53926ce57604: Verifying Checksum 15:03:34 53926ce57604: Download complete 15:03:34 96b7cbca73a9: Verifying Checksum 15:03:34 96b7cbca73a9: Download complete 15:03:38 53926ce57604: Pull complete 15:03:38 21b2b0c7a3f4: Pull complete 15:03:38 22ff95d597cd: Pull complete 15:03:38 12d6caf4c0d1: Pull complete 15:03:41 96b7cbca73a9: Pull complete 15:03:42 a7acece74701: Pull complete 15:03:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:03:42 ---> db6d94c90886 15:03:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:03:43 ---> Running in 3b12611ad4e1 15:03:43 Removing intermediate container 3b12611ad4e1 15:03:43 ---> 7dd93e43c515 15:03:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:03:43 ---> Running in 1d04d4526fa6 15:03:43 Removing intermediate container 1d04d4526fa6 15:03:43 ---> e5798537b338 15:03:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:03:43 ---> Running in b9cc15dee5b6 15:03:43 Removing intermediate container b9cc15dee5b6 15:03:43 ---> 6f68dc65a2ce 15:03:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:03:43 ---> Running in cbe8dfdf98c9 15:03:43 Removing intermediate container cbe8dfdf98c9 15:03:43 ---> 0b1d0bd449e9 15:03:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:03:43 ---> Running in cda2c7686565 15:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:03:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:03:44 (2/4) Installing libedit (20210910.3.1-r0) 15:03:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:03:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:03:44 Executing busybox-1.35.0-r17.trigger 15:03:44 OK: 216 MiB in 55 packages 15:03:44 Removing intermediate container cda2c7686565 15:03:44 ---> e7c0364d390b 15:03:44 Step 8/12 : WORKDIR /device-mqtt-go 15:03:44 ---> Running in 38ab7abf73f2 15:03:45 Removing intermediate container 38ab7abf73f2 15:03:45 ---> 65022d86c406 15:03:45 Step 9/12 : COPY go.mod vendor* ./ 15:03:45 ---> 2e5a501a640f 15:03:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:45 ---> Running in ff70d28b9fda 15:03:47 Still waiting to schedule task 15:03:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:04:17 Removing intermediate container ff70d28b9fda 15:04:17 ---> 72d3ead34c5e 15:04:17 Step 11/12 : COPY . . 15:04:17 ---> b89b5e28f064 15:04:17 Step 12/12 : RUN $MAKE 15:04:17 ---> Running in 8f0d95e0cf9a 15:04:17 noop 15:04:17 Removing intermediate container 8f0d95e0cf9a 15:04:17 ---> e38f7f5946af 15:04:17 Successfully built e38f7f5946af 15:04:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:17 + docker inspect -f . ci-base-image-x86_64 15:04:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:17 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:04:17 $ 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 15:04:18 $ docker top 377d77e5c3e92c68789f0d99aad701faf6da579fa3ae7d8f52934101365eb2fc -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:18 + go version 15:04:18 go version go1.18.7 linux/amd64 [Pipeline] } 15:04:18 $ docker stop --time=1 377d77e5c3e92c68789f0d99aad701faf6da579fa3ae7d8f52934101365eb2fc 15:04:19 $ docker rm -f --volumes 377d77e5c3e92c68789f0d99aad701faf6da579fa3ae7d8f52934101365eb2fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:20 + docker inspect -f . ci-base-image-x86_64 15:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:20 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:04:20 $ docker top e10595a9abba59216e32aa07b66c3e42c2953e2a44a855e8db532c19be42a60c -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 15:04:21 + make test 15:04:21 go test ./... -coverprofile=coverage.out ./... 15:04:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:04:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:04:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 15:04:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:04:38 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." 15:04:38 go vet ./... 15:04:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:04:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:04:40 ./bin/test-attribution-txt.sh 15:04:41 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:04:41 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:04:41 $ docker stop --time=1 e10595a9abba59216e32aa07b66c3e42c2953e2a44a855e8db532c19be42a60c 15:04:42 $ docker rm -f --volumes e10595a9abba59216e32aa07b66c3e42c2953e2a44a855e8db532c19be42a60c [Pipeline] // withDockerContainer [Pipeline] sh 15:04:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:04:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:04:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:04:43 + ls -al . 15:04:43 total 184 15:04:43 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 15:04 . 15:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:03 .. 15:04:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:03 .dockerignore 15:04:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:04 .git 15:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:03 .github 15:04:43 -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:03 .gitignore 15:04:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:03 .golangci.yml 15:04:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:03 .semver 15:04:43 -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:03 Attribution.txt 15:04:43 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:03 CHANGELOG.md 15:04:43 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:03 Dockerfile 15:04:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:03 GOVERNANCE.md 15:04:43 -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:03 Jenkinsfile 15:04:43 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:03 LICENSE 15:04:43 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:03 Makefile 15:04:43 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:03 OWNERS.md 15:04:43 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:03 README.md 15:04:43 -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 15:03 VERSION 15:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:03 bin 15:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:03 cmd 15:04:43 -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:04 coverage.out 15:04:43 -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:03 go.mod 15:04:43 -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:03 go.sum 15:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:03 internal 15:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:03 mock 15:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:03 snap 15:04:43 -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:44 + 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=ec4bdb71d113baf8f62d105c9dc125da7e597352 --label arch=amd64 --label version=3.0.0-dev.6 . 15:04:44 Sending build context to Docker daemon 6.347MB 15:04:44 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 15:04:44 Step 2/24 : FROM ${BASE} AS builder 15:04:44 ---> e38f7f5946af 15:04:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:04:44 ---> Running in 2934b94bb9d2 15:04:44 Removing intermediate container 2934b94bb9d2 15:04:44 ---> 2cc7c1a2e835 15:04:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:04:44 ---> Running in 3533cf628306 15:04:44 Removing intermediate container 3533cf628306 15:04:44 ---> 4d569ab76840 15:04:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:04:44 ---> Running in 4eb32c838c93 15:04:44 Removing intermediate container 4eb32c838c93 15:04:44 ---> 0882c06aca63 15:04:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:04:44 ---> Running in 1bd233324024 15:04:44 Removing intermediate container 1bd233324024 15:04:44 ---> 32fda47d3c50 15:04:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:04:44 ---> Running in ae55a02315d0 15:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:04:45 OK: 216 MiB in 55 packages 15:04:45 Removing intermediate container ae55a02315d0 15:04:45 ---> df5b1eb9cb0f 15:04:45 Step 8/24 : WORKDIR /device-mqtt-go 15:04:45 ---> Running in d7ccd2eba657 15:04:45 Removing intermediate container d7ccd2eba657 15:04:45 ---> 6d1e63294a16 15:04:45 Step 9/24 : COPY go.mod vendor* ./ 15:04:45 ---> 43e737fef295 15:04:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:04:45 ---> Running in 5ab1153ad658 15:04:46 Removing intermediate container 5ab1153ad658 15:04:46 ---> c058ccb25b04 15:04:46 Step 11/24 : COPY . . 15:04:47 ---> 0c4cb7799478 15:04:47 Step 12/24 : RUN $MAKE 15:04:47 ---> Running in 6290377cf2cc 15:04:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:05:03 Removing intermediate container 6290377cf2cc 15:05:03 ---> 8240154809f7 15:05:03 Step 13/24 : FROM alpine:3.16 15:05:04 3.16: Pulling from library/alpine 15:05:04 ef5531b6e74e: Pulling fs layer 15:05:04 ef5531b6e74e: Verifying Checksum 15:05:04 ef5531b6e74e: Download complete 15:05:04 ef5531b6e74e: Pull complete 15:05:04 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:05:04 Status: Downloaded newer image for alpine:3.16 15:05:04 ---> dfd21b5a31f5 15:05:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:05:04 ---> Running in dd8885281cd9 15:05:04 Removing intermediate container dd8885281cd9 15:05:04 ---> 25e66e2e299f 15:05:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:05:04 ---> Running in 77e097daccd2 15:05:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:05:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:05:05 (1/1) Installing dumb-init (1.2.5-r1) 15:05:05 Executing busybox-1.35.0-r17.trigger 15:05:05 OK: 6 MiB in 15 packages 15:05:06 Removing intermediate container 77e097daccd2 15:05:06 ---> 229c1f70df81 15:05:06 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:05:06 ---> e9cd725c22e1 15:05:06 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:05:06 ---> c1d3451dcbf2 15:05:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:05:06 ---> c7c9eb3a499b 15:05:06 Step 19/24 : EXPOSE 59982 15:05:06 ---> Running in 0dcba06b64a8 15:05:06 Removing intermediate container 0dcba06b64a8 15:05:06 ---> c2a54eb67faf 15:05:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:05:06 ---> Running in 0c69383f5924 15:05:06 Removing intermediate container 0c69383f5924 15:05:06 ---> afb3be9127c4 15:05:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:05:06 ---> Running in 341cf5f06534 15:05:07 Removing intermediate container 341cf5f06534 15:05:07 ---> 48b44548bf55 15:05:07 Step 22/24 : LABEL arch=amd64 15:05:07 ---> Running in c87c452187aa 15:05:07 Removing intermediate container c87c452187aa 15:05:07 ---> e693bcda24cb 15:05:07 Step 23/24 : LABEL git_sha=ec4bdb71d113baf8f62d105c9dc125da7e597352 15:05:07 ---> Running in 3c2745ed08a1 15:05:07 Removing intermediate container 3c2745ed08a1 15:05:07 ---> 4c1b6429441a 15:05:07 Step 24/24 : LABEL version=3.0.0-dev.6 15:05:07 ---> Running in 955beb8e8f07 15:05:07 Removing intermediate container 955beb8e8f07 15:05:07 ---> 9992aeeea730 15:05:07 [Warning] One or more build-args [ARCH] were not consumed 15:05:07 Successfully built 9992aeeea730 15:05:07 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:07 provisioning config files... 15:05:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2807758543558922635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:07 ---> docker-login.sh 15:05:07 nexus3.edgexfoundry.org:10001 15:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:07 Configure a credential helper to remove this warning. See 15:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:07 15:05:07 Login Succeeded 15:05:07 nexus3.edgexfoundry.org:10002 15:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:07 Configure a credential helper to remove this warning. See 15:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:07 15:05:07 Login Succeeded 15:05:07 nexus3.edgexfoundry.org:10003 15:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:08 Configure a credential helper to remove this warning. See 15:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:08 15:05:08 Login Succeeded 15:05:08 nexus3.edgexfoundry.org:10004 15:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:08 Configure a credential helper to remove this warning. See 15:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:08 15:05:08 Login Succeeded 15:05:08 docker.io 15:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:08 Configure a credential helper to remove this warning. See 15:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:08 15:05:08 Login Succeeded 15:05:08 ---> docker-login.sh ends [Pipeline] } 15:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:05:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:08 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:05:08 ec4bdb71d113baf8f62d105c9dc125da7e597352 15:05:08 latest 15:05:08 3.0.0-dev.6 15:05:08 ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:05:08 main 15:05:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352 15:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:05:08 5b2ae00cb3de: Preparing 15:05:08 8bd7f41ac00c: Preparing 15:05:08 6f43f4e318f5: Preparing 15:05:08 1fa3378362ad: Preparing 15:05:08 aa5968d388b8: Preparing 15:05:08 aa5968d388b8: Layer already exists 15:05:08 5b2ae00cb3de: Pushed 15:05:08 1fa3378362ad: Pushed 15:05:08 8bd7f41ac00c: Pushed 15:05:11 6f43f4e318f5: Pushed 15:05:11 ec4bdb71d113baf8f62d105c9dc125da7e597352: digest: sha256:370db145bd5ab2e0ea5fd7d5c00fd13cd248d65b81cec60d2861a212831421f2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:05:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:05:12 5b2ae00cb3de: Preparing 15:05:12 8bd7f41ac00c: Preparing 15:05:12 6f43f4e318f5: Preparing 15:05:12 1fa3378362ad: Preparing 15:05:12 aa5968d388b8: Preparing 15:05:12 5b2ae00cb3de: Layer already exists 15:05:12 1fa3378362ad: Layer already exists 15:05:12 aa5968d388b8: Layer already exists 15:05:12 8bd7f41ac00c: Layer already exists 15:05:12 6f43f4e318f5: Layer already exists 15:05:12 latest: digest: sha256:370db145bd5ab2e0ea5fd7d5c00fd13cd248d65b81cec60d2861a212831421f2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.6 15:05:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:05:13 5b2ae00cb3de: Preparing 15:05:13 8bd7f41ac00c: Preparing 15:05:13 6f43f4e318f5: Preparing 15:05:13 1fa3378362ad: Preparing 15:05:13 aa5968d388b8: Preparing 15:05:13 5b2ae00cb3de: Layer already exists 15:05:13 aa5968d388b8: Layer already exists 15:05:13 6f43f4e318f5: Layer already exists 15:05:13 1fa3378362ad: Layer already exists 15:05:13 8bd7f41ac00c: Layer already exists 15:05:13 3.0.0-dev.6: digest: sha256:370db145bd5ab2e0ea5fd7d5c00fd13cd248d65b81cec60d2861a212831421f2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:05:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:05:13 5b2ae00cb3de: Preparing 15:05:13 8bd7f41ac00c: Preparing 15:05:13 6f43f4e318f5: Preparing 15:05:13 1fa3378362ad: Preparing 15:05:13 aa5968d388b8: Preparing 15:05:13 6f43f4e318f5: Layer already exists 15:05:13 5b2ae00cb3de: Layer already exists 15:05:13 8bd7f41ac00c: Layer already exists 15:05:13 aa5968d388b8: Layer already exists 15:05:13 1fa3378362ad: Layer already exists 15:05:13 ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6: digest: sha256:370db145bd5ab2e0ea5fd7d5c00fd13cd248d65b81cec60d2861a212831421f2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:05:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:05:14 5b2ae00cb3de: Preparing 15:05:14 8bd7f41ac00c: Preparing 15:05:14 6f43f4e318f5: Preparing 15:05:14 1fa3378362ad: Preparing 15:05:14 aa5968d388b8: Preparing 15:05:14 8bd7f41ac00c: Layer already exists 15:05:14 1fa3378362ad: Layer already exists 15:05:14 6f43f4e318f5: Layer already exists 15:05:14 aa5968d388b8: Layer already exists 15:05:14 5b2ae00cb3de: Layer already exists 15:05:14 main: digest: sha256:370db145bd5ab2e0ea5fd7d5c00fd13cd248d65b81cec60d2861a212831421f2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:05:14 ===================================================== [Pipeline] echo 15:05:14 taggedImages: 15:05:14 - nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352 15:05:14 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:05:14 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.6 15:05:14 - nexus3.edgexfoundry.org:10004/device-mqtt:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:05:14 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:14 15:05:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:15 latest: Pulling from edgex-lftools-log-publisher 15:05:15 5eb5b503b376: Pulling fs layer 15:05:15 5c69ac0246d0: Pulling fs layer 15:05:15 ec43610c2a17: Pulling fs layer 15:05:15 3a2ae6a8a46f: Pulling fs layer 15:05:15 33b1e0a273af: Pulling fs layer 15:05:15 5d3b04190fa2: Pulling fs layer 15:05:15 2f39f015ded8: Pulling fs layer 15:05:15 3a2ae6a8a46f: Waiting 15:05:15 33b1e0a273af: Waiting 15:05:15 5d3b04190fa2: Waiting 15:05:15 2f39f015ded8: Waiting 15:05:15 5c69ac0246d0: Download complete 15:05:15 3a2ae6a8a46f: Verifying Checksum 15:05:15 3a2ae6a8a46f: Download complete 15:05:15 ec43610c2a17: Verifying Checksum 15:05:15 ec43610c2a17: Download complete 15:05:15 5d3b04190fa2: Verifying Checksum 15:05:15 5d3b04190fa2: Download complete 15:05:15 33b1e0a273af: Verifying Checksum 15:05:15 33b1e0a273af: Download complete 15:05:15 5eb5b503b376: Verifying Checksum 15:05:15 5eb5b503b376: Download complete 15:05:15 2f39f015ded8: Download complete 15:05:16 5eb5b503b376: Pull complete 15:05:16 5c69ac0246d0: Pull complete 15:05:16 ec43610c2a17: Pull complete 15:05:16 3a2ae6a8a46f: Pull complete 15:05:16 33b1e0a273af: Pull complete 15:05:17 5d3b04190fa2: Pull complete 15:05:21 2f39f015ded8: Pull complete 15:05:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:21 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:05:21 $ 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 15:05:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8814 in /w/workspace/edgexfoundry_device-mqtt-go_main 15:05:22 $ docker top 4bf7ce40fdcb4eb3b50a626641ae0a04b19a79ab6e836884265a73d78711d542 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 15:05:22 Running in /w/workspace/device-mqtt-go/89 [Pipeline] { [Pipeline] checkout 15:05:23 Selected Git installation does not exist. Using Default 15:05:23 The recommended git tool is: NONE 15:05:23 ---> job-cost.sh 15:05:23 lf-activate-venv: SKIPPING 15:05:23 INFO: No Stack... 15:05:23 INFO: Retrieving Pricing Info for: v3-standard-8 15:05:24 INFO: Archiving Costs [Pipeline] sh 15:05:24 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 15:05:24 + cut -d, -f6 [Pipeline] lock 15:05:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] 15:05:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] did not exist. Created. 15:05:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:05:24 + echo total: 0.2199999988079071 [Pipeline] stash 15:05:24 Stashed 1 file(s) [Pipeline] } 15:05:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 15:05:24 $ docker stop --time=1 4bf7ce40fdcb4eb3b50a626641ae0a04b19a79ab6e836884265a73d78711d542 15:05:25 $ docker rm -f --volumes 4bf7ce40fdcb4eb3b50a626641ae0a04b19a79ab6e836884265a73d78711d542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:05:27 using credential edgex-jenkins-ssh 15:05:27 Cloning the remote Git repository 15:05:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:05:27 > git init /w/workspace/device-mqtt-go/89 # timeout=10 15:05:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:05:28 > git --version # timeout=10 15:05:28 > git --version # 'git version 2.25.1' 15:05:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:30 Avoid second fetch 15:05:30 Checking out Revision ec4bdb71d113baf8f62d105c9dc125da7e597352 (main) 15:05:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:05:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:30 > git config core.sparsecheckout # timeout=10 15:05:30 > git checkout -f ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 15:05:30 Commit message: "feat!: updates for common config (#512)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:05:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:05:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:05:31 Dload Upload Total Spent Left Speed 15:05:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 15:05:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:05:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:05:32 + sudo tee /etc/docker/daemon.new 15:05:32 { 15:05:32 "registry-mirrors": [ 15:05:32 "https://nexus3.edgexfoundry.org:10001" 15:05:32 ], 15:05:32 "bip": "10.250.0.254/24", 15:05:32 "hosts": [ 15:05:32 "tcp://0.0.0.0:5555", 15:05:32 "unix:///var/run/docker.sock" 15:05:32 ], 15:05:32 "mtu": 1458, 15:05:32 "selinux-enabled": true, 15:05:32 "seccomp-profile": "/etc/docker/seccomp.json" 15:05:32 } [Pipeline] sh 15:05:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:05:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:51 provisioning config files... 15:05:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/89@tmp/config10847815137459732124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:51 ---> docker-login.sh 15:05:51 nexus3.edgexfoundry.org:10001 15:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:52 Configure a credential helper to remove this warning. See 15:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:52 15:05:52 Login Succeeded 15:05:52 nexus3.edgexfoundry.org:10002 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:52 Configure a credential helper to remove this warning. See 15:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:52 15:05:52 Login Succeeded 15:05:52 nexus3.edgexfoundry.org:10003 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:52 Configure a credential helper to remove this warning. See 15:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:52 15:05:52 Login Succeeded 15:05:52 nexus3.edgexfoundry.org:10004 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:53 Configure a credential helper to remove this warning. See 15:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:53 15:05:53 Login Succeeded 15:05:53 docker.io 15:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:53 Configure a credential helper to remove this warning. See 15:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:53 15:05:53 Login Succeeded 15:05:53 ---> docker-login.sh ends [Pipeline] } 15:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:53 ========================================================= 15:05:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:05:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:54 + 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 . 15:05:54 Sending build context to Docker daemon 3.298MB 15:05:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:05:54 Step 2/12 : FROM ${BASE} AS builder 15:05:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:05:54 9b18e9b68314: Pulling fs layer 15:05:54 35d82f9e3411: Pulling fs layer 15:05:54 e16973657156: Pulling fs layer 15:05:54 fc693d55d65f: Pulling fs layer 15:05:54 7e9fc2657dce: Pulling fs layer 15:05:54 dda99020689f: Pulling fs layer 15:05:54 db1c61fa0a46: Pulling fs layer 15:05:54 891c053d2c06: Pulling fs layer 15:05:54 fc693d55d65f: Waiting 15:05:54 7e9fc2657dce: Waiting 15:05:54 dda99020689f: Waiting 15:05:54 db1c61fa0a46: Waiting 15:05:54 891c053d2c06: Waiting 15:05:54 e16973657156: Verifying Checksum 15:05:54 e16973657156: Download complete 15:05:54 35d82f9e3411: Verifying Checksum 15:05:54 35d82f9e3411: Download complete 15:05:54 7e9fc2657dce: Download complete 15:05:54 dda99020689f: Verifying Checksum 15:05:54 dda99020689f: Download complete 15:05:54 9b18e9b68314: Verifying Checksum 15:05:54 9b18e9b68314: Download complete 15:05:55 9b18e9b68314: Pull complete 15:05:55 891c053d2c06: Verifying Checksum 15:05:55 891c053d2c06: Download complete 15:05:56 35d82f9e3411: Pull complete 15:05:56 e16973657156: Pull complete 15:05:56 db1c61fa0a46: Verifying Checksum 15:05:56 db1c61fa0a46: Download complete 15:05:57 fc693d55d65f: Verifying Checksum 15:05:57 fc693d55d65f: Download complete 15:06:09 fc693d55d65f: Pull complete 15:06:09 7e9fc2657dce: Pull complete 15:06:09 dda99020689f: Pull complete 15:06:14 db1c61fa0a46: Pull complete 15:06:16 891c053d2c06: Pull complete 15:06:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:06:16 ---> f96f9c87975a 15:06:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:06:18 ---> Running in b2a663bd0433 15:06:18 Removing intermediate container b2a663bd0433 15:06:18 ---> 492b3c9d2d91 15:06:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:06:18 ---> Running in bfae403715fc 15:06:18 Removing intermediate container bfae403715fc 15:06:18 ---> 1e3264aae25d 15:06:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:06:18 ---> Running in 71b5cae92316 15:06:19 Removing intermediate container 71b5cae92316 15:06:19 ---> 51aa30fcbf53 15:06:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:06:19 ---> Running in 7dc9496ba4df 15:06:19 Removing intermediate container 7dc9496ba4df 15:06:19 ---> cbb1f71e5266 15:06:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:06:19 ---> Running in ff8c63997457 15:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:06:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:06:21 (2/4) Installing libedit (20210910.3.1-r0) 15:06:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:06:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:06:22 Executing busybox-1.35.0-r17.trigger 15:06:22 OK: 226 MiB in 55 packages 15:06:23 Removing intermediate container ff8c63997457 15:06:23 ---> 4599dbc2f638 15:06:23 Step 8/12 : WORKDIR /device-mqtt-go 15:06:23 ---> Running in da94f3ada0a2 15:06:23 Removing intermediate container da94f3ada0a2 15:06:23 ---> 4bc244aa7187 15:06:23 Step 9/12 : COPY go.mod vendor* ./ 15:06:24 ---> ae24b82d9c10 15:06:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:24 ---> Running in 989e75b11dc7 15:07:32 Removing intermediate container 989e75b11dc7 15:07:32 ---> d1a0ddd88418 15:07:32 Step 11/12 : COPY . . 15:07:32 ---> fa2bdf499d57 15:07:32 Step 12/12 : RUN $MAKE 15:07:32 ---> Running in dda0b2de459a 15:07:32 noop 15:07:32 Removing intermediate container dda0b2de459a 15:07:32 ---> bf929a3a3dec 15:07:32 Successfully built bf929a3a3dec 15:07:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:32 + docker inspect -f . ci-base-image-arm64 15:07:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:32 prd-ubuntu20.04-docker-arm64-4c-16g-8814 does not seem to be running inside a container 15:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/89 -v /w/workspace/device-mqtt-go/89:/w/workspace/device-mqtt-go/89:rw,z -v /w/workspace/device-mqtt-go/89@tmp:/w/workspace/device-mqtt-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:07:33 $ docker top 79bf803a04be908218e82dab3c07619617dfebd5ff524a4ec76d414783817e7b -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:34 + go version 15:07:34 go version go1.18.7 linux/arm64 [Pipeline] } 15:07:34 $ docker stop --time=1 79bf803a04be908218e82dab3c07619617dfebd5ff524a4ec76d414783817e7b 15:07:36 $ docker rm -f --volumes 79bf803a04be908218e82dab3c07619617dfebd5ff524a4ec76d414783817e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:37 + docker inspect -f . ci-base-image-arm64 15:07:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:37 prd-ubuntu20.04-docker-arm64-4c-16g-8814 does not seem to be running inside a container 15:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/89 -v /w/workspace/device-mqtt-go/89:/w/workspace/device-mqtt-go/89:rw,z -v /w/workspace/device-mqtt-go/89@tmp:/w/workspace/device-mqtt-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:07:38 $ docker top 8e58b88f262c69e672ef05aa5c612b55293e7ff415f2ccb48c141307031f9916 -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:39 + git config --global --add safe.directory /w/workspace/device-mqtt-go/89 [Pipeline] fileExists [Pipeline] sh 15:07:39 + make test 15:07:39 go test ./... -coverprofile=coverage.out ./... 15:07:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:09:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:09:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements 15:09:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:09:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:09:06 go vet ./... 15:09:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:09:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:09:33 ./bin/test-attribution-txt.sh 15:09:33 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:09:33 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:09:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:09:33 $ docker stop --time=1 8e58b88f262c69e672ef05aa5c612b55293e7ff415f2ccb48c141307031f9916 15:09:34 $ docker rm -f --volumes 8e58b88f262c69e672ef05aa5c612b55293e7ff415f2ccb48c141307031f9916 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:09:35 Warning: overwriting stash ‘coverage-report’ 15:09:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:37 + ls -al . 15:09:37 total 180 15:09:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 15:07 . 15:09:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:05 .. 15:09:37 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:05 .dockerignore 15:09:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:05 .git 15:09:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 .github 15:09:37 -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:05 .gitignore 15:09:37 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:05 .golangci.yml 15:09:37 -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:05 Attribution.txt 15:09:37 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:05 CHANGELOG.md 15:09:37 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:05 Dockerfile 15:09:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:05 GOVERNANCE.md 15:09:37 -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:05 Jenkinsfile 15:09:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:05 LICENSE 15:09:37 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:05 Makefile 15:09:37 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:05 OWNERS.md 15:09:37 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:05 README.md 15:09:37 -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 15:03 VERSION 15:09:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:05 bin 15:09:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 cmd 15:09:37 -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:09 coverage.out 15:09:37 -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:05 go.mod 15:09:37 -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:05 go.sum 15:09:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 internal 15:09:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:05 mock 15:09:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:05 snap 15:09:37 -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:37 + 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=ec4bdb71d113baf8f62d105c9dc125da7e597352 --label arch=arm64 --label version=3.0.0-dev.6 . 15:09:37 Sending build context to Docker daemon 3.316MB 15:09:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 15:09:37 Step 2/24 : FROM ${BASE} AS builder 15:09:37 ---> bf929a3a3dec 15:09:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:09:38 ---> Running in 8be6c9c5e7e5 15:09:38 Removing intermediate container 8be6c9c5e7e5 15:09:38 ---> 75cbe3134ee3 15:09:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:09:38 ---> Running in 2e9e1fd88003 15:09:38 Removing intermediate container 2e9e1fd88003 15:09:38 ---> 9ccedd1de4c3 15:09:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:09:38 ---> Running in fa043c85ea32 15:09:39 Removing intermediate container fa043c85ea32 15:09:39 ---> 066178e67ffa 15:09:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:09:39 ---> Running in be79900dae12 15:09:39 Removing intermediate container be79900dae12 15:09:39 ---> ce3216dcd4e7 15:09:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:09:39 ---> Running in a267906321e5 15:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:09:42 OK: 226 MiB in 55 packages 15:09:43 Removing intermediate container a267906321e5 15:09:43 ---> 9947747190f1 15:09:43 Step 8/24 : WORKDIR /device-mqtt-go 15:09:43 ---> Running in 3aa7c4063050 15:09:44 Removing intermediate container 3aa7c4063050 15:09:44 ---> a37caf185971 15:09:44 Step 9/24 : COPY go.mod vendor* ./ 15:09:45 ---> 947ec38a79e1 15:09:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:09:45 ---> Running in c5ba2a8eaf16 15:09:48 Removing intermediate container c5ba2a8eaf16 15:09:48 ---> 0c3c93dfbb2c 15:09:48 Step 11/24 : COPY . . 15:09:49 ---> d6fd22a4a475 15:09:49 Step 12/24 : RUN $MAKE 15:09:49 ---> Running in b06ab28fd8f5 15:09:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:12:27 Removing intermediate container b06ab28fd8f5 15:12:27 ---> d8d392b6705a 15:12:27 Step 13/24 : FROM alpine:3.16 15:12:27 3.16: Pulling from library/alpine 15:12:27 3760b48202b3: Pulling fs layer 15:12:27 3760b48202b3: Verifying Checksum 15:12:27 3760b48202b3: Download complete 15:12:27 3760b48202b3: Pull complete 15:12:27 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:12:27 Status: Downloaded newer image for alpine:3.16 15:12:27 ---> 4c81e5bf8899 15:12:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:12:27 ---> Running in 3312397bf58c 15:12:27 Removing intermediate container 3312397bf58c 15:12:27 ---> afec7302d4cb 15:12:27 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:12:27 ---> Running in 94f18f502183 15:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:12:27 (1/1) Installing dumb-init (1.2.5-r1) 15:12:27 Executing busybox-1.35.0-r17.trigger 15:12:27 OK: 5 MiB in 15 packages 15:12:27 Removing intermediate container 94f18f502183 15:12:27 ---> 8bdd8f010454 15:12:27 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:12:27 ---> eb90f0a9f767 15:12:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:12:27 ---> 0071c39170b2 15:12:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:12:27 ---> eff2a836ec38 15:12:27 Step 19/24 : EXPOSE 59982 15:12:27 ---> Running in 208810fa6e3b 15:12:27 Removing intermediate container 208810fa6e3b 15:12:27 ---> c7488d580933 15:12:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:12:27 ---> Running in 221cf729dc50 15:12:27 Removing intermediate container 221cf729dc50 15:12:27 ---> 2ab19e080da7 15:12:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:12:27 ---> Running in 6240cff61fb1 15:12:27 Removing intermediate container 6240cff61fb1 15:12:27 ---> dc9423fc5cd8 15:12:27 Step 22/24 : LABEL arch=arm64 15:12:27 ---> Running in 45f360fe78d6 15:12:27 Removing intermediate container 45f360fe78d6 15:12:27 ---> 74991a52d201 15:12:27 Step 23/24 : LABEL git_sha=ec4bdb71d113baf8f62d105c9dc125da7e597352 15:12:27 ---> Running in 240e28dc26d6 15:12:27 Removing intermediate container 240e28dc26d6 15:12:27 ---> 24bf373888fe 15:12:27 Step 24/24 : LABEL version=3.0.0-dev.6 15:12:27 ---> Running in 7084fdda08b2 15:12:27 Removing intermediate container 7084fdda08b2 15:12:27 ---> ae6f599a2585 15:12:27 [Warning] One or more build-args [ARCH] were not consumed 15:12:27 Successfully built ae6f599a2585 15:12:27 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:27 provisioning config files... 15:12:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/89@tmp/config805590243329247822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:27 ---> docker-login.sh 15:12:27 nexus3.edgexfoundry.org:10001 15:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:28 Configure a credential helper to remove this warning. See 15:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:28 15:12:28 Login Succeeded 15:12:28 nexus3.edgexfoundry.org:10002 15:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:28 Configure a credential helper to remove this warning. See 15:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:28 15:12:28 Login Succeeded 15:12:28 nexus3.edgexfoundry.org:10003 15:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:28 Configure a credential helper to remove this warning. See 15:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:28 15:12:28 Login Succeeded 15:12:28 nexus3.edgexfoundry.org:10004 15:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:29 Configure a credential helper to remove this warning. See 15:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:29 15:12:29 Login Succeeded 15:12:29 docker.io 15:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:29 Configure a credential helper to remove this warning. See 15:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:29 15:12:29 Login Succeeded 15:12:29 ---> docker-login.sh ends [Pipeline] } 15:12:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:12:29 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 15:12:29 ec4bdb71d113baf8f62d105c9dc125da7e597352 15:12:29 latest 15:12:29 3.0.0-dev.6 15:12:29 ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:12:29 main 15:12:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352 15:12:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:12:30 bc5bff524e28: Preparing 15:12:30 709e403947e9: Preparing 15:12:30 1b11f6cd1ed7: Preparing 15:12:30 4b0122dff148: Preparing 15:12:30 f70ee36035b9: Preparing 15:12:30 f70ee36035b9: Layer already exists 15:12:30 709e403947e9: Pushed 15:12:30 bc5bff524e28: Pushed 15:12:30 4b0122dff148: Pushed 15:12:37 1b11f6cd1ed7: Pushed 15:12:37 ec4bdb71d113baf8f62d105c9dc125da7e597352: digest: sha256:6d160cf2cdfe361f4a370e20aaf13bf8b918514d3b11efe075df5ace997bdaba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:12:38 bc5bff524e28: Preparing 15:12:38 709e403947e9: Preparing 15:12:38 1b11f6cd1ed7: Preparing 15:12:38 4b0122dff148: Preparing 15:12:38 f70ee36035b9: Preparing 15:12:38 1b11f6cd1ed7: Layer already exists 15:12:38 bc5bff524e28: Layer already exists 15:12:38 4b0122dff148: Layer already exists 15:12:38 f70ee36035b9: Layer already exists 15:12:38 709e403947e9: Layer already exists 15:12:38 latest: digest: sha256:6d160cf2cdfe361f4a370e20aaf13bf8b918514d3b11efe075df5ace997bdaba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.6 15:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:12:39 bc5bff524e28: Preparing 15:12:39 709e403947e9: Preparing 15:12:39 1b11f6cd1ed7: Preparing 15:12:39 4b0122dff148: Preparing 15:12:39 f70ee36035b9: Preparing 15:12:39 4b0122dff148: Layer already exists 15:12:39 1b11f6cd1ed7: Layer already exists 15:12:39 709e403947e9: Layer already exists 15:12:39 f70ee36035b9: Layer already exists 15:12:39 bc5bff524e28: Layer already exists 15:12:39 3.0.0-dev.6: digest: sha256:6d160cf2cdfe361f4a370e20aaf13bf8b918514d3b11efe075df5ace997bdaba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:12:39 bc5bff524e28: Preparing 15:12:39 709e403947e9: Preparing 15:12:39 1b11f6cd1ed7: Preparing 15:12:39 4b0122dff148: Preparing 15:12:39 f70ee36035b9: Preparing 15:12:39 709e403947e9: Layer already exists 15:12:39 bc5bff524e28: Layer already exists 15:12:39 4b0122dff148: Layer already exists 15:12:39 1b11f6cd1ed7: Layer already exists 15:12:39 f70ee36035b9: Layer already exists 15:12:40 ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6: digest: sha256:6d160cf2cdfe361f4a370e20aaf13bf8b918514d3b11efe075df5ace997bdaba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 15:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:12:40 bc5bff524e28: Preparing 15:12:40 709e403947e9: Preparing 15:12:40 1b11f6cd1ed7: Preparing 15:12:40 4b0122dff148: Preparing 15:12:40 f70ee36035b9: Preparing 15:12:40 f70ee36035b9: Layer already exists 15:12:40 bc5bff524e28: Layer already exists 15:12:40 709e403947e9: Layer already exists 15:12:40 4b0122dff148: Layer already exists 15:12:40 1b11f6cd1ed7: Layer already exists 15:12:41 main: digest: sha256:6d160cf2cdfe361f4a370e20aaf13bf8b918514d3b11efe075df5ace997bdaba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:12:41 ===================================================== [Pipeline] echo 15:12:41 taggedImages: 15:12:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352 15:12:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:12:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.6 15:12:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ec4bdb71d113baf8f62d105c9dc125da7e597352-3.0.0-dev.6 15:12:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:41 15:12:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:42 arm64: Pulling from edgex-lftools-log-publisher 15:12:42 8998bd30e6a1: Pulling fs layer 15:12:42 04944245beec: Pulling fs layer 15:12:42 699f458cf7ca: Pulling fs layer 15:12:42 765212b225bb: Pulling fs layer 15:12:42 765212b225bb: Waiting 15:12:42 f23df028b6ca: Pulling fs layer 15:12:42 d65c8cfc05b1: Pulling fs layer 15:12:42 2437ff75d9bd: Pulling fs layer 15:12:42 f23df028b6ca: Waiting 15:12:42 d65c8cfc05b1: Waiting 15:12:42 2437ff75d9bd: Waiting 15:12:42 04944245beec: Verifying Checksum 15:12:42 04944245beec: Download complete 15:12:42 765212b225bb: Verifying Checksum 15:12:42 765212b225bb: Download complete 15:12:42 f23df028b6ca: Verifying Checksum 15:12:42 f23df028b6ca: Download complete 15:12:42 d65c8cfc05b1: Verifying Checksum 15:12:42 d65c8cfc05b1: Download complete 15:12:42 699f458cf7ca: Download complete 15:12:42 8998bd30e6a1: Verifying Checksum 15:12:42 8998bd30e6a1: Download complete 15:12:45 2437ff75d9bd: Download complete 15:12:47 8998bd30e6a1: Pull complete 15:12:47 04944245beec: Pull complete 15:12:49 699f458cf7ca: Pull complete 15:12:49 765212b225bb: Pull complete 15:12:50 f23df028b6ca: Pull complete 15:12:50 d65c8cfc05b1: Pull complete 15:13:05 2437ff75d9bd: Pull complete 15:13:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:13:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-8814 does not seem to be running inside a container 15:13:05 $ 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/89 -v /w/workspace/device-mqtt-go/89:/w/workspace/device-mqtt-go/89:rw,z -v /w/workspace/device-mqtt-go/89@tmp:/w/workspace/device-mqtt-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:13:08 $ docker top f896954c3ae9ed55729ae1f4b33a80e33d1fd0d13bebeb63dc8ae616ec7247b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:13:09 ---> job-cost.sh 15:13:09 lf-activate-venv: SKIPPING 15:13:09 INFO: No Stack... 15:13:09 INFO: Retrieving Pricing Info for: v3-standard-4 15:13:10 INFO: Archiving Costs [Pipeline] sh 15:13:11 + + cutcat -d, /w/workspace/device-mqtt-go/89/archives/cost.csv -f6 15:13:11 [Pipeline] lock 15:13:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] 15:13:11 Resource [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] did not exist. Created. 15:13:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:13:12 /w/workspace/device-mqtt-go/89@tmp/durable-ded12c50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:13:12 + echo total: 0.10999999940395355 [Pipeline] stash 15:13:12 Warning: overwriting stash ‘stack-cost’ 15:13:12 Stashed 1 file(s) [Pipeline] } 15:13:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 15:13:12 $ docker stop --time=1 f896954c3ae9ed55729ae1f4b33a80e33d1fd0d13bebeb63dc8ae616ec7247b4 15:13:14 $ docker rm -f --volumes f896954c3ae9ed55729ae1f4b33a80e33d1fd0d13bebeb63dc8ae616ec7247b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:13:14 provisioning config files... 15:13:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7523868401743377293tmp [Pipeline] { [Pipeline] sh 15:13:15 + set +x 15:13:15 + curl -s https://codecov.io/bash 15:13:15 + bash -s -- 15:13:15 15:13:15 _____ _ 15:13:15 / ____| | | 15:13:15 | | ___ __| | ___ ___ _____ __ 15:13:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:13:15 | |___| (_) | (_| | __/ (_| (_) \ V / 15:13:15 \_____\___/ \__,_|\___|\___\___/ \_/ 15:13:15 Bash-1.0.6 15:13:15 15:13:15 15:13:15 ==> git version 2.25.1 found 15:13:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:13:15 Release-Date: 2020-01-08 15:13:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:13:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:13:15 ==> Jenkins CI detected. 15:13:15 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 15:13:15 project root: . 15:13:15 --> token set from env 15:13:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:13:15 ==> Running gcov in . (disable via -X gcov) 15:13:15 ==> Python coveragepy not found 15:13:15 ==> Searching for coverage reports in: 15:13:15 + . 15:13:15 -> Found 1 reports 15:13:15 ==> Detecting git/mercurial file structure 15:13:15 ==> Reading reports 15:13:15 + ./coverage.out bytes=17887 15:13:15 ==> Appending adjustments 15:13:15 https://docs.codecov.io/docs/fixing-reports 15:13:15 + Found adjustments 15:13:15 ==> Gzipping contents 15:13:15 4.0K /tmp/codecov.HnfUDM.gz 15:13:15 ==> Uploading reports 15:13:15 url: https://codecov.io 15:13:15 query: branch=main&commit=ec4bdb71d113baf8f62d105c9dc125da7e597352&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:13:15 -> Pinging Codecov 15:13:15 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=ec4bdb71d113baf8f62d105c9dc125da7e597352&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:13:15 -> Uploading to 15:13:15 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/ec4bdb71d113baf8f62d105c9dc125da7e597352/73aa5b9d-745c-45b3-88ee-ad48440c2cea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T151315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cb619552cab817f85b40dfd0a1a7acbc1318e4c5d574e20b0a35336f123868b 15:13:15 % Total % Received % Xferd Average Speed Time Time Time Current 15:13:15 Dload Upload Total Spent Left Speed 15:13:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 15544 --:--:-- --:--:-- --:--:-- 15468 100 3171 0 0 100 3171 0 8547 --:--:-- --:--:-- --:--:-- 8524 15:13:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] } 15:13:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:13:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:13:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:13:16 15:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:13:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:13:16 df9b9388f04a: Pulling fs layer 15:13:16 52dc419b0ee2: Pulling fs layer 15:13:16 25bc292e5bac: Pulling fs layer 15:13:16 114826534d7a: Pulling fs layer 15:13:16 4657fd5d0bcf: Pulling fs layer 15:13:16 6ad1cebc031e: Pulling fs layer 15:13:16 8a3aa393b2d8: Pulling fs layer 15:13:16 114826534d7a: Waiting 15:13:16 4657fd5d0bcf: Waiting 15:13:16 6ad1cebc031e: Waiting 15:13:16 25bc292e5bac: Verifying Checksum 15:13:16 25bc292e5bac: Download complete 15:13:16 52dc419b0ee2: Verifying Checksum 15:13:16 52dc419b0ee2: Download complete 15:13:16 4657fd5d0bcf: Download complete 15:13:16 df9b9388f04a: Download complete 15:13:16 df9b9388f04a: Pull complete 15:13:16 6ad1cebc031e: Verifying Checksum 15:13:16 6ad1cebc031e: Download complete 15:13:16 52dc419b0ee2: Pull complete 15:13:17 25bc292e5bac: Pull complete 15:13:17 114826534d7a: Verifying Checksum 15:13:17 114826534d7a: Download complete 15:13:17 8a3aa393b2d8: Download complete 15:13:21 114826534d7a: Pull complete 15:13:21 4657fd5d0bcf: Pull complete 15:13:21 6ad1cebc031e: Pull complete 15:13:23 8a3aa393b2d8: Pull complete 15:13:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:13:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:23 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:13:23 $ 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 15:13:25 $ docker top 4d934346207c106986847d2181f01d578572a54853e1a6d3f95eeadbb5a0494e -eo pid,comm [Pipeline] { [Pipeline] echo 15:13:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 15:13:26 + set -o pipefail 15:13:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 15:13:34 15:13:34 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 15:13:34 15:13:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/d69c461d-23df-485c-ad86-b2f4edd6ff8b 15:13:34 15:13:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:13:34 15:13:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:13:34 15:13:36 15:13:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:13:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:13:36 More details here: https://snyk.co/ue1NS [Pipeline] } 15:13:36 $ docker stop --time=1 4d934346207c106986847d2181f01d578572a54853e1a6d3f95eeadbb5a0494e 15:13:38 $ docker rm -f --volumes 4d934346207c106986847d2181f01d578572a54853e1a6d3f95eeadbb5a0494e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:13:39 + git log --format=format:%s -1 ec4bdb71d113baf8f62d105c9dc125da7e597352 [Pipeline] sh 15:13:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:13:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:13:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:39 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:13:39 $ 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 15:13:40 $ docker top 37d3059837c5bfe9f0394e57c19a0ad1d1cd03d5df7417c4d64d5e3f77951e28 -eo pid,comm 15:13:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:13:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:13:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:13:40 [ssh-agent] Looking for ssh-agent implementation... 15:13:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:13:40 $ docker exec 37d3059837c5bfe9f0394e57c19a0ad1d1cd03d5df7417c4d64d5e3f77951e28 ssh-agent 15:13:40 SSH_AUTH_SOCK=/tmp/ssh-SXs3ibqyzFqE/agent.32 15:13:40 SSH_AGENT_PID=38 15:13:40 Running ssh-add (command line suppressed) 15:13:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14378371194741450521.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14378371194741450521.key) 15:13:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:13:41 + git semver tag 15:13:41 2023-03-08 15:13:41,208 [run_tag] DEBUG tag force:False 15:13:41 2023-03-08 15:13:41,209 [check_head_tag] DEBUG check head tag 15:13:41 2023-03-08 15:13:41,210 [execute] INFO git cat-file --batch-check 15:13:41 2023-03-08 15:13:41,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:13:41 2023-03-08 15:13:41,215 [execute] INFO git cat-file --batch 15:13:41 2023-03-08 15:13:41,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:13:41 2023-03-08 15:13:41,236 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:13:41 2023-03-08 15:13:41,236 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 15:13:41 2023-03-08 15:13:41,237 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 15:13:41 2023-03-08 15:13:41,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:13:41 3.0.0-dev.6 [Pipeline] } 15:13:41 $ docker exec --env ******** --env ******** 37d3059837c5bfe9f0394e57c19a0ad1d1cd03d5df7417c4d64d5e3f77951e28 ssh-agent -k 15:13:41 unset SSH_AUTH_SOCK; 15:13:41 unset SSH_AGENT_PID; 15:13:41 echo Agent pid 38 killed; 15:13:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:13:41 + git semver [Pipeline] } 15:13:41 $ docker stop --time=1 37d3059837c5bfe9f0394e57c19a0ad1d1cd03d5df7417c4d64d5e3f77951e28 15:13:43 $ docker rm -f --volumes 37d3059837c5bfe9f0394e57c19a0ad1d1cd03d5df7417c4d64d5e3f77951e28 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:13:43 15:13:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:13:43 0.23.1-centos7: Pulling from edgex-lftools 15:13:43 ab5ef0e58194: Pulling fs layer 15:13:43 9712f1f96733: Pulling fs layer 15:13:43 63f879dbbcfc: Pulling fs layer 15:13:43 0d9ebad4ef96: Pulling fs layer 15:13:43 e9a5061849ea: Pulling fs layer 15:13:43 d747dcd14b5f: Pulling fs layer 15:13:43 2de7ff778b66: Pulling fs layer 15:13:43 0d9ebad4ef96: Waiting 15:13:43 e9a5061849ea: Waiting 15:13:43 d747dcd14b5f: Waiting 15:13:43 2de7ff778b66: Waiting 15:13:43 9712f1f96733: Verifying Checksum 15:13:43 9712f1f96733: Download complete 15:13:44 63f879dbbcfc: Verifying Checksum 15:13:44 63f879dbbcfc: Download complete 15:13:44 e9a5061849ea: Verifying Checksum 15:13:44 e9a5061849ea: Download complete 15:13:44 d747dcd14b5f: Verifying Checksum 15:13:44 d747dcd14b5f: Download complete 15:13:44 0d9ebad4ef96: Verifying Checksum 15:13:44 0d9ebad4ef96: Download complete 15:13:44 ab5ef0e58194: Verifying Checksum 15:13:44 2de7ff778b66: Verifying Checksum 15:13:44 2de7ff778b66: Download complete 15:13:47 ab5ef0e58194: Pull complete 15:13:47 9712f1f96733: Pull complete 15:13:47 63f879dbbcfc: Pull complete 15:13:51 0d9ebad4ef96: Pull complete 15:13:51 e9a5061849ea: Pull complete 15:13:51 d747dcd14b5f: Pull complete 15:13:52 2de7ff778b66: Pull complete 15:13:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:13:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:52 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:13:52 $ 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 15:13:54 $ docker top bd7197da8d6cf13dc9326109aa57c425cfebd695ec4c2d015da4fe340a8654a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:13:54 provisioning config files... 15:13:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3108227129891935183tmp 15:13:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10124502704600432193tmp 15:13:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config207141285707425301tmp [Pipeline] { [Pipeline] echo 15:13:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:13:55 ---> sigul-configuration.sh 15:13:55 gpg: directory `/root/.gnupg' created 15:13:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:13:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:13:55 gpg: keyring `/root/.gnupg/secring.gpg' created 15:13:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:13:55 gpg: CAST5 encrypted data 15:13:55 gpg: encrypted with 1 passphrase 15:13:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:13:55 + mkdir /home/jenkins 15:13:55 + mkdir /home/jenkins/sigul [Pipeline] sh 15:13:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:13:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:13:56 ---> sigul-install.sh 15:13:56 Sigul already installed; skipping installation. [Pipeline] sh 15:13:56 + git tag --list 15:13:56 0.7.1 15:13:56 v1.0.0 15:13:56 v1.1.0 15:13:56 v1.1.1 15:13:56 v1.2.2 15:13:56 v1.3.0 15:13:56 v1.3.1 15:13:56 v2.0.0 15:13:56 v2.1.0 15:13:56 v2.1.1 15:13:56 v2.1.1-dev.1 15:13:56 v2.1.1-dev.2 15:13:56 v2.2.0 15:13:56 v2.2.1-dev.1 15:13:56 v2.2.1-dev.10 15:13:56 v2.2.1-dev.2 15:13:56 v2.2.1-dev.3 15:13:56 v2.2.1-dev.4 15:13:56 v2.2.1-dev.5 15:13:56 v2.2.1-dev.6 15:13:56 v2.2.1-dev.7 15:13:56 v2.2.1-dev.8 15:13:56 v2.2.1-dev.9 15:13:56 v2.3.0 15:13:56 v2.3.0-dev.10 15:13:56 v2.3.0-dev.11 15:13:56 v2.3.0-dev.12 15:13:56 v2.3.0-dev.13 15:13:56 v2.3.0-dev.14 15:13:56 v2.3.0-dev.15 15:13:56 v2.3.0-dev.16 15:13:56 v2.3.0-dev.17 15:13:56 v2.3.0-dev.18 15:13:56 v2.3.0-dev.19 15:13:56 v2.3.0-dev.20 15:13:56 v2.3.0-dev.21 15:13:56 v2.3.0-dev.22 15:13:56 v2.3.0-dev.23 15:13:56 v2.3.0-dev.24 15:13:56 v2.3.0-dev.25 15:13:56 v2.3.0-dev.26 15:13:56 v2.3.0-dev.27 15:13:56 v2.3.0-dev.28 15:13:56 v2.3.0-dev.29 15:13:56 v2.3.0-dev.30 15:13:56 v2.3.0-dev.31 15:13:56 v2.3.0-dev.32 15:13:56 v2.3.0-dev.33 15:13:56 v2.3.0-dev.34 15:13:56 v3.0.0-dev.1 15:13:56 v3.0.0-dev.2 15:13:56 v3.0.0-dev.3 15:13:56 v3.0.0-dev.4 15:13:56 v3.0.0-dev.5 15:13:56 v3.0.0-dev.6 [Pipeline] sh 15:13:56 + lftools sign git-tag v3.0.0-dev.6 15:13:57 Signing Git tag with Sigul... 15:13:57 Signing v3.0.0-dev.6 [Pipeline] echo 15:13:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:13:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:13:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:13:57 $ docker stop --time=1 bd7197da8d6cf13dc9326109aa57c425cfebd695ec4c2d015da4fe340a8654a5 15:13:59 $ docker rm -f --volumes bd7197da8d6cf13dc9326109aa57c425cfebd695ec4c2d015da4fe340a8654a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:13:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:13:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:59 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:13:59 $ 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 15:14:00 $ docker top 743ef255da69079f0e54da34c1acc05e71b1a1e7fe075f7853739bb7bf67fda7 -eo pid,comm 15:14:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:14:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:00 [ssh-agent] Looking for ssh-agent implementation... 15:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:00 $ docker exec 743ef255da69079f0e54da34c1acc05e71b1a1e7fe075f7853739bb7bf67fda7 ssh-agent 15:14:00 SSH_AUTH_SOCK=/tmp/ssh-SuCvSNPqFV8t/agent.33 15:14:00 SSH_AGENT_PID=39 15:14:00 Running ssh-add (command line suppressed) 15:14:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10275372656880043129.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10275372656880043129.key) 15:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:00 + git semver bump pre 15:14:01 2023-03-08 15:14:01,177 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:14:01 2023-03-08 15:14:01,177 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 15:14:01 2023-03-08 15:14:01,177 [bump_version] DEBUG bumped version:3.0.0-dev.7 15:14:01 2023-03-08 15:14:01,177 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 15:14:01 2023-03-08 15:14:01,177 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:14:01 2023-03-08 15:14:01,177 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:14:01 2023-03-08 15:14:01,179 [execute] INFO git cat-file --batch-check 15:14:01 2023-03-08 15:14:01,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:14:01 2023-03-08 15:14:01,184 [execute] INFO git cat-file --batch 15:14:01 2023-03-08 15:14:01,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:14:01 2023-03-08 15:14:01,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:14:01 3.0.0-dev.7 [Pipeline] } 15:14:01 $ docker exec --env ******** --env ******** 743ef255da69079f0e54da34c1acc05e71b1a1e7fe075f7853739bb7bf67fda7 ssh-agent -k 15:14:01 unset SSH_AUTH_SOCK; 15:14:01 unset SSH_AGENT_PID; 15:14:01 echo Agent pid 39 killed; 15:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:01 + git semver [Pipeline] } 15:14:01 $ docker stop --time=1 743ef255da69079f0e54da34c1acc05e71b1a1e7fe075f7853739bb7bf67fda7 15:14:03 $ docker rm -f --volumes 743ef255da69079f0e54da34c1acc05e71b1a1e7fe075f7853739bb7bf67fda7 [Pipeline] // withDockerContainer [Pipeline] sh 15:14:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:14:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:03 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:14:03 $ 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 15:14:04 $ docker top b247a9a6d3e49ad302b0307fbda2e384fd86aa614865415aa99e1d9b888284e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:04 [ssh-agent] Looking for ssh-agent implementation... 15:14:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:04 $ docker exec b247a9a6d3e49ad302b0307fbda2e384fd86aa614865415aa99e1d9b888284e1 ssh-agent 15:14:04 SSH_AUTH_SOCK=/tmp/ssh-6TICLhQTSKeP/agent.33 15:14:04 SSH_AGENT_PID=39 15:14:04 Running ssh-add (command line suppressed) 15:14:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1083245664799240557.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1083245664799240557.key) 15:14:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:05 + git semver push 15:14:05 2023-03-08 15:14:05,256 [run_push] DEBUG push 15:14:05 2023-03-08 15:14:05,256 [execute] INFO git cat-file --batch-check 15:14:05 2023-03-08 15:14:05,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:14:05 2023-03-08 15:14:05,261 [execute] INFO git rev-list 5c88cbd6cb3c82f7da07bf5dbaa9674b8e82d23d -- 15:14:05 2023-03-08 15:14:05,261 [execute] DEBUG Popen(['git', 'rev-list', '5c88cbd6cb3c82f7da07bf5dbaa9674b8e82d23d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:14:05 2023-03-08 15:14:05,271 [execute] INFO git fetch -v origin 15:14:05 2023-03-08 15:14:05,272 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:14:06 2023-03-08 15:14:05,942 [run_push] DEBUG no remote changes detected 15:14:06 2023-03-08 15:14:05,943 [execute] INFO git push origin semver 15:14:06 2023-03-08 15:14:05,943 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:14:07 2023-03-08 15:14:06,849 [run_push] DEBUG push all version tags 15:14:07 2023-03-08 15:14:06,850 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:14:07 2023-03-08 15:14:06,850 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 15:14:07 2023-03-08 15:14:07,679 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:14:07 3.0.0-dev.7 [Pipeline] } 15:14:07 $ docker exec --env ******** --env ******** b247a9a6d3e49ad302b0307fbda2e384fd86aa614865415aa99e1d9b888284e1 ssh-agent -k 15:14:07 unset SSH_AUTH_SOCK; 15:14:07 unset SSH_AGENT_PID; 15:14:07 echo Agent pid 39 killed; 15:14:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:08 + git semver [Pipeline] } 15:14:08 $ docker stop --time=1 b247a9a6d3e49ad302b0307fbda2e384fd86aa614865415aa99e1d9b888284e1 15:14:09 $ docker rm -f --volumes b247a9a6d3e49ad302b0307fbda2e384fd86aa614865415aa99e1d9b888284e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:14:10 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 15:14:10 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:14:10 total 16 15:14:10 drwxr-xr-x 3 root root 4096 Mar 8 15:05 . 15:14:10 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:13 .. 15:14:10 drwxr-xr-x 2 root root 4096 Mar 8 15:05 cost 15:14:10 -rw-r--r-- 1 root root 85 Mar 8 15:05 cost.csv 15:14:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:14:10 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:14:10 total 16 15:14:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:05 . 15:14:10 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:13 .. 15:14:10 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 15:05 cost 15:14:10 -rw-r--r-- 1 jenkins jenkins 85 Mar 8 15:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:14:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:14:11 ---> package-listing.sh 15:14:11 ++ facter osfamily 15:14:11 ++ tr '[:upper:]' '[:lower:]' 15:14:11 + OS_FAMILY=debian 15:14:11 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 15:14:11 + START_PACKAGES=/tmp/packages_start.txt 15:14:11 + END_PACKAGES=/tmp/packages_end.txt 15:14:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:14:11 + PACKAGES=/tmp/packages_start.txt 15:14:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:14:11 + PACKAGES=/tmp/packages_end.txt 15:14:11 + case "${OS_FAMILY}" in 15:14:11 + grep '^ii' 15:14:11 + dpkg -l 15:14:11 + '[' -f /tmp/packages_start.txt ']' 15:14:11 + '[' -f /tmp/packages_end.txt ']' 15:14:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:14:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:14:11 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 15:14:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 15:14:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:14:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:14:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:12 prd-ubuntu20.04-docker-8c-8g-8811 does not seem to be running inside a container 15:14:12 $ 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 15:14:12 $ docker top d83c7fb769a5e1553e56b07e454d8067abc86820fb9992696556c96b906ac433 -eo pid,comm [Pipeline] { [Pipeline] sh 15:14:13 + touch /tmp/pre-build-complete [Pipeline] sh 15:14:13 + mkdir -p /var/log/sysstat [Pipeline] sh 15:14:13 + ls /var/log/sa-host 15:14:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:13 provisioning config files... 15:14:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5273927678971594217tmp [Pipeline] { [Pipeline] echo 15:14:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:14:14 ---> create-netrc.sh [Pipeline] } 15:14:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:14:14 ---> python-tools-install.sh [Pipeline] echo 15:14:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:14:14 ---> sudo-logs.sh 15:14:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:14:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:14:15 ---> job-cost.sh 15:14:15 lf-activate-venv: SKIPPING 15:14:15 DEBUG: total: 0.2199999988079071 15:14:15 INFO: Retrieving Stack Cost... 15:14:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:14:16 INFO: Archiving Costs [Pipeline] echo 15:14:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:14:16 ---> logs-deploy.sh 15:14:16 lf-activate-venv: SKIPPING 15:14:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/89 15:14:16 INFO: archiving workspace using pattern(s): 15:14:17 Archives upload complete. 15:14:17 INFO: archiving logs to Nexus