Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 179cca868af1b00faff609cce4fd97c31e151189 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-ssh6642863358184592823.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9820792112874747281.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6763765056931791045.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9135078016676342845.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1805764692987155948.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22614 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 179cca868af1b00faff609cce4fd97c31e151189 (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 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 Commit message: "build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410)" > git rev-list --no-walk 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:56:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:56:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:56:43 ========================================================= 13:56:43 EdgeX Global Pipelines Version Info 13:56:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:56:44 ------------------- 13:56:44 stable info: 13:56:44 ------------------- 13:56:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:56:44 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:56:44 Message: update stable to v1.0.238 13:56:45 ------------------- 13:56:45 experimental info: 13:56:45 ------------------- 13:56:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:56:45 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:56:45 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 179cca8 [Pipeline] echo 13:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:56:45 provisioning config files... 13:56:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9097970872315000225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:46 ---> docker-login.sh 13:56:46 nexus3.edgexfoundry.org:10001 13:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:46 Configure a credential helper to remove this warning. See 13:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:46 13:56:46 Login Succeeded 13:56:46 nexus3.edgexfoundry.org:10002 13:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:46 Configure a credential helper to remove this warning. See 13:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:46 13:56:46 Login Succeeded 13:56:46 nexus3.edgexfoundry.org:10003 13:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:47 Configure a credential helper to remove this warning. See 13:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:47 13:56:47 Login Succeeded 13:56:47 nexus3.edgexfoundry.org:10004 13:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:47 Configure a credential helper to remove this warning. See 13:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:47 13:56:47 Login Succeeded 13:56:47 docker.io 13:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:47 Configure a credential helper to remove this warning. See 13:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:47 13:56:47 Login Succeeded 13:56:47 ---> docker-login.sh ends [Pipeline] } 13:56:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:56:47 + git rev-list -1 --merges 179cca868af1b00faff609cce4fd97c31e151189~1..179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo 13:56:48 -----------> git rev-list -1 --merges 179cca868af1b00faff609cce4fd97c31e151189~1..179cca868af1b00faff609cce4fd97c31e151189 179cca868af1b00faff609cce4fd97c31e151189 [false] [Pipeline] sh 13:56:48 + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo 13:56:48 ========================================================= 13:56:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:56:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:56:48 + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo 13:56:48 [semverPrep] GIT_COMMIT: 179cca868af1b00faff609cce4fd97c31e151189, Commit Message: build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410) [Pipeline] echo 13:56:48 [semverPrep] This is not a build commit. [Pipeline] sh 13:56:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:56:49 + grep -v github /etc/ssh/ssh_known_hosts 13:56:49 + [ -e /tmp/ssh_known_hosts ] 13:56:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:56:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:56:49 + sudo tee -a /etc/ssh/ssh_known_hosts 13:56:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:56:49 13:56:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:56:49 0.1.4: Pulling from edgex-devops/py-git-semver 13:56:49 b85a868b505f: Pulling fs layer 13:56:49 e2be974225ed: Pulling fs layer 13:56:49 339a4e72a1f5: Pulling fs layer 13:56:49 988bab9f4d93: Pulling fs layer 13:56:49 1469e6f7b9e6: Pulling fs layer 13:56:49 eaf3925da568: Pulling fs layer 13:56:49 bab4dde63d76: Pulling fs layer 13:56:49 bde34c3a00c8: Pulling fs layer 13:56:49 b352a97aabf1: Pulling fs layer 13:56:49 4872d77fe225: Pulling fs layer 13:56:49 5851b861e8e6: Pulling fs layer 13:56:49 988bab9f4d93: Waiting 13:56:49 eaf3925da568: Waiting 13:56:49 bab4dde63d76: Waiting 13:56:49 1469e6f7b9e6: Waiting 13:56:49 bde34c3a00c8: Waiting 13:56:49 5851b861e8e6: Waiting 13:56:49 b352a97aabf1: Waiting 13:56:49 4872d77fe225: Waiting 13:56:49 e2be974225ed: Verifying Checksum 13:56:49 e2be974225ed: Download complete 13:56:49 988bab9f4d93: Verifying Checksum 13:56:49 988bab9f4d93: Download complete 13:56:50 1469e6f7b9e6: Verifying Checksum 13:56:50 1469e6f7b9e6: Download complete 13:56:50 eaf3925da568: Verifying Checksum 13:56:50 eaf3925da568: Download complete 13:56:50 339a4e72a1f5: Verifying Checksum 13:56:50 339a4e72a1f5: Download complete 13:56:50 bde34c3a00c8: Download complete 13:56:50 b352a97aabf1: Verifying Checksum 13:56:50 b352a97aabf1: Download complete 13:56:50 4872d77fe225: Download complete 13:56:50 5851b861e8e6: Download complete 13:56:50 b85a868b505f: Verifying Checksum 13:56:50 b85a868b505f: Download complete 13:56:50 bab4dde63d76: Verifying Checksum 13:56:50 bab4dde63d76: Download complete 13:56:51 b85a868b505f: Pull complete 13:56:51 e2be974225ed: Pull complete 13:56:52 339a4e72a1f5: Pull complete 13:56:52 988bab9f4d93: Pull complete 13:56:52 1469e6f7b9e6: Pull complete 13:56:52 eaf3925da568: Pull complete 13:56:54 bab4dde63d76: Pull complete 13:56:54 bde34c3a00c8: Pull complete 13:56:54 b352a97aabf1: Pull complete 13:56:54 4872d77fe225: Pull complete 13:56:55 5851b861e8e6: Pull complete 13:56:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:56:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:55 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 13:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:56:56 $ docker top 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 -eo pid,comm 13:56:56 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). 13:56:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:56:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:56 [ssh-agent] Looking for ssh-agent implementation... 13:56:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:56 $ docker exec 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent 13:56:57 SSH_AUTH_SOCK=/tmp/ssh-CHy3Esvfk0u6/agent.33 13:56:57 SSH_AGENT_PID=39 13:56:57 Running ssh-add (command line suppressed) 13:56:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6989966382431221940.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6989966382431221940.key) 13:56:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:57 + git tag --points-at HEAD [Pipeline] } 13:56:57 $ docker exec --env ******** --env ******** 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent -k 13:56:57 unset SSH_AUTH_SOCK; 13:56:57 unset SSH_AGENT_PID; 13:56:57 echo Agent pid 39 killed; 13:56:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:56:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:57 [ssh-agent] Looking for ssh-agent implementation... 13:56:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:57 $ docker exec 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent 13:56:57 SSH_AUTH_SOCK=/tmp/ssh-6x67Bpm7evLN/agent.72 13:56:57 SSH_AGENT_PID=79 13:56:57 Running ssh-add (command line suppressed) 13:56:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6813354258811461516.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6813354258811461516.key) 13:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:58 + git semver init 13:56:58 2022-08-12 13:56:58,546 [run_init] DEBUG init version:0.0.0 force:False 13:56:58 2022-08-12 13:56:58,547 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:56:58 2022-08-12 13:56:58,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:56:58 2022-08-12 13:56:58,547 [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) 13:56:59 2022-08-12 13:56:59,286 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 13:56:59 2022-08-12 13:56:59,287 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 13:56:59 2022-08-12 13:56:59,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:56:59 2022-08-12 13:56:59,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:56:59 2.3.0-dev.14 [Pipeline] } 13:56:59 $ docker exec --env ******** --env ******** 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent -k 13:56:59 unset SSH_AUTH_SOCK; 13:56:59 unset SSH_AGENT_PID; 13:56:59 echo Agent pid 79 killed; 13:56:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:56:59 + git semver [Pipeline] } 13:57:00 $ docker stop --time=1 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 13:57:01 $ docker rm -f 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 [Pipeline] // withDockerContainer [Pipeline] sh 13:57:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:57:02 Stashed 1 file(s) [Pipeline] echo 13:57:02 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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 13:57:02 provisioning config files... 13:57:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7897258065793314197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:02 ---> docker-login.sh 13:57:02 nexus3.edgexfoundry.org:10001 13:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:02 Configure a credential helper to remove this warning. See 13:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:02 13:57:02 Login Succeeded 13:57:02 nexus3.edgexfoundry.org:10002 13:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:02 Configure a credential helper to remove this warning. See 13:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:02 13:57:02 Login Succeeded 13:57:02 nexus3.edgexfoundry.org:10003 13:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:02 Configure a credential helper to remove this warning. See 13:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:02 13:57:02 Login Succeeded 13:57:02 nexus3.edgexfoundry.org:10004 13:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:03 Configure a credential helper to remove this warning. See 13:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:03 13:57:03 Login Succeeded 13:57:03 docker.io 13:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:03 Configure a credential helper to remove this warning. See 13:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:03 13:57:03 Login Succeeded 13:57:03 ---> docker-login.sh ends [Pipeline] } 13:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:03 ========================================================= 13:57:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:57:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:03 + 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 . 13:57:03 Sending build context to Docker daemon 6.082MB 13:57:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:57:03 Step 2/12 : FROM ${BASE} AS builder 13:57:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:57:03 2408cc74d12b: Pulling fs layer 13:57:03 ea60b727a1ce: Pulling fs layer 13:57:03 30c4a7721957: Pulling fs layer 13:57:03 370296b7ddb6: Pulling fs layer 13:57:03 7c6cee850709: Pulling fs layer 13:57:03 39a5fcdaea64: Pulling fs layer 13:57:03 d94ebbe4e438: Pulling fs layer 13:57:03 bcfd1f05c69d: Pulling fs layer 13:57:03 59ccb84bbe0f: Pulling fs layer 13:57:03 370296b7ddb6: Waiting 13:57:03 7c6cee850709: Waiting 13:57:03 39a5fcdaea64: Waiting 13:57:03 d94ebbe4e438: Waiting 13:57:03 bcfd1f05c69d: Waiting 13:57:03 59ccb84bbe0f: Waiting 13:57:03 30c4a7721957: Download complete 13:57:03 ea60b727a1ce: Verifying Checksum 13:57:03 ea60b727a1ce: Download complete 13:57:03 7c6cee850709: Verifying Checksum 13:57:03 7c6cee850709: Download complete 13:57:03 39a5fcdaea64: Verifying Checksum 13:57:03 39a5fcdaea64: Download complete 13:57:04 2408cc74d12b: Verifying Checksum 13:57:04 2408cc74d12b: Download complete 13:57:04 d94ebbe4e438: Verifying Checksum 13:57:04 d94ebbe4e438: Download complete 13:57:04 2408cc74d12b: Pull complete 13:57:04 ea60b727a1ce: Pull complete 13:57:04 30c4a7721957: Pull complete 13:57:04 59ccb84bbe0f: Verifying Checksum 13:57:04 59ccb84bbe0f: Download complete 13:57:04 bcfd1f05c69d: Verifying Checksum 13:57:04 bcfd1f05c69d: Download complete 13:57:04 370296b7ddb6: Download complete 13:57:09 370296b7ddb6: Pull complete 13:57:09 7c6cee850709: Pull complete 13:57:09 39a5fcdaea64: Pull complete 13:57:09 d94ebbe4e438: Pull complete 13:57:11 bcfd1f05c69d: Pull complete 13:57:11 59ccb84bbe0f: Pull complete 13:57:11 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:57:11 ---> a4fb48ad2a94 13:57:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:57:13 ---> Running in 00ac22329244 13:57:13 Removing intermediate container 00ac22329244 13:57:13 ---> 866e1e3bc1e3 13:57:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:57:13 ---> Running in 82c6300522a1 13:57:13 Removing intermediate container 82c6300522a1 13:57:13 ---> 858994610bc0 13:57:13 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:13 ---> Running in ccbc4ccdcc89 13:57:14 Removing intermediate container ccbc4ccdcc89 13:57:14 ---> f5cde8e4c064 13:57:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:14 ---> Running in 503deb5aef87 13:57:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:57:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:57:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:57:15 (2/4) Installing libedit (20210910.3.1-r0) 13:57:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:57:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:57:16 Executing busybox-1.35.0-r13.trigger 13:57:16 OK: 216 MiB in 55 packages 13:57:16 Removing intermediate container 503deb5aef87 13:57:16 ---> 8008b8c4383d 13:57:16 Step 7/12 : WORKDIR /device-mqtt-go 13:57:16 ---> Running in fe940b2fee44 13:57:16 Removing intermediate container fe940b2fee44 13:57:16 ---> 0c400864f952 13:57:16 Step 8/12 : COPY go.mod vendor* ./ 13:57:16 ---> ffb2fcca5b61 13:57:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:17 ---> Running in 8def450778b2 13:57:17 Still waiting to schedule task 13:57:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:57:35 Removing intermediate container 8def450778b2 13:57:35 ---> 59f93e17fc2e 13:57:35 Step 10/12 : COPY . . 13:57:35 ---> 8563ad122151 13:57:35 Step 11/12 : ARG MAKE='make build' 13:57:35 ---> Running in b1fd05a3173a 13:57:35 Removing intermediate container b1fd05a3173a 13:57:35 ---> b4bd46e52bb8 13:57:35 Step 12/12 : RUN $MAKE 13:57:35 ---> Running in 253472b071ae 13:57:35 noop 13:57:35 Removing intermediate container 253472b071ae 13:57:35 ---> 18d783f00b20 13:57:35 Successfully built 18d783f00b20 13:57:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:35 + docker inspect -f . ci-base-image-x86_64 13:57:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:57:35 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 13:57:35 $ 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 13:57:36 $ docker top c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 -eo pid,comm [Pipeline] { [Pipeline] sh 13:57:36 + go version 13:57:36 go version go1.18.3 linux/amd64 [Pipeline] } 13:57:36 $ docker stop --time=1 c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 13:57:37 $ docker rm -f c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:38 + docker inspect -f . ci-base-image-x86_64 13:57:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:57:38 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 13:57:38 $ 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 13:57:38 $ docker top bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 -eo pid,comm [Pipeline] { [Pipeline] sh 13:57:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 13:57:39 + make test 13:57:39 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:57:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:57:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:57:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 13:57:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:57:56 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." 13:57:56 GCO_ENABLED=1 GO111MODULE=on go vet ./... 13:57:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:57:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:57:58 ./bin/test-attribution-txt.sh 13:57:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 13:57:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 13:57:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 13:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:57:58 $ docker stop --time=1 bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 13:58:00 $ docker rm -f bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 [Pipeline] // withDockerContainer [Pipeline] sh 13:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:58:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:58:01 + ls -al . 13:58:01 total 180 13:58:01 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 13:57 . 13:58:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:56 .. 13:58:01 -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 13:56 .dockerignore 13:58:01 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 13:57 .git 13:58:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 .github 13:58:01 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:56 .gitignore 13:58:01 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:56 .golangci.yml 13:58:01 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:56 .semver 13:58:01 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 13:56 Attribution.txt 13:58:01 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 13:56 CHANGELOG.md 13:58:01 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 13:56 Dockerfile 13:58:01 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:56 GOVERNANCE.md 13:58:01 -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 13:56 Jenkinsfile 13:58:01 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:56 LICENSE 13:58:01 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 13:56 Makefile 13:58:01 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:56 OWNERS.md 13:58:01 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 13:56 README.md 13:58:01 -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:57 VERSION 13:58:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:56 bin 13:58:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 cmd 13:58:01 -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 13:57 coverage.out 13:58:01 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 13:56 go.mod 13:58:01 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:56 go.sum 13:58:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 internal 13:58:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:56 mock 13:58:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:56 snap 13:58:01 -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:02 + 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=179cca868af1b00faff609cce4fd97c31e151189 --label arch=amd64 --label version=2.3.0-dev.14 . 13:58:02 Sending build context to Docker daemon 6.1MB 13:58:02 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 13:58:02 Step 2/24 : FROM ${BASE} AS builder 13:58:02 ---> 18d783f00b20 13:58:02 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:58:02 ---> Running in ca7398409c60 13:58:02 Removing intermediate container ca7398409c60 13:58:02 ---> 5fcd5828d938 13:58:02 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 13:58:02 ---> Running in d3a6b2413e27 13:58:02 Removing intermediate container d3a6b2413e27 13:58:02 ---> ddd18e8e3995 13:58:02 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:58:02 ---> Running in 373aebbd9f33 13:58:02 Removing intermediate container 373aebbd9f33 13:58:02 ---> 5f25028a4874 13:58:02 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:58:02 ---> Running in b37dde61c240 13:58:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:58:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:58:04 OK: 216 MiB in 55 packages 13:58:04 Removing intermediate container b37dde61c240 13:58:04 ---> 3eea5880674d 13:58:04 Step 7/24 : WORKDIR /device-mqtt-go 13:58:04 ---> Running in 4c7ad722ac8c 13:58:04 Removing intermediate container 4c7ad722ac8c 13:58:04 ---> 7fe6e37edfb1 13:58:04 Step 8/24 : COPY go.mod vendor* ./ 13:58:04 ---> 999e6d0ebe94 13:58:04 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:58:05 ---> Running in 6a1b56a1efc7 13:58:05 Removing intermediate container 6a1b56a1efc7 13:58:05 ---> 39627f9b16fd 13:58:05 Step 10/24 : COPY . . 13:58:06 ---> 77cbcc61b786 13:58:06 Step 11/24 : ARG MAKE='make build' 13:58:06 ---> Running in 499ce13be9d7 13:58:06 Removing intermediate container 499ce13be9d7 13:58:06 ---> c215056d08ce 13:58:06 Step 12/24 : RUN $MAKE 13:58:06 ---> Running in ce188e79c3ec 13:58:06 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 13:58:24 Removing intermediate container ce188e79c3ec 13:58:24 ---> 29fbd7c7f361 13:58:24 Step 13/24 : FROM alpine:3.16 13:58:24 3.16: Pulling from library/alpine 13:58:24 213ec9aee27d: Pulling fs layer 13:58:25 213ec9aee27d: Verifying Checksum 13:58:25 213ec9aee27d: Download complete 13:58:25 213ec9aee27d: Pull complete 13:58:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:58:25 Status: Downloaded newer image for alpine:3.16 13:58:25 ---> 9c6f07244728 13:58:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:58:25 ---> Running in 10bf95dd643c 13:58:25 Removing intermediate container 10bf95dd643c 13:58:25 ---> 58092d66c781 13:58:25 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 13:58:25 ---> Running in fb42810b1da1 13:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:58:26 (1/6) Installing dumb-init (1.2.5-r1) 13:58:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:58:26 (3/6) Installing libsodium (1.0.18-r0) 13:58:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:58:26 (5/6) Installing libzmq (4.3.4-r0) 13:58:26 (6/6) Installing zeromq (4.3.4-r0) 13:58:26 Executing busybox-1.35.0-r17.trigger 13:58:26 OK: 8 MiB in 20 packages 13:58:26 Removing intermediate container fb42810b1da1 13:58:26 ---> 54282abc00dd 13:58:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 13:58:27 ---> f8b39180b6bc 13:58:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 13:58:27 ---> d1e2a16c945f 13:58:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:58:27 ---> ac17dcb8d752 13:58:27 Step 19/24 : EXPOSE 59982 13:58:27 ---> Running in ac0e9e786bee 13:58:27 Removing intermediate container ac0e9e786bee 13:58:27 ---> c67fa30db76b 13:58:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 13:58:27 ---> Running in 1e2e4c9950d5 13:58:27 Removing intermediate container 1e2e4c9950d5 13:58:27 ---> 8f176faff5a4 13:58:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:58:27 ---> Running in 83295aa54355 13:58:27 Removing intermediate container 83295aa54355 13:58:27 ---> 1f288ee657f4 13:58:27 Step 22/24 : LABEL arch=amd64 13:58:27 ---> Running in 6997bdfda97d 13:58:27 Removing intermediate container 6997bdfda97d 13:58:27 ---> f9d376c1d5b3 13:58:27 Step 23/24 : LABEL git_sha=179cca868af1b00faff609cce4fd97c31e151189 13:58:27 ---> Running in d079951a6f18 13:58:28 Removing intermediate container d079951a6f18 13:58:28 ---> 71b0cf52f978 13:58:28 Step 24/24 : LABEL version=2.3.0-dev.14 13:58:28 ---> Running in 20326c5b9e42 13:58:28 Removing intermediate container 20326c5b9e42 13:58:28 ---> 87a2fb51817a 13:58:28 [Warning] One or more build-args [ARCH] were not consumed 13:58:28 Successfully built 87a2fb51817a 13:58:28 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:58:28 provisioning config files... 13:58:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config935917445999852224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:28 ---> docker-login.sh 13:58:28 nexus3.edgexfoundry.org:10001 13:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:28 Configure a credential helper to remove this warning. See 13:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:28 13:58:28 Login Succeeded 13:58:28 nexus3.edgexfoundry.org:10002 13:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:28 Configure a credential helper to remove this warning. See 13:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:28 13:58:28 Login Succeeded 13:58:28 nexus3.edgexfoundry.org:10003 13:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:28 Configure a credential helper to remove this warning. See 13:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:28 13:58:28 Login Succeeded 13:58:28 nexus3.edgexfoundry.org:10004 13:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:29 Configure a credential helper to remove this warning. See 13:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:29 13:58:29 Login Succeeded 13:58:29 docker.io 13:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:29 Configure a credential helper to remove this warning. See 13:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:29 13:58:29 Login Succeeded 13:58:29 ---> docker-login.sh ends [Pipeline] } 13:58:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:29 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 13:58:29 179cca868af1b00faff609cce4fd97c31e151189 13:58:29 latest 13:58:29 2.3.0-dev.14 13:58:29 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 13:58:29 main 13:58:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 13:58:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:58:30 7f00bb2a9f9a: Preparing 13:58:30 fc9d88944958: Preparing 13:58:30 b520d85fc27d: Preparing 13:58:30 47b5ed52b00f: Preparing 13:58:30 994393dc58e7: Preparing 13:58:30 994393dc58e7: Layer already exists 13:58:30 7f00bb2a9f9a: Pushed 13:58:30 fc9d88944958: Pushed 13:58:30 47b5ed52b00f: Pushed 13:58:32 b520d85fc27d: Pushed 13:58:32 179cca868af1b00faff609cce4fd97c31e151189: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 13:58:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:58:33 7f00bb2a9f9a: Preparing 13:58:33 fc9d88944958: Preparing 13:58:33 b520d85fc27d: Preparing 13:58:33 47b5ed52b00f: Preparing 13:58:33 994393dc58e7: Preparing 13:58:33 47b5ed52b00f: Layer already exists 13:58:33 994393dc58e7: Layer already exists 13:58:33 b520d85fc27d: Layer already exists 13:58:33 7f00bb2a9f9a: Layer already exists 13:58:33 fc9d88944958: Layer already exists 13:58:33 latest: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 13:58:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:58:34 7f00bb2a9f9a: Preparing 13:58:34 fc9d88944958: Preparing 13:58:34 b520d85fc27d: Preparing 13:58:34 47b5ed52b00f: Preparing 13:58:34 994393dc58e7: Preparing 13:58:34 47b5ed52b00f: Layer already exists 13:58:34 994393dc58e7: Layer already exists 13:58:34 7f00bb2a9f9a: Layer already exists 13:58:34 fc9d88944958: Layer already exists 13:58:34 b520d85fc27d: Layer already exists 13:58:34 2.3.0-dev.14: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 13:58:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:58:34 7f00bb2a9f9a: Preparing 13:58:34 fc9d88944958: Preparing 13:58:34 b520d85fc27d: Preparing 13:58:34 47b5ed52b00f: Preparing 13:58:34 994393dc58e7: Preparing 13:58:34 fc9d88944958: Layer already exists 13:58:34 47b5ed52b00f: Layer already exists 13:58:34 7f00bb2a9f9a: Layer already exists 13:58:34 994393dc58e7: Layer already exists 13:58:34 b520d85fc27d: Layer already exists 13:58:34 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 13:58:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:58:35 7f00bb2a9f9a: Preparing 13:58:35 fc9d88944958: Preparing 13:58:35 b520d85fc27d: Preparing 13:58:35 47b5ed52b00f: Preparing 13:58:35 994393dc58e7: Preparing 13:58:35 b520d85fc27d: Layer already exists 13:58:35 fc9d88944958: Layer already exists 13:58:35 994393dc58e7: Layer already exists 13:58:35 47b5ed52b00f: Layer already exists 13:58:35 7f00bb2a9f9a: Layer already exists 13:58:35 main: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:58:35 ===================================================== [Pipeline] echo 13:58:35 taggedImages: 13:58:35 - nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 13:58:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 13:58:35 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 13:58:35 - nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 13:58:35 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:35 13:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:36 latest: Pulling from edgex-lftools-log-publisher 13:58:36 5eb5b503b376: Pulling fs layer 13:58:36 5c69ac0246d0: Pulling fs layer 13:58:36 ec43610c2a17: Pulling fs layer 13:58:36 3a2ae6a8a46f: Pulling fs layer 13:58:36 33b1e0a273af: Pulling fs layer 13:58:36 5d3b04190fa2: Pulling fs layer 13:58:36 2f39f015ded8: Pulling fs layer 13:58:36 3a2ae6a8a46f: Waiting 13:58:36 33b1e0a273af: Waiting 13:58:36 5d3b04190fa2: Waiting 13:58:36 2f39f015ded8: Waiting 13:58:36 5c69ac0246d0: Download complete 13:58:36 3a2ae6a8a46f: Download complete 13:58:36 33b1e0a273af: Verifying Checksum 13:58:36 33b1e0a273af: Download complete 13:58:36 5d3b04190fa2: Verifying Checksum 13:58:36 5d3b04190fa2: Download complete 13:58:36 ec43610c2a17: Verifying Checksum 13:58:36 ec43610c2a17: Download complete 13:58:36 5eb5b503b376: Verifying Checksum 13:58:36 5eb5b503b376: Download complete 13:58:37 2f39f015ded8: Verifying Checksum 13:58:37 2f39f015ded8: Download complete 13:58:38 5eb5b503b376: Pull complete 13:58:38 5c69ac0246d0: Pull complete 13:58:38 ec43610c2a17: Pull complete 13:58:38 3a2ae6a8a46f: Pull complete 13:58:38 33b1e0a273af: Pull complete 13:58:38 5d3b04190fa2: Pull complete 13:58:43 2f39f015ded8: Pull complete 13:58:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:43 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 13:58:43 $ 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 13:58:45 $ docker top 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:45 ---> job-cost.sh 13:58:45 lf-activate-venv: SKIPPING 13:58:45 INFO: No Stack... 13:58:45 INFO: Retrieving Pricing Info for: v3-standard-8 13:58:46 INFO: Archiving Costs [Pipeline] sh 13:58:46 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 13:58:46 + cut -d, -f6 [Pipeline] lock 13:58:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] 13:58:46 Resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] did not exist. Created. 13:58:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:58:46 + echo total: 0.2199999988079071 [Pipeline] stash 13:58:46 Stashed 1 file(s) [Pipeline] } 13:58:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 13:58:46 $ docker stop --time=1 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a 13:58:48 $ docker rm -f 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:58:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22615 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 13:58:58 Running in /w/workspace/device-mqtt-go/61 [Pipeline] { [Pipeline] checkout 13:58:58 Selected Git installation does not exist. Using Default 13:58:58 The recommended git tool is: NONE 13:59:05 using credential edgex-jenkins-ssh 13:59:05 Cloning the remote Git repository 13:59:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 13:59:05 > git init /w/workspace/device-mqtt-go/61 # timeout=10 13:59:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 13:59:05 > git --version # timeout=10 13:59:05 > git --version # 'git version 2.25.1' 13:59:05 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:59:06 Avoid second fetch 13:59:06 Checking out Revision 179cca868af1b00faff609cce4fd97c31e151189 (main) 13:59:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 13:59:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:59:06 > git config core.sparsecheckout # timeout=10 13:59:06 > git checkout -f 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 13:59:10 Commit message: "build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:59:11 % Total % Received % Xferd Average Speed Time Time Time Current 13:59:11 Dload Upload Total Spent Left Speed 13:59:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh 13:59:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:59:12 + sudo tee /etc/docker/daemon.new 13:59:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:59:12 { 13:59:12 "registry-mirrors": [ 13:59:12 "https://nexus3.edgexfoundry.org:10001" 13:59:12 ], 13:59:12 "bip": "10.250.0.254/24", 13:59:12 "hosts": [ 13:59:12 "tcp://0.0.0.0:5555", 13:59:12 "unix:///var/run/docker.sock" 13:59:12 ], 13:59:12 "mtu": 1458, 13:59:12 "selinux-enabled": true, 13:59:12 "seccomp-profile": "/etc/docker/seccomp.json" 13:59:12 } [Pipeline] sh 13:59:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:59:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:31 provisioning config files... 13:59:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config4640195641004955614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:32 ---> docker-login.sh 13:59:32 nexus3.edgexfoundry.org:10001 13:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:33 Configure a credential helper to remove this warning. See 13:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:33 13:59:33 Login Succeeded 13:59:33 nexus3.edgexfoundry.org:10002 13:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:33 Configure a credential helper to remove this warning. See 13:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:33 13:59:33 Login Succeeded 13:59:33 nexus3.edgexfoundry.org:10003 13:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:34 Configure a credential helper to remove this warning. See 13:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:34 13:59:34 Login Succeeded 13:59:34 nexus3.edgexfoundry.org:10004 13:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:34 Configure a credential helper to remove this warning. See 13:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:34 13:59:34 Login Succeeded 13:59:34 docker.io 13:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:35 Configure a credential helper to remove this warning. See 13:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:35 13:59:35 Login Succeeded 13:59:35 ---> docker-login.sh ends [Pipeline] } 13:59:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:59:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:59:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:59:35 ========================================================= 13:59:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:59:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:35 + 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 . 13:59:36 Sending build context to Docker daemon 3.139MB 13:59:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:59:36 Step 2/12 : FROM ${BASE} AS builder 13:59:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:59:36 b3c136eddcbf: Pulling fs layer 13:59:36 c0a3192eca97: Pulling fs layer 13:59:36 a050256f5b6f: Pulling fs layer 13:59:36 656be50a0ddc: Pulling fs layer 13:59:36 2bbca73fdf42: Pulling fs layer 13:59:36 46d945488cbd: Pulling fs layer 13:59:36 8a5474983e97: Pulling fs layer 13:59:36 329c88fbcd65: Pulling fs layer 13:59:36 656be50a0ddc: Waiting 13:59:36 2bbca73fdf42: Waiting 13:59:36 46d945488cbd: Waiting 13:59:36 8a5474983e97: Waiting 13:59:36 329c88fbcd65: Waiting 13:59:36 a050256f5b6f: Verifying Checksum 13:59:36 a050256f5b6f: Download complete 13:59:36 c0a3192eca97: Verifying Checksum 13:59:36 c0a3192eca97: Download complete 13:59:36 2bbca73fdf42: Verifying Checksum 13:59:36 2bbca73fdf42: Download complete 13:59:36 46d945488cbd: Verifying Checksum 13:59:36 46d945488cbd: Download complete 13:59:36 b3c136eddcbf: Verifying Checksum 13:59:37 b3c136eddcbf: Pull complete 13:59:37 329c88fbcd65: Verifying Checksum 13:59:37 329c88fbcd65: Download complete 13:59:38 c0a3192eca97: Pull complete 13:59:38 a050256f5b6f: Pull complete 13:59:38 8a5474983e97: Verifying Checksum 13:59:38 8a5474983e97: Download complete 13:59:39 656be50a0ddc: Download complete 13:59:52 656be50a0ddc: Pull complete 13:59:52 2bbca73fdf42: Pull complete 13:59:52 46d945488cbd: Pull complete 13:59:59 8a5474983e97: Pull complete 14:00:00 329c88fbcd65: Pull complete 14:00:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:00:00 ---> ff4287adb874 14:00:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:00:02 ---> Running in 05b85de5e70f 14:00:02 Removing intermediate container 05b85de5e70f 14:00:02 ---> a8bbe06e2977 14:00:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:00:02 ---> Running in 557e8e9b7e05 14:00:03 Removing intermediate container 557e8e9b7e05 14:00:03 ---> 603c69ba617b 14:00:03 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:00:03 ---> Running in a58fe0a44f92 14:00:05 Removing intermediate container a58fe0a44f92 14:00:05 ---> 89d968123703 14:00:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:05 ---> Running in 5d6f560aea3c 14:00:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:00:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:00:08 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:00:08 (2/4) Installing libedit (20210910.3.1-r0) 14:00:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:00:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:00:09 Executing busybox-1.35.0-r13.trigger 14:00:09 OK: 226 MiB in 55 packages 14:00:10 Removing intermediate container 5d6f560aea3c 14:00:10 ---> c83f21cab574 14:00:10 Step 7/12 : WORKDIR /device-mqtt-go 14:00:10 ---> Running in ae6a4c3d1244 14:00:10 Removing intermediate container ae6a4c3d1244 14:00:10 ---> adfc928df849 14:00:10 Step 8/12 : COPY go.mod vendor* ./ 14:00:11 ---> d5d051ab6d62 14:00:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:00:11 ---> Running in cd641f09c050 14:00:58 Removing intermediate container cd641f09c050 14:00:58 ---> f3cda5d07d34 14:00:58 Step 10/12 : COPY . . 14:00:58 ---> 1dbc2fb85a2c 14:00:58 Step 11/12 : ARG MAKE='make build' 14:00:58 ---> Running in 2ab2b368792a 14:00:58 Removing intermediate container 2ab2b368792a 14:00:58 ---> 4e5ee2fcbfc0 14:00:58 Step 12/12 : RUN $MAKE 14:00:58 ---> Running in 72ba31670787 14:00:59 noop 14:01:00 Removing intermediate container 72ba31670787 14:01:00 ---> 9fa2f6df01c0 14:01:00 Successfully built 9fa2f6df01c0 14:01:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:00 + docker inspect -f . ci-base-image-arm64 14:01:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container 14:01:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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 14:01:02 $ docker top 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:03 + go version 14:01:03 go version go1.18.3 linux/arm64 [Pipeline] } 14:01:03 $ docker stop --time=1 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e 14:01:04 $ docker rm -f 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:05 + docker inspect -f . ci-base-image-arm64 14:01:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:05 prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container 14:01:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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 14:01:07 $ docker top dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/61 [Pipeline] fileExists [Pipeline] sh 14:01:08 + make test 14:01:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:01:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:02:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:02:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements 14:02:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:02:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:02:33 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:02:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:02:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:02:56 ./bin/test-attribution-txt.sh 14:02:56 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:02:56 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:02:56 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:02:56 $ docker stop --time=1 dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 14:02:57 $ docker rm -f dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 [Pipeline] // withDockerContainer [Pipeline] sh 14:02:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:02:58 Warning: overwriting stash ‘coverage-report’ 14:02:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:02:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:00 + ls -al . 14:03:00 total 176 14:03:00 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 14:01 . 14:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 .. 14:03:00 -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 13:59 .dockerignore 14:03:00 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 13:59 .git 14:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 .github 14:03:00 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:59 .gitignore 14:03:00 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:59 .golangci.yml 14:03:00 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 13:59 Attribution.txt 14:03:00 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 13:59 CHANGELOG.md 14:03:00 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 13:59 Dockerfile 14:03:00 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:59 GOVERNANCE.md 14:03:00 -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 13:59 Jenkinsfile 14:03:00 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:59 LICENSE 14:03:00 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 13:59 Makefile 14:03:00 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:59 OWNERS.md 14:03:00 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 13:59 README.md 14:03:00 -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:57 VERSION 14:03:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 bin 14:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 cmd 14:03:00 -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 14:02 coverage.out 14:03:00 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 13:59 go.mod 14:03:00 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:59 go.sum 14:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 internal 14:03:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 mock 14:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 snap 14:03:00 -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 13:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:00 + 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=179cca868af1b00faff609cce4fd97c31e151189 --label arch=arm64 --label version=2.3.0-dev.14 . 14:03:00 Sending build context to Docker daemon 3.157MB 14:03:00 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 14:03:00 Step 2/24 : FROM ${BASE} AS builder 14:03:00 ---> 9fa2f6df01c0 14:03:00 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:03:01 ---> Running in 08827e7996ef 14:03:01 Removing intermediate container 08827e7996ef 14:03:01 ---> 31dd3087b1b0 14:03:01 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 14:03:01 ---> Running in b3a524276000 14:03:01 Removing intermediate container b3a524276000 14:03:01 ---> deec8fa2d5b3 14:03:01 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:01 ---> Running in aa318c1deeb9 14:03:03 Removing intermediate container aa318c1deeb9 14:03:03 ---> b85f5686211f 14:03:03 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:03 ---> Running in d38c9501d922 14:03:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:03:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:03:06 OK: 226 MiB in 55 packages 14:03:07 Removing intermediate container d38c9501d922 14:03:07 ---> 160dd18a9a1b 14:03:07 Step 7/24 : WORKDIR /device-mqtt-go 14:03:07 ---> Running in 1e61f8fa0373 14:03:07 Removing intermediate container 1e61f8fa0373 14:03:07 ---> 671d254a52ab 14:03:07 Step 8/24 : COPY go.mod vendor* ./ 14:03:08 ---> fb7a3b455134 14:03:08 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:08 ---> Running in 9959d17a0293 14:03:10 Removing intermediate container 9959d17a0293 14:03:10 ---> 2076ca2e1cf2 14:03:10 Step 10/24 : COPY . . 14:03:11 ---> fda1be780125 14:03:11 Step 11/24 : ARG MAKE='make build' 14:03:11 ---> Running in 93d7fbbdafd8 14:03:11 Removing intermediate container 93d7fbbdafd8 14:03:11 ---> e4e0649dac3d 14:03:11 Step 12/24 : RUN $MAKE 14:03:11 ---> Running in cf5ac8e7e531 14:03:12 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 14:05:34 Removing intermediate container cf5ac8e7e531 14:05:34 ---> e7a35063b3a4 14:05:34 Step 13/24 : FROM alpine:3.16 14:05:34 3.16: Pulling from library/alpine 14:05:34 9b18e9b68314: Pulling fs layer 14:05:34 9b18e9b68314: Verifying Checksum 14:05:34 9b18e9b68314: Download complete 14:05:34 9b18e9b68314: Pull complete 14:05:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:05:34 Status: Downloaded newer image for alpine:3.16 14:05:34 ---> a6215f271958 14:05:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:05:34 ---> Running in 8a1522257198 14:05:34 Removing intermediate container 8a1522257198 14:05:34 ---> b28c2768f68a 14:05:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:05:34 ---> Running in 1a4eb9e9f41f 14:05:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:05:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:05:34 (1/6) Installing dumb-init (1.2.5-r1) 14:05:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:05:34 (3/6) Installing libsodium (1.0.18-r0) 14:05:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:05:34 (5/6) Installing libzmq (4.3.4-r0) 14:05:34 (6/6) Installing zeromq (4.3.4-r0) 14:05:34 Executing busybox-1.35.0-r17.trigger 14:05:34 OK: 8 MiB in 20 packages 14:05:34 Removing intermediate container 1a4eb9e9f41f 14:05:34 ---> c6bb9092019a 14:05:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 14:05:34 ---> 7f663bf5bd95 14:05:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 14:05:34 ---> 5c0e96438861 14:05:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:05:34 ---> c9b0a6a69acd 14:05:34 Step 19/24 : EXPOSE 59982 14:05:34 ---> Running in e35632115072 14:05:34 Removing intermediate container e35632115072 14:05:34 ---> d774eba1071f 14:05:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 14:05:34 ---> Running in db7b050bd822 14:05:34 Removing intermediate container db7b050bd822 14:05:34 ---> 99d96ab1d9db 14:05:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:05:34 ---> Running in 9db0591e578c 14:05:34 Removing intermediate container 9db0591e578c 14:05:34 ---> c2e606ae1590 14:05:34 Step 22/24 : LABEL arch=arm64 14:05:34 ---> Running in fe00eaa7e412 14:05:34 Removing intermediate container fe00eaa7e412 14:05:34 ---> 8a153fec6311 14:05:34 Step 23/24 : LABEL git_sha=179cca868af1b00faff609cce4fd97c31e151189 14:05:34 ---> Running in 50b8104f0d7f 14:05:34 Removing intermediate container 50b8104f0d7f 14:05:34 ---> 28d3946e021c 14:05:34 Step 24/24 : LABEL version=2.3.0-dev.14 14:05:34 ---> Running in af78351d7e30 14:05:34 Removing intermediate container af78351d7e30 14:05:34 ---> cad58a9ed1c5 14:05:34 [Warning] One or more build-args [ARCH] were not consumed 14:05:34 Successfully built cad58a9ed1c5 14:05:34 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 14:05:35 provisioning config files... 14:05:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config3438488455965240833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:35 ---> docker-login.sh 14:05:35 nexus3.edgexfoundry.org:10001 14:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:35 Configure a credential helper to remove this warning. See 14:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:35 14:05:35 Login Succeeded 14:05:35 nexus3.edgexfoundry.org:10002 14:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:36 Configure a credential helper to remove this warning. See 14:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:36 14:05:36 Login Succeeded 14:05:36 nexus3.edgexfoundry.org:10003 14:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:36 Configure a credential helper to remove this warning. See 14:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:36 14:05:36 Login Succeeded 14:05:36 nexus3.edgexfoundry.org:10004 14:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:37 Configure a credential helper to remove this warning. See 14:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:37 14:05:37 Login Succeeded 14:05:37 docker.io 14:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:37 Configure a credential helper to remove this warning. See 14:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:37 14:05:37 Login Succeeded 14:05:37 ---> docker-login.sh ends [Pipeline] } 14:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:05:38 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 14:05:38 179cca868af1b00faff609cce4fd97c31e151189 14:05:38 latest 14:05:38 2.3.0-dev.14 14:05:38 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 14:05:38 main 14:05:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 14:05:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:05:38 62eb4fc86631: Preparing 14:05:38 b4b116c7828b: Preparing 14:05:38 225a85b05320: Preparing 14:05:38 bbec7136bbf7: Preparing 14:05:38 5d3e392a13a0: Preparing 14:05:39 5d3e392a13a0: Layer already exists 14:05:39 b4b116c7828b: Pushed 14:05:39 62eb4fc86631: Pushed 14:05:39 bbec7136bbf7: Pushed 14:05:45 225a85b05320: Pushed 14:05:45 179cca868af1b00faff609cce4fd97c31e151189: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:05:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:05:45 62eb4fc86631: Preparing 14:05:45 b4b116c7828b: Preparing 14:05:45 225a85b05320: Preparing 14:05:45 bbec7136bbf7: Preparing 14:05:45 5d3e392a13a0: Preparing 14:05:46 bbec7136bbf7: Layer already exists 14:05:46 b4b116c7828b: Layer already exists 14:05:46 225a85b05320: Layer already exists 14:05:46 5d3e392a13a0: Layer already exists 14:05:46 62eb4fc86631: Layer already exists 14:05:46 latest: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 14:05:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:05:46 62eb4fc86631: Preparing 14:05:46 b4b116c7828b: Preparing 14:05:46 225a85b05320: Preparing 14:05:46 bbec7136bbf7: Preparing 14:05:46 5d3e392a13a0: Preparing 14:05:46 b4b116c7828b: Layer already exists 14:05:46 bbec7136bbf7: Layer already exists 14:05:46 62eb4fc86631: Layer already exists 14:05:46 5d3e392a13a0: Layer already exists 14:05:46 225a85b05320: Layer already exists 14:05:47 2.3.0-dev.14: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 14:05:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:05:47 62eb4fc86631: Preparing 14:05:47 b4b116c7828b: Preparing 14:05:47 225a85b05320: Preparing 14:05:47 bbec7136bbf7: Preparing 14:05:47 5d3e392a13a0: Preparing 14:05:47 5d3e392a13a0: Layer already exists 14:05:47 b4b116c7828b: Layer already exists 14:05:47 62eb4fc86631: Layer already exists 14:05:47 bbec7136bbf7: Layer already exists 14:05:47 225a85b05320: Layer already exists 14:05:48 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 14:05:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:05:48 62eb4fc86631: Preparing 14:05:48 b4b116c7828b: Preparing 14:05:48 225a85b05320: Preparing 14:05:48 bbec7136bbf7: Preparing 14:05:48 5d3e392a13a0: Preparing 14:05:48 b4b116c7828b: Layer already exists 14:05:48 5d3e392a13a0: Layer already exists 14:05:48 62eb4fc86631: Layer already exists 14:05:48 225a85b05320: Layer already exists 14:05:48 bbec7136bbf7: Layer already exists 14:05:49 main: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:49 ===================================================== [Pipeline] echo 14:05:49 taggedImages: 14:05:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 14:05:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:05:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 14:05:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 14:05:49 - 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 14:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:49 14:05:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:50 arm64: Pulling from edgex-lftools-log-publisher 14:05:50 8998bd30e6a1: Pulling fs layer 14:05:50 04944245beec: Pulling fs layer 14:05:50 699f458cf7ca: Pulling fs layer 14:05:50 765212b225bb: Pulling fs layer 14:05:50 f23df028b6ca: Pulling fs layer 14:05:50 d65c8cfc05b1: Pulling fs layer 14:05:50 2437ff75d9bd: Pulling fs layer 14:05:50 f23df028b6ca: Waiting 14:05:50 d65c8cfc05b1: Waiting 14:05:50 2437ff75d9bd: Waiting 14:05:50 765212b225bb: Waiting 14:05:50 04944245beec: Verifying Checksum 14:05:50 04944245beec: Download complete 14:05:50 765212b225bb: Download complete 14:05:50 f23df028b6ca: Verifying Checksum 14:05:50 f23df028b6ca: Download complete 14:05:50 d65c8cfc05b1: Verifying Checksum 14:05:50 d65c8cfc05b1: Download complete 14:05:50 699f458cf7ca: Verifying Checksum 14:05:50 699f458cf7ca: Download complete 14:05:50 8998bd30e6a1: Verifying Checksum 14:05:50 8998bd30e6a1: Download complete 14:05:53 2437ff75d9bd: Verifying Checksum 14:05:53 2437ff75d9bd: Download complete 14:05:56 8998bd30e6a1: Pull complete 14:05:56 04944245beec: Pull complete 14:05:57 699f458cf7ca: Pull complete 14:05:58 765212b225bb: Pull complete 14:05:59 f23df028b6ca: Pull complete 14:05:59 d65c8cfc05b1: Pull complete 14:06:14 2437ff75d9bd: Pull complete 14:06:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:14 prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container 14:06:14 $ 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/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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 14:06:17 $ docker top f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:18 ---> job-cost.sh 14:06:18 lf-activate-venv: SKIPPING 14:06:18 INFO: No Stack... 14:06:18 INFO: Retrieving Pricing Info for: v3-standard-4 14:06:19 INFO: Archiving Costs [Pipeline] sh 14:06:20 + cut -d, -f6 14:06:20 + cat /w/workspace/device-mqtt-go/61/archives/cost.csv [Pipeline] lock 14:06:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] 14:06:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] did not exist. Created. 14:06:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:06:21 /w/workspace/device-mqtt-go/61@tmp/durable-b1923827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:06:21 + echo total: 0.10999999940395355 [Pipeline] stash 14:06:21 Warning: overwriting stash ‘stack-cost’ 14:06:22 Stashed 1 file(s) [Pipeline] } 14:06:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 14:06:22 $ docker stop --time=1 f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 14:06:23 $ docker rm -f f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 [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 14:06:24 provisioning config files... 14:06:24 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7130852628709821885tmp [Pipeline] { [Pipeline] sh 14:06:24 + set +x 14:06:24 + + curl -s https://codecov.io/bash 14:06:24 bash -s -- 14:06:24 14:06:24 _____ _ 14:06:24 / ____| | | 14:06:24 | | ___ __| | ___ ___ _____ __ 14:06:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:06:24 | |___| (_) | (_| | __/ (_| (_) \ V / 14:06:24 \_____\___/ \__,_|\___|\___\___/ \_/ 14:06:24 Bash-1.0.6 14:06:24 14:06:24 14:06:24 ==> git version 2.25.1 found 14:06:24 ==> 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 14:06:24 Release-Date: 2020-01-08 14:06:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:06:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:06:24 ==> Jenkins CI detected. 14:06:24 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 14:06:24 project root: . 14:06:24 --> token set from env 14:06:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:06:24 ==> Running gcov in . (disable via -X gcov) 14:06:24 ==> Python coveragepy not found 14:06:24 ==> Searching for coverage reports in: 14:06:24 + . 14:06:24 -> Found 1 reports 14:06:24 ==> Detecting git/mercurial file structure 14:06:24 ==> Reading reports 14:06:24 + ./coverage.out bytes=17887 14:06:24 ==> Appending adjustments 14:06:24 https://docs.codecov.io/docs/fixing-reports 14:06:24 + Found adjustments 14:06:24 ==> Gzipping contents 14:06:24 4.0K /tmp/codecov.MpcXWK.gz 14:06:24 ==> Uploading reports 14:06:24 url: https://codecov.io 14:06:24 query: branch=main&commit=179cca868af1b00faff609cce4fd97c31e151189&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:24 -> Pinging Codecov 14:06:24 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=179cca868af1b00faff609cce4fd97c31e151189&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:24 -> Uploading to 14:06:24 https://storage.googleapis.com/codecov/v4/raw/2022-08-12/7D719EC7BBE17E464838252E33014C33/179cca868af1b00faff609cce4fd97c31e151189/3fb5904d-5111-4f54-be1c-93d10708d67f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T140624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72b74c81e4d90cd1af06efbba53c6a0c74beed29700add9c891608f9b91c2310 14:06:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:06:24 Dload Upload Total Spent Left Speed 14:06:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3192 0 0 100 3192 0 12923 --:--:-- --:--:-- --:--:-- 12923 14:06:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } 14:06:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:06:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:06:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:25 14:06:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:06:25 df9b9388f04a: Pulling fs layer 14:06:25 52dc419b0ee2: Pulling fs layer 14:06:25 25bc292e5bac: Pulling fs layer 14:06:25 114826534d7a: Pulling fs layer 14:06:25 4657fd5d0bcf: Pulling fs layer 14:06:25 6ad1cebc031e: Pulling fs layer 14:06:25 8a3aa393b2d8: Pulling fs layer 14:06:25 114826534d7a: Waiting 14:06:25 6ad1cebc031e: Waiting 14:06:25 4657fd5d0bcf: Waiting 14:06:25 8a3aa393b2d8: Waiting 14:06:25 25bc292e5bac: Download complete 14:06:25 52dc419b0ee2: Download complete 14:06:25 4657fd5d0bcf: Verifying Checksum 14:06:25 4657fd5d0bcf: Download complete 14:06:26 df9b9388f04a: Pull complete 14:06:26 6ad1cebc031e: Verifying Checksum 14:06:26 6ad1cebc031e: Download complete 14:06:26 52dc419b0ee2: Pull complete 14:06:26 25bc292e5bac: Pull complete 14:06:26 114826534d7a: Verifying Checksum 14:06:26 114826534d7a: Download complete 14:06:26 8a3aa393b2d8: Verifying Checksum 14:06:26 8a3aa393b2d8: Download complete 14:06:30 114826534d7a: Pull complete 14:06:30 4657fd5d0bcf: Pull complete 14:06:30 6ad1cebc031e: Pull complete 14:06:33 8a3aa393b2d8: Pull complete 14:06:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:33 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:06:33 $ 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 14:06:35 $ docker top 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 -eo pid,comm [Pipeline] { [Pipeline] echo 14:06:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 14:06:35 + set -o pipefail 14:06:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 14:06:41 14:06:41 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 14:06:41 14:06:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/da75f32e-3bca-4e7c-bad2-94586c2bccdc 14:06:41 14:06:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:06:41 14:06:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:06:41 14:06:41 [Pipeline] } 14:06:41 $ docker stop --time=1 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 14:06:43 $ docker rm -f 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 [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 14:06:43 + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] sh 14:06:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:06:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:44 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:06:44 $ 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 14:06:45 $ docker top 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:45 [ssh-agent] Looking for ssh-agent implementation... 14:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:45 $ docker exec 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 ssh-agent 14:06:45 SSH_AUTH_SOCK=/tmp/ssh-Hk2cPBXkhxEc/agent.34 14:06:45 SSH_AGENT_PID=40 14:06:45 Running ssh-add (command line suppressed) 14:06:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7821732718271614868.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7821732718271614868.key) 14:06:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:45 + git semver tag 14:06:46 2022-08-12 14:06:46,000 [run_tag] DEBUG tag force:False 14:06:46 2022-08-12 14:06:46,000 [check_head_tag] DEBUG check head tag 14:06:46 2022-08-12 14:06:46,001 [execute] INFO git cat-file --batch-check 14:06:46 2022-08-12 14:06:46,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 14:06:46 2022-08-12 14:06:46,005 [execute] INFO git cat-file --batch 14:06:46 2022-08-12 14:06:46,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 14:06:46 2022-08-12 14:06:46,016 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:06:46 2022-08-12 14:06:46,017 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 14:06:46 2022-08-12 14:06:46,017 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 14:06:46 2022-08-12 14:06:46,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:06:46 2.3.0-dev.14 [Pipeline] } 14:06:46 $ docker exec --env ******** --env ******** 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 ssh-agent -k 14:06:46 unset SSH_AUTH_SOCK; 14:06:46 unset SSH_AGENT_PID; 14:06:46 echo Agent pid 40 killed; 14:06:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:46 + git semver [Pipeline] } 14:06:46 $ docker stop --time=1 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 14:06:48 $ docker rm -f 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:48 14:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:48 0.23.1-centos7: Pulling from edgex-lftools 14:06:48 ab5ef0e58194: Pulling fs layer 14:06:48 9712f1f96733: Pulling fs layer 14:06:48 63f879dbbcfc: Pulling fs layer 14:06:48 0d9ebad4ef96: Pulling fs layer 14:06:48 e9a5061849ea: Pulling fs layer 14:06:48 d747dcd14b5f: Pulling fs layer 14:06:48 2de7ff778b66: Pulling fs layer 14:06:48 0d9ebad4ef96: Waiting 14:06:48 d747dcd14b5f: Waiting 14:06:48 2de7ff778b66: Waiting 14:06:48 e9a5061849ea: Waiting 14:06:48 9712f1f96733: Verifying Checksum 14:06:48 9712f1f96733: Download complete 14:06:49 63f879dbbcfc: Verifying Checksum 14:06:49 63f879dbbcfc: Download complete 14:06:49 ab5ef0e58194: Verifying Checksum 14:06:49 ab5ef0e58194: Download complete 14:06:49 d747dcd14b5f: Verifying Checksum 14:06:49 d747dcd14b5f: Download complete 14:06:49 0d9ebad4ef96: Download complete 14:06:49 e9a5061849ea: Verifying Checksum 14:06:49 e9a5061849ea: Download complete 14:06:49 2de7ff778b66: Verifying Checksum 14:06:49 2de7ff778b66: Download complete 14:06:52 ab5ef0e58194: Pull complete 14:06:52 9712f1f96733: Pull complete 14:06:53 63f879dbbcfc: Pull complete 14:06:57 0d9ebad4ef96: Pull complete 14:06:57 e9a5061849ea: Pull complete 14:06:57 d747dcd14b5f: Pull complete 14:06:58 2de7ff778b66: Pull complete 14:06:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:58 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:06:58 $ 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 14:07:00 $ docker top 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:07:00 provisioning config files... 14:07:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3933286906158835894tmp 14:07:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1543714882087713825tmp 14:07:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1291118952292822886tmp [Pipeline] { [Pipeline] echo 14:07:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:07:00 ---> sigul-configuration.sh 14:07:00 gpg: directory `/root/.gnupg' created 14:07:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:07:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:07:00 gpg: keyring `/root/.gnupg/secring.gpg' created 14:07:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:07:00 gpg: CAST5 encrypted data 14:07:00 gpg: encrypted with 1 passphrase 14:07:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:07:01 + mkdir /home/jenkins 14:07:01 + mkdir /home/jenkins/sigul [Pipeline] sh 14:07:01 + 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 14:07:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:07:01 ---> sigul-install.sh 14:07:01 Sigul already installed; skipping installation. [Pipeline] sh 14:07:02 + git tag --list 14:07:02 0.7.1 14:07:02 v1.0.0 14:07:02 v1.1.0 14:07:02 v1.1.1 14:07:02 v1.2.2 14:07:02 v1.3.0 14:07:02 v1.3.1 14:07:02 v2.0.0 14:07:02 v2.1.0 14:07:02 v2.1.1 14:07:02 v2.1.1-dev.1 14:07:02 v2.1.1-dev.2 14:07:02 v2.2.0 14:07:02 v2.2.1-dev.1 14:07:02 v2.2.1-dev.10 14:07:02 v2.2.1-dev.2 14:07:02 v2.2.1-dev.3 14:07:02 v2.2.1-dev.4 14:07:02 v2.2.1-dev.5 14:07:02 v2.2.1-dev.6 14:07:02 v2.2.1-dev.7 14:07:02 v2.2.1-dev.8 14:07:02 v2.2.1-dev.9 14:07:02 v2.3.0-dev.10 14:07:02 v2.3.0-dev.11 14:07:02 v2.3.0-dev.12 14:07:02 v2.3.0-dev.13 14:07:02 v2.3.0-dev.14 [Pipeline] sh 14:07:02 + lftools sign git-tag v2.3.0-dev.14 14:07:03 Signing Git tag with Sigul... 14:07:03 Signing v2.3.0-dev.14 [Pipeline] echo 14:07:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:07:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:07:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:07:03 $ docker stop --time=1 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 14:07:04 $ docker rm -f 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:07:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:07:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:07:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:05 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:07:05 $ 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 14:07:06 $ docker top 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:06 [ssh-agent] Looking for ssh-agent implementation... 14:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:06 $ docker exec 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 ssh-agent 14:07:06 SSH_AUTH_SOCK=/tmp/ssh-DZls7ZvlFVTL/agent.33 14:07:06 SSH_AGENT_PID=39 14:07:06 Running ssh-add (command line suppressed) 14:07:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1530469279890097637.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1530469279890097637.key) 14:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:06 + git semver bump pre 14:07:07 2022-08-12 14:07:07,149 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:07:07 2022-08-12 14:07:07,150 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 14:07:07 2022-08-12 14:07:07,150 [bump_version] DEBUG bumped version:2.3.0-dev.15 14:07:07 2022-08-12 14:07:07,150 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 14:07:07 2022-08-12 14:07:07,150 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:07:07 2022-08-12 14:07:07,150 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:07:07 2022-08-12 14:07:07,152 [execute] INFO git cat-file --batch-check 14:07:07 2022-08-12 14:07:07,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:07 2022-08-12 14:07:07,157 [execute] INFO git cat-file --batch 14:07:07 2022-08-12 14:07:07,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:07 2022-08-12 14:07:07,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:07:07 2.3.0-dev.15 [Pipeline] } 14:07:07 $ docker exec --env ******** --env ******** 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 ssh-agent -k 14:07:07 unset SSH_AUTH_SOCK; 14:07:07 unset SSH_AGENT_PID; 14:07:07 echo Agent pid 39 killed; 14:07:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:07 + git semver [Pipeline] } 14:07:07 $ docker stop --time=1 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 14:07:09 $ docker rm -f 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 [Pipeline] // withDockerContainer [Pipeline] sh 14:07:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:07:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:07:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:09 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:07:09 $ 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 14:07:10 $ docker top f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:10 [ssh-agent] Looking for ssh-agent implementation... 14:07:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:10 $ docker exec f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da ssh-agent 14:07:10 SSH_AUTH_SOCK=/tmp/ssh-s1BgVuQuoDMn/agent.33 14:07:10 SSH_AGENT_PID=39 14:07:10 Running ssh-add (command line suppressed) 14:07:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2397134847166161632.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2397134847166161632.key) 14:07:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:11 + git semver push 14:07:11 2022-08-12 14:07:11,385 [run_push] DEBUG push 14:07:11 2022-08-12 14:07:11,386 [execute] INFO git cat-file --batch-check 14:07:11 2022-08-12 14:07:11,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:11 2022-08-12 14:07:11,389 [execute] INFO git rev-list ef189e933a1118501d00632267c4c8e6e1c104d5 -- 14:07:11 2022-08-12 14:07:11,390 [execute] DEBUG Popen(['git', 'rev-list', 'ef189e933a1118501d00632267c4c8e6e1c104d5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:07:11 2022-08-12 14:07:11,397 [execute] INFO git fetch -v origin 14:07:11 2022-08-12 14:07:11,398 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:07:12 2022-08-12 14:07:11,884 [run_push] DEBUG no remote changes detected 14:07:12 2022-08-12 14:07:11,884 [execute] INFO git push origin semver 14:07:12 2022-08-12 14:07:11,885 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:07:12 2022-08-12 14:07:12,655 [run_push] DEBUG push all version tags 14:07:12 2022-08-12 14:07:12,655 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:07:12 2022-08-12 14:07:12,656 [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) 14:07:13 2022-08-12 14:07:13,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:07:13 2.3.0-dev.15 [Pipeline] } 14:07:13 $ docker exec --env ******** --env ******** f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da ssh-agent -k 14:07:13 unset SSH_AUTH_SOCK; 14:07:13 unset SSH_AGENT_PID; 14:07:13 echo Agent pid 39 killed; 14:07:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:13 + git semver [Pipeline] } 14:07:14 $ docker stop --time=1 f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da 14:07:15 $ docker rm -f f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da [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 14:07:16 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 14:07:16 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:07:16 total 16 14:07:16 drwxr-xr-x 3 root root 4096 Aug 12 13:58 . 14:07:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 14:07 .. 14:07:16 drwxr-xr-x 2 root root 4096 Aug 12 13:58 cost 14:07:16 -rw-r--r-- 1 root root 85 Aug 12 13:58 cost.csv 14:07:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:07:16 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:07:16 total 16 14:07:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:58 . 14:07:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 14:07 .. 14:07:16 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 13:58 cost 14:07:16 -rw-r--r-- 1 jenkins jenkins 85 Aug 12 13:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:17 ---> package-listing.sh 14:07:17 ++ facter osfamily 14:07:17 ++ tr '[:upper:]' '[:lower:]' 14:07:17 + OS_FAMILY=debian 14:07:17 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 14:07:17 + START_PACKAGES=/tmp/packages_start.txt 14:07:17 + END_PACKAGES=/tmp/packages_end.txt 14:07:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:17 + PACKAGES=/tmp/packages_start.txt 14:07:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:07:17 + PACKAGES=/tmp/packages_end.txt 14:07:17 + case "${OS_FAMILY}" in 14:07:17 + dpkg -l 14:07:17 + grep '^ii' 14:07:17 + '[' -f /tmp/packages_start.txt ']' 14:07:17 + '[' -f /tmp/packages_end.txt ']' 14:07:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:07:17 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 14:07:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 14:07:17 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 14:07:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:18 prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container 14:07:18 $ 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 14:07:18 $ docker top e8d81399e2b3fb97fb0557d981da219f1b65449a199372aa2741350ac7ad30d8 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:19 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:19 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:19 + ls /var/log/sa-host 14:07:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:19 provisioning config files... 14:07:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8374377877757025694tmp [Pipeline] { [Pipeline] echo 14:07:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:20 ---> create-netrc.sh [Pipeline] } 14:07:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:20 ---> python-tools-install.sh [Pipeline] echo 14:07:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:20 ---> sudo-logs.sh 14:07:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:21 ---> job-cost.sh 14:07:21 lf-activate-venv: SKIPPING 14:07:21 DEBUG: total: 0.2199999988079071 14:07:21 INFO: Retrieving Stack Cost... 14:07:21 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:22 INFO: Archiving Costs [Pipeline] echo 14:07:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:22 ---> logs-deploy.sh 14:07:22 lf-activate-venv: SKIPPING 14:07:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/61 14:07:22 INFO: archiving workspace using pattern(s): 14:07:23 Archives upload complete. 14:07:23 INFO: archiving logs to Nexus