Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b3f84b720025cbd9914345d3acb7d77e6659599 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-ssh6751501468950284000.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13373212693687710519.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6877217949402565094.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh7526579529022970397.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11383877072081617394.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8054 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 6b3f84b720025cbd9914345d3acb7d77e6659599 (main) Commit message: "feat(snap): add config interface with unique identifier" > 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 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-list --no-walk 7d55b05ab01bc20af024da7fbe574cccb5f70c8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:07:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:07:51 ========================================================= 09:07:51 EdgeX Global Pipelines Version Info 09:07:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:07:52 ------------------- 09:07:52 stable info: 09:07:52 ------------------- 09:07:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:07:52 Message: update stable to v1.0.239 09:07:53 ------------------- 09:07:53 experimental info: 09:07:53 ------------------- 09:07:53 Commited By: **** collab-it+edgex@linuxfoundation.org 09:07:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:07:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b3f84b [Pipeline] echo 09:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:53 provisioning config files... 09:07:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2640005835637367267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:53 ---> docker-login.sh 09:07:53 nexus3.edgexfoundry.org:10001 09:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:54 Configure a credential helper to remove this warning. See 09:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:54 09:07:54 Login Succeeded 09:07:54 nexus3.edgexfoundry.org:10002 09:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:54 Configure a credential helper to remove this warning. See 09:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:54 09:07:54 Login Succeeded 09:07:54 nexus3.edgexfoundry.org:10003 09:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:54 Configure a credential helper to remove this warning. See 09:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:54 09:07:54 Login Succeeded 09:07:54 nexus3.edgexfoundry.org:10004 09:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:54 Configure a credential helper to remove this warning. See 09:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:54 09:07:54 Login Succeeded 09:07:54 docker.io 09:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:55 Configure a credential helper to remove this warning. See 09:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:55 09:07:55 Login Succeeded 09:07:55 ---> docker-login.sh ends [Pipeline] } 09:07:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:07:55 + git rev-list -1 --merges 6b3f84b720025cbd9914345d3acb7d77e6659599~1..6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] echo 09:07:55 -----------> git rev-list -1 --merges 6b3f84b720025cbd9914345d3acb7d77e6659599~1..6b3f84b720025cbd9914345d3acb7d77e6659599 6b3f84b720025cbd9914345d3acb7d77e6659599 [false] [Pipeline] sh 09:07:55 + git log --format=format:%s -1 6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] echo 09:07:55 ========================================================= 09:07:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:07:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:56 + git log --format=format:%s -1 6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] echo 09:07:56 [semverPrep] GIT_COMMIT: 6b3f84b720025cbd9914345d3acb7d77e6659599, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo 09:07:56 [semverPrep] This is not a build commit. [Pipeline] sh 09:07:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:07:56 + grep -v github /etc/ssh/ssh_known_hosts 09:07:56 + [ -e /tmp/ssh_known_hosts ] 09:07:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:07:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:07:56 + sudo tee -a /etc/ssh/ssh_known_hosts 09:07:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:57 09:07:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:57 0.1.4: Pulling from edgex-devops/py-git-semver 09:07:57 b85a868b505f: Pulling fs layer 09:07:57 e2be974225ed: Pulling fs layer 09:07:57 339a4e72a1f5: Pulling fs layer 09:07:57 988bab9f4d93: Pulling fs layer 09:07:57 1469e6f7b9e6: Pulling fs layer 09:07:57 eaf3925da568: Pulling fs layer 09:07:57 bab4dde63d76: Pulling fs layer 09:07:57 bde34c3a00c8: Pulling fs layer 09:07:57 b352a97aabf1: Pulling fs layer 09:07:57 4872d77fe225: Pulling fs layer 09:07:57 5851b861e8e6: Pulling fs layer 09:07:57 988bab9f4d93: Waiting 09:07:57 1469e6f7b9e6: Waiting 09:07:57 eaf3925da568: Waiting 09:07:57 bde34c3a00c8: Waiting 09:07:57 4872d77fe225: Waiting 09:07:57 5851b861e8e6: Waiting 09:07:57 b352a97aabf1: Waiting 09:07:57 bab4dde63d76: Waiting 09:07:57 e2be974225ed: Verifying Checksum 09:07:57 e2be974225ed: Download complete 09:07:57 988bab9f4d93: Verifying Checksum 09:07:57 988bab9f4d93: Download complete 09:07:57 339a4e72a1f5: Verifying Checksum 09:07:57 339a4e72a1f5: Download complete 09:07:57 1469e6f7b9e6: Verifying Checksum 09:07:57 1469e6f7b9e6: Download complete 09:07:57 eaf3925da568: Verifying Checksum 09:07:57 eaf3925da568: Download complete 09:07:57 bde34c3a00c8: Verifying Checksum 09:07:57 bde34c3a00c8: Download complete 09:07:57 b352a97aabf1: Verifying Checksum 09:07:57 b352a97aabf1: Download complete 09:07:57 4872d77fe225: Download complete 09:07:57 5851b861e8e6: Verifying Checksum 09:07:57 5851b861e8e6: Download complete 09:07:57 b85a868b505f: Verifying Checksum 09:07:57 b85a868b505f: Download complete 09:07:58 bab4dde63d76: Download complete 09:07:58 b85a868b505f: Pull complete 09:07:59 e2be974225ed: Pull complete 09:07:59 339a4e72a1f5: Pull complete 09:07:59 988bab9f4d93: Pull complete 09:08:00 1469e6f7b9e6: Pull complete 09:08:00 eaf3925da568: Pull complete 09:08:01 bab4dde63d76: Pull complete 09:08:02 bde34c3a00c8: Pull complete 09:08:02 b352a97aabf1: Pull complete 09:08:02 4872d77fe225: Pull complete 09:08:02 5851b861e8e6: Pull complete 09:08:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:02 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:08:04 $ docker top 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 -eo pid,comm 09:08:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:08:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:04 [ssh-agent] Looking for ssh-agent implementation... 09:08:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:04 $ docker exec 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 ssh-agent 09:08:05 SSH_AUTH_SOCK=/tmp/ssh-zEBwxFJWnQ5v/agent.32 09:08:05 SSH_AGENT_PID=39 09:08:05 Running ssh-add (command line suppressed) 09:08:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1611199677121351089.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1611199677121351089.key) 09:08:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:05 + git tag --points-at HEAD [Pipeline] } 09:08:05 $ docker exec --env ******** --env ******** 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 ssh-agent -k 09:08:05 unset SSH_AUTH_SOCK; 09:08:05 unset SSH_AGENT_PID; 09:08:05 echo Agent pid 39 killed; 09:08:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:08:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:05 [ssh-agent] Looking for ssh-agent implementation... 09:08:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:05 $ docker exec 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 ssh-agent 09:08:05 SSH_AUTH_SOCK=/tmp/ssh-0XmyWOKb1Auz/agent.71 09:08:05 SSH_AGENT_PID=77 09:08:05 Running ssh-add (command line suppressed) 09:08:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11477437103507807189.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11477437103507807189.key) 09:08:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:06 + git semver init 09:08:06 2022-10-17 09:08:06,398 [run_init] DEBUG init version:0.0.0 force:False 09:08:06 2022-10-17 09:08:06,399 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:08:06 2022-10-17 09:08:06,399 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:08:06 2022-10-17 09:08:06,399 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 09:08:07 2022-10-17 09:08:07,333 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 09:08:07 2022-10-17 09:08:07,334 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 09:08:07 2022-10-17 09:08:07,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:08:07 2022-10-17 09:08:07,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:08:07 2.3.0-dev.25 [Pipeline] } 09:08:07 $ docker exec --env ******** --env ******** 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 ssh-agent -k 09:08:07 unset SSH_AUTH_SOCK; 09:08:07 unset SSH_AGENT_PID; 09:08:07 echo Agent pid 77 killed; 09:08:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:07 + git semver [Pipeline] } 09:08:08 $ docker stop --time=1 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 09:08:09 $ docker rm -f 878fb459377ab50ab77241d0468a5552c96e8647e7d37fe3a9b81e288e8045a1 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:08:09 Stashed 1 file(s) [Pipeline] echo 09:08:09 [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:10 provisioning config files... 09:08:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7775689320758889840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:10 ---> docker-login.sh 09:08:10 nexus3.edgexfoundry.org:10001 09:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:10 Configure a credential helper to remove this warning. See 09:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:10 09:08:10 Login Succeeded 09:08:10 nexus3.edgexfoundry.org:10002 09:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:10 Configure a credential helper to remove this warning. See 09:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:10 09:08:10 Login Succeeded 09:08:10 nexus3.edgexfoundry.org:10003 09:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:10 Configure a credential helper to remove this warning. See 09:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:10 09:08:10 Login Succeeded 09:08:10 nexus3.edgexfoundry.org:10004 09:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:10 Configure a credential helper to remove this warning. See 09:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:10 09:08:10 Login Succeeded 09:08:10 docker.io 09:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:11 Configure a credential helper to remove this warning. See 09:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:11 09:08:11 Login Succeeded 09:08:11 ---> docker-login.sh ends [Pipeline] } 09:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:08:11 ========================================================= 09:08:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:08:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:08:11 Sending build context to Docker daemon 6.155MB 09:08:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:08:11 Step 2/13 : FROM ${BASE} AS builder 09:08:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:08:11 213ec9aee27d: Pulling fs layer 09:08:11 4583459ba037: Pulling fs layer 09:08:11 93c1e223e6f2: Pulling fs layer 09:08:11 53926ce57604: Pulling fs layer 09:08:11 21b2b0c7a3f4: Pulling fs layer 09:08:11 30f14e443154: Pulling fs layer 09:08:11 801331c1e519: Pulling fs layer 09:08:11 99cc6dd402b0: Pulling fs layer 09:08:11 7d9ed39f4882: Pulling fs layer 09:08:11 99cc6dd402b0: Waiting 09:08:11 7d9ed39f4882: Waiting 09:08:11 53926ce57604: Waiting 09:08:11 801331c1e519: Waiting 09:08:11 21b2b0c7a3f4: Waiting 09:08:11 93c1e223e6f2: Verifying Checksum 09:08:11 93c1e223e6f2: Download complete 09:08:11 4583459ba037: Verifying Checksum 09:08:11 4583459ba037: Download complete 09:08:11 21b2b0c7a3f4: Download complete 09:08:11 30f14e443154: Verifying Checksum 09:08:11 30f14e443154: Download complete 09:08:11 213ec9aee27d: Verifying Checksum 09:08:11 213ec9aee27d: Download complete 09:08:11 801331c1e519: Download complete 09:08:11 213ec9aee27d: Pull complete 09:08:12 4583459ba037: Pull complete 09:08:12 93c1e223e6f2: Pull complete 09:08:12 7d9ed39f4882: Verifying Checksum 09:08:12 7d9ed39f4882: Download complete 09:08:12 99cc6dd402b0: Verifying Checksum 09:08:12 99cc6dd402b0: Download complete 09:08:12 53926ce57604: Verifying Checksum 09:08:12 53926ce57604: Download complete 09:08:16 53926ce57604: Pull complete 09:08:16 21b2b0c7a3f4: Pull complete 09:08:16 30f14e443154: Pull complete 09:08:16 801331c1e519: Pull complete 09:08:18 99cc6dd402b0: Pull complete 09:08:19 7d9ed39f4882: Pull complete 09:08:19 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:08:19 ---> 1dedd983c030 09:08:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:08:23 ---> Running in 562d31821620 09:08:23 Removing intermediate container 562d31821620 09:08:23 ---> 728d45024959 09:08:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:08:23 ---> Running in 1db35d03dd06 09:08:23 Removing intermediate container 1db35d03dd06 09:08:23 ---> 03741846f674 09:08:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:08:23 ---> Running in 73439b7b6547 09:08:23 Removing intermediate container 73439b7b6547 09:08:23 ---> 04293c6736f7 09:08:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:08:24 ---> Running in 937ea9255e74 09:08:24 Removing intermediate container 937ea9255e74 09:08:24 ---> a58ab65c3c58 09:08:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:24 ---> Running in 3eac46739efd 09:08:25 Still waiting to schedule task 09:08:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:08:25 Removing intermediate container 3eac46739efd 09:08:25 ---> 5633f720d747 09:08:25 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:25 ---> Running in c85f7c3a4fd9 09:08:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:08:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:08:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:08:26 (2/4) Installing libedit (20210910.3.1-r0) 09:08:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:08:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:08:27 Executing busybox-1.35.0-r17.trigger 09:08:27 OK: 216 MiB in 55 packages 09:08:27 Removing intermediate container c85f7c3a4fd9 09:08:27 ---> 9aa2f2504f9e 09:08:27 Step 9/13 : WORKDIR /device-mqtt-go 09:08:27 ---> Running in 05b3e0a612b7 09:08:27 Removing intermediate container 05b3e0a612b7 09:08:27 ---> 4acfa16c899f 09:08:27 Step 10/13 : COPY go.mod vendor* ./ 09:08:27 ---> e8b0e3d9d3fc 09:08:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:27 ---> Running in c9ee8bc25c37 09:08:46 Removing intermediate container c9ee8bc25c37 09:08:46 ---> a05a2625182a 09:08:46 Step 12/13 : COPY . . 09:08:46 ---> 192b48758ae3 09:08:46 Step 13/13 : RUN $MAKE 09:08:46 ---> Running in 9ae105691708 09:08:46 noop 09:08:46 Removing intermediate container 9ae105691708 09:08:46 ---> a7553b90fa7c 09:08:47 Successfully built a7553b90fa7c 09:08:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:47 + docker inspect -f . ci-base-image-x86_64 09:08:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:47 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:08:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:48 $ docker top 4480a4d98be1d2e870026e2aa36417853f352c81ab548196db021f4ab9da4bbd -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:48 + go version 09:08:48 go version go1.18.7 linux/amd64 [Pipeline] } 09:08:48 $ docker stop --time=1 4480a4d98be1d2e870026e2aa36417853f352c81ab548196db021f4ab9da4bbd 09:08:49 $ docker rm -f 4480a4d98be1d2e870026e2aa36417853f352c81ab548196db021f4ab9da4bbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:50 + docker inspect -f . ci-base-image-x86_64 09:08:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:50 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:08:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:50 $ docker top 8a9b33b8f2625472b364d98cfa08d3abdb4e50bece4a1609a3da857eefeea418 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 09:08:51 + make test 09:08:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:08:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:09:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:09:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 09:09:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:09:08 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 09:09:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:09:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:09:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:09:11 ./bin/test-attribution-txt.sh [Pipeline] echo 09:09:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:09:11 $ docker stop --time=1 8a9b33b8f2625472b364d98cfa08d3abdb4e50bece4a1609a3da857eefeea418 09:09:14 $ docker rm -f 8a9b33b8f2625472b364d98cfa08d3abdb4e50bece4a1609a3da857eefeea418 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:09:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:09:15 + ls -al . 09:09:15 total 184 09:09:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:08 . 09:09:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:07 .. 09:09:15 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:07 .dockerignore 09:09:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:09 .git 09:09:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:07 .github 09:09:15 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 09:07 .gitignore 09:09:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:07 .golangci.yml 09:09:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:08 .semver 09:09:15 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 09:07 Attribution.txt 09:09:15 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 09:07 CHANGELOG.md 09:09:15 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 09:07 Dockerfile 09:09:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:07 GOVERNANCE.md 09:09:15 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 09:07 Jenkinsfile 09:09:15 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:07 LICENSE 09:09:15 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 09:07 Makefile 09:09:15 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:07 OWNERS.md 09:09:15 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 09:07 README.md 09:09:15 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:08 VERSION 09:09:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:07 bin 09:09:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:07 cmd 09:09:15 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 09:09 coverage.out 09:09:15 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 09:07 go.mod 09:09:15 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 09:07 go.sum 09:09:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:07 internal 09:09:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:07 mock 09:09:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:07 snap 09:09:15 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 09:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:15 + 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=6b3f84b720025cbd9914345d3acb7d77e6659599 --label arch=amd64 --label version=2.3.0-dev.25 . 09:09:15 Sending build context to Docker daemon 6.174MB 09:09:15 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:09:15 Step 2/25 : FROM ${BASE} AS builder 09:09:15 ---> a7553b90fa7c 09:09:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:09:16 ---> Running in dba5454d3f9a 09:09:16 Removing intermediate container dba5454d3f9a 09:09:16 ---> eac2061019f3 09:09:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:09:16 ---> Running in 8f5cc07e0338 09:09:16 Removing intermediate container 8f5cc07e0338 09:09:16 ---> 281858f311d1 09:09:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:09:16 ---> Running in 42702694c991 09:09:16 Removing intermediate container 42702694c991 09:09:16 ---> ef579dc81183 09:09:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:09:16 ---> Running in c4c591d22bd9 09:09:16 Removing intermediate container c4c591d22bd9 09:09:16 ---> 1919b9873d01 09:09:16 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:16 ---> Running in 10f21918beec 09:09:16 Removing intermediate container 10f21918beec 09:09:16 ---> b087a2522f33 09:09:16 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:09:16 ---> Running in ef72b12e795a 09:09:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:09:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:09:18 OK: 216 MiB in 55 packages 09:09:18 Removing intermediate container ef72b12e795a 09:09:18 ---> 7c70a588746f 09:09:18 Step 9/25 : WORKDIR /device-mqtt-go 09:09:18 ---> Running in e485fe3e1389 09:09:18 Removing intermediate container e485fe3e1389 09:09:18 ---> cc6f7afd6bb2 09:09:18 Step 10/25 : COPY go.mod vendor* ./ 09:09:18 ---> a173363fbfaa 09:09:18 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:18 ---> Running in a2bb80941089 09:09:19 Removing intermediate container a2bb80941089 09:09:19 ---> 044f57aff3fb 09:09:19 Step 12/25 : COPY . . 09:09:20 ---> 15573f1422a0 09:09:20 Step 13/25 : RUN $MAKE 09:09:20 ---> Running in ef1a64271940 09:09:20 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:09:42 Removing intermediate container ef1a64271940 09:09:42 ---> b0f749b7a5d2 09:09:42 Step 14/25 : FROM alpine:3.16 09:09:42 3.16: Pulling from library/alpine 09:09:42 213ec9aee27d: Already exists 09:09:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:09:42 Status: Downloaded newer image for alpine:3.16 09:09:42 ---> 9c6f07244728 09:09:42 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:09:42 ---> Running in 3e672c7fb6d3 09:09:42 Removing intermediate container 3e672c7fb6d3 09:09:42 ---> 40e58485f90a 09:09:42 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:09:42 ---> Running in 66c0b1f9027a 09:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:09:42 (1/6) Installing dumb-init (1.2.5-r1) 09:09:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:09:42 (3/6) Installing libsodium (1.0.18-r0) 09:09:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:09:42 (5/6) Installing libzmq (4.3.4-r0) 09:09:42 (6/6) Installing zeromq (4.3.4-r0) 09:09:42 Executing busybox-1.35.0-r17.trigger 09:09:42 OK: 8 MiB in 20 packages 09:09:43 Removing intermediate container 66c0b1f9027a 09:09:43 ---> a750bbef2aaa 09:09:43 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 09:09:43 ---> 0e81a9d24399 09:09:43 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 09:09:43 ---> 1158d4727690 09:09:43 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:09:43 ---> 106482d354ce 09:09:43 Step 20/25 : EXPOSE 59982 09:09:43 ---> Running in 5af0acaf50e3 09:09:43 Removing intermediate container 5af0acaf50e3 09:09:43 ---> 99dfca6bd3d8 09:09:43 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 09:09:43 ---> Running in d0cb3e47ee3b 09:09:43 Removing intermediate container d0cb3e47ee3b 09:09:43 ---> c124c6c23604 09:09:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:09:43 ---> Running in b6b4dcc654fe 09:09:44 Removing intermediate container b6b4dcc654fe 09:09:44 ---> 7e734d9080eb 09:09:44 Step 23/25 : LABEL arch=amd64 09:09:44 ---> Running in 08d2ea599e23 09:09:44 Removing intermediate container 08d2ea599e23 09:09:44 ---> ff4c3d18face 09:09:44 Step 24/25 : LABEL git_sha=6b3f84b720025cbd9914345d3acb7d77e6659599 09:09:44 ---> Running in 5a45f68a3919 09:09:44 Removing intermediate container 5a45f68a3919 09:09:44 ---> 03291ec05171 09:09:44 Step 25/25 : LABEL version=2.3.0-dev.25 09:09:44 ---> Running in dd69c54283bf 09:09:44 Removing intermediate container dd69c54283bf 09:09:44 ---> a38076c9110e 09:09:44 [Warning] One or more build-args [ARCH] were not consumed 09:09:44 Successfully built a38076c9110e 09:09:44 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:44 provisioning config files... 09:09:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8959936102739699671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:44 ---> docker-login.sh 09:09:44 nexus3.edgexfoundry.org:10001 09:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:44 Configure a credential helper to remove this warning. See 09:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:44 09:09:44 Login Succeeded 09:09:44 nexus3.edgexfoundry.org:10002 09:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:44 Configure a credential helper to remove this warning. See 09:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:44 09:09:44 Login Succeeded 09:09:44 nexus3.edgexfoundry.org:10003 09:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:45 Configure a credential helper to remove this warning. See 09:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:45 09:09:45 Login Succeeded 09:09:45 nexus3.edgexfoundry.org:10004 09:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:45 Configure a credential helper to remove this warning. See 09:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:45 09:09:45 Login Succeeded 09:09:45 docker.io 09:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:45 Configure a credential helper to remove this warning. See 09:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:45 09:09:45 Login Succeeded 09:09:45 ---> docker-login.sh ends [Pipeline] } 09:09:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:09:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:09:45 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 09:09:45 6b3f84b720025cbd9914345d3acb7d77e6659599 09:09:45 latest 09:09:45 2.3.0-dev.25 09:09:45 6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:09:45 main 09:09:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599 09:09:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:09:46 f1f061f799f4: Preparing 09:09:46 c6ebdd72274b: Preparing 09:09:46 54470588971c: Preparing 09:09:46 8a5be6c4730f: Preparing 09:09:46 994393dc58e7: Preparing 09:09:46 994393dc58e7: Layer already exists 09:09:46 f1f061f799f4: Pushed 09:09:46 c6ebdd72274b: Pushed 09:09:46 8a5be6c4730f: Pushed 09:09:49 54470588971c: Pushed 09:09:49 6b3f84b720025cbd9914345d3acb7d77e6659599: digest: sha256:15ce3dc522f1c46d1cf69c289b64759c75038518684b5d1171f784c18d73063e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:09:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:09:49 f1f061f799f4: Preparing 09:09:49 c6ebdd72274b: Preparing 09:09:49 54470588971c: Preparing 09:09:49 8a5be6c4730f: Preparing 09:09:49 994393dc58e7: Preparing 09:09:49 54470588971c: Layer already exists 09:09:49 994393dc58e7: Layer already exists 09:09:49 f1f061f799f4: Layer already exists 09:09:49 c6ebdd72274b: Layer already exists 09:09:49 8a5be6c4730f: Layer already exists 09:09:49 latest: digest: sha256:15ce3dc522f1c46d1cf69c289b64759c75038518684b5d1171f784c18d73063e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.25 09:09:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:09:50 f1f061f799f4: Preparing 09:09:50 c6ebdd72274b: Preparing 09:09:50 54470588971c: Preparing 09:09:50 8a5be6c4730f: Preparing 09:09:50 994393dc58e7: Preparing 09:09:50 c6ebdd72274b: Layer already exists 09:09:50 f1f061f799f4: Layer already exists 09:09:50 994393dc58e7: Layer already exists 09:09:50 54470588971c: Layer already exists 09:09:50 8a5be6c4730f: Layer already exists 09:09:50 2.3.0-dev.25: digest: sha256:15ce3dc522f1c46d1cf69c289b64759c75038518684b5d1171f784c18d73063e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:09:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:09:51 f1f061f799f4: Preparing 09:09:51 c6ebdd72274b: Preparing 09:09:51 54470588971c: Preparing 09:09:51 8a5be6c4730f: Preparing 09:09:51 994393dc58e7: Preparing 09:09:51 54470588971c: Layer already exists 09:09:51 c6ebdd72274b: Layer already exists 09:09:51 f1f061f799f4: Layer already exists 09:09:51 8a5be6c4730f: Layer already exists 09:09:51 994393dc58e7: Layer already exists 09:09:51 6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25: digest: sha256:15ce3dc522f1c46d1cf69c289b64759c75038518684b5d1171f784c18d73063e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8055 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 09:09:51 Running in /w/workspace/device-mqtt-go/72 [Pipeline] { [Pipeline] checkout 09:09:51 Selected Git installation does not exist. Using Default 09:09:51 The recommended git tool is: NONE 09:09:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 09:09:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:09:51 f1f061f799f4: Preparing 09:09:51 c6ebdd72274b: Preparing 09:09:51 54470588971c: Preparing 09:09:51 8a5be6c4730f: Preparing 09:09:51 994393dc58e7: Preparing 09:09:51 994393dc58e7: Layer already exists 09:09:51 8a5be6c4730f: Layer already exists 09:09:51 f1f061f799f4: Layer already exists 09:09:51 c6ebdd72274b: Layer already exists 09:09:51 54470588971c: Layer already exists 09:09:51 main: digest: sha256:15ce3dc522f1c46d1cf69c289b64759c75038518684b5d1171f784c18d73063e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:09:51 ===================================================== [Pipeline] echo 09:09:51 taggedImages: 09:09:51 - nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599 09:09:51 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:09:51 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.25 09:09:51 - nexus3.edgexfoundry.org:10004/device-mqtt:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:09:51 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:52 09:09:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:52 latest: Pulling from edgex-lftools-log-publisher 09:09:52 5eb5b503b376: Pulling fs layer 09:09:52 5c69ac0246d0: Pulling fs layer 09:09:52 ec43610c2a17: Pulling fs layer 09:09:52 3a2ae6a8a46f: Pulling fs layer 09:09:52 33b1e0a273af: Pulling fs layer 09:09:52 5d3b04190fa2: Pulling fs layer 09:09:52 2f39f015ded8: Pulling fs layer 09:09:52 5d3b04190fa2: Waiting 09:09:52 33b1e0a273af: Waiting 09:09:52 2f39f015ded8: Waiting 09:09:52 3a2ae6a8a46f: Waiting 09:09:52 5c69ac0246d0: Verifying Checksum 09:09:52 5c69ac0246d0: Download complete 09:09:52 3a2ae6a8a46f: Verifying Checksum 09:09:52 3a2ae6a8a46f: Download complete 09:09:52 33b1e0a273af: Verifying Checksum 09:09:52 33b1e0a273af: Download complete 09:09:52 5d3b04190fa2: Download complete 09:09:52 ec43610c2a17: Verifying Checksum 09:09:52 ec43610c2a17: Download complete 09:09:52 5eb5b503b376: Verifying Checksum 09:09:52 5eb5b503b376: Download complete 09:09:53 2f39f015ded8: Download complete 09:09:53 5eb5b503b376: Pull complete 09:09:54 5c69ac0246d0: Pull complete 09:09:54 ec43610c2a17: Pull complete 09:09:54 3a2ae6a8a46f: Pull complete 09:09:54 33b1e0a273af: Pull complete 09:09:54 5d3b04190fa2: Pull complete 09:09:56 using credential edgex-jenkins-ssh 09:09:56 Cloning the remote Git repository 09:09:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:09:56 > git init /w/workspace/device-mqtt-go/72 # timeout=10 09:09:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:09:56 > git --version # timeout=10 09:09:56 > git --version # 'git version 2.25.1' 09:09:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:56 Verifying host key using known hosts file 09:09:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:09:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:58 2f39f015ded8: Pull complete 09:09:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:58 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:09:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:09:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:58 Avoid second fetch 09:09:58 Checking out Revision 6b3f84b720025cbd9914345d3acb7d77e6659599 (main) 09:09:59 Commit message: "feat(snap): add config interface with unique identifier" 09:09:59 09:09:59 GitHub has been notified of this commit’s build result 09:09:59 09:09:58 > git config core.sparsecheckout # timeout=10 09:09:58 > git checkout -f 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 09:10:01 $ docker top d2b7f9c42ba12d0b6710c216a10969f900d7bc3c3a7a607cf6f60c671406109b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:01 ---> job-cost.sh 09:10:01 lf-activate-venv: SKIPPING 09:10:01 INFO: No Stack... 09:10:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:10:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:10:02 Dload Upload Total Spent Left Speed 09:10:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78273 100 12602 100 12602 0 0 78273 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 09:10:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:10:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 09:10:02 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 09:10:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:10:03 + sudo tee /etc/docker/daemon.new 09:10:03 { 09:10:03 "registry-mirrors": [ 09:10:03 "https://nexus3.edgexfoundry.org:10001" 09:10:03 ], 09:10:03 "bip": "10.250.0.254/24", 09:10:03 "hosts": [ 09:10:03 "tcp://0.0.0.0:5555", 09:10:03 "unix:///var/run/docker.sock" 09:10:03 ], 09:10:03 "mtu": 1458, 09:10:03 "selinux-enabled": true, 09:10:03 "seccomp-profile": "/etc/docker/seccomp.json" 09:10:03 } [Pipeline] sh 09:10:03 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 09:10:03 + cut -d, -f6 [Pipeline] lock 09:10:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] 09:10:03 Resource [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] did not exist. Created. 09:10:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:10:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:10:03 + echo total: 0.2199999988079071 [Pipeline] stash 09:10:03 Stashed 1 file(s) [Pipeline] } 09:10:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 09:10:03 $ docker stop --time=1 d2b7f9c42ba12d0b6710c216a10969f900d7bc3c3a7a607cf6f60c671406109b 09:10:03 + sudo service docker restart 09:10:04 $ docker rm -f d2b7f9c42ba12d0b6710c216a10969f900d7bc3c3a7a607cf6f60c671406109b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:21 provisioning config files... 09:10:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/72@tmp/config11874518191299439646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:22 ---> docker-login.sh 09:10:22 nexus3.edgexfoundry.org:10001 09:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:22 Configure a credential helper to remove this warning. See 09:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:22 09:10:22 Login Succeeded 09:10:22 nexus3.edgexfoundry.org:10002 09:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:23 Configure a credential helper to remove this warning. See 09:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:23 09:10:23 Login Succeeded 09:10:23 nexus3.edgexfoundry.org:10003 09:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:23 Configure a credential helper to remove this warning. See 09:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:23 09:10:23 Login Succeeded 09:10:23 nexus3.edgexfoundry.org:10004 09:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:24 Configure a credential helper to remove this warning. See 09:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:24 09:10:24 Login Succeeded 09:10:24 docker.io 09:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:24 Configure a credential helper to remove this warning. See 09:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:24 09:10:24 Login Succeeded 09:10:24 ---> docker-login.sh ends [Pipeline] } 09:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:24 ========================================================= 09:10:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:10:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:10:25 Sending build context to Docker daemon 3.183MB 09:10:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:10:25 Step 2/13 : FROM ${BASE} AS builder 09:10:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:10:25 9b18e9b68314: Pulling fs layer 09:10:25 d32db5db7311: Pulling fs layer 09:10:25 d0c4b47475fc: Pulling fs layer 09:10:25 5831b945b038: Pulling fs layer 09:10:25 86bbec2aaacd: Pulling fs layer 09:10:25 e10730c5d714: Pulling fs layer 09:10:25 5dd5c2283517: Pulling fs layer 09:10:25 d5ac0230b979: Pulling fs layer 09:10:25 5831b945b038: Waiting 09:10:25 e10730c5d714: Waiting 09:10:25 5dd5c2283517: Waiting 09:10:25 86bbec2aaacd: Waiting 09:10:25 d5ac0230b979: Waiting 09:10:25 d0c4b47475fc: Verifying Checksum 09:10:25 d0c4b47475fc: Download complete 09:10:25 d32db5db7311: Verifying Checksum 09:10:25 d32db5db7311: Download complete 09:10:25 86bbec2aaacd: Verifying Checksum 09:10:25 86bbec2aaacd: Download complete 09:10:25 e10730c5d714: Verifying Checksum 09:10:25 e10730c5d714: Download complete 09:10:25 9b18e9b68314: Verifying Checksum 09:10:25 9b18e9b68314: Download complete 09:10:26 9b18e9b68314: Pull complete 09:10:26 d5ac0230b979: Verifying Checksum 09:10:26 d5ac0230b979: Download complete 09:10:27 d32db5db7311: Pull complete 09:10:27 d0c4b47475fc: Pull complete 09:10:27 5dd5c2283517: Verifying Checksum 09:10:27 5dd5c2283517: Download complete 09:10:28 5831b945b038: Verifying Checksum 09:10:28 5831b945b038: Download complete 09:10:40 5831b945b038: Pull complete 09:10:40 86bbec2aaacd: Pull complete 09:10:40 e10730c5d714: Pull complete 09:10:46 5dd5c2283517: Pull complete 09:10:48 d5ac0230b979: Pull complete 09:10:48 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:10:48 ---> 59b3b1a385d4 09:10:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:10:50 ---> Running in 5667240da484 09:10:50 Removing intermediate container 5667240da484 09:10:50 ---> 749736ef9a02 09:10:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:10:50 ---> Running in e7c0b3d25963 09:10:50 Removing intermediate container e7c0b3d25963 09:10:50 ---> 8927ac0a683e 09:10:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:50 ---> Running in a53e2e20be68 09:10:51 Removing intermediate container a53e2e20be68 09:10:51 ---> 6e663d565b62 09:10:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:10:51 ---> Running in aa33c807f6ab 09:10:51 Removing intermediate container aa33c807f6ab 09:10:51 ---> a1c9f5f63dbe 09:10:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:51 ---> Running in f3fc3320e820 09:10:53 Removing intermediate container f3fc3320e820 09:10:53 ---> 1302ab6d313f 09:10:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:53 ---> Running in 4935a6216a57 09:10:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:10:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:10:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:10:55 (2/4) Installing libedit (20210910.3.1-r0) 09:10:56 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:10:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:10:56 Executing busybox-1.35.0-r17.trigger 09:10:56 OK: 226 MiB in 55 packages 09:10:57 Removing intermediate container 4935a6216a57 09:10:57 ---> 549800f575c0 09:10:57 Step 9/13 : WORKDIR /device-mqtt-go 09:10:57 ---> Running in 86ae53af99a2 09:10:57 Removing intermediate container 86ae53af99a2 09:10:57 ---> 29198119a4f4 09:10:57 Step 10/13 : COPY go.mod vendor* ./ 09:10:58 ---> a7e9aac605e7 09:10:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:58 ---> Running in f27a677abc42 09:11:45 Removing intermediate container f27a677abc42 09:11:45 ---> a99a80c26a60 09:11:45 Step 12/13 : COPY . . 09:11:45 ---> 6f31fbef0d09 09:11:45 Step 13/13 : RUN $MAKE 09:11:45 ---> Running in 4d192f0f37a7 09:11:45 noop 09:11:46 Removing intermediate container 4d192f0f37a7 09:11:46 ---> 945cd81f5075 09:11:46 Successfully built 945cd81f5075 09:11:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:46 + docker inspect -f . ci-base-image-arm64 09:11:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:46 prd-ubuntu20.04-docker-arm64-4c-16g-8055 does not seem to be running inside a container 09:11:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/72 -v /w/workspace/device-mqtt-go/72:/w/workspace/device-mqtt-go/72:rw,z -v /w/workspace/device-mqtt-go/72@tmp:/w/workspace/device-mqtt-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:47 $ docker top 98e2bd117ffc2c88a3617b91e81fdd861e605e19e68a853d3266fdcc97d90c88 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:48 + go version 09:11:48 go version go1.18.7 linux/arm64 [Pipeline] } 09:11:48 $ docker stop --time=1 98e2bd117ffc2c88a3617b91e81fdd861e605e19e68a853d3266fdcc97d90c88 09:11:50 $ docker rm -f 98e2bd117ffc2c88a3617b91e81fdd861e605e19e68a853d3266fdcc97d90c88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:50 + docker inspect -f . ci-base-image-arm64 09:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:50 prd-ubuntu20.04-docker-arm64-4c-16g-8055 does not seem to be running inside a container 09:11:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/72 -v /w/workspace/device-mqtt-go/72:/w/workspace/device-mqtt-go/72:rw,z -v /w/workspace/device-mqtt-go/72@tmp:/w/workspace/device-mqtt-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:52 $ docker top eafd3281d58826ee649361ce971ba50dec01d0612cc94b04f668d6709e2e82d5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/72 [Pipeline] fileExists [Pipeline] sh 09:11:52 + make test 09:11:52 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:11:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:13:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:13:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 09:13:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:13:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:13:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:13:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:40 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:40 $ docker stop --time=1 eafd3281d58826ee649361ce971ba50dec01d0612cc94b04f668d6709e2e82d5 09:13:42 $ docker rm -f eafd3281d58826ee649361ce971ba50dec01d0612cc94b04f668d6709e2e82d5 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:43 Warning: overwriting stash ‘coverage-report’ 09:13:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:44 + ls -al . 09:13:44 total 180 09:13:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:11 . 09:13:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:09 .. 09:13:44 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:09 .dockerignore 09:13:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:09 .git 09:13:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:09 .github 09:13:44 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 09:09 .gitignore 09:13:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:09 .golangci.yml 09:13:44 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 09:09 Attribution.txt 09:13:44 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 09:09 CHANGELOG.md 09:13:44 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 09:09 Dockerfile 09:13:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:09 GOVERNANCE.md 09:13:44 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 09:09 Jenkinsfile 09:13:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:09 LICENSE 09:13:44 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 09:09 Makefile 09:13:44 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:09 OWNERS.md 09:13:44 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 09:09 README.md 09:13:44 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:08 VERSION 09:13:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:09 bin 09:13:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:09 cmd 09:13:44 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 09:13 coverage.out 09:13:44 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 09:09 go.mod 09:13:44 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 09:09 go.sum 09:13:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:09 internal 09:13:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:09 mock 09:13:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:09 snap 09:13:44 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:45 + 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=6b3f84b720025cbd9914345d3acb7d77e6659599 --label arch=arm64 --label version=2.3.0-dev.25 . 09:13:45 Sending build context to Docker daemon 3.201MB 09:13:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:13:45 Step 2/25 : FROM ${BASE} AS builder 09:13:45 ---> 945cd81f5075 09:13:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:13:45 ---> Running in f53c786ce627 09:13:45 Removing intermediate container f53c786ce627 09:13:45 ---> cebef0a908ae 09:13:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:45 ---> Running in fca296ac81f3 09:13:46 Removing intermediate container fca296ac81f3 09:13:46 ---> 1ff96e6914a9 09:13:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:46 ---> Running in e7ce7db5b43e 09:13:46 Removing intermediate container e7ce7db5b43e 09:13:46 ---> e0887ecc777a 09:13:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:13:46 ---> Running in 32a5fe1a59b5 09:13:46 Removing intermediate container 32a5fe1a59b5 09:13:46 ---> c8115c8ffbf4 09:13:46 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:46 ---> Running in 57c7357d693c 09:13:48 Removing intermediate container 57c7357d693c 09:13:48 ---> 5c903d03f9a4 09:13:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:48 ---> Running in a6d8a8d8dcf9 09:13:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:13:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:13:51 OK: 226 MiB in 55 packages 09:13:52 Removing intermediate container a6d8a8d8dcf9 09:13:52 ---> 39731804c573 09:13:52 Step 9/25 : WORKDIR /device-mqtt-go 09:13:52 ---> Running in ba11620bbfb4 09:13:52 Removing intermediate container ba11620bbfb4 09:13:52 ---> be6c462b9bf3 09:13:52 Step 10/25 : COPY go.mod vendor* ./ 09:13:53 ---> 02661234f286 09:13:53 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:53 ---> Running in 556f8cf61d57 09:13:55 Removing intermediate container 556f8cf61d57 09:13:55 ---> 232b461587cf 09:13:55 Step 12/25 : COPY . . 09:13:55 ---> cd4ccf4ed5f3 09:13:55 Step 13/25 : RUN $MAKE 09:13:55 ---> Running in 15b97b484f35 09:13:56 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:16:48 Removing intermediate container 15b97b484f35 09:16:48 ---> b2715ac6ea85 09:16:48 Step 14/25 : FROM alpine:3.16 09:16:48 3.16: Pulling from library/alpine 09:16:48 9b18e9b68314: Already exists 09:16:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:16:48 Status: Downloaded newer image for alpine:3.16 09:16:48 ---> a6215f271958 09:16:48 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:16:48 ---> Running in 8d2c578f219e 09:16:48 Removing intermediate container 8d2c578f219e 09:16:48 ---> 178a491b4836 09:16:48 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:16:48 ---> Running in 96ac0b9288c3 09:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:16:48 (1/6) Installing dumb-init (1.2.5-r1) 09:16:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:16:48 (3/6) Installing libsodium (1.0.18-r0) 09:16:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:16:48 (5/6) Installing libzmq (4.3.4-r0) 09:16:48 (6/6) Installing zeromq (4.3.4-r0) 09:16:48 Executing busybox-1.35.0-r17.trigger 09:16:48 OK: 8 MiB in 20 packages 09:16:48 Removing intermediate container 96ac0b9288c3 09:16:48 ---> 83131e23ed9a 09:16:48 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 09:16:48 ---> 3f8f410de9d7 09:16:48 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 09:16:48 ---> 6682fceb54c1 09:16:48 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:16:48 ---> 007e76080e98 09:16:48 Step 20/25 : EXPOSE 59982 09:16:48 ---> Running in 2dd6ce8e1bdf 09:16:48 Removing intermediate container 2dd6ce8e1bdf 09:16:48 ---> eebd9f2e5264 09:16:48 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 09:16:48 ---> Running in 79dd7c485ac6 09:16:48 Removing intermediate container 79dd7c485ac6 09:16:48 ---> 3af9cb9ac728 09:16:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:16:48 ---> Running in 2c73c32a07f4 09:16:48 Removing intermediate container 2c73c32a07f4 09:16:48 ---> 6a4d55e7dd34 09:16:48 Step 23/25 : LABEL arch=arm64 09:16:48 ---> Running in b51fe54244f1 09:16:48 Removing intermediate container b51fe54244f1 09:16:48 ---> 97f8ffea5555 09:16:48 Step 24/25 : LABEL git_sha=6b3f84b720025cbd9914345d3acb7d77e6659599 09:16:48 ---> Running in 6f02d65b6fd2 09:16:48 Removing intermediate container 6f02d65b6fd2 09:16:48 ---> d85de864ee58 09:16:48 Step 25/25 : LABEL version=2.3.0-dev.25 09:16:48 ---> Running in f4db8dad8043 09:16:48 Removing intermediate container f4db8dad8043 09:16:48 ---> e231c17ea10c 09:16:48 [Warning] One or more build-args [ARCH] were not consumed 09:16:48 Successfully built e231c17ea10c 09:16:48 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:48 provisioning config files... 09:16:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/72@tmp/config2599378574636375582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:48 ---> docker-login.sh 09:16:48 nexus3.edgexfoundry.org:10001 09:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:49 Configure a credential helper to remove this warning. See 09:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:49 09:16:49 Login Succeeded 09:16:49 nexus3.edgexfoundry.org:10002 09:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:49 Configure a credential helper to remove this warning. See 09:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:49 09:16:49 Login Succeeded 09:16:49 nexus3.edgexfoundry.org:10003 09:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:49 Configure a credential helper to remove this warning. See 09:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:49 09:16:49 Login Succeeded 09:16:49 nexus3.edgexfoundry.org:10004 09:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:50 Configure a credential helper to remove this warning. See 09:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:50 09:16:50 Login Succeeded 09:16:50 docker.io 09:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:51 Configure a credential helper to remove this warning. See 09:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:51 09:16:51 Login Succeeded 09:16:51 ---> docker-login.sh ends [Pipeline] } 09:16:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:16:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:51 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 09:16:51 6b3f84b720025cbd9914345d3acb7d77e6659599 09:16:51 latest 09:16:51 2.3.0-dev.25 09:16:51 6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:16:51 main 09:16:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599 09:16:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:16:51 e4200ab21f40: Preparing 09:16:51 01bcd57d52a6: Preparing 09:16:51 2149469dde1b: Preparing 09:16:51 1d8441f0018b: Preparing 09:16:51 5d3e392a13a0: Preparing 09:16:51 5d3e392a13a0: Layer already exists 09:16:52 e4200ab21f40: Pushed 09:16:52 01bcd57d52a6: Pushed 09:16:52 1d8441f0018b: Pushed 09:16:57 2149469dde1b: Pushed 09:16:57 6b3f84b720025cbd9914345d3acb7d77e6659599: digest: sha256:887f71a900648d7ea99e0900188a9f9323c839b26f651be3aad9118df9376286 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:16:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:16:58 e4200ab21f40: Preparing 09:16:58 01bcd57d52a6: Preparing 09:16:58 2149469dde1b: Preparing 09:16:58 1d8441f0018b: Preparing 09:16:58 5d3e392a13a0: Preparing 09:16:58 1d8441f0018b: Layer already exists 09:16:58 5d3e392a13a0: Layer already exists 09:16:58 2149469dde1b: Layer already exists 09:16:58 01bcd57d52a6: Layer already exists 09:16:58 e4200ab21f40: Layer already exists 09:16:58 latest: digest: sha256:887f71a900648d7ea99e0900188a9f9323c839b26f651be3aad9118df9376286 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.25 09:16:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:16:59 e4200ab21f40: Preparing 09:16:59 01bcd57d52a6: Preparing 09:16:59 2149469dde1b: Preparing 09:16:59 1d8441f0018b: Preparing 09:16:59 5d3e392a13a0: Preparing 09:16:59 e4200ab21f40: Layer already exists 09:16:59 01bcd57d52a6: Layer already exists 09:16:59 1d8441f0018b: Layer already exists 09:16:59 2149469dde1b: Layer already exists 09:16:59 5d3e392a13a0: Layer already exists 09:16:59 2.3.0-dev.25: digest: sha256:887f71a900648d7ea99e0900188a9f9323c839b26f651be3aad9118df9376286 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:17:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:17:00 e4200ab21f40: Preparing 09:17:00 01bcd57d52a6: Preparing 09:17:00 2149469dde1b: Preparing 09:17:00 1d8441f0018b: Preparing 09:17:00 5d3e392a13a0: Preparing 09:17:00 2149469dde1b: Layer already exists 09:17:00 5d3e392a13a0: Layer already exists 09:17:00 01bcd57d52a6: Layer already exists 09:17:00 e4200ab21f40: Layer already exists 09:17:00 1d8441f0018b: Layer already exists 09:17:01 6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25: digest: sha256:887f71a900648d7ea99e0900188a9f9323c839b26f651be3aad9118df9376286 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 09:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:17:01 e4200ab21f40: Preparing 09:17:01 01bcd57d52a6: Preparing 09:17:01 2149469dde1b: Preparing 09:17:01 1d8441f0018b: Preparing 09:17:01 5d3e392a13a0: Preparing 09:17:01 2149469dde1b: Layer already exists 09:17:01 01bcd57d52a6: Layer already exists 09:17:01 1d8441f0018b: Layer already exists 09:17:01 5d3e392a13a0: Layer already exists 09:17:01 e4200ab21f40: Layer already exists 09:17:02 main: digest: sha256:887f71a900648d7ea99e0900188a9f9323c839b26f651be3aad9118df9376286 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:02 ===================================================== [Pipeline] echo 09:17:02 taggedImages: 09:17:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599 09:17:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:17:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.25 09:17:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6b3f84b720025cbd9914345d3acb7d77e6659599-2.3.0-dev.25 09:17:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:02 09:17:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:02 arm64: Pulling from edgex-lftools-log-publisher 09:17:02 8998bd30e6a1: Pulling fs layer 09:17:02 04944245beec: Pulling fs layer 09:17:02 699f458cf7ca: Pulling fs layer 09:17:02 765212b225bb: Pulling fs layer 09:17:02 f23df028b6ca: Pulling fs layer 09:17:02 d65c8cfc05b1: Pulling fs layer 09:17:02 2437ff75d9bd: Pulling fs layer 09:17:02 f23df028b6ca: Waiting 09:17:02 d65c8cfc05b1: Waiting 09:17:02 2437ff75d9bd: Waiting 09:17:02 765212b225bb: Waiting 09:17:03 04944245beec: Verifying Checksum 09:17:03 04944245beec: Download complete 09:17:03 765212b225bb: Verifying Checksum 09:17:03 765212b225bb: Download complete 09:17:03 f23df028b6ca: Download complete 09:17:03 d65c8cfc05b1: Verifying Checksum 09:17:03 d65c8cfc05b1: Download complete 09:17:03 699f458cf7ca: Verifying Checksum 09:17:03 699f458cf7ca: Download complete 09:17:03 8998bd30e6a1: Verifying Checksum 09:17:03 8998bd30e6a1: Download complete 09:17:06 2437ff75d9bd: Verifying Checksum 09:17:06 2437ff75d9bd: Download complete 09:17:08 8998bd30e6a1: Pull complete 09:17:08 04944245beec: Pull complete 09:17:09 699f458cf7ca: Pull complete 09:17:09 765212b225bb: Pull complete 09:17:10 f23df028b6ca: Pull complete 09:17:11 d65c8cfc05b1: Pull complete 09:17:26 2437ff75d9bd: Pull complete 09:17:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:26 prd-ubuntu20.04-docker-arm64-4c-16g-8055 does not seem to be running inside a container 09:17:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/72 -v /w/workspace/device-mqtt-go/72:/w/workspace/device-mqtt-go/72:rw,z -v /w/workspace/device-mqtt-go/72@tmp:/w/workspace/device-mqtt-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:17:29 $ docker top caea951c994a9a73f87a73dea4c78db943bfebf9c76d3c2f75b6054f80965160 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:30 ---> job-cost.sh 09:17:30 lf-activate-venv: SKIPPING 09:17:30 INFO: No Stack... 09:17:30 INFO: Retrieving Pricing Info for: v3-standard-4 09:17:31 INFO: Archiving Costs [Pipeline] sh 09:17:32 + + cat /w/workspace/device-mqtt-go/72/archives/cost.csv 09:17:32 cut -d, -f6 [Pipeline] lock 09:17:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] 09:17:32 Resource [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] did not exist. Created. 09:17:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:33 /w/workspace/device-mqtt-go/72@tmp/durable-93e01417/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:17:33 + echo total: 0.10999999940395355 [Pipeline] stash 09:17:33 Warning: overwriting stash ‘stack-cost’ 09:17:33 Stashed 1 file(s) [Pipeline] } 09:17:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:33 $ docker stop --time=1 caea951c994a9a73f87a73dea4c78db943bfebf9c76d3c2f75b6054f80965160 09:17:35 $ docker rm -f caea951c994a9a73f87a73dea4c78db943bfebf9c76d3c2f75b6054f80965160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:17:35 provisioning config files... 09:17:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config471154715962762tmp [Pipeline] { [Pipeline] sh 09:17:36 + set +x 09:17:36 + bash -s -- 09:17:36 + curl -s https://codecov.io/bash 09:17:36 09:17:36 _____ _ 09:17:36 / ____| | | 09:17:36 | | ___ __| | ___ ___ _____ __ 09:17:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:17:36 | |___| (_) | (_| | __/ (_| (_) \ V / 09:17:36 \_____\___/ \__,_|\___|\___\___/ \_/ 09:17:36 Bash-1.0.6 09:17:36 09:17:36 09:17:36 ==> git version 2.25.1 found 09:17:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:17:36 Release-Date: 2020-01-08 09:17:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:17:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:17:36 ==> Jenkins CI detected. 09:17:36 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 09:17:36 project root: . 09:17:36 --> token set from env 09:17:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:17:36 ==> Running gcov in . (disable via -X gcov) 09:17:36 ==> Python coveragepy not found 09:17:36 ==> Searching for coverage reports in: 09:17:36 + . 09:17:36 -> Found 1 reports 09:17:36 ==> Detecting git/mercurial file structure 09:17:36 ==> Reading reports 09:17:36 + ./coverage.out bytes=17887 09:17:36 ==> Appending adjustments 09:17:36 https://docs.codecov.io/docs/fixing-reports 09:17:36 + Found adjustments 09:17:36 ==> Gzipping contents 09:17:36 4.0K /tmp/codecov.hJofyE.gz 09:17:36 ==> Uploading reports 09:17:36 url: https://codecov.io 09:17:36 query: branch=main&commit=6b3f84b720025cbd9914345d3acb7d77e6659599&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:17:36 -> Pinging Codecov 09:17:36 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=6b3f84b720025cbd9914345d3acb7d77e6659599&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:17:36 -> Uploading to 09:17:36 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7D719EC7BBE17E464838252E33014C33/6b3f84b720025cbd9914345d3acb7d77e6659599/9ed1fb5c-e1d9-42cd-86ab-d977ab535c8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T091736Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=35d3ba9e41d98ed8ff70dc0147ecf8b1e505fe05d267dc75356e230c3fffcebd 09:17:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:36 Dload Upload Total Spent Left Speed 09:17:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 15349 --:--:-- --:--:-- --:--:-- 15349 09:17:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] } 09:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:17:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:17:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:37 09:17:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:17:37 df9b9388f04a: Pulling fs layer 09:17:37 52dc419b0ee2: Pulling fs layer 09:17:37 25bc292e5bac: Pulling fs layer 09:17:37 114826534d7a: Pulling fs layer 09:17:37 4657fd5d0bcf: Pulling fs layer 09:17:37 6ad1cebc031e: Pulling fs layer 09:17:37 8a3aa393b2d8: Pulling fs layer 09:17:37 6ad1cebc031e: Waiting 09:17:37 114826534d7a: Waiting 09:17:37 8a3aa393b2d8: Waiting 09:17:37 4657fd5d0bcf: Waiting 09:17:37 25bc292e5bac: Verifying Checksum 09:17:37 25bc292e5bac: Download complete 09:17:37 52dc419b0ee2: Download complete 09:17:37 4657fd5d0bcf: Verifying Checksum 09:17:37 4657fd5d0bcf: Download complete 09:17:37 df9b9388f04a: Verifying Checksum 09:17:37 df9b9388f04a: Download complete 09:17:38 6ad1cebc031e: Verifying Checksum 09:17:38 6ad1cebc031e: Download complete 09:17:38 df9b9388f04a: Pull complete 09:17:38 52dc419b0ee2: Pull complete 09:17:38 25bc292e5bac: Pull complete 09:17:38 114826534d7a: Verifying Checksum 09:17:38 114826534d7a: Download complete 09:17:38 8a3aa393b2d8: Verifying Checksum 09:17:38 8a3aa393b2d8: Download complete 09:17:41 114826534d7a: Pull complete 09:17:41 4657fd5d0bcf: Pull complete 09:17:42 6ad1cebc031e: Pull complete 09:17:44 8a3aa393b2d8: Pull complete 09:17:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:44 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:17:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:17:47 $ docker top d7970f3ba871587a8439b32d7141cc1baa8d644b0cae6109070b44259cb306bf -eo pid,comm [Pipeline] { [Pipeline] echo 09:17:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 09:17:47 + set -o pipefail 09:17:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 09:17:53 09:17:53 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 09:17:53 09:17:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/05f7f55f-7325-4375-904e-97c836db0bff 09:17:53 09:17:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:17:53 09:17:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:17:53 09:17:53 09:17:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:17:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:17:53 More details here: https://snyk.co/ue1NS [Pipeline] } 09:17:53 $ docker stop --time=1 d7970f3ba871587a8439b32d7141cc1baa8d644b0cae6109070b44259cb306bf 09:17:56 $ docker rm -f d7970f3ba871587a8439b32d7141cc1baa8d644b0cae6109070b44259cb306bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:56 + git log --format=format:%s -1 6b3f84b720025cbd9914345d3acb7d77e6659599 [Pipeline] sh 09:17:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:17:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:57 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:17:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:17:57 $ docker top f769ab2198076e109d075578475a87a4e7af1f075cab0a1d8dc08cc80d547b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:57 [ssh-agent] Looking for ssh-agent implementation... 09:17:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:58 $ docker exec f769ab2198076e109d075578475a87a4e7af1f075cab0a1d8dc08cc80d547b6c ssh-agent 09:17:58 SSH_AUTH_SOCK=/tmp/ssh-4Q58zk34xW8P/agent.32 09:17:58 SSH_AGENT_PID=38 09:17:58 Running ssh-add (command line suppressed) 09:17:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_906950210006289223.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_906950210006289223.key) 09:17:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:58 + git semver tag 09:17:58 2022-10-17 09:17:58,798 [run_tag] DEBUG tag force:False 09:17:58 2022-10-17 09:17:58,798 [check_head_tag] DEBUG check head tag 09:17:58 2022-10-17 09:17:58,799 [execute] INFO git cat-file --batch-check 09:17:58 2022-10-17 09:17:58,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:17:58 2022-10-17 09:17:58,803 [execute] INFO git cat-file --batch 09:17:58 2022-10-17 09:17:58,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:17:58 2022-10-17 09:17:58,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:17:58 2022-10-17 09:17:58,818 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 09:17:58 2022-10-17 09:17:58,818 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 09:17:58 2022-10-17 09:17:58,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:17:58 2.3.0-dev.25 [Pipeline] } 09:17:58 $ docker exec --env ******** --env ******** f769ab2198076e109d075578475a87a4e7af1f075cab0a1d8dc08cc80d547b6c ssh-agent -k 09:17:59 unset SSH_AUTH_SOCK; 09:17:59 unset SSH_AGENT_PID; 09:17:59 echo Agent pid 38 killed; 09:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:59 + git semver [Pipeline] } 09:17:59 $ docker stop --time=1 f769ab2198076e109d075578475a87a4e7af1f075cab0a1d8dc08cc80d547b6c 09:18:00 $ docker rm -f f769ab2198076e109d075578475a87a4e7af1f075cab0a1d8dc08cc80d547b6c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:18:01 09:18:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:18:01 0.23.1-centos7: Pulling from edgex-lftools 09:18:01 ab5ef0e58194: Pulling fs layer 09:18:01 9712f1f96733: Pulling fs layer 09:18:01 63f879dbbcfc: Pulling fs layer 09:18:01 0d9ebad4ef96: Pulling fs layer 09:18:01 e9a5061849ea: Pulling fs layer 09:18:01 d747dcd14b5f: Pulling fs layer 09:18:01 2de7ff778b66: Pulling fs layer 09:18:01 0d9ebad4ef96: Waiting 09:18:01 2de7ff778b66: Waiting 09:18:01 d747dcd14b5f: Waiting 09:18:01 e9a5061849ea: Waiting 09:18:01 9712f1f96733: Verifying Checksum 09:18:01 9712f1f96733: Download complete 09:18:02 63f879dbbcfc: Verifying Checksum 09:18:02 63f879dbbcfc: Download complete 09:18:02 e9a5061849ea: Verifying Checksum 09:18:02 e9a5061849ea: Download complete 09:18:02 d747dcd14b5f: Verifying Checksum 09:18:02 d747dcd14b5f: Download complete 09:18:02 0d9ebad4ef96: Verifying Checksum 09:18:02 0d9ebad4ef96: Download complete 09:18:02 ab5ef0e58194: Verifying Checksum 09:18:02 ab5ef0e58194: Download complete 09:18:02 2de7ff778b66: Verifying Checksum 09:18:02 2de7ff778b66: Download complete 09:18:05 ab5ef0e58194: Pull complete 09:18:05 9712f1f96733: Pull complete 09:18:05 63f879dbbcfc: Pull complete 09:18:09 0d9ebad4ef96: Pull complete 09:18:09 e9a5061849ea: Pull complete 09:18:09 d747dcd14b5f: Pull complete 09:18:10 2de7ff778b66: Pull complete 09:18:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:18:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:10 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:18:14 $ docker top 7bc60a605e60af37da668c6af601e2ebe73264e2957a017d63749d3a41fd030f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:18:14 provisioning config files... 09:18:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13048189663833605403tmp 09:18:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6395366741251992152tmp 09:18:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17581231130422964164tmp [Pipeline] { [Pipeline] echo 09:18:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:18:14 ---> sigul-configuration.sh 09:18:14 gpg: directory `/root/.gnupg' created 09:18:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:18:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:18:14 gpg: keyring `/root/.gnupg/secring.gpg' created 09:18:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:18:14 gpg: CAST5 encrypted data 09:18:14 gpg: encrypted with 1 passphrase 09:18:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:18:14 + mkdir /home/jenkins 09:18:14 + mkdir /home/jenkins/sigul [Pipeline] sh 09:18:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:18:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:18:15 ---> sigul-install.sh 09:18:15 Sigul already installed; skipping installation. [Pipeline] sh 09:18:15 + git tag --list 09:18:15 0.7.1 09:18:15 v1.0.0 09:18:15 v1.1.0 09:18:15 v1.1.1 09:18:15 v1.2.2 09:18:15 v1.3.0 09:18:15 v1.3.1 09:18:15 v2.0.0 09:18:15 v2.1.0 09:18:15 v2.1.1 09:18:15 v2.1.1-dev.1 09:18:15 v2.1.1-dev.2 09:18:15 v2.2.0 09:18:15 v2.2.1-dev.1 09:18:15 v2.2.1-dev.10 09:18:15 v2.2.1-dev.2 09:18:15 v2.2.1-dev.3 09:18:15 v2.2.1-dev.4 09:18:15 v2.2.1-dev.5 09:18:15 v2.2.1-dev.6 09:18:15 v2.2.1-dev.7 09:18:15 v2.2.1-dev.8 09:18:15 v2.2.1-dev.9 09:18:15 v2.3.0-dev.10 09:18:15 v2.3.0-dev.11 09:18:15 v2.3.0-dev.12 09:18:15 v2.3.0-dev.13 09:18:15 v2.3.0-dev.14 09:18:15 v2.3.0-dev.15 09:18:15 v2.3.0-dev.16 09:18:15 v2.3.0-dev.17 09:18:15 v2.3.0-dev.18 09:18:15 v2.3.0-dev.19 09:18:15 v2.3.0-dev.20 09:18:15 v2.3.0-dev.21 09:18:15 v2.3.0-dev.22 09:18:15 v2.3.0-dev.23 09:18:15 v2.3.0-dev.24 09:18:15 v2.3.0-dev.25 [Pipeline] sh 09:18:15 + lftools sign git-tag v2.3.0-dev.25 09:18:16 Signing Git tag with Sigul... 09:18:16 Signing v2.3.0-dev.25 [Pipeline] echo 09:18:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:18:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:18:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:18:17 $ docker stop --time=1 7bc60a605e60af37da668c6af601e2ebe73264e2957a017d63749d3a41fd030f 09:18:18 $ docker rm -f 7bc60a605e60af37da668c6af601e2ebe73264e2957a017d63749d3a41fd030f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:18:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:18:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:19 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:18:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:18:19 $ docker top 6734b07864992cb1dcca6cdfcadc5ebd4f50cd5114c800250e1003d67a64e7ec -eo pid,comm 09:18:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:18:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:18:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:18:19 [ssh-agent] Looking for ssh-agent implementation... 09:18:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:18:19 $ docker exec 6734b07864992cb1dcca6cdfcadc5ebd4f50cd5114c800250e1003d67a64e7ec ssh-agent 09:18:19 SSH_AUTH_SOCK=/tmp/ssh-2SUuYehoCzd6/agent.32 09:18:19 SSH_AGENT_PID=38 09:18:19 Running ssh-add (command line suppressed) 09:18:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_520427082395730060.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_520427082395730060.key) 09:18:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:18:20 + git semver bump pre 09:18:20 2022-10-17 09:18:20,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:18:20 2022-10-17 09:18:20,474 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev 09:18:20 2022-10-17 09:18:20,474 [bump_version] DEBUG bumped version:2.3.0-dev.26 09:18:20 2022-10-17 09:18:20,474 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 09:18:20 2022-10-17 09:18:20,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:18:20 2022-10-17 09:18:20,474 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:18:20 2022-10-17 09:18:20,477 [execute] INFO git cat-file --batch-check 09:18:20 2022-10-17 09:18:20,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:18:20 2022-10-17 09:18:20,482 [execute] INFO git cat-file --batch 09:18:20 2022-10-17 09:18:20,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:18:20 2022-10-17 09:18:20,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:18:20 2.3.0-dev.26 [Pipeline] } 09:18:20 $ docker exec --env ******** --env ******** 6734b07864992cb1dcca6cdfcadc5ebd4f50cd5114c800250e1003d67a64e7ec ssh-agent -k 09:18:20 unset SSH_AUTH_SOCK; 09:18:20 unset SSH_AGENT_PID; 09:18:20 echo Agent pid 38 killed; 09:18:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:18:20 + git semver [Pipeline] } 09:18:21 $ docker stop --time=1 6734b07864992cb1dcca6cdfcadc5ebd4f50cd5114c800250e1003d67a64e7ec 09:18:22 $ docker rm -f 6734b07864992cb1dcca6cdfcadc5ebd4f50cd5114c800250e1003d67a64e7ec [Pipeline] // withDockerContainer [Pipeline] sh 09:18:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:18:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:18:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:23 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:18:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:18:23 $ docker top 5ebc49162179aad9d78026e8c6838c640cca0922a607fa13fb882de82c2f049c -eo pid,comm 09:18:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:18:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:18:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:18:23 [ssh-agent] Looking for ssh-agent implementation... 09:18:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:18:23 $ docker exec 5ebc49162179aad9d78026e8c6838c640cca0922a607fa13fb882de82c2f049c ssh-agent 09:18:23 SSH_AUTH_SOCK=/tmp/ssh-a7NLS7yhto4B/agent.33 09:18:23 SSH_AGENT_PID=40 09:18:23 Running ssh-add (command line suppressed) 09:18:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_790685705100686895.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_790685705100686895.key) 09:18:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:18:24 + git semver push 09:18:24 2022-10-17 09:18:24,546 [run_push] DEBUG push 09:18:24 2022-10-17 09:18:24,547 [execute] INFO git cat-file --batch-check 09:18:24 2022-10-17 09:18:24,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:18:24 2022-10-17 09:18:24,551 [execute] INFO git rev-list d4072ba89cae61455685522a8a70d08b7d5c84e0 -- 09:18:24 2022-10-17 09:18:24,551 [execute] DEBUG Popen(['git', 'rev-list', 'd4072ba89cae61455685522a8a70d08b7d5c84e0', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:18:24 2022-10-17 09:18:24,559 [execute] INFO git fetch -v origin 09:18:24 2022-10-17 09:18:24,560 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:18:25 2022-10-17 09:18:25,145 [run_push] DEBUG no remote changes detected 09:18:25 2022-10-17 09:18:25,145 [execute] INFO git push origin semver 09:18:25 2022-10-17 09:18:25,146 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:18:26 2022-10-17 09:18:25,922 [run_push] DEBUG push all version tags 09:18:26 2022-10-17 09:18:25,922 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:18:26 2022-10-17 09:18:25,923 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 09:18:27 2022-10-17 09:18:26,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:18:27 2.3.0-dev.26 [Pipeline] } 09:18:27 $ docker exec --env ******** --env ******** 5ebc49162179aad9d78026e8c6838c640cca0922a607fa13fb882de82c2f049c ssh-agent -k 09:18:27 unset SSH_AUTH_SOCK; 09:18:27 unset SSH_AGENT_PID; 09:18:27 echo Agent pid 40 killed; 09:18:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:18:27 + git semver [Pipeline] } 09:18:27 $ docker stop --time=1 5ebc49162179aad9d78026e8c6838c640cca0922a607fa13fb882de82c2f049c 09:18:29 $ docker rm -f 5ebc49162179aad9d78026e8c6838c640cca0922a607fa13fb882de82c2f049c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:18:29 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 09:18:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:18:29 total 16 09:18:29 drwxr-xr-x 3 root root 4096 Oct 17 09:10 . 09:18:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:18 .. 09:18:29 drwxr-xr-x 2 root root 4096 Oct 17 09:10 cost 09:18:29 -rw-r--r-- 1 root root 85 Oct 17 09:10 cost.csv 09:18:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:18:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:18:29 total 16 09:18:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:10 . 09:18:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:18 .. 09:18:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:10 cost 09:18:29 -rw-r--r-- 1 jenkins jenkins 85 Oct 17 09:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:18:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:18:30 ---> package-listing.sh 09:18:30 ++ facter osfamily 09:18:30 ++ tr '[:upper:]' '[:lower:]' 09:18:31 + OS_FAMILY=debian 09:18:31 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 09:18:31 + START_PACKAGES=/tmp/packages_start.txt 09:18:31 + END_PACKAGES=/tmp/packages_end.txt 09:18:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:18:31 + PACKAGES=/tmp/packages_start.txt 09:18:31 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:18:31 + PACKAGES=/tmp/packages_end.txt 09:18:31 + case "${OS_FAMILY}" in 09:18:31 + dpkg -l 09:18:31 + grep '^ii' 09:18:31 + '[' -f /tmp/packages_start.txt ']' 09:18:31 + '[' -f /tmp/packages_end.txt ']' 09:18:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:18:31 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:18:31 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 09:18:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 09:18:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:18:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:32 prd-ubuntu20.04-docker-8c-8g-8054 does not seem to be running inside a container 09:18:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:18:32 $ docker top 6edd934ae10ced13ebdc8e7ce69b16c8764e29c0cf438cfa0bbc69396a6bf4be -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:32 + touch /tmp/pre-build-complete [Pipeline] sh 09:18:32 + mkdir -p /var/log/sysstat [Pipeline] sh 09:18:33 + ls /var/log/sa-host 09:18:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:18:33 provisioning config files... 09:18:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10405801135646838tmp [Pipeline] { [Pipeline] echo 09:18:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:18:33 ---> create-netrc.sh [Pipeline] } 09:18:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:18:34 ---> python-tools-install.sh [Pipeline] echo 09:18:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:18:34 ---> sudo-logs.sh 09:18:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:18:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:18:34 ---> job-cost.sh 09:18:34 lf-activate-venv: SKIPPING 09:18:34 DEBUG: total: 0.2199999988079071 09:18:34 INFO: Retrieving Stack Cost... 09:18:35 INFO: Retrieving Pricing Info for: v3-standard-8 09:18:35 INFO: Archiving Costs [Pipeline] echo 09:18:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:18:35 ---> logs-deploy.sh 09:18:35 lf-activate-venv: SKIPPING 09:18:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/72 09:18:35 INFO: archiving workspace using pattern(s): 09:18:36 Archives upload complete. 09:18:36 INFO: archiving logs to Nexus