Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 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-ssh17099062840953059086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh10588540411241400056.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh17690203311791254780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh1506457936454070365.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh868003707925128644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-19752 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 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403)" > git rev-list --no-walk 96cabdd59aa851e4a49b1fc08506526fb97387b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:50 ========================================================= 20:17:50 EdgeX Global Pipelines Version Info 20:17:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:51 ------------------- 20:17:51 stable info: 20:17:51 ------------------- 20:17:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:51 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 20:17:51 Message: update stable to v1.0.237 20:17:51 ------------------- 20:17:51 experimental info: 20:17:51 ------------------- 20:17:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:17:51 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 20:17:51 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e9452b [Pipeline] echo 20:17:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:52 provisioning config files... 20:17:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config91146706008683211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:52 ---> docker-login.sh 20:17:52 nexus3.edgexfoundry.org:10001 20:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:53 Configure a credential helper to remove this warning. See 20:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:53 20:17:53 Login Succeeded 20:17:53 nexus3.edgexfoundry.org:10002 20:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:53 Configure a credential helper to remove this warning. See 20:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:53 20:17:53 Login Succeeded 20:17:53 nexus3.edgexfoundry.org:10003 20:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:53 Configure a credential helper to remove this warning. See 20:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:53 20:17:53 Login Succeeded 20:17:53 nexus3.edgexfoundry.org:10004 20:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:53 Configure a credential helper to remove this warning. See 20:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:53 20:17:53 Login Succeeded 20:17:53 docker.io 20:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:53 Configure a credential helper to remove this warning. See 20:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:53 20:17:53 Login Succeeded 20:17:53 ---> docker-login.sh ends [Pipeline] } 20:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:54 + git rev-list -1 --merges 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec~1..7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo 20:17:54 -----------> git rev-list -1 --merges 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec~1..7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [false] [Pipeline] sh 20:17:54 + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo 20:17:54 ========================================================= 20:17:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:55 + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo 20:17:55 [semverPrep] GIT_COMMIT: 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec, Commit Message: build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403) [Pipeline] echo 20:17:55 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:55 + grep -v github /etc/ssh/ssh_known_hosts 20:17:55 + [ -e /tmp/ssh_known_hosts ] 20:17:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:17:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:17:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:55 20:17:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:56 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:56 b85a868b505f: Pulling fs layer 20:17:56 e2be974225ed: Pulling fs layer 20:17:56 339a4e72a1f5: Pulling fs layer 20:17:56 988bab9f4d93: Pulling fs layer 20:17:56 1469e6f7b9e6: Pulling fs layer 20:17:56 eaf3925da568: Pulling fs layer 20:17:56 bab4dde63d76: Pulling fs layer 20:17:56 bde34c3a00c8: Pulling fs layer 20:17:56 b352a97aabf1: Pulling fs layer 20:17:56 4872d77fe225: Pulling fs layer 20:17:56 5851b861e8e6: Pulling fs layer 20:17:56 988bab9f4d93: Waiting 20:17:56 bab4dde63d76: Waiting 20:17:56 bde34c3a00c8: Waiting 20:17:56 1469e6f7b9e6: Waiting 20:17:56 eaf3925da568: Waiting 20:17:56 b352a97aabf1: Waiting 20:17:56 4872d77fe225: Waiting 20:17:56 5851b861e8e6: Waiting 20:17:56 e2be974225ed: Download complete 20:17:56 988bab9f4d93: Verifying Checksum 20:17:56 988bab9f4d93: Download complete 20:17:56 1469e6f7b9e6: Verifying Checksum 20:17:56 1469e6f7b9e6: Download complete 20:17:56 339a4e72a1f5: Download complete 20:17:56 eaf3925da568: Verifying Checksum 20:17:56 eaf3925da568: Download complete 20:17:56 bde34c3a00c8: Download complete 20:17:56 b352a97aabf1: Verifying Checksum 20:17:56 b352a97aabf1: Download complete 20:17:56 4872d77fe225: Download complete 20:17:56 5851b861e8e6: Verifying Checksum 20:17:56 5851b861e8e6: Download complete 20:17:56 b85a868b505f: Verifying Checksum 20:17:56 b85a868b505f: Download complete 20:17:56 bab4dde63d76: Verifying Checksum 20:17:56 bab4dde63d76: Download complete 20:17:57 b85a868b505f: Pull complete 20:17:57 e2be974225ed: Pull complete 20:17:58 339a4e72a1f5: Pull complete 20:17:58 988bab9f4d93: Pull complete 20:17:58 1469e6f7b9e6: Pull complete 20:17:58 eaf3925da568: Pull complete 20:18:00 bab4dde63d76: Pull complete 20:18:00 bde34c3a00c8: Pull complete 20:18:00 b352a97aabf1: Pull complete 20:18:00 4872d77fe225: Pull complete 20:18:01 5851b861e8e6: Pull complete 20:18:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:01 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:18:02 $ docker top 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 -eo pid,comm 20:18:02 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). 20:18:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:02 [ssh-agent] Looking for ssh-agent implementation... 20:18:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:02 $ docker exec 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent 20:18:02 SSH_AUTH_SOCK=/tmp/ssh-EtTARjQFcWJh/agent.34 20:18:02 SSH_AGENT_PID=40 20:18:02 Running ssh-add (command line suppressed) 20:18:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_685688391971209641.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_685688391971209641.key) 20:18:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:03 + git tag --points-at HEAD [Pipeline] } 20:18:03 $ docker exec --env ******** --env ******** 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent -k 20:18:03 unset SSH_AUTH_SOCK; 20:18:03 unset SSH_AGENT_PID; 20:18:03 echo Agent pid 40 killed; 20:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:18:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:03 [ssh-agent] Looking for ssh-agent implementation... 20:18:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:03 $ docker exec 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent 20:18:03 SSH_AUTH_SOCK=/tmp/ssh-fMP1lTgwcNBo/agent.72 20:18:03 SSH_AGENT_PID=79 20:18:03 Running ssh-add (command line suppressed) 20:18:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4885572624698635672.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4885572624698635672.key) 20:18:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:04 + git semver init 20:18:04 2022-07-12 20:18:04,433 [run_init] DEBUG init version:0.0.0 force:False 20:18:04 2022-07-12 20:18:04,434 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:18:04 2022-07-12 20:18:04,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:18:04 2022-07-12 20:18:04,435 [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) 20:18:05 2022-07-12 20:18:05,095 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:18:05 2022-07-12 20:18:05,096 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:18:05 2022-07-12 20:18:05,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:18:05 2022-07-12 20:18:05,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:18:05 2.2.1-dev.8 [Pipeline] } 20:18:05 $ docker exec --env ******** --env ******** 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent -k 20:18:05 unset SSH_AUTH_SOCK; 20:18:05 unset SSH_AGENT_PID; 20:18:05 echo Agent pid 79 killed; 20:18:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:05 + git semver [Pipeline] } 20:18:06 $ docker stop --time=1 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 20:18:07 $ docker rm -f 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:18:08 Stashed 1 file(s) [Pipeline] echo 20:18:08 [edgeXSemver]: initialized semver on version 2.2.1-dev.8 [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 20:18:08 provisioning config files... 20:18:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9216768724813454135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:08 ---> docker-login.sh 20:18:08 nexus3.edgexfoundry.org:10001 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:08 Configure a credential helper to remove this warning. See 20:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:08 20:18:08 Login Succeeded 20:18:08 nexus3.edgexfoundry.org:10002 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:08 Configure a credential helper to remove this warning. See 20:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:08 20:18:08 Login Succeeded 20:18:08 nexus3.edgexfoundry.org:10003 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:08 Configure a credential helper to remove this warning. See 20:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:08 20:18:08 Login Succeeded 20:18:08 nexus3.edgexfoundry.org:10004 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:09 Configure a credential helper to remove this warning. See 20:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:09 20:18:09 Login Succeeded 20:18:09 docker.io 20:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:09 Configure a credential helper to remove this warning. See 20:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:09 20:18:09 Login Succeeded 20:18:09 ---> docker-login.sh ends [Pipeline] } 20:18:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:09 ========================================================= 20:18:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:18:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:09 + 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 . 20:18:09 Sending build context to Docker daemon 6.071MB 20:18:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:18:09 Step 2/12 : FROM ${BASE} AS builder 20:18:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:18:09 2408cc74d12b: Pulling fs layer 20:18:09 ea60b727a1ce: Pulling fs layer 20:18:09 30c4a7721957: Pulling fs layer 20:18:09 370296b7ddb6: Pulling fs layer 20:18:09 7c6cee850709: Pulling fs layer 20:18:09 39a5fcdaea64: Pulling fs layer 20:18:09 d94ebbe4e438: Pulling fs layer 20:18:09 bcfd1f05c69d: Pulling fs layer 20:18:09 59ccb84bbe0f: Pulling fs layer 20:18:09 370296b7ddb6: Waiting 20:18:09 7c6cee850709: Waiting 20:18:09 39a5fcdaea64: Waiting 20:18:09 d94ebbe4e438: Waiting 20:18:09 bcfd1f05c69d: Waiting 20:18:09 30c4a7721957: Download complete 20:18:09 ea60b727a1ce: Download complete 20:18:09 7c6cee850709: Verifying Checksum 20:18:09 7c6cee850709: Download complete 20:18:09 39a5fcdaea64: Verifying Checksum 20:18:09 39a5fcdaea64: Download complete 20:18:10 2408cc74d12b: Download complete 20:18:10 d94ebbe4e438: Verifying Checksum 20:18:10 d94ebbe4e438: Download complete 20:18:10 2408cc74d12b: Pull complete 20:18:10 ea60b727a1ce: Pull complete 20:18:10 30c4a7721957: Pull complete 20:18:10 59ccb84bbe0f: Verifying Checksum 20:18:10 59ccb84bbe0f: Download complete 20:18:10 370296b7ddb6: Verifying Checksum 20:18:10 370296b7ddb6: Download complete 20:18:10 bcfd1f05c69d: Verifying Checksum 20:18:10 bcfd1f05c69d: Download complete 20:18:15 370296b7ddb6: Pull complete 20:18:15 7c6cee850709: Pull complete 20:18:15 39a5fcdaea64: Pull complete 20:18:15 d94ebbe4e438: Pull complete 20:18:16 bcfd1f05c69d: Pull complete 20:18:17 59ccb84bbe0f: Pull complete 20:18:17 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:18:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:18:17 ---> a4fb48ad2a94 20:18:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:18:19 ---> Running in 92e3b23eb454 20:18:19 Removing intermediate container 92e3b23eb454 20:18:19 ---> aacae5649ea3 20:18:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:18:19 ---> Running in e6fbdd1ea06f 20:18:19 Removing intermediate container e6fbdd1ea06f 20:18:19 ---> 7be9dfb4ac42 20:18:19 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:19 ---> Running in 3b64d13211ae 20:18:20 Removing intermediate container 3b64d13211ae 20:18:20 ---> 487a9593ca7d 20:18:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:20 ---> Running in 28585d875dde 20:18:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:18:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:18:21 (1/4) Installing openssh-keygen (9.0_p1-r1) 20:18:21 (2/4) Installing libedit (20210910.3.1-r0) 20:18:22 (3/4) Installing openssh-client-common (9.0_p1-r1) 20:18:22 (4/4) Installing openssh-client-default (9.0_p1-r1) 20:18:22 Executing busybox-1.35.0-r13.trigger 20:18:22 OK: 216 MiB in 55 packages 20:18:22 Removing intermediate container 28585d875dde 20:18:22 ---> 20f9ccf299f5 20:18:22 Step 7/12 : WORKDIR /device-mqtt-go 20:18:22 ---> Running in 230ac320061d 20:18:22 Removing intermediate container 230ac320061d 20:18:22 ---> ed9fb6a30b14 20:18:22 Step 8/12 : COPY go.mod vendor* ./ 20:18:22 ---> d830021a1f5c 20:18:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:22 ---> Running in b65658b2399c 20:18:23 Still waiting to schedule task 20:18:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:18:37 Removing intermediate container b65658b2399c 20:18:37 ---> e8da3a107cc8 20:18:37 Step 10/12 : COPY . . 20:18:37 ---> 1f0a0ca53e7d 20:18:37 Step 11/12 : ARG MAKE='make build' 20:18:37 ---> Running in 731442c91138 20:18:37 Removing intermediate container 731442c91138 20:18:37 ---> df82d0328c65 20:18:37 Step 12/12 : RUN $MAKE 20:18:37 ---> Running in 31e51749de8f 20:18:37 noop 20:18:37 Removing intermediate container 31e51749de8f 20:18:37 ---> 117a7ff73fa5 20:18:37 Successfully built 117a7ff73fa5 20:18:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:38 + docker inspect -f . ci-base-image-x86_64 20:18:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:38 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:18:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:38 $ docker top d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:39 + go version 20:18:39 go version go1.18.3 linux/amd64 [Pipeline] } 20:18:39 $ docker stop --time=1 d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 20:18:40 $ docker rm -f d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:40 + docker inspect -f . ci-base-image-x86_64 20:18:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:40 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:42 $ docker top 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 20:18:42 + make test 20:18:42 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:18:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:18:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:18:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 20:18:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:18:59 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." 20:18:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:19:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:02 ./bin/test-attribution-txt.sh [Pipeline] echo 20:19:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:19:02 $ docker stop --time=1 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce 20:19:03 $ docker rm -f 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce [Pipeline] // withDockerContainer [Pipeline] sh 20:19:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:19:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:05 + ls -al . 20:19:05 total 180 20:19:05 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:18 . 20:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:17 .. 20:19:05 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:17 .dockerignore 20:19:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:18 .git 20:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 .github 20:19:05 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:17 .gitignore 20:19:05 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:17 .golangci.yml 20:19:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:18 .semver 20:19:05 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:17 Attribution.txt 20:19:05 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:17 CHANGELOG.md 20:19:05 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:17 Dockerfile 20:19:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:17 GOVERNANCE.md 20:19:05 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:17 Jenkinsfile 20:19:05 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:17 LICENSE 20:19:05 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:17 Makefile 20:19:05 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:17 OWNERS.md 20:19:05 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:17 README.md 20:19:05 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION 20:19:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:17 bin 20:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 cmd 20:19:05 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:18 coverage.out 20:19:05 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:17 go.mod 20:19:05 -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 20:17 go.sum 20:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 internal 20:19:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:17 mock 20:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:17 snap 20:19:05 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:05 + 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=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec --label arch=amd64 --label version=2.2.1-dev.8 . 20:19:05 Sending build context to Docker daemon 6.089MB 20:19:05 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 20:19:05 Step 2/24 : FROM ${BASE} AS builder 20:19:05 ---> 117a7ff73fa5 20:19:05 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:19:05 ---> Running in b21096d433c2 20:19:05 Removing intermediate container b21096d433c2 20:19:05 ---> 13208d582dab 20:19:05 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:19:05 ---> Running in 011347dedd1b 20:19:05 Removing intermediate container 011347dedd1b 20:19:05 ---> 088c9c95c469 20:19:05 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:05 ---> Running in 8afe3fb73318 20:19:06 Removing intermediate container 8afe3fb73318 20:19:06 ---> aac63e96ccff 20:19:06 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:06 ---> Running in 51248f2797fd 20:19:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:19:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:19:08 OK: 216 MiB in 55 packages 20:19:08 Removing intermediate container 51248f2797fd 20:19:08 ---> 57eed44f89cc 20:19:08 Step 7/24 : WORKDIR /device-mqtt-go 20:19:08 ---> Running in 3f67ae36971b 20:19:08 Removing intermediate container 3f67ae36971b 20:19:08 ---> 36ad339ca05f 20:19:08 Step 8/24 : COPY go.mod vendor* ./ 20:19:08 ---> 2917e567e0a0 20:19:08 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:08 ---> Running in bda4cd33caa0 20:19:09 Removing intermediate container bda4cd33caa0 20:19:09 ---> 13cfc7d72317 20:19:09 Step 10/24 : COPY . . 20:19:09 ---> 85d36d0b85e3 20:19:09 Step 11/24 : ARG MAKE='make build' 20:19:09 ---> Running in 89b6d9109ea5 20:19:09 Removing intermediate container 89b6d9109ea5 20:19:09 ---> 006221c2b906 20:19:09 Step 12/24 : RUN $MAKE 20:19:09 ---> Running in ab46c13bb495 20:19:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 20:19:28 Removing intermediate container ab46c13bb495 20:19:28 ---> f8204cf21a23 20:19:28 Step 13/24 : FROM alpine:3.16 20:19:28 3.16: Pulling from library/alpine 20:19:28 2408cc74d12b: Already exists 20:19:28 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 20:19:28 Status: Downloaded newer image for alpine:3.16 20:19:28 ---> e66264b98777 20:19:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:19:28 ---> Running in 18047a55eb03 20:19:28 Removing intermediate container 18047a55eb03 20:19:28 ---> 1718ceca816a 20:19:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:19:28 ---> Running in 5f12c1883514 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:19:29 (1/6) Installing dumb-init (1.2.5-r1) 20:19:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:19:29 (3/6) Installing libsodium (1.0.18-r0) 20:19:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:19:29 (5/6) Installing libzmq (4.3.4-r0) 20:19:29 (6/6) Installing zeromq (4.3.4-r0) 20:19:29 Executing busybox-1.35.0-r13.trigger 20:19:29 OK: 8 MiB in 20 packages 20:19:29 Removing intermediate container 5f12c1883514 20:19:29 ---> d225f9f4a6e6 20:19:29 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:19:30 ---> d6caaa804639 20:19:30 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:19:30 ---> b4e089fabc2c 20:19:30 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:19:30 ---> 2147523704f1 20:19:30 Step 19/24 : EXPOSE 59982 20:19:30 ---> Running in a8ba2eb802d7 20:19:30 Removing intermediate container a8ba2eb802d7 20:19:30 ---> 683f523c5677 20:19:30 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:19:30 ---> Running in f12559358141 20:19:30 Removing intermediate container f12559358141 20:19:30 ---> 522ddcabf5bb 20:19:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:19:30 ---> Running in 855a16242ba9 20:19:30 Removing intermediate container 855a16242ba9 20:19:30 ---> 6d93d8a68c6a 20:19:30 Step 22/24 : LABEL arch=amd64 20:19:31 ---> Running in 6133b3073a7b 20:19:31 Removing intermediate container 6133b3073a7b 20:19:31 ---> dd2b706fa2a0 20:19:31 Step 23/24 : LABEL git_sha=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:19:31 ---> Running in ba4a195f27d0 20:19:31 Removing intermediate container ba4a195f27d0 20:19:31 ---> 1acbe53fe09e 20:19:31 Step 24/24 : LABEL version=2.2.1-dev.8 20:19:31 ---> Running in ed57fa2d4e2b 20:19:31 Removing intermediate container ed57fa2d4e2b 20:19:31 ---> 1d0eb82eb2f6 20:19:31 [Warning] One or more build-args [ARCH] were not consumed 20:19:31 Successfully built 1d0eb82eb2f6 20:19:31 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:31 provisioning config files... 20:19:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1873919739073608053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:31 ---> docker-login.sh 20:19:31 nexus3.edgexfoundry.org:10001 20:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:31 Configure a credential helper to remove this warning. See 20:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:31 20:19:31 Login Succeeded 20:19:31 nexus3.edgexfoundry.org:10002 20:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 nexus3.edgexfoundry.org:10003 20:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 nexus3.edgexfoundry.org:10004 20:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 docker.io 20:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 ---> docker-login.sh ends [Pipeline] } 20:19:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:19:32 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:19:32 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:19:32 latest 20:19:32 2.2.1-dev.8 20:19:32 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:19:32 main 20:19:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:19:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:19:33 95aed5932913: Preparing 20:19:33 50b0a2a752e6: Preparing 20:19:33 9bd77c978844: Preparing 20:19:33 187ae16dfd0a: Preparing 20:19:33 24302eb7d908: Preparing 20:19:33 24302eb7d908: Layer already exists 20:19:33 95aed5932913: Pushed 20:19:33 50b0a2a752e6: Pushed 20:19:33 187ae16dfd0a: Pushed 20:19:36 9bd77c978844: Pushed 20:19:36 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:19:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:19:36 95aed5932913: Preparing 20:19:36 50b0a2a752e6: Preparing 20:19:36 9bd77c978844: Preparing 20:19:36 187ae16dfd0a: Preparing 20:19:36 24302eb7d908: Preparing 20:19:36 95aed5932913: Layer already exists 20:19:36 187ae16dfd0a: Layer already exists 20:19:36 24302eb7d908: Layer already exists 20:19:36 50b0a2a752e6: Layer already exists 20:19:36 9bd77c978844: Layer already exists 20:19:36 latest: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 20:19:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:19:37 95aed5932913: Preparing 20:19:37 50b0a2a752e6: Preparing 20:19:37 9bd77c978844: Preparing 20:19:37 187ae16dfd0a: Preparing 20:19:37 24302eb7d908: Preparing 20:19:37 95aed5932913: Layer already exists 20:19:37 50b0a2a752e6: Layer already exists 20:19:37 187ae16dfd0a: Layer already exists 20:19:37 24302eb7d908: Layer already exists 20:19:37 9bd77c978844: Layer already exists 20:19:37 2.2.1-dev.8: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:19:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:19:38 95aed5932913: Preparing 20:19:38 50b0a2a752e6: Preparing 20:19:38 9bd77c978844: Preparing 20:19:38 187ae16dfd0a: Preparing 20:19:38 24302eb7d908: Preparing 20:19:38 50b0a2a752e6: Layer already exists 20:19:38 95aed5932913: Layer already exists 20:19:38 24302eb7d908: Layer already exists 20:19:38 187ae16dfd0a: Layer already exists 20:19:38 9bd77c978844: Layer already exists 20:19:38 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:19:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:19:38 95aed5932913: Preparing 20:19:38 50b0a2a752e6: Preparing 20:19:38 9bd77c978844: Preparing 20:19:38 187ae16dfd0a: Preparing 20:19:38 24302eb7d908: Preparing 20:19:38 24302eb7d908: Layer already exists 20:19:38 95aed5932913: Layer already exists 20:19:38 9bd77c978844: Layer already exists 20:19:38 187ae16dfd0a: Layer already exists 20:19:38 50b0a2a752e6: Layer already exists 20:19:38 main: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:38 ===================================================== [Pipeline] echo 20:19:38 taggedImages: 20:19:38 - nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:19:38 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:19:38 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 20:19:38 - nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:19:38 - 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 20:19:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:39 20:19:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:39 latest: Pulling from edgex-lftools-log-publisher 20:19:39 5eb5b503b376: Pulling fs layer 20:19:39 5c69ac0246d0: Pulling fs layer 20:19:39 ec43610c2a17: Pulling fs layer 20:19:39 3a2ae6a8a46f: Pulling fs layer 20:19:39 33b1e0a273af: Pulling fs layer 20:19:39 5d3b04190fa2: Pulling fs layer 20:19:39 2f39f015ded8: Pulling fs layer 20:19:39 3a2ae6a8a46f: Waiting 20:19:39 33b1e0a273af: Waiting 20:19:39 5d3b04190fa2: Waiting 20:19:39 2f39f015ded8: Waiting 20:19:39 5c69ac0246d0: Verifying Checksum 20:19:39 5c69ac0246d0: Download complete 20:19:39 3a2ae6a8a46f: Verifying Checksum 20:19:39 3a2ae6a8a46f: Download complete 20:19:39 33b1e0a273af: Download complete 20:19:39 5d3b04190fa2: Download complete 20:19:39 ec43610c2a17: Verifying Checksum 20:19:39 ec43610c2a17: Download complete 20:19:39 5eb5b503b376: Verifying Checksum 20:19:39 5eb5b503b376: Download complete 20:19:40 2f39f015ded8: Download complete 20:19:40 5eb5b503b376: Pull complete 20:19:41 5c69ac0246d0: Pull complete 20:19:41 ec43610c2a17: Pull complete 20:19:41 3a2ae6a8a46f: Pull complete 20:19:42 33b1e0a273af: Pull complete 20:19:42 5d3b04190fa2: Pull complete 20:19:46 2f39f015ded8: Pull complete 20:19:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:46 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:47 $ docker top f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:48 ---> job-cost.sh 20:19:48 lf-activate-venv: SKIPPING 20:19:48 INFO: No Stack... 20:19:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:49 INFO: Archiving Costs [Pipeline] sh 20:19:49 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:19:49 + cut -d, -f6 [Pipeline] lock 20:19:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] 20:19:49 Resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] did not exist. Created. 20:19:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:49 Stashed 1 file(s) [Pipeline] } 20:19:49 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:49 $ docker stop --time=1 f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 20:19:51 $ docker rm -f f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:19:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19755 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:19:59 Running in /w/workspace/device-mqtt-go/55 [Pipeline] { [Pipeline] checkout 20:19:59 Selected Git installation does not exist. Using Default 20:19:59 The recommended git tool is: NONE 20:20:06 using credential edgex-jenkins-ssh 20:20:06 Cloning the remote Git repository 20:20:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:20:06 > git init /w/workspace/device-mqtt-go/55 # timeout=10 20:20:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:20:06 > git --version # timeout=10 20:20:06 > git --version # 'git version 2.25.1' 20:20:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:08 Avoid second fetch 20:20:08 Checking out Revision 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec (main) 20:20:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:20:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:08 > git config core.sparsecheckout # timeout=10 20:20:08 > git checkout -f 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 20:20:12 Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:20:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:20:13 Dload Upload Total Spent Left Speed 20:20:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 78191 0 --:--:-- --:--:-- --:--:-- 78692 [Pipeline] sh 20:20:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:20:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:20:14 + sudo tee /etc/docker/daemon.new 20:20:14 { 20:20:14 "registry-mirrors": [ 20:20:14 "https://nexus3.edgexfoundry.org:10001" 20:20:14 ], 20:20:14 "bip": "10.250.0.254/24", 20:20:14 "hosts": [ 20:20:14 "tcp://0.0.0.0:5555", 20:20:14 "unix:///var/run/docker.sock" 20:20:14 ], 20:20:14 "mtu": 1458, 20:20:14 "selinux-enabled": true, 20:20:14 "seccomp-profile": "/etc/docker/seccomp.json" 20:20:14 } [Pipeline] sh 20:20:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:20:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:33 provisioning config files... 20:20:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config36633273667653787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:34 ---> docker-login.sh 20:20:34 nexus3.edgexfoundry.org:10001 20:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:34 Configure a credential helper to remove this warning. See 20:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:34 20:20:34 Login Succeeded 20:20:34 nexus3.edgexfoundry.org:10002 20:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:35 Configure a credential helper to remove this warning. See 20:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:35 20:20:35 Login Succeeded 20:20:35 nexus3.edgexfoundry.org:10003 20:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:36 Configure a credential helper to remove this warning. See 20:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:36 20:20:36 Login Succeeded 20:20:36 nexus3.edgexfoundry.org:10004 20:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:36 Configure a credential helper to remove this warning. See 20:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:36 20:20:36 Login Succeeded 20:20:36 docker.io 20:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:37 Configure a credential helper to remove this warning. See 20:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:37 20:20:37 Login Succeeded 20:20:37 ---> docker-login.sh ends [Pipeline] } 20:20:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:37 ========================================================= 20:20:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:20:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:37 + 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 . 20:20:38 Sending build context to Docker daemon 3.133MB 20:20:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:20:38 Step 2/12 : FROM ${BASE} AS builder 20:20:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:20:38 b3c136eddcbf: Pulling fs layer 20:20:38 c0a3192eca97: Pulling fs layer 20:20:38 a050256f5b6f: Pulling fs layer 20:20:38 656be50a0ddc: Pulling fs layer 20:20:38 2bbca73fdf42: Pulling fs layer 20:20:38 46d945488cbd: Pulling fs layer 20:20:38 8a5474983e97: Pulling fs layer 20:20:38 329c88fbcd65: Pulling fs layer 20:20:38 656be50a0ddc: Waiting 20:20:38 2bbca73fdf42: Waiting 20:20:38 46d945488cbd: Waiting 20:20:38 8a5474983e97: Waiting 20:20:38 329c88fbcd65: Waiting 20:20:38 a050256f5b6f: Verifying Checksum 20:20:38 a050256f5b6f: Download complete 20:20:38 c0a3192eca97: Verifying Checksum 20:20:38 c0a3192eca97: Download complete 20:20:38 2bbca73fdf42: Verifying Checksum 20:20:38 46d945488cbd: Verifying Checksum 20:20:38 46d945488cbd: Download complete 20:20:38 b3c136eddcbf: Verifying Checksum 20:20:38 b3c136eddcbf: Download complete 20:20:39 b3c136eddcbf: Pull complete 20:20:39 329c88fbcd65: Verifying Checksum 20:20:39 329c88fbcd65: Download complete 20:20:40 c0a3192eca97: Pull complete 20:20:40 a050256f5b6f: Pull complete 20:20:40 8a5474983e97: Verifying Checksum 20:20:40 8a5474983e97: Download complete 20:20:41 656be50a0ddc: Download complete 20:20:53 656be50a0ddc: Pull complete 20:20:53 2bbca73fdf42: Pull complete 20:20:54 46d945488cbd: Pull complete 20:21:00 8a5474983e97: Pull complete 20:21:02 329c88fbcd65: Pull complete 20:21:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:21:02 ---> ff4287adb874 20:21:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:21:05 ---> Running in c41885b18635 20:21:05 Removing intermediate container c41885b18635 20:21:05 ---> e9c13f05929a 20:21:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:21:06 ---> Running in db01d8c89239 20:21:06 Removing intermediate container db01d8c89239 20:21:06 ---> e1cc4c750922 20:21:06 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:06 ---> Running in 7eeb822adc59 20:21:09 Removing intermediate container 7eeb822adc59 20:21:09 ---> 1b76cddf926b 20:21:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:09 ---> Running in 1531e3588054 20:21:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:21:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:21:12 (1/4) Installing openssh-keygen (9.0_p1-r1) 20:21:12 (2/4) Installing libedit (20210910.3.1-r0) 20:21:12 (3/4) Installing openssh-client-common (9.0_p1-r1) 20:21:12 (4/4) Installing openssh-client-default (9.0_p1-r1) 20:21:12 Executing busybox-1.35.0-r13.trigger 20:21:12 OK: 226 MiB in 55 packages 20:21:13 Removing intermediate container 1531e3588054 20:21:13 ---> 4ebe36b30f4b 20:21:13 Step 7/12 : WORKDIR /device-mqtt-go 20:21:13 ---> Running in 77ff1274f48f 20:21:14 Removing intermediate container 77ff1274f48f 20:21:14 ---> 20e1f97b54d8 20:21:14 Step 8/12 : COPY go.mod vendor* ./ 20:21:14 ---> cee91e2ad051 20:21:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:14 ---> Running in 405e6686a87d 20:22:01 Removing intermediate container 405e6686a87d 20:22:01 ---> fbfbf729b91b 20:22:01 Step 10/12 : COPY . . 20:22:02 ---> a2a64c05a76a 20:22:02 Step 11/12 : ARG MAKE='make build' 20:22:02 ---> Running in 094c46e98848 20:22:02 Removing intermediate container 094c46e98848 20:22:02 ---> 3cef8c25b13d 20:22:02 Step 12/12 : RUN $MAKE 20:22:02 ---> Running in 3f872923b52a 20:22:03 noop 20:22:04 Removing intermediate container 3f872923b52a 20:22:04 ---> 6f366d9ee1ef 20:22:04 Successfully built 6f366d9ee1ef 20:22:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:04 + docker inspect -f . ci-base-image-arm64 20:22:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:05 prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container 20:22:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 20:22:06 $ docker top 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:07 + go version 20:22:07 go version go1.18.3 linux/arm64 [Pipeline] } 20:22:07 $ docker stop --time=1 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa 20:22:08 $ docker rm -f 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:09 + docker inspect -f . ci-base-image-arm64 20:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:09 prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container 20:22:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 20:22:11 $ docker top 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:12 + git config --global --add safe.directory /w/workspace/device-mqtt-go/55 [Pipeline] fileExists [Pipeline] sh 20:22:13 + make test 20:22:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:22:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:23:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:23:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 20:23:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:23:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:23:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:24:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:24:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:24:10 $ docker stop --time=1 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e 20:24:12 $ docker rm -f 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e [Pipeline] // withDockerContainer [Pipeline] sh 20:24:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:24:13 Warning: overwriting stash ‘coverage-report’ 20:24:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:15 + ls -al . 20:24:15 total 176 20:24:15 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 20:22 . 20:24:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:20 .. 20:24:15 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:20 .dockerignore 20:24:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:20 .git 20:24:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 .github 20:24:15 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:20 .gitignore 20:24:15 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:20 .golangci.yml 20:24:15 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:20 Attribution.txt 20:24:15 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:20 CHANGELOG.md 20:24:15 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:20 Dockerfile 20:24:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:20 GOVERNANCE.md 20:24:15 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:20 Jenkinsfile 20:24:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:20 LICENSE 20:24:15 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:20 Makefile 20:24:15 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:20 OWNERS.md 20:24:15 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:20 README.md 20:24:15 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION 20:24:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:20 bin 20:24:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 cmd 20:24:15 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:23 coverage.out 20:24:15 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:20 go.mod 20:24:15 -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 20:20 go.sum 20:24:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 internal 20:24:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:20 mock 20:24:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:20 snap 20:24:15 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:15 + 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=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec --label arch=arm64 --label version=2.2.1-dev.8 . 20:24:15 Sending build context to Docker daemon 3.152MB 20:24:16 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 20:24:16 Step 2/24 : FROM ${BASE} AS builder 20:24:16 ---> 6f366d9ee1ef 20:24:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:24:16 ---> Running in 182da43ae9a0 20:24:16 Removing intermediate container 182da43ae9a0 20:24:16 ---> 24ade059c80e 20:24:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:24:16 ---> Running in ba18e95a9c1b 20:24:17 Removing intermediate container ba18e95a9c1b 20:24:17 ---> ee89e80d4f51 20:24:17 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:17 ---> Running in 58022993c5da 20:24:19 Removing intermediate container 58022993c5da 20:24:19 ---> 1088b571470b 20:24:19 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:19 ---> Running in 7e5e413cf489 20:24:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:24:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:24:22 OK: 226 MiB in 55 packages 20:24:23 Removing intermediate container 7e5e413cf489 20:24:23 ---> 9dcb4164e218 20:24:23 Step 7/24 : WORKDIR /device-mqtt-go 20:24:23 ---> Running in b97142888772 20:24:23 Removing intermediate container b97142888772 20:24:23 ---> 696764fc3476 20:24:23 Step 8/24 : COPY go.mod vendor* ./ 20:24:24 ---> 15a5673c304e 20:24:24 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:24 ---> Running in 4920221cc9a4 20:24:26 Removing intermediate container 4920221cc9a4 20:24:26 ---> 042667df67c1 20:24:26 Step 10/24 : COPY . . 20:24:27 ---> 000a570135ea 20:24:27 Step 11/24 : ARG MAKE='make build' 20:24:27 ---> Running in 55418d4aaabd 20:24:27 Removing intermediate container 55418d4aaabd 20:24:27 ---> 797c1bdf72ad 20:24:27 Step 12/24 : RUN $MAKE 20:24:27 ---> Running in a417647d2383 20:24:28 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 20:27:05 Removing intermediate container a417647d2383 20:27:05 ---> 70e7c9798edc 20:27:05 Step 13/24 : FROM alpine:3.16 20:27:05 3.16: Pulling from library/alpine 20:27:05 b3c136eddcbf: Already exists 20:27:05 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 20:27:05 Status: Downloaded newer image for alpine:3.16 20:27:05 ---> 6e30ab57aeee 20:27:05 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:27:05 ---> Running in 94b0bdcf0d17 20:27:05 Removing intermediate container 94b0bdcf0d17 20:27:05 ---> eaa1556504d1 20:27:05 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:27:05 ---> Running in e81a1034c6ff 20:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:27:05 (1/6) Installing dumb-init (1.2.5-r1) 20:27:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:27:05 (3/6) Installing libsodium (1.0.18-r0) 20:27:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:27:05 (5/6) Installing libzmq (4.3.4-r0) 20:27:05 (6/6) Installing zeromq (4.3.4-r0) 20:27:05 Executing busybox-1.35.0-r13.trigger 20:27:05 OK: 8 MiB in 20 packages 20:27:05 Removing intermediate container e81a1034c6ff 20:27:05 ---> 4bc2ac165888 20:27:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:27:05 ---> 51076fd6bcdd 20:27:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:27:05 ---> d862ad27a435 20:27:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:27:05 ---> b23b360f187d 20:27:05 Step 19/24 : EXPOSE 59982 20:27:05 ---> Running in 83cf553e6dc9 20:27:05 Removing intermediate container 83cf553e6dc9 20:27:05 ---> 1c10e764b61c 20:27:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:27:05 ---> Running in df3392d009f9 20:27:05 Removing intermediate container df3392d009f9 20:27:05 ---> 91601384ae50 20:27:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:27:05 ---> Running in 899975daf6ea 20:27:05 Removing intermediate container 899975daf6ea 20:27:05 ---> 37cd816b60b3 20:27:05 Step 22/24 : LABEL arch=arm64 20:27:05 ---> Running in 05f5adc56d5e 20:27:05 Removing intermediate container 05f5adc56d5e 20:27:05 ---> c79e1a0691e6 20:27:05 Step 23/24 : LABEL git_sha=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:27:06 ---> Running in 77302081c3f3 20:27:06 Removing intermediate container 77302081c3f3 20:27:06 ---> f9a796102051 20:27:06 Step 24/24 : LABEL version=2.2.1-dev.8 20:27:06 ---> Running in cd9be0a043df 20:27:06 Removing intermediate container cd9be0a043df 20:27:06 ---> 072a21b0a740 20:27:06 [Warning] One or more build-args [ARCH] were not consumed 20:27:07 Successfully built 072a21b0a740 20:27:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:07 provisioning config files... 20:27:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config5306990144577618050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:07 ---> docker-login.sh 20:27:07 nexus3.edgexfoundry.org:10001 20:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:08 Configure a credential helper to remove this warning. See 20:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:08 20:27:08 Login Succeeded 20:27:08 nexus3.edgexfoundry.org:10002 20:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:08 Configure a credential helper to remove this warning. See 20:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:08 20:27:08 Login Succeeded 20:27:08 nexus3.edgexfoundry.org:10003 20:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:09 Configure a credential helper to remove this warning. See 20:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:09 20:27:09 Login Succeeded 20:27:09 nexus3.edgexfoundry.org:10004 20:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:09 Configure a credential helper to remove this warning. See 20:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:09 20:27:09 Login Succeeded 20:27:09 docker.io 20:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:10 Configure a credential helper to remove this warning. See 20:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:10 20:27:10 Login Succeeded 20:27:10 ---> docker-login.sh ends [Pipeline] } 20:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:10 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:27:10 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:27:10 latest 20:27:10 2.2.1-dev.8 20:27:10 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:27:10 main 20:27:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:27:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:27:11 45f91c7a8007: Preparing 20:27:11 fc43554a11ca: Preparing 20:27:11 36fa08c32513: Preparing 20:27:11 96fb7bcf502c: Preparing 20:27:11 dd565ff850e7: Preparing 20:27:11 dd565ff850e7: Layer already exists 20:27:11 45f91c7a8007: Pushed 20:27:11 fc43554a11ca: Pushed 20:27:12 96fb7bcf502c: Pushed 20:27:18 36fa08c32513: Pushed 20:27:18 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:27:18 45f91c7a8007: Preparing 20:27:18 fc43554a11ca: Preparing 20:27:18 36fa08c32513: Preparing 20:27:18 96fb7bcf502c: Preparing 20:27:18 dd565ff850e7: Preparing 20:27:18 36fa08c32513: Layer already exists 20:27:18 fc43554a11ca: Layer already exists 20:27:18 dd565ff850e7: Layer already exists 20:27:19 45f91c7a8007: Layer already exists 20:27:19 96fb7bcf502c: Layer already exists 20:27:19 latest: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 20:27:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:27:19 45f91c7a8007: Preparing 20:27:19 fc43554a11ca: Preparing 20:27:19 36fa08c32513: Preparing 20:27:19 96fb7bcf502c: Preparing 20:27:19 dd565ff850e7: Preparing 20:27:20 fc43554a11ca: Layer already exists 20:27:20 45f91c7a8007: Layer already exists 20:27:20 96fb7bcf502c: Layer already exists 20:27:20 36fa08c32513: Layer already exists 20:27:20 dd565ff850e7: Layer already exists 20:27:20 2.2.1-dev.8: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:27:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:27:20 45f91c7a8007: Preparing 20:27:20 fc43554a11ca: Preparing 20:27:20 36fa08c32513: Preparing 20:27:20 96fb7bcf502c: Preparing 20:27:20 dd565ff850e7: Preparing 20:27:20 dd565ff850e7: Layer already exists 20:27:20 96fb7bcf502c: Layer already exists 20:27:20 36fa08c32513: Layer already exists 20:27:21 fc43554a11ca: Layer already exists 20:27:21 45f91c7a8007: Layer already exists 20:27:21 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:27:21 45f91c7a8007: Preparing 20:27:21 fc43554a11ca: Preparing 20:27:21 36fa08c32513: Preparing 20:27:21 96fb7bcf502c: Preparing 20:27:21 dd565ff850e7: Preparing 20:27:22 45f91c7a8007: Layer already exists 20:27:22 fc43554a11ca: Layer already exists 20:27:22 dd565ff850e7: Layer already exists 20:27:22 36fa08c32513: Layer already exists 20:27:22 96fb7bcf502c: Layer already exists 20:27:22 main: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:27:22 ===================================================== [Pipeline] echo 20:27:22 taggedImages: 20:27:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 20:27:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:27:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 20:27:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 20:27:22 - 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 20:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:22 20:27:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:23 arm64: Pulling from edgex-lftools-log-publisher 20:27:23 8998bd30e6a1: Pulling fs layer 20:27:23 04944245beec: Pulling fs layer 20:27:23 699f458cf7ca: Pulling fs layer 20:27:23 765212b225bb: Pulling fs layer 20:27:23 f23df028b6ca: Pulling fs layer 20:27:23 d65c8cfc05b1: Pulling fs layer 20:27:23 2437ff75d9bd: Pulling fs layer 20:27:23 f23df028b6ca: Waiting 20:27:23 765212b225bb: Waiting 20:27:23 d65c8cfc05b1: Waiting 20:27:23 2437ff75d9bd: Waiting 20:27:23 04944245beec: Verifying Checksum 20:27:23 04944245beec: Download complete 20:27:23 765212b225bb: Verifying Checksum 20:27:23 765212b225bb: Download complete 20:27:23 f23df028b6ca: Download complete 20:27:23 d65c8cfc05b1: Verifying Checksum 20:27:23 d65c8cfc05b1: Download complete 20:27:23 699f458cf7ca: Verifying Checksum 20:27:23 699f458cf7ca: Download complete 20:27:24 8998bd30e6a1: Verifying Checksum 20:27:24 8998bd30e6a1: Download complete 20:27:26 2437ff75d9bd: Verifying Checksum 20:27:26 2437ff75d9bd: Download complete 20:27:28 8998bd30e6a1: Pull complete 20:27:29 04944245beec: Pull complete 20:27:31 699f458cf7ca: Pull complete 20:27:31 765212b225bb: Pull complete 20:27:32 f23df028b6ca: Pull complete 20:27:32 d65c8cfc05b1: Pull complete 20:27:47 2437ff75d9bd: Pull complete 20:27:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:47 prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container 20:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 20:27:51 $ docker top c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:52 ---> job-cost.sh 20:27:52 lf-activate-venv: SKIPPING 20:27:52 INFO: No Stack... 20:27:52 INFO: Retrieving Pricing Info for: v3-standard-4 20:27:53 INFO: Archiving Costs [Pipeline] sh 20:27:54 + cat /w/workspace/device-mqtt-go/55/archives/cost.csv 20:27:54 + cut -d, -f6 [Pipeline] lock 20:27:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] 20:27:54 Resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] did not exist. Created. 20:27:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:55 /w/workspace/device-mqtt-go/55@tmp/durable-5e0cd35a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:27:55 + echo total: 0.10999999940395355 [Pipeline] stash 20:27:55 Warning: overwriting stash ‘stack-cost’ 20:27:55 Stashed 1 file(s) [Pipeline] } 20:27:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:55 $ docker stop --time=1 c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f 20:27:57 $ docker rm -f c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f [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 20:27:57 provisioning config files... 20:27:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1882568981104729981tmp [Pipeline] { [Pipeline] sh 20:27:58 + set +x 20:27:58 + + bashcurl -s -s -- https://codecov.io/bash 20:27:58 20:27:58 20:27:58 _____ _ 20:27:58 / ____| | | 20:27:58 | | ___ __| | ___ ___ _____ __ 20:27:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:27:58 | |___| (_) | (_| | __/ (_| (_) \ V / 20:27:58 \_____\___/ \__,_|\___|\___\___/ \_/ 20:27:58 Bash-1.0.6 20:27:58 20:27:58 20:27:58 ==> git version 2.25.1 found 20:27:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:27:58 Release-Date: 2020-01-08 20:27:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:27:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:27:58 ==> Jenkins CI detected. 20:27:58 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:27:58 project root: . 20:27:58 --> token set from env 20:27:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:27:58 ==> Running gcov in . (disable via -X gcov) 20:27:58 ==> Python coveragepy not found 20:27:58 ==> Searching for coverage reports in: 20:27:58 + . 20:27:58 -> Found 1 reports 20:27:58 ==> Detecting git/mercurial file structure 20:27:58 ==> Reading reports 20:27:58 + ./coverage.out bytes=17887 20:27:58 ==> Appending adjustments 20:27:58 https://docs.codecov.io/docs/fixing-reports 20:27:58 + Found adjustments 20:27:58 ==> Gzipping contents 20:27:58 4.0K /tmp/codecov.MdjrBM.gz 20:27:58 ==> Uploading reports 20:27:58 url: https://codecov.io 20:27:58 query: branch=main&commit=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:27:58 -> Pinging Codecov 20:27:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:27:58 -> Uploading to 20:27:58 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec/daa350f8-ce7c-437a-bc91-775149ccfd88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T202758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3326473f8fecb7fe3c217e283fbc3b4ce6f6021a17562951eb5a52a06e649b1 20:27:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:58 Dload Upload Total Spent Left Speed 20:27:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3220 0 0 100 3220 0 15631 --:--:-- --:--:-- --:--:-- 15631 20:27:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } 20:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:27:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:27:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:27:59 20:27:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:27:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:27:59 df9b9388f04a: Pulling fs layer 20:27:59 52dc419b0ee2: Pulling fs layer 20:27:59 25bc292e5bac: Pulling fs layer 20:27:59 114826534d7a: Pulling fs layer 20:27:59 4657fd5d0bcf: Pulling fs layer 20:27:59 6ad1cebc031e: Pulling fs layer 20:27:59 8a3aa393b2d8: Pulling fs layer 20:27:59 4657fd5d0bcf: Waiting 20:27:59 114826534d7a: Waiting 20:27:59 6ad1cebc031e: Waiting 20:27:59 8a3aa393b2d8: Waiting 20:27:59 25bc292e5bac: Verifying Checksum 20:27:59 25bc292e5bac: Download complete 20:27:59 52dc419b0ee2: Verifying Checksum 20:27:59 52dc419b0ee2: Download complete 20:27:59 4657fd5d0bcf: Verifying Checksum 20:27:59 4657fd5d0bcf: Download complete 20:27:59 df9b9388f04a: Download complete 20:27:59 df9b9388f04a: Pull complete 20:27:59 6ad1cebc031e: Verifying Checksum 20:27:59 6ad1cebc031e: Download complete 20:28:00 52dc419b0ee2: Pull complete 20:28:00 25bc292e5bac: Pull complete 20:28:00 114826534d7a: Download complete 20:28:01 8a3aa393b2d8: Verifying Checksum 20:28:01 8a3aa393b2d8: Download complete 20:28:04 114826534d7a: Pull complete 20:28:04 4657fd5d0bcf: Pull complete 20:28:04 6ad1cebc031e: Pull complete 20:28:07 8a3aa393b2d8: Pull complete 20:28:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:28:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:07 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:28:10 $ docker top 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 -eo pid,comm [Pipeline] { [Pipeline] echo 20:28:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 20:28:10 + set -o pipefail 20:28:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 20:28:15 20:28:15 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:28:15 20:28:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/0e572987-93c4-493f-9fbd-1e1112559679 20:28:15 20:28:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:28:15 20:28:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:28:15 20:28:15 20:28:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 20:28:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:28:15 $ docker stop --time=1 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 20:28:18 $ docker rm -f 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 [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 20:28:19 + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] sh 20:28:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:19 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:28:20 $ docker top a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:20 [ssh-agent] Looking for ssh-agent implementation... 20:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:20 $ docker exec a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada ssh-agent 20:28:20 SSH_AUTH_SOCK=/tmp/ssh-DYVwNnda8Cal/agent.33 20:28:20 SSH_AGENT_PID=40 20:28:20 Running ssh-add (command line suppressed) 20:28:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4104350280089349603.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4104350280089349603.key) 20:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:20 + git semver tag 20:28:21 2022-07-12 20:28:21,125 [run_tag] DEBUG tag force:False 20:28:21 2022-07-12 20:28:21,125 [check_head_tag] DEBUG check head tag 20:28:21 2022-07-12 20:28:21,126 [execute] INFO git cat-file --batch-check 20:28:21 2022-07-12 20:28:21,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 20:28:21 2022-07-12 20:28:21,129 [execute] INFO git cat-file --batch 20:28:21 2022-07-12 20:28:21,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 20:28:21 2022-07-12 20:28:21,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:21 2022-07-12 20:28:21,139 [execute] INFO git tag -a v2.2.1-dev.8 -m v2.2.1-dev.8 20:28:21 2022-07-12 20:28:21,139 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.8', '-m', 'v2.2.1-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 20:28:21 2022-07-12 20:28:21,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:21 2.2.1-dev.8 [Pipeline] } 20:28:21 $ docker exec --env ******** --env ******** a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada ssh-agent -k 20:28:21 unset SSH_AUTH_SOCK; 20:28:21 unset SSH_AGENT_PID; 20:28:21 echo Agent pid 40 killed; 20:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:21 + git semver [Pipeline] } 20:28:21 $ docker stop --time=1 a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada 20:28:23 $ docker rm -f a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:28:23 20:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:28:23 0.23.1-centos7: Pulling from edgex-lftools 20:28:23 ab5ef0e58194: Pulling fs layer 20:28:23 9712f1f96733: Pulling fs layer 20:28:23 63f879dbbcfc: Pulling fs layer 20:28:23 0d9ebad4ef96: Pulling fs layer 20:28:23 e9a5061849ea: Pulling fs layer 20:28:23 d747dcd14b5f: Pulling fs layer 20:28:23 2de7ff778b66: Pulling fs layer 20:28:23 0d9ebad4ef96: Waiting 20:28:23 2de7ff778b66: Waiting 20:28:23 d747dcd14b5f: Waiting 20:28:23 e9a5061849ea: Waiting 20:28:23 9712f1f96733: Verifying Checksum 20:28:23 9712f1f96733: Download complete 20:28:24 63f879dbbcfc: Verifying Checksum 20:28:24 63f879dbbcfc: Download complete 20:28:24 0d9ebad4ef96: Verifying Checksum 20:28:24 0d9ebad4ef96: Download complete 20:28:24 d747dcd14b5f: Verifying Checksum 20:28:24 d747dcd14b5f: Download complete 20:28:24 e9a5061849ea: Download complete 20:28:24 ab5ef0e58194: Verifying Checksum 20:28:24 ab5ef0e58194: Download complete 20:28:24 2de7ff778b66: Verifying Checksum 20:28:24 2de7ff778b66: Download complete 20:28:27 ab5ef0e58194: Pull complete 20:28:27 9712f1f96733: Pull complete 20:28:27 63f879dbbcfc: Pull complete 20:28:32 0d9ebad4ef96: Pull complete 20:28:32 e9a5061849ea: Pull complete 20:28:32 d747dcd14b5f: Pull complete 20:28:33 2de7ff778b66: Pull complete 20:28:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:28:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:33 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:28:36 $ docker top 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:28:36 provisioning config files... 20:28:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4804159690576812206tmp 20:28:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1452872419567066456tmp 20:28:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5675682736935534146tmp [Pipeline] { [Pipeline] echo 20:28:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:28:36 ---> sigul-configuration.sh 20:28:36 gpg: directory `/root/.gnupg' created 20:28:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:28:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:28:36 gpg: keyring `/root/.gnupg/secring.gpg' created 20:28:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:28:36 gpg: CAST5 encrypted data 20:28:36 gpg: encrypted with 1 passphrase 20:28:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:28:36 + mkdir /home/jenkins 20:28:36 + mkdir /home/jenkins/sigul [Pipeline] sh 20:28:37 + 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 20:28:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:28:37 ---> sigul-install.sh 20:28:37 Sigul already installed; skipping installation. [Pipeline] sh 20:28:37 + git tag --list 20:28:37 0.7.1 20:28:37 v1.0.0 20:28:37 v1.1.0 20:28:37 v1.1.1 20:28:37 v1.2.2 20:28:37 v1.3.0 20:28:37 v1.3.1 20:28:37 v2.0.0 20:28:37 v2.1.0 20:28:37 v2.1.1 20:28:37 v2.1.1-dev.1 20:28:37 v2.1.1-dev.2 20:28:37 v2.2.0 20:28:37 v2.2.1-dev.1 20:28:37 v2.2.1-dev.2 20:28:37 v2.2.1-dev.3 20:28:37 v2.2.1-dev.4 20:28:37 v2.2.1-dev.5 20:28:37 v2.2.1-dev.6 20:28:37 v2.2.1-dev.7 20:28:37 v2.2.1-dev.8 [Pipeline] sh 20:28:37 + lftools sign git-tag v2.2.1-dev.8 20:28:38 Signing Git tag with Sigul... 20:28:38 Signing v2.2.1-dev.8 [Pipeline] echo 20:28:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:28:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:28:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:28:39 $ docker stop --time=1 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 20:28:40 $ docker rm -f 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:28:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:41 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:28:41 $ docker top 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:41 [ssh-agent] Looking for ssh-agent implementation... 20:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:41 $ docker exec 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd ssh-agent 20:28:42 SSH_AUTH_SOCK=/tmp/ssh-3CNUiuyEVzdX/agent.33 20:28:42 SSH_AGENT_PID=39 20:28:42 Running ssh-add (command line suppressed) 20:28:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1204910331187648465.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1204910331187648465.key) 20:28:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:42 + git semver bump pre 20:28:42 2022-07-12 20:28:42,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:42 2022-07-12 20:28:42,646 [bump_version] DEBUG bumping version:2.2.1-dev.8 on axis:pre with prefix:dev 20:28:42 2022-07-12 20:28:42,646 [bump_version] DEBUG bumped version:2.2.1-dev.9 20:28:42 2022-07-12 20:28:42,646 [write_version] DEBUG write version:2.2.1-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 20:28:42 2022-07-12 20:28:42,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:42 2022-07-12 20:28:42,646 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:42 2022-07-12 20:28:42,648 [execute] INFO git cat-file --batch-check 20:28:42 2022-07-12 20:28:42,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:28:42 2022-07-12 20:28:42,655 [execute] INFO git cat-file --batch 20:28:42 2022-07-12 20:28:42,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:28:42 2022-07-12 20:28:42,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:42 2.2.1-dev.9 [Pipeline] } 20:28:42 $ docker exec --env ******** --env ******** 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd ssh-agent -k 20:28:42 unset SSH_AUTH_SOCK; 20:28:42 unset SSH_AGENT_PID; 20:28:42 echo Agent pid 39 killed; 20:28:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:43 + git semver [Pipeline] } 20:28:43 $ docker stop --time=1 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd 20:28:44 $ docker rm -f 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd [Pipeline] // withDockerContainer [Pipeline] sh 20:28:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:45 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:28:45 $ docker top 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:46 [ssh-agent] Looking for ssh-agent implementation... 20:28:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:46 $ docker exec 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 ssh-agent 20:28:46 SSH_AUTH_SOCK=/tmp/ssh-kGO7uJtke25P/agent.32 20:28:46 SSH_AGENT_PID=38 20:28:46 Running ssh-add (command line suppressed) 20:28:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7969282582583321435.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7969282582583321435.key) 20:28:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:46 + git semver push 20:28:46 2022-07-12 20:28:46,855 [run_push] DEBUG push 20:28:46 2022-07-12 20:28:46,855 [execute] INFO git cat-file --batch-check 20:28:46 2022-07-12 20:28:46,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:28:46 2022-07-12 20:28:46,859 [execute] INFO git rev-list 58eea9c5aca526a5dda5ec9d53bd8e52d5b39ca3 -- 20:28:46 2022-07-12 20:28:46,860 [execute] DEBUG Popen(['git', 'rev-list', '58eea9c5aca526a5dda5ec9d53bd8e52d5b39ca3', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:28:46 2022-07-12 20:28:46,867 [execute] INFO git fetch -v origin 20:28:46 2022-07-12 20:28:46,867 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:28:47 2022-07-12 20:28:47,389 [run_push] DEBUG no remote changes detected 20:28:47 2022-07-12 20:28:47,389 [execute] INFO git push origin semver 20:28:47 2022-07-12 20:28:47,390 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:28:48 2022-07-12 20:28:48,088 [run_push] DEBUG push all version tags 20:28:48 2022-07-12 20:28:48,088 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:28:48 2022-07-12 20:28:48,088 [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) 20:28:49 2022-07-12 20:28:48,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:28:49 2.2.1-dev.9 [Pipeline] } 20:28:49 $ docker exec --env ******** --env ******** 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 ssh-agent -k 20:28:49 unset SSH_AUTH_SOCK; 20:28:49 unset SSH_AGENT_PID; 20:28:49 echo Agent pid 38 killed; 20:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:49 + git semver [Pipeline] } 20:28:49 $ docker stop --time=1 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 20:28:51 $ docker rm -f 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 [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 20:28:51 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 20:28:51 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:28:51 total 16 20:28:51 drwxr-xr-x 3 root root 4096 Jul 12 20:19 . 20:28:51 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:28 .. 20:28:51 drwxr-xr-x 2 root root 4096 Jul 12 20:19 cost 20:28:51 -rw-r--r-- 1 root root 84 Jul 12 20:19 cost.csv 20:28:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:28:51 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:28:51 total 16 20:28:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:19 . 20:28:51 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:28 .. 20:28:51 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 20:19 cost 20:28:51 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:28:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:28:52 ---> package-listing.sh 20:28:52 ++ facter osfamily 20:28:52 ++ tr '[:upper:]' '[:lower:]' 20:28:53 + OS_FAMILY=debian 20:28:53 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:28:53 + START_PACKAGES=/tmp/packages_start.txt 20:28:53 + END_PACKAGES=/tmp/packages_end.txt 20:28:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:28:53 + PACKAGES=/tmp/packages_start.txt 20:28:53 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:28:53 + PACKAGES=/tmp/packages_end.txt 20:28:53 + case "${OS_FAMILY}" in 20:28:53 + dpkg -l 20:28:53 + grep '^ii' 20:28:53 + '[' -f /tmp/packages_start.txt ']' 20:28:53 + '[' -f /tmp/packages_end.txt ']' 20:28:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:28:53 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:28:53 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:28:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:28:53 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 20:28:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:53 prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container 20:28:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:28:54 $ docker top a2ce094e5b8ef900a13c6028f0f57a589580d03b906147e2b55be81366005bdd -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:54 + touch /tmp/pre-build-complete [Pipeline] sh 20:28:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:28:55 + ls /var/log/sa-host 20:28:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:55 provisioning config files... 20:28:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7980849707544727785tmp [Pipeline] { [Pipeline] echo 20:28:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:28:55 ---> create-netrc.sh [Pipeline] } 20:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:28:55 ---> python-tools-install.sh [Pipeline] echo 20:28:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:28:56 ---> sudo-logs.sh 20:28:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:28:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:28:56 ---> job-cost.sh 20:28:56 lf-activate-venv: SKIPPING 20:28:56 DEBUG: total: 0.2199999988079071 20:28:56 INFO: Retrieving Stack Cost... 20:28:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:28:57 INFO: Archiving Costs [Pipeline] echo 20:28:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:28:57 ---> logs-deploy.sh 20:28:57 lf-activate-venv: SKIPPING 20:28:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/55 20:28:57 INFO: archiving workspace using pattern(s): 20:28:58 Archives upload complete. 20:28:58 INFO: archiving logs to Nexus 20:28:59 ---> uname -a: 20:28:59 Linux prd-ubuntu20-04-docker-8c-8g-19752 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:28:59 20:28:59 20:28:59 ---> lscpu: 20:28:59 Architecture: x86_64 20:28:59 CPU op-mode(s): 32-bit, 64-bit 20:28:59 Byte Order: Little Endian 20:28:59 Address sizes: 40 bits physical, 48 bits virtual 20:28:59 CPU(s): 8 20:28:59 On-line CPU(s) list: 0-7 20:28:59 Thread(s) per core: 1 20:28:59 Core(s) per socket: 1 20:28:59 Socket(s): 8 20:28:59 NUMA node(s): 1 20:28:59 Vendor ID: AuthenticAMD 20:28:59 CPU family: 23 20:28:59 Model: 49 20:28:59 Model name: AMD EPYC-Rome Processor 20:28:59 Stepping: 0 20:28:59 CPU MHz: 2799.998 20:28:59 BogoMIPS: 5599.99 20:28:59 Virtualization: AMD-V 20:28:59 Hypervisor vendor: KVM 20:28:59 Virtualization type: full 20:28:59 L1d cache: 256 KiB 20:28:59 L1i cache: 256 KiB 20:28:59 L2 cache: 4 MiB 20:28:59 L3 cache: 128 MiB 20:28:59 NUMA node0 CPU(s): 0-7 20:28:59 Vulnerability Itlb multihit: Not affected 20:28:59 Vulnerability L1tf: Not affected 20:28:59 Vulnerability Mds: Not affected 20:28:59 Vulnerability Meltdown: Not affected 20:28:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:28:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:28:59 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:28:59 Vulnerability Srbds: Not affected 20:28:59 Vulnerability Tsx async abort: Not affected 20:28:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:28:59 20:28:59 20:28:59 ---> nproc: 20:28:59 8 20:28:59 20:28:59 20:28:59 ---> df -h: 20:28:59 Filesystem Size Used Avail Use% Mounted on 20:28:59 overlay 155G 12G 143G 8% / 20:28:59 tmpfs 64M 0 64M 0% /dev 20:28:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:28:59 shm 64M 0 64M 0% /dev/shm 20:28:59 /dev/vda1 155G 12G 143G 8% /facter-os 20:28:59 20:28:59 20:28:59 ---> sar -b -r -n DEV: 20:28:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19752) 07/12/22 _x86_64_ (8 CPU) 20:28:59 20:28:59 20:17:12 LINUX RESTART (8 CPU) 20:28:59 20:28:59 20:18:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:28:59 20:19:01 178.59 3.93 174.66 0.00 382.67 67581.07 0.00 20:28:59 20:20:01 172.99 0.13 172.86 0.00 14.53 39134.16 0.00 20:28:59 20:21:01 1.45 0.00 1.45 0.00 0.00 16.95 0.00 20:28:59 20:22:01 1.77 0.00 1.77 0.00 0.00 20.80 0.00 20:28:59 20:23:01 1.45 0.02 1.43 0.00 0.13 16.40 0.00 20:28:59 20:24:01 1.70 0.00 1.70 0.00 0.00 19.59 0.00 20:28:59 20:25:01 1.03 0.00 1.03 0.00 0.00 12.40 0.00 20:28:59 20:26:01 1.52 0.00 1.52 0.00 0.00 16.66 0.00 20:28:59 20:27:01 0.87 0.00 0.87 0.00 0.00 9.86 0.00 20:28:59 20:28:01 3.62 0.10 3.52 0.00 10.26 118.11 0.00 20:28:59 Average: 36.50 0.42 36.08 0.00 40.76 10695.67 0.00 20:28:59 20:28:59 20:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:28:59 20:19:01 28299196 31763572 526076 1.60 160144 3492200 1863808 5.49 1239396 2871000 131576 20:28:59 20:20:01 27701568 31765376 524868 1.60 172028 4045168 1774408 5.23 1282504 3390024 296 20:28:59 20:21:01 27702260 31766132 524052 1.59 172064 4045172 1774408 5.23 1281924 3390032 24 20:28:59 20:22:01 27703284 31767132 522928 1.59 172096 4045180 1790460 5.28 1281256 3390040 172 20:28:59 20:23:01 27709008 31773232 517008 1.57 172164 4045188 1790460 5.28 1275724 3390312 192 20:28:59 20:24:01 27709064 31773336 516924 1.57 172204 4045180 1790460 5.28 1274376 3390320 12 20:28:59 20:25:01 27712040 31776344 513844 1.56 172236 4045192 1790460 5.28 1271644 3390324 12 20:28:59 20:26:01 27711916 31776260 514092 1.56 172260 4045196 1790460 5.28 1271812 3390328 12 20:28:59 20:27:01 27711908 31776256 514056 1.56 172280 4045196 1790460 5.28 1271552 3390328 16 20:28:59 20:28:01 27176020 31716248 573720 1.74 173336 4505036 2219112 6.54 1331904 3849712 460472 20:28:59 Average: 27713626 31765389 524757 1.60 171081 4035871 1837450 5.42 1278209 3384242 59278 20:28:59 20:28:59 20:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:28:59 20:19:01 ens3 354.12 277.64 5083.06 93.18 0.00 0.00 0.00 0.00 20:28:59 20:19:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 20:28:59 20:19:01 docker0 114.70 129.02 9.25 1091.87 0.00 0.00 0.00 0.00 20:28:59 20:19:01 veth3817673 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 20:28:59 20:20:01 ens3 203.68 156.65 2666.46 279.49 0.00 0.00 0.00 0.00 20:28:59 20:20:01 lo 7.66 7.66 0.75 0.75 0.00 0.00 0.00 0.00 20:28:59 20:20:01 docker0 10.36 15.34 0.61 98.84 0.00 0.00 0.00 0.00 20:28:59 20:21:01 ens3 2.13 0.42 3.36 0.09 0.00 0.00 0.00 0.00 20:28:59 20:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:22:01 ens3 1.88 0.45 0.46 0.27 0.00 0.00 0.00 0.00 20:28:59 20:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:28:59 20:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:23:01 ens3 1.12 0.55 0.65 0.46 0.00 0.00 0.00 0.00 20:28:59 20:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:24:01 ens3 0.55 0.32 0.27 0.20 0.00 0.00 0.00 0.00 20:28:59 20:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:28:59 20:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:25:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:26:01 ens3 0.18 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:28:59 20:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:28:59 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:27:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 20:28:59 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 20:28:01 ens3 125.58 89.17 3964.11 8.71 0.00 0.00 0.00 0.00 20:28:59 20:28:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 20:28:59 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:28:59 Average: ens3 68.95 52.54 1171.89 38.24 0.00 0.00 0.00 0.00 20:28:59 Average: lo 1.23 1.23 0.12 0.12 0.00 0.00 0.00 0.00 20:28:59 Average: docker0 12.51 14.44 0.99 119.08 0.00 0.00 0.00 0.00 20:28:59 20:28:59 20:28:59 ---> sar -P ALL: 20:28:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19752) 07/12/22 _x86_64_ (8 CPU) 20:28:59 20:28:59 20:17:12 LINUX RESTART (8 CPU) 20:28:59 20:28:59 20:18:01 CPU %user %nice %system %iowait %steal %idle 20:28:59 20:19:01 all 27.90 0.00 6.91 1.31 0.08 63.79 20:28:59 20:19:01 0 27.69 0.00 7.21 6.42 0.07 58.61 20:28:59 20:19:01 1 28.16 0.00 6.54 0.63 0.08 64.58 20:28:59 20:19:01 2 26.75 0.00 6.52 0.59 0.10 66.03 20:28:59 20:19:01 3 28.18 0.00 7.55 0.64 0.08 63.55 20:28:59 20:19:01 4 28.98 0.00 6.65 0.35 0.07 63.94 20:28:59 20:19:01 5 29.14 0.00 6.48 0.20 0.07 64.11 20:28:59 20:19:01 6 27.76 0.00 6.08 0.79 0.08 65.28 20:28:59 20:19:01 7 26.56 0.00 8.26 0.88 0.08 64.22 20:28:59 20:20:01 all 20.04 0.00 4.44 0.89 0.06 74.57 20:28:59 20:20:01 0 19.87 0.00 4.90 2.04 0.08 73.11 20:28:59 20:20:01 1 19.51 0.00 4.25 0.07 0.05 76.12 20:28:59 20:20:01 2 19.75 0.00 4.41 2.12 0.05 73.68 20:28:59 20:20:01 3 20.25 0.00 4.74 0.49 0.05 74.47 20:28:59 20:20:01 4 20.75 0.00 4.03 0.15 0.07 75.00 20:28:59 20:20:01 5 20.23 0.00 4.22 0.57 0.07 74.91 20:28:59 20:20:01 6 18.83 0.00 4.18 0.35 0.05 76.58 20:28:59 20:20:01 7 21.16 0.00 4.77 1.33 0.08 72.65 20:28:59 20:21:01 all 0.03 0.00 0.01 0.01 0.01 99.95 20:28:59 20:21:01 0 0.03 0.00 0.00 0.00 0.00 99.97 20:28:59 20:21:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:28:59 20:21:01 2 0.02 0.00 0.02 0.02 0.02 99.93 20:28:59 20:21:01 3 0.03 0.00 0.02 0.00 0.02 99.93 20:28:59 20:21:01 4 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:21:01 5 0.03 0.00 0.03 0.00 0.02 99.92 20:28:59 20:21:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:21:01 7 0.07 0.00 0.02 0.03 0.02 99.87 20:28:59 20:22:01 all 0.02 0.00 0.01 0.01 0.00 99.97 20:28:59 20:22:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:22:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:22:01 2 0.02 0.00 0.00 0.03 0.00 99.95 20:28:59 20:22:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:22:01 5 0.03 0.00 0.03 0.00 0.00 99.93 20:28:59 20:22:01 6 0.03 0.00 0.00 0.00 0.00 99.97 20:28:59 20:22:01 7 0.02 0.00 0.00 0.02 0.00 99.97 20:28:59 20:23:01 all 0.03 0.00 0.01 0.02 0.00 99.93 20:28:59 20:23:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:23:01 1 0.00 0.00 0.00 0.00 0.02 99.98 20:28:59 20:23:01 2 0.02 0.00 0.02 0.02 0.00 99.95 20:28:59 20:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:23:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:28:59 20:23:01 5 0.07 0.00 0.03 0.00 0.02 99.88 20:28:59 20:23:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:28:59 20:23:01 7 0.03 0.00 0.00 0.17 0.00 99.80 20:28:59 20:24:01 all 0.01 0.00 0.01 0.01 0.00 99.96 20:28:59 20:24:01 0 0.02 0.00 0.00 0.00 0.02 99.97 20:28:59 20:24:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:24:01 2 0.00 0.00 0.00 0.05 0.00 99.95 20:28:59 20:24:01 3 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:24:01 4 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:24:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:24:01 6 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:24:01 7 0.00 0.00 0.03 0.02 0.00 99.95 20:28:59 20:25:01 all 0.01 0.00 0.01 0.01 0.00 99.96 20:28:59 20:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:25:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:25:01 2 0.02 0.00 0.02 0.05 0.00 99.92 20:28:59 20:25:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:25:01 4 0.00 0.00 0.02 0.00 0.00 99.98 20:28:59 20:25:01 5 0.03 0.00 0.02 0.00 0.02 99.93 20:28:59 20:25:01 6 0.02 0.00 0.00 0.00 0.02 99.97 20:28:59 20:25:01 7 0.00 0.00 0.00 0.03 0.00 99.97 20:28:59 20:26:01 all 0.02 0.00 0.01 0.00 0.00 99.97 20:28:59 20:26:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:26:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:26:01 2 0.00 0.00 0.00 0.00 0.02 99.98 20:28:59 20:26:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:28:59 20:26:01 4 0.02 0.00 0.00 0.00 0.02 99.97 20:28:59 20:26:01 5 0.03 0.00 0.02 0.00 0.00 99.95 20:28:59 20:26:01 6 0.02 0.00 0.02 0.00 0.00 99.97 20:28:59 20:26:01 7 0.02 0.00 0.00 0.03 0.00 99.95 20:28:59 20:27:01 all 0.01 0.00 0.01 0.00 0.00 99.98 20:28:59 20:27:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:27:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:27:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:28:59 20:27:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:28:59 20:27:01 4 0.02 0.00 0.03 0.02 0.00 99.93 20:28:59 20:27:01 5 0.03 0.00 0.00 0.00 0.02 99.95 20:28:59 20:27:01 6 0.00 0.00 0.02 0.00 0.00 99.98 20:28:59 20:27:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:28:59 20:28:01 all 0.91 0.00 0.39 0.03 0.01 98.66 20:28:59 20:28:01 0 1.29 0.00 0.35 0.02 0.02 98.33 20:28:59 20:28:01 1 0.68 0.00 0.33 0.00 0.00 98.98 20:28:59 20:28:01 2 1.05 0.00 0.35 0.02 0.00 98.58 20:28:59 20:28:01 3 1.47 0.00 0.25 0.02 0.02 98.25 20:28:59 20:28:01 4 0.72 0.00 0.52 0.03 0.00 98.73 20:28:59 20:28:01 5 0.92 0.00 0.40 0.00 0.02 98.66 20:28:59 20:28:01 6 0.73 0.00 0.53 0.00 0.00 98.73 20:28:59 20:28:01 7 0.42 0.00 0.35 0.17 0.02 99.05 20:28:59 Average: all 4.85 0.00 1.17 0.23 0.02 93.73 20:28:59 Average: 0 4.86 0.00 1.24 0.84 0.02 93.03 20:28:59 Average: 1 4.79 0.00 1.10 0.07 0.02 94.02 20:28:59 Average: 2 4.71 0.00 1.12 0.29 0.02 93.86 20:28:59 Average: 3 4.95 0.00 1.25 0.11 0.02 93.68 20:28:59 Average: 4 5.02 0.00 1.12 0.06 0.02 93.78 20:28:59 Average: 5 5.00 0.00 1.11 0.08 0.02 93.78 20:28:59 Average: 6 4.70 0.00 1.08 0.11 0.02 94.09 20:28:59 Average: 7 4.78 0.00 1.33 0.27 0.02 93.61 20:28:59 20:28:59 20:28:59