Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b192367cebc099e9a9ef06706cd57f465297496d 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-ssh7427661335209681669.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6630099065830162899.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11099630325839346675.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17268029408194173517.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-ssh847031431525183940.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-117010 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 b192367cebc099e9a9ef06706cd57f465297496d (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#431)" > 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 b192367cebc099e9a9ef06706cd57f465297496d # timeout=10 > git rev-list --no-walk 91033eab2fea5be4c686bcf4b883ab5b66be6a5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:59:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:59:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:59:58 ========================================================= 23:59:58 EdgeX Global Pipelines Version Info 23:59:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:59:59 ------------------- 23:59:59 stable info: 23:59:59 ------------------- 23:59:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:59:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:59:59 Message: update stable to v1.0.243 23:59:59 ------------------- 23:59:59 experimental info: 23:59:59 ------------------- 23:59:59 Commited By: **** collab-it+edgex@linuxfoundation.org 23:59:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:59:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:59:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b192367 [Pipeline] echo 00:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:00 provisioning config files... 00:00:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15934628623941408833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:00 ---> docker-login.sh 00:00:00 nexus3.edgexfoundry.org:10001 00:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:01 Configure a credential helper to remove this warning. See 00:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:01 00:00:01 Login Succeeded 00:00:01 nexus3.edgexfoundry.org:10002 00:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:01 Configure a credential helper to remove this warning. See 00:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:01 00:00:01 Login Succeeded 00:00:01 nexus3.edgexfoundry.org:10003 00:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:01 Configure a credential helper to remove this warning. See 00:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:01 00:00:01 Login Succeeded 00:00:01 nexus3.edgexfoundry.org:10004 00:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:01 Configure a credential helper to remove this warning. See 00:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:01 00:00:01 Login Succeeded 00:00:01 docker.io 00:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:02 Configure a credential helper to remove this warning. See 00:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:02 00:00:02 Login Succeeded 00:00:02 ---> docker-login.sh ends [Pipeline] } 00:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:00:02 + git rev-list -1 --merges b192367cebc099e9a9ef06706cd57f465297496d~1..b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] echo 00:00:02 -----------> git rev-list -1 --merges b192367cebc099e9a9ef06706cd57f465297496d~1..b192367cebc099e9a9ef06706cd57f465297496d b192367cebc099e9a9ef06706cd57f465297496d [false] [Pipeline] sh 00:00:03 + git log --format=format:%s -1 b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] echo 00:00:03 ========================================================= 00:00:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:00:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:03 + git log --format=format:%s -1 b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] echo 00:00:03 [semverPrep] GIT_COMMIT: b192367cebc099e9a9ef06706cd57f465297496d, Commit Message: build: Latest go-mods, config and Dockerfile fix (#431) [Pipeline] echo 00:00:03 [semverPrep] This is not a build commit. [Pipeline] sh 00:00:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:00:03 + grep -v github /etc/ssh/ssh_known_hosts 00:00:03 + [ -e /tmp/ssh_known_hosts ] 00:00:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:00:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:00:03 + sudo tee -a /etc/ssh/ssh_known_hosts 00:00:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:00:04 00:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:00:05 0.1.4: Pulling from edgex-devops/py-git-semver 00:00:05 b85a868b505f: Pulling fs layer 00:00:05 e2be974225ed: Pulling fs layer 00:00:05 339a4e72a1f5: Pulling fs layer 00:00:05 988bab9f4d93: Pulling fs layer 00:00:05 1469e6f7b9e6: Pulling fs layer 00:00:05 eaf3925da568: Pulling fs layer 00:00:05 bab4dde63d76: Pulling fs layer 00:00:05 bde34c3a00c8: Pulling fs layer 00:00:05 b352a97aabf1: Pulling fs layer 00:00:05 4872d77fe225: Pulling fs layer 00:00:05 5851b861e8e6: Pulling fs layer 00:00:05 bab4dde63d76: Waiting 00:00:05 988bab9f4d93: Waiting 00:00:05 1469e6f7b9e6: Waiting 00:00:05 eaf3925da568: Waiting 00:00:05 bde34c3a00c8: Waiting 00:00:05 5851b861e8e6: Waiting 00:00:05 b352a97aabf1: Waiting 00:00:05 4872d77fe225: Waiting 00:00:05 e2be974225ed: Verifying Checksum 00:00:05 e2be974225ed: Download complete 00:00:05 988bab9f4d93: Verifying Checksum 00:00:05 988bab9f4d93: Download complete 00:00:05 1469e6f7b9e6: Verifying Checksum 00:00:05 1469e6f7b9e6: Download complete 00:00:05 eaf3925da568: Verifying Checksum 00:00:05 eaf3925da568: Download complete 00:00:05 339a4e72a1f5: Verifying Checksum 00:00:05 339a4e72a1f5: Download complete 00:00:05 bde34c3a00c8: Download complete 00:00:05 b352a97aabf1: Verifying Checksum 00:00:05 b352a97aabf1: Download complete 00:00:05 4872d77fe225: Verifying Checksum 00:00:05 4872d77fe225: Download complete 00:00:05 5851b861e8e6: Verifying Checksum 00:00:05 5851b861e8e6: Download complete 00:00:05 b85a868b505f: Verifying Checksum 00:00:05 b85a868b505f: Download complete 00:00:05 bab4dde63d76: Verifying Checksum 00:00:05 bab4dde63d76: Download complete 00:00:06 b85a868b505f: Pull complete 00:00:06 e2be974225ed: Pull complete 00:00:07 339a4e72a1f5: Pull complete 00:00:07 988bab9f4d93: Pull complete 00:00:07 1469e6f7b9e6: Pull complete 00:00:07 eaf3925da568: Pull complete 00:00:09 bab4dde63d76: Pull complete 00:00:09 bde34c3a00c8: Pull complete 00:00:09 b352a97aabf1: Pull complete 00:00:09 4872d77fe225: Pull complete 00:00:09 5851b861e8e6: Pull complete 00:00:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:00:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:09 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:00:11 $ docker top 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 -eo pid,comm 00:00:11 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). 00:00:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:00:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:11 [ssh-agent] Looking for ssh-agent implementation... 00:00:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:11 $ docker exec 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 ssh-agent 00:00:11 SSH_AUTH_SOCK=/tmp/ssh-QHDtgqFQ40Jr/agent.31 00:00:11 SSH_AGENT_PID=37 00:00:11 Running ssh-add (command line suppressed) 00:00:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9476562372659947648.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9476562372659947648.key) 00:00:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:12 + git tag --points-at HEAD [Pipeline] } 00:00:12 $ docker exec --env ******** --env ******** 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 ssh-agent -k 00:00:12 unset SSH_AUTH_SOCK; 00:00:12 unset SSH_AGENT_PID; 00:00:12 echo Agent pid 37 killed; 00:00:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:00:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:12 [ssh-agent] Looking for ssh-agent implementation... 00:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:12 $ docker exec 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 ssh-agent 00:00:12 SSH_AUTH_SOCK=/tmp/ssh-ptiPOyqWcnfG/agent.69 00:00:12 SSH_AGENT_PID=75 00:00:12 Running ssh-add (command line suppressed) 00:00:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5817606830464260440.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5817606830464260440.key) 00:00:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:12 + git semver init 00:00:13 2022-10-26 00:00:13,143 [run_init] DEBUG init version:0.0.0 force:False 00:00:13 2022-10-26 00:00:13,143 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:00:13 2022-10-26 00:00:13,144 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:00:13 2022-10-26 00:00:13,144 [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) 00:00:14 2022-10-26 00:00:14,084 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 00:00:14 2022-10-26 00:00:14,085 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 00:00:14 2022-10-26 00:00:14,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:00:14 2022-10-26 00:00:14,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:00:14 2.3.0-dev.29 [Pipeline] } 00:00:14 $ docker exec --env ******** --env ******** 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 ssh-agent -k 00:00:14 unset SSH_AUTH_SOCK; 00:00:14 unset SSH_AGENT_PID; 00:00:14 echo Agent pid 75 killed; 00:00:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:00:14 + git semver [Pipeline] } 00:00:14 $ docker stop --time=1 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 00:00:16 $ docker rm -f 7a8bf3b41111192fbce6cf74a42e157552c00f84421eaf6f64b23ea269f94861 [Pipeline] // withDockerContainer [Pipeline] sh 00:00:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:00:16 Stashed 1 file(s) [Pipeline] echo 00:00:16 [edgeXSemver]: initialized semver on version 2.3.0-dev.29 [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 00:00:16 provisioning config files... 00:00:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15917277634189824584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:17 ---> docker-login.sh 00:00:17 nexus3.edgexfoundry.org:10001 00:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:17 Configure a credential helper to remove this warning. See 00:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:17 00:00:17 Login Succeeded 00:00:17 nexus3.edgexfoundry.org:10002 00:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:17 Configure a credential helper to remove this warning. See 00:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:17 00:00:17 Login Succeeded 00:00:17 nexus3.edgexfoundry.org:10003 00:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:17 Configure a credential helper to remove this warning. See 00:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:17 00:00:17 Login Succeeded 00:00:17 nexus3.edgexfoundry.org:10004 00:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:17 Configure a credential helper to remove this warning. See 00:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:17 00:00:17 Login Succeeded 00:00:17 docker.io 00:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:17 Configure a credential helper to remove this warning. See 00:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:17 00:00:17 Login Succeeded 00:00:17 ---> docker-login.sh ends [Pipeline] } 00:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:18 ========================================================= 00:00:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:00:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:18 + 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 . 00:00:18 Sending build context to Docker daemon 6.199MB 00:00:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:00:18 Step 2/12 : FROM ${BASE} AS builder 00:00:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:00:18 213ec9aee27d: Pulling fs layer 00:00:18 4583459ba037: Pulling fs layer 00:00:18 93c1e223e6f2: Pulling fs layer 00:00:18 53926ce57604: Pulling fs layer 00:00:18 21b2b0c7a3f4: Pulling fs layer 00:00:18 30f14e443154: Pulling fs layer 00:00:18 801331c1e519: Pulling fs layer 00:00:18 99cc6dd402b0: Pulling fs layer 00:00:18 53926ce57604: Waiting 00:00:18 21b2b0c7a3f4: Waiting 00:00:18 30f14e443154: Waiting 00:00:18 801331c1e519: Waiting 00:00:18 7d9ed39f4882: Pulling fs layer 00:00:18 99cc6dd402b0: Waiting 00:00:18 7d9ed39f4882: Waiting 00:00:18 93c1e223e6f2: Download complete 00:00:18 4583459ba037: Download complete 00:00:18 21b2b0c7a3f4: Download complete 00:00:18 30f14e443154: Verifying Checksum 00:00:18 30f14e443154: Download complete 00:00:18 213ec9aee27d: Verifying Checksum 00:00:18 213ec9aee27d: Download complete 00:00:18 801331c1e519: Verifying Checksum 00:00:18 801331c1e519: Download complete 00:00:18 213ec9aee27d: Pull complete 00:00:18 4583459ba037: Pull complete 00:00:19 93c1e223e6f2: Pull complete 00:00:19 7d9ed39f4882: Verifying Checksum 00:00:19 53926ce57604: Verifying Checksum 00:00:19 53926ce57604: Download complete 00:00:19 99cc6dd402b0: Verifying Checksum 00:00:19 99cc6dd402b0: Download complete 00:00:22 53926ce57604: Pull complete 00:00:22 21b2b0c7a3f4: Pull complete 00:00:22 30f14e443154: Pull complete 00:00:23 801331c1e519: Pull complete 00:00:25 99cc6dd402b0: Pull complete 00:00:25 7d9ed39f4882: Pull complete 00:00:25 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 00:00:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:00:25 ---> 1dedd983c030 00:00:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:00:27 ---> Running in 0bf015ff4358 00:00:27 Removing intermediate container 0bf015ff4358 00:00:27 ---> e0cbb7df6a36 00:00:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:00:27 ---> Running in 9cf7574e9710 00:00:27 Removing intermediate container 9cf7574e9710 00:00:27 ---> f3c5dea78327 00:00:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:00:27 ---> Running in 5d1c0691d0bf 00:00:27 Removing intermediate container 5d1c0691d0bf 00:00:27 ---> 65ddda5e6235 00:00:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:00:27 ---> Running in 6d79448ff999 00:00:27 Removing intermediate container 6d79448ff999 00:00:27 ---> 8659e0e749f6 00:00:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:27 ---> Running in bf848366cdc8 00:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:00:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:00:28 (2/4) Installing libedit (20210910.3.1-r0) 00:00:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:00:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:00:28 Executing busybox-1.35.0-r17.trigger 00:00:28 OK: 216 MiB in 55 packages 00:00:28 Removing intermediate container bf848366cdc8 00:00:28 ---> 79bb72ada571 00:00:28 Step 8/12 : WORKDIR /device-mqtt-go 00:00:29 ---> Running in 46d45d20f8ff 00:00:29 Removing intermediate container 46d45d20f8ff 00:00:29 ---> 30454590a5e5 00:00:29 Step 9/12 : COPY go.mod vendor* ./ 00:00:29 ---> 3c48de999798 00:00:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:29 ---> Running in ab8981573e48 00:00:31 Still waiting to schedule task 00:00:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:00:55 Removing intermediate container ab8981573e48 00:00:55 ---> 43a7fd5eb24a 00:00:55 Step 11/12 : COPY . . 00:00:55 ---> aa6301acdf11 00:00:55 Step 12/12 : RUN $MAKE 00:00:55 ---> Running in c883128963ed 00:00:55 noop 00:00:55 Removing intermediate container c883128963ed 00:00:55 ---> bb842e189e0b 00:00:55 Successfully built bb842e189e0b 00:00:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:56 + docker inspect -f . ci-base-image-x86_64 00:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:56 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:00:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:00:56 $ docker top 0fb34f762dd9294df81b3e2c99eea3124264c42969885cadff0b7ed18360fd10 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:57 + go version 00:00:57 go version go1.18.7 linux/amd64 [Pipeline] } 00:00:57 $ docker stop --time=1 0fb34f762dd9294df81b3e2c99eea3124264c42969885cadff0b7ed18360fd10 00:00:58 $ docker rm -f 0fb34f762dd9294df81b3e2c99eea3124264c42969885cadff0b7ed18360fd10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:58 + docker inspect -f . ci-base-image-x86_64 00:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:58 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:00:58 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:00:59 $ docker top 94c61dfc2c8900ad9b8e348061eb05ac738ef9970e2c36ee170e0bb6c4fc6c49 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 00:00:59 + make test 00:00:59 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:01:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:01:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:01:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 00:01:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:01:16 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." 00:01:16 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:01:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:01:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:01:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:01:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:01:19 $ docker stop --time=1 94c61dfc2c8900ad9b8e348061eb05ac738ef9970e2c36ee170e0bb6c4fc6c49 00:01:21 $ docker rm -f 94c61dfc2c8900ad9b8e348061eb05ac738ef9970e2c36ee170e0bb6c4fc6c49 [Pipeline] // withDockerContainer [Pipeline] sh 00:01:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:01:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:22 + ls -al . 00:01:22 total 192 00:01:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 00:00 . 00:01:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:59 .. 00:01:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 23:59 .dockerignore 00:01:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 00:01 .git 00:01:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:59 .github 00:01:22 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 23:59 .gitignore 00:01:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:59 .golangci.yml 00:01:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 00:00 .semver 00:01:22 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 25 23:59 Attribution.txt 00:01:22 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 25 23:59 CHANGELOG.md 00:01:22 -rw-rw-r-- 1 jenkins jenkins 1752 Oct 25 23:59 Dockerfile 00:01:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:59 GOVERNANCE.md 00:01:22 -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 23:59 Jenkinsfile 00:01:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:59 LICENSE 00:01:22 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 25 23:59 Makefile 00:01:22 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 23:59 OWNERS.md 00:01:22 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 25 23:59 README.md 00:01:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 00:00 VERSION 00:01:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:59 bin 00:01:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:59 cmd 00:01:22 -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 00:01 coverage.out 00:01:22 -rw-rw-r-- 1 jenkins jenkins 3512 Oct 25 23:59 go.mod 00:01:22 -rw-rw-r-- 1 jenkins jenkins 45144 Oct 25 23:59 go.sum 00:01:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:59 internal 00:01:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:59 mock 00:01:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:59 snap 00:01:22 -rw-rw-r-- 1 jenkins jenkins 227 Oct 25 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:22 + 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=b192367cebc099e9a9ef06706cd57f465297496d --label arch=amd64 --label version=2.3.0-dev.29 . 00:01:22 Sending build context to Docker daemon 6.218MB 00:01:22 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 00:01:22 Step 2/24 : FROM ${BASE} AS builder 00:01:22 ---> bb842e189e0b 00:01:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:01:22 ---> Running in 79867d90ed00 00:01:23 Removing intermediate container 79867d90ed00 00:01:23 ---> 9d0fac6bd140 00:01:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:01:23 ---> Running in e24e3c103c94 00:01:23 Removing intermediate container e24e3c103c94 00:01:23 ---> 0d4f7c6192a1 00:01:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:01:23 ---> Running in 14ef45db1819 00:01:23 Removing intermediate container 14ef45db1819 00:01:23 ---> a050ada18d46 00:01:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:01:23 ---> Running in 5b79204146ee 00:01:23 Removing intermediate container 5b79204146ee 00:01:23 ---> 53e43f9f677e 00:01:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:23 ---> Running in 82796fbae400 00:01:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:01:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:01:24 OK: 216 MiB in 55 packages 00:01:24 Removing intermediate container 82796fbae400 00:01:24 ---> 62fa9d70c141 00:01:24 Step 8/24 : WORKDIR /device-mqtt-go 00:01:24 ---> Running in 60e8ba9cac78 00:01:24 Removing intermediate container 60e8ba9cac78 00:01:24 ---> 0da7cb03ee3a 00:01:24 Step 9/24 : COPY go.mod vendor* ./ 00:01:24 ---> f24eb6845028 00:01:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:24 ---> Running in e70c219eb830 00:01:25 Removing intermediate container e70c219eb830 00:01:25 ---> 5a9e5788c646 00:01:25 Step 11/24 : COPY . . 00:01:25 ---> 2c668085b43f 00:01:25 Step 12/24 : RUN $MAKE 00:01:25 ---> Running in c43d519da8d2 00:01:25 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 00:01:47 Removing intermediate container c43d519da8d2 00:01:47 ---> f778102c2b52 00:01:47 Step 13/24 : FROM alpine:3.16 00:01:47 3.16: Pulling from library/alpine 00:01:47 213ec9aee27d: Already exists 00:01:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:01:47 Status: Downloaded newer image for alpine:3.16 00:01:47 ---> 9c6f07244728 00:01:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:01:47 ---> Running in cae4da1309b7 00:01:47 Removing intermediate container cae4da1309b7 00:01:47 ---> 97644d374839 00:01:47 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:01:47 ---> Running in ba055aadadcd 00:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:01:47 (1/6) Installing dumb-init (1.2.5-r1) 00:01:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:01:47 (3/6) Installing libsodium (1.0.18-r0) 00:01:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:01:47 (5/6) Installing libzmq (4.3.4-r0) 00:01:47 (6/6) Installing zeromq (4.3.4-r0) 00:01:47 Executing busybox-1.35.0-r17.trigger 00:01:47 OK: 8 MiB in 20 packages 00:01:47 Removing intermediate container ba055aadadcd 00:01:47 ---> 10756cdd08fa 00:01:47 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:01:47 ---> 9618fc4cb52d 00:01:47 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:01:47 ---> dc5b73bfaadc 00:01:47 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:01:47 ---> a2f59f14d16a 00:01:47 Step 19/24 : EXPOSE 59982 00:01:47 ---> Running in 1ea5ba7ebc81 00:01:47 Removing intermediate container 1ea5ba7ebc81 00:01:47 ---> e5d268569bf8 00:01:47 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:01:47 ---> Running in d2604d47f01c 00:01:47 Removing intermediate container d2604d47f01c 00:01:47 ---> 8af1a10e2952 00:01:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:01:47 ---> Running in b2ee35016915 00:01:47 Removing intermediate container b2ee35016915 00:01:47 ---> fe67d68f5f0d 00:01:47 Step 22/24 : LABEL arch=amd64 00:01:47 ---> Running in e5207922dccf 00:01:47 Removing intermediate container e5207922dccf 00:01:47 ---> 67e2b1909a09 00:01:47 Step 23/24 : LABEL git_sha=b192367cebc099e9a9ef06706cd57f465297496d 00:01:47 ---> Running in 5794e07ec3f0 00:01:47 Removing intermediate container 5794e07ec3f0 00:01:47 ---> 8b264e4df339 00:01:47 Step 24/24 : LABEL version=2.3.0-dev.29 00:01:47 ---> Running in 1686b7fb2383 00:01:47 Removing intermediate container 1686b7fb2383 00:01:47 ---> 1c5ed83450d4 00:01:47 [Warning] One or more build-args [ARCH] were not consumed 00:01:47 Successfully built 1c5ed83450d4 00:01:47 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:47 provisioning config files... 00:01:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1630788032771875126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:48 ---> docker-login.sh 00:01:48 nexus3.edgexfoundry.org:10001 00:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:48 Configure a credential helper to remove this warning. See 00:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:48 00:01:48 Login Succeeded 00:01:48 nexus3.edgexfoundry.org:10002 00:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:48 Configure a credential helper to remove this warning. See 00:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:48 00:01:48 Login Succeeded 00:01:48 nexus3.edgexfoundry.org:10003 00:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:48 Configure a credential helper to remove this warning. See 00:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:48 00:01:48 Login Succeeded 00:01:48 nexus3.edgexfoundry.org:10004 00:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:48 Configure a credential helper to remove this warning. See 00:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:48 00:01:48 Login Succeeded 00:01:48 docker.io 00:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:48 Configure a credential helper to remove this warning. See 00:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:48 00:01:48 Login Succeeded 00:01:48 ---> docker-login.sh ends [Pipeline] } 00:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:01:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:01:48 b192367cebc099e9a9ef06706cd57f465297496d 00:01:48 latest 00:01:48 2.3.0-dev.29 00:01:48 b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:01:48 main 00:01:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d 00:01:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:01:49 b8286a344d2e: Preparing 00:01:49 141b35776928: Preparing 00:01:49 df9378ff2cd2: Preparing 00:01:49 ce64df2c2770: Preparing 00:01:49 994393dc58e7: Preparing 00:01:49 994393dc58e7: Layer already exists 00:01:49 b8286a344d2e: Pushed 00:01:49 141b35776928: Pushed 00:01:49 ce64df2c2770: Pushed 00:01:52 df9378ff2cd2: Pushed 00:01:52 b192367cebc099e9a9ef06706cd57f465297496d: digest: sha256:6e2664bf4d5767e6f9e09e42bb99ec11d7c6e7df8d003042c7ce80276e932904 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:01:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:01:53 b8286a344d2e: Preparing 00:01:53 141b35776928: Preparing 00:01:53 df9378ff2cd2: Preparing 00:01:53 ce64df2c2770: Preparing 00:01:53 994393dc58e7: Preparing 00:01:53 994393dc58e7: Layer already exists 00:01:53 b8286a344d2e: Layer already exists 00:01:53 df9378ff2cd2: Layer already exists 00:01:53 141b35776928: Layer already exists 00:01:53 ce64df2c2770: Layer already exists 00:01:53 latest: digest: sha256:6e2664bf4d5767e6f9e09e42bb99ec11d7c6e7df8d003042c7ce80276e932904 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.29 00:01:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:01:53 b8286a344d2e: Preparing 00:01:53 141b35776928: Preparing 00:01:53 df9378ff2cd2: Preparing 00:01:53 ce64df2c2770: Preparing 00:01:53 994393dc58e7: Preparing 00:01:53 df9378ff2cd2: Layer already exists 00:01:53 141b35776928: Layer already exists 00:01:53 b8286a344d2e: Layer already exists 00:01:53 ce64df2c2770: Layer already exists 00:01:53 994393dc58e7: Layer already exists 00:01:53 2.3.0-dev.29: digest: sha256:6e2664bf4d5767e6f9e09e42bb99ec11d7c6e7df8d003042c7ce80276e932904 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:01:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:01:54 b8286a344d2e: Preparing 00:01:54 141b35776928: Preparing 00:01:54 df9378ff2cd2: Preparing 00:01:54 ce64df2c2770: Preparing 00:01:54 994393dc58e7: Preparing 00:01:54 994393dc58e7: Layer already exists 00:01:54 ce64df2c2770: Layer already exists 00:01:54 b8286a344d2e: Layer already exists 00:01:54 141b35776928: Layer already exists 00:01:54 df9378ff2cd2: Layer already exists 00:01:54 b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29: digest: sha256:6e2664bf4d5767e6f9e09e42bb99ec11d7c6e7df8d003042c7ce80276e932904 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:01:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:01:54 b8286a344d2e: Preparing 00:01:54 141b35776928: Preparing 00:01:54 df9378ff2cd2: Preparing 00:01:54 ce64df2c2770: Preparing 00:01:54 994393dc58e7: Preparing 00:01:54 df9378ff2cd2: Layer already exists 00:01:54 141b35776928: Layer already exists 00:01:54 ce64df2c2770: Layer already exists 00:01:54 994393dc58e7: Layer already exists 00:01:54 b8286a344d2e: Layer already exists 00:01:54 main: digest: sha256:6e2664bf4d5767e6f9e09e42bb99ec11d7c6e7df8d003042c7ce80276e932904 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:01:54 ===================================================== [Pipeline] echo 00:01:54 taggedImages: 00:01:54 - nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d 00:01:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:01:54 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.29 00:01:54 - nexus3.edgexfoundry.org:10004/device-mqtt:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:01:54 - 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 00:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:55 00:01:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:55 latest: Pulling from edgex-lftools-log-publisher 00:01:55 5eb5b503b376: Pulling fs layer 00:01:55 5c69ac0246d0: Pulling fs layer 00:01:55 ec43610c2a17: Pulling fs layer 00:01:55 3a2ae6a8a46f: Pulling fs layer 00:01:55 33b1e0a273af: Pulling fs layer 00:01:55 5d3b04190fa2: Pulling fs layer 00:01:55 2f39f015ded8: Pulling fs layer 00:01:55 2f39f015ded8: Waiting 00:01:55 33b1e0a273af: Waiting 00:01:55 5d3b04190fa2: Waiting 00:01:55 3a2ae6a8a46f: Waiting 00:01:55 5c69ac0246d0: Verifying Checksum 00:01:55 5c69ac0246d0: Download complete 00:01:55 3a2ae6a8a46f: Verifying Checksum 00:01:55 3a2ae6a8a46f: Download complete 00:01:55 33b1e0a273af: Verifying Checksum 00:01:55 33b1e0a273af: Download complete 00:01:55 5d3b04190fa2: Verifying Checksum 00:01:55 5d3b04190fa2: Download complete 00:01:55 ec43610c2a17: Verifying Checksum 00:01:55 ec43610c2a17: Download complete 00:01:55 5eb5b503b376: Verifying Checksum 00:01:55 5eb5b503b376: Download complete 00:01:56 5eb5b503b376: Pull complete 00:01:57 5c69ac0246d0: Pull complete 00:01:57 ec43610c2a17: Pull complete 00:01:57 3a2ae6a8a46f: Pull complete 00:01:57 33b1e0a273af: Pull complete 00:01:57 5d3b04190fa2: Pull complete 00:02:02 2f39f015ded8: Pull complete 00:02:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:02:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:02 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:02:03 $ docker top 739883c02189af4c7ca87d1fedf78d7e0cc9ab5c6e6af0e8fdbdb4b3ccd88342 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:04 ---> job-cost.sh 00:02:04 lf-activate-venv: SKIPPING 00:02:04 INFO: No Stack... 00:02:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:02:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117011 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { 00:02:04 INFO: Archiving Costs [Pipeline] ws 00:02:04 Running in /w/workspace/device-mqtt-go/76 [Pipeline] { [Pipeline] sh [Pipeline] checkout 00:02:04 Selected Git installation does not exist. Using Default 00:02:04 The recommended git tool is: NONE 00:02:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 00:02:05 + cut -d, -f6 [Pipeline] lock 00:02:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] 00:02:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] did not exist. Created. 00:02:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:02:05 + echo total: 0.2199999988079071 [Pipeline] stash 00:02:05 Stashed 1 file(s) [Pipeline] } 00:02:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 00:02:05 $ docker stop --time=1 739883c02189af4c7ca87d1fedf78d7e0cc9ab5c6e6af0e8fdbdb4b3ccd88342 00:02:06 $ docker rm -f 739883c02189af4c7ca87d1fedf78d7e0cc9ab5c6e6af0e8fdbdb4b3ccd88342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:02:09 using credential edgex-jenkins-ssh 00:02:09 Cloning the remote Git repository 00:02:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:02:09 > git init /w/workspace/device-mqtt-go/76 # timeout=10 00:02:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:02:10 > git --version # timeout=10 00:02:10 > git --version # 'git version 2.25.1' 00:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:02:10 Verifying host key using known hosts file 00:02:10 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. 00:02:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:02:12 Avoid second fetch 00:02:12 Checking out Revision b192367cebc099e9a9ef06706cd57f465297496d (main) 00:02:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:02:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:02:12 > git config core.sparsecheckout # timeout=10 00:02:12 > git checkout -f b192367cebc099e9a9ef06706cd57f465297496d # timeout=10 00:02:12 Commit message: "build: Latest go-mods, config and Dockerfile fix (#431)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:02:14 % Total % Received % Xferd Average Speed Time Time Time Current 00:02:14 Dload Upload Total Spent Left Speed 00:02:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh 00:02:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:02:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:02:15 + sudo tee /etc/docker/daemon.new 00:02:15 { 00:02:15 "registry-mirrors": [ 00:02:15 "https://nexus3.edgexfoundry.org:10001" 00:02:15 ], 00:02:15 "bip": "10.250.0.254/24", 00:02:15 "hosts": [ 00:02:15 "tcp://0.0.0.0:5555", 00:02:15 "unix:///var/run/docker.sock" 00:02:15 ], 00:02:15 "mtu": 1458, 00:02:15 "selinux-enabled": true, 00:02:15 "seccomp-profile": "/etc/docker/seccomp.json" 00:02:15 } [Pipeline] sh 00:02:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:02:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:34 provisioning config files... 00:02:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/76@tmp/config17857611222116481261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:34 ---> docker-login.sh 00:02:34 nexus3.edgexfoundry.org:10001 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10002 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10003 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:36 Configure a credential helper to remove this warning. See 00:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:36 00:02:36 Login Succeeded 00:02:36 nexus3.edgexfoundry.org:10004 00:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:36 Configure a credential helper to remove this warning. See 00:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:36 00:02:36 Login Succeeded 00:02:36 docker.io 00:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:36 Configure a credential helper to remove this warning. See 00:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:36 00:02:36 Login Succeeded 00:02:36 ---> docker-login.sh ends [Pipeline] } 00:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:37 ========================================================= 00:02:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:02:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:02:37 Sending build context to Docker daemon 3.212MB 00:02:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:02:37 Step 2/12 : FROM ${BASE} AS builder 00:02:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:37 9b18e9b68314: Pulling fs layer 00:02:37 d32db5db7311: Pulling fs layer 00:02:37 d0c4b47475fc: Pulling fs layer 00:02:37 5831b945b038: Pulling fs layer 00:02:37 86bbec2aaacd: Pulling fs layer 00:02:37 e10730c5d714: Pulling fs layer 00:02:37 5dd5c2283517: Pulling fs layer 00:02:37 d5ac0230b979: Pulling fs layer 00:02:37 5831b945b038: Waiting 00:02:37 86bbec2aaacd: Waiting 00:02:37 e10730c5d714: Waiting 00:02:37 5dd5c2283517: Waiting 00:02:37 d5ac0230b979: Waiting 00:02:37 d32db5db7311: Verifying Checksum 00:02:37 d32db5db7311: Download complete 00:02:37 86bbec2aaacd: Verifying Checksum 00:02:37 86bbec2aaacd: Download complete 00:02:37 e10730c5d714: Verifying Checksum 00:02:37 e10730c5d714: Download complete 00:02:37 9b18e9b68314: Verifying Checksum 00:02:37 9b18e9b68314: Download complete 00:02:38 9b18e9b68314: Pull complete 00:02:39 d5ac0230b979: Verifying Checksum 00:02:39 d5ac0230b979: Download complete 00:02:39 d32db5db7311: Pull complete 00:02:39 d0c4b47475fc: Pull complete 00:02:40 5dd5c2283517: Verifying Checksum 00:02:40 5dd5c2283517: Download complete 00:02:40 5831b945b038: Verifying Checksum 00:02:40 5831b945b038: Download complete 00:02:53 5831b945b038: Pull complete 00:02:53 86bbec2aaacd: Pull complete 00:02:53 e10730c5d714: Pull complete 00:02:58 5dd5c2283517: Pull complete 00:03:01 d5ac0230b979: Pull complete 00:03:01 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 00:03:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:03:01 ---> 59b3b1a385d4 00:03:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:03:02 ---> Running in ea404a5c31e9 00:03:02 Removing intermediate container ea404a5c31e9 00:03:02 ---> 8ca7a2ed11a7 00:03:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:02 ---> Running in 8813e4763ad8 00:03:03 Removing intermediate container 8813e4763ad8 00:03:03 ---> 990189fcda1d 00:03:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:03:03 ---> Running in ecbae2713cd9 00:03:03 Removing intermediate container ecbae2713cd9 00:03:03 ---> 6d35c86fb124 00:03:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:03:03 ---> Running in d177e185fd69 00:03:03 Removing intermediate container d177e185fd69 00:03:03 ---> 86c9e64c2486 00:03:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:03 ---> Running in 3e284af3540e 00:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:03:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:03:06 (2/4) Installing libedit (20210910.3.1-r0) 00:03:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:03:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:03:06 Executing busybox-1.35.0-r17.trigger 00:03:06 OK: 226 MiB in 55 packages 00:03:07 Removing intermediate container 3e284af3540e 00:03:07 ---> 53bbf5fad1aa 00:03:07 Step 8/12 : WORKDIR /device-mqtt-go 00:03:08 ---> Running in ad3ac4a76bed 00:03:08 Removing intermediate container ad3ac4a76bed 00:03:08 ---> 4757ea0f5c6e 00:03:08 Step 9/12 : COPY go.mod vendor* ./ 00:03:08 ---> f01ba9034ef6 00:03:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:08 ---> Running in f9f682be574d 00:04:05 Removing intermediate container f9f682be574d 00:04:05 ---> 4b76e6220e56 00:04:05 Step 11/12 : COPY . . 00:04:05 ---> 6a6536bdd242 00:04:05 Step 12/12 : RUN $MAKE 00:04:05 ---> Running in 909c4c561997 00:04:05 noop 00:04:05 Removing intermediate container 909c4c561997 00:04:05 ---> 57279d094c77 00:04:05 Successfully built 57279d094c77 00:04:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:05 + docker inspect -f . ci-base-image-arm64 00:04:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:05 prd-ubuntu20.04-docker-arm64-4c-16g-117011 does not seem to be running inside a container 00:04:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/76 -v /w/workspace/device-mqtt-go/76:/w/workspace/device-mqtt-go/76:rw,z -v /w/workspace/device-mqtt-go/76@tmp:/w/workspace/device-mqtt-go/76@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 00:04:07 $ docker top 9d2458d47507ba7b2b74e253aa0875543f69a156163c481ecd1dc12899006b44 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:08 + go version 00:04:08 go version go1.18.7 linux/arm64 [Pipeline] } 00:04:08 $ docker stop --time=1 9d2458d47507ba7b2b74e253aa0875543f69a156163c481ecd1dc12899006b44 00:04:09 $ docker rm -f 9d2458d47507ba7b2b74e253aa0875543f69a156163c481ecd1dc12899006b44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:10 + docker inspect -f . ci-base-image-arm64 00:04:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:10 prd-ubuntu20.04-docker-arm64-4c-16g-117011 does not seem to be running inside a container 00:04:10 $ 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/76 -v /w/workspace/device-mqtt-go/76:/w/workspace/device-mqtt-go/76:rw,z -v /w/workspace/device-mqtt-go/76@tmp:/w/workspace/device-mqtt-go/76@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 00:04:11 $ docker top 4f165c05f01137f8b0662c702acda8dc7e86661e86b73e52c2ae3656c26fcb78 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:12 + git config --global --add safe.directory /w/workspace/device-mqtt-go/76 [Pipeline] fileExists [Pipeline] sh 00:04:12 + make test 00:04:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:04:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:05:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:05:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 00:05:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:05:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:05:36 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:05:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:05:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:05:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:05:58 $ docker stop --time=1 4f165c05f01137f8b0662c702acda8dc7e86661e86b73e52c2ae3656c26fcb78 00:06:00 $ docker rm -f 4f165c05f01137f8b0662c702acda8dc7e86661e86b73e52c2ae3656c26fcb78 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:01 Warning: overwriting stash ‘coverage-report’ 00:06:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:02 + ls -al . 00:06:02 total 188 00:06:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 00:04 . 00:06:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 00:02 .. 00:06:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 00:02 .dockerignore 00:06:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 00:02 .git 00:06:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 00:02 .github 00:06:02 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 00:02 .gitignore 00:06:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 00:02 .golangci.yml 00:06:02 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 26 00:02 Attribution.txt 00:06:02 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 26 00:02 CHANGELOG.md 00:06:02 -rw-rw-r-- 1 jenkins jenkins 1752 Oct 26 00:02 Dockerfile 00:06:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 00:02 GOVERNANCE.md 00:06:02 -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 00:02 Jenkinsfile 00:06:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 00:02 LICENSE 00:06:02 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 26 00:02 Makefile 00:06:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 00:02 OWNERS.md 00:06:02 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 26 00:02 README.md 00:06:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 00:00 VERSION 00:06:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 00:02 bin 00:06:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 00:02 cmd 00:06:02 -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 00:05 coverage.out 00:06:02 -rw-rw-r-- 1 jenkins jenkins 3512 Oct 26 00:02 go.mod 00:06:02 -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 00:02 go.sum 00:06:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 00:02 internal 00:06:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 00:02 mock 00:06:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 00:02 snap 00:06:02 -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 00:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:02 + 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=b192367cebc099e9a9ef06706cd57f465297496d --label arch=arm64 --label version=2.3.0-dev.29 . 00:06:02 Sending build context to Docker daemon 3.231MB 00:06:02 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 00:06:02 Step 2/24 : FROM ${BASE} AS builder 00:06:02 ---> 57279d094c77 00:06:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:06:03 ---> Running in 5d0f01b0b4fd 00:06:03 Removing intermediate container 5d0f01b0b4fd 00:06:03 ---> 87d57229c96c 00:06:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:06:03 ---> Running in 2efea22004fe 00:06:03 Removing intermediate container 2efea22004fe 00:06:03 ---> 2a69b0e0a49f 00:06:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:06:03 ---> Running in 17ad71cdd75a 00:06:03 Removing intermediate container 17ad71cdd75a 00:06:03 ---> 60874be77a84 00:06:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:06:03 ---> Running in 79d0caf2306c 00:06:04 Removing intermediate container 79d0caf2306c 00:06:04 ---> b71ae7c3e087 00:06:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:04 ---> Running in d413c8fdce24 00:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:06:06 OK: 226 MiB in 55 packages 00:06:07 Removing intermediate container d413c8fdce24 00:06:07 ---> 670c5b057350 00:06:07 Step 8/24 : WORKDIR /device-mqtt-go 00:06:07 ---> Running in 681000431e7b 00:06:07 Removing intermediate container 681000431e7b 00:06:07 ---> 8eac0b2b919f 00:06:07 Step 9/24 : COPY go.mod vendor* ./ 00:06:07 ---> 5e317d3f9f56 00:06:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:07 ---> Running in 51fb05128070 00:06:09 Removing intermediate container 51fb05128070 00:06:09 ---> 2e1da90f9f8a 00:06:09 Step 11/24 : COPY . . 00:06:10 ---> 817d07d78fa7 00:06:10 Step 12/24 : RUN $MAKE 00:06:10 ---> Running in 5704bac3a5e5 00:06:11 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 00:08:48 Removing intermediate container 5704bac3a5e5 00:08:48 ---> 9398b556f090 00:08:48 Step 13/24 : FROM alpine:3.16 00:08:48 3.16: Pulling from library/alpine 00:08:48 9b18e9b68314: Already exists 00:08:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:08:48 Status: Downloaded newer image for alpine:3.16 00:08:48 ---> a6215f271958 00:08:48 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:08:48 ---> Running in d050bc9749c9 00:08:48 Removing intermediate container d050bc9749c9 00:08:48 ---> 408359dba16e 00:08:48 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:08:48 ---> Running in 8e616fb72694 00:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:08:48 (1/6) Installing dumb-init (1.2.5-r1) 00:08:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:08:48 (3/6) Installing libsodium (1.0.18-r0) 00:08:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:08:48 (5/6) Installing libzmq (4.3.4-r0) 00:08:48 (6/6) Installing zeromq (4.3.4-r0) 00:08:48 Executing busybox-1.35.0-r17.trigger 00:08:48 OK: 8 MiB in 20 packages 00:08:48 Removing intermediate container 8e616fb72694 00:08:48 ---> 853d1fef64cf 00:08:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:08:48 ---> b5b88ba8b948 00:08:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:08:48 ---> 7e3b577a66ff 00:08:48 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:08:48 ---> 9e3051c9cd94 00:08:48 Step 19/24 : EXPOSE 59982 00:08:48 ---> Running in 4d4df6db993a 00:08:48 Removing intermediate container 4d4df6db993a 00:08:48 ---> 14a9166906b4 00:08:48 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:08:48 ---> Running in 0a7a016d99bb 00:08:48 Removing intermediate container 0a7a016d99bb 00:08:48 ---> a055b4413271 00:08:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:08:48 ---> Running in d541e3887f30 00:08:48 Removing intermediate container d541e3887f30 00:08:48 ---> 22402f514bca 00:08:48 Step 22/24 : LABEL arch=arm64 00:08:48 ---> Running in 44ca52b3e93a 00:08:48 Removing intermediate container 44ca52b3e93a 00:08:48 ---> 7c4784dca7c1 00:08:48 Step 23/24 : LABEL git_sha=b192367cebc099e9a9ef06706cd57f465297496d 00:08:48 ---> Running in 5bee6f743bc5 00:08:48 Removing intermediate container 5bee6f743bc5 00:08:48 ---> ff4ef0fec42d 00:08:48 Step 24/24 : LABEL version=2.3.0-dev.29 00:08:48 ---> Running in 13bde8414356 00:08:48 Removing intermediate container 13bde8414356 00:08:48 ---> 5cdbb2b480c1 00:08:48 [Warning] One or more build-args [ARCH] were not consumed 00:08:48 Successfully built 5cdbb2b480c1 00:08: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 00:08:48 provisioning config files... 00:08:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/76@tmp/config3220305929114721278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:48 ---> docker-login.sh 00:08:48 nexus3.edgexfoundry.org:10001 00:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:49 Configure a credential helper to remove this warning. See 00:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:49 00:08:49 Login Succeeded 00:08:49 nexus3.edgexfoundry.org:10002 00:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:49 Configure a credential helper to remove this warning. See 00:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:49 00:08:49 Login Succeeded 00:08:49 nexus3.edgexfoundry.org:10003 00:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:49 Configure a credential helper to remove this warning. See 00:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:49 00:08:49 Login Succeeded 00:08:49 nexus3.edgexfoundry.org:10004 00:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:50 Configure a credential helper to remove this warning. See 00:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:50 00:08:50 Login Succeeded 00:08:50 docker.io 00:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:50 Configure a credential helper to remove this warning. See 00:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:50 00:08:50 Login Succeeded 00:08:50 ---> docker-login.sh ends [Pipeline] } 00:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:50 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:08:50 b192367cebc099e9a9ef06706cd57f465297496d 00:08:50 latest 00:08:50 2.3.0-dev.29 00:08:50 b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:08:50 main 00:08:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d 00:08:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:08:51 b1d7f3c0135d: Preparing 00:08:51 6e73c777f6ac: Preparing 00:08:51 e8e2ce75942c: Preparing 00:08:51 14750bcd3d94: Preparing 00:08:51 5d3e392a13a0: Preparing 00:08:51 5d3e392a13a0: Layer already exists 00:08:51 6e73c777f6ac: Pushed 00:08:51 b1d7f3c0135d: Pushed 00:08:52 14750bcd3d94: Pushed 00:08:57 e8e2ce75942c: Pushed 00:08:57 b192367cebc099e9a9ef06706cd57f465297496d: digest: sha256:414b004456baebb05350546012954231c6273f6e68f7c662a2a360c8b04967e7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:08:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:08:58 b1d7f3c0135d: Preparing 00:08:58 6e73c777f6ac: Preparing 00:08:58 e8e2ce75942c: Preparing 00:08:58 14750bcd3d94: Preparing 00:08:58 5d3e392a13a0: Preparing 00:08:58 6e73c777f6ac: Layer already exists 00:08:58 e8e2ce75942c: Layer already exists 00:08:58 b1d7f3c0135d: Layer already exists 00:08:58 5d3e392a13a0: Layer already exists 00:08:58 14750bcd3d94: Layer already exists 00:08:58 latest: digest: sha256:414b004456baebb05350546012954231c6273f6e68f7c662a2a360c8b04967e7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.29 00:08:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:08:59 b1d7f3c0135d: Preparing 00:08:59 6e73c777f6ac: Preparing 00:08:59 e8e2ce75942c: Preparing 00:08:59 14750bcd3d94: Preparing 00:08:59 5d3e392a13a0: Preparing 00:08:59 6e73c777f6ac: Layer already exists 00:08:59 14750bcd3d94: Layer already exists 00:08:59 e8e2ce75942c: Layer already exists 00:08:59 5d3e392a13a0: Layer already exists 00:08:59 b1d7f3c0135d: Layer already exists 00:08:59 2.3.0-dev.29: digest: sha256:414b004456baebb05350546012954231c6273f6e68f7c662a2a360c8b04967e7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:08:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:08:59 b1d7f3c0135d: Preparing 00:08:59 6e73c777f6ac: Preparing 00:08:59 e8e2ce75942c: Preparing 00:08:59 14750bcd3d94: Preparing 00:08:59 5d3e392a13a0: Preparing 00:08:59 5d3e392a13a0: Layer already exists 00:08:59 e8e2ce75942c: Layer already exists 00:08:59 b1d7f3c0135d: Layer already exists 00:08:59 6e73c777f6ac: Layer already exists 00:08:59 14750bcd3d94: Layer already exists 00:08:59 b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29: digest: sha256:414b004456baebb05350546012954231c6273f6e68f7c662a2a360c8b04967e7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 00:09:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:00 b1d7f3c0135d: Preparing 00:09:00 6e73c777f6ac: Preparing 00:09:00 e8e2ce75942c: Preparing 00:09:00 14750bcd3d94: Preparing 00:09:00 5d3e392a13a0: Preparing 00:09:00 14750bcd3d94: Layer already exists 00:09:00 e8e2ce75942c: Layer already exists 00:09:00 5d3e392a13a0: Layer already exists 00:09:00 6e73c777f6ac: Layer already exists 00:09:00 b1d7f3c0135d: Layer already exists 00:09:00 main: digest: sha256:414b004456baebb05350546012954231c6273f6e68f7c662a2a360c8b04967e7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:09:00 ===================================================== [Pipeline] echo 00:09:00 taggedImages: 00:09:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d 00:09:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:09:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.29 00:09:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b192367cebc099e9a9ef06706cd57f465297496d-2.3.0-dev.29 00:09:00 - 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 00:09:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:01 00:09:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:01 arm64: Pulling from edgex-lftools-log-publisher 00:09:01 8998bd30e6a1: Pulling fs layer 00:09:01 04944245beec: Pulling fs layer 00:09:01 699f458cf7ca: Pulling fs layer 00:09:01 765212b225bb: Pulling fs layer 00:09:01 f23df028b6ca: Pulling fs layer 00:09:01 d65c8cfc05b1: Pulling fs layer 00:09:01 2437ff75d9bd: Pulling fs layer 00:09:01 f23df028b6ca: Waiting 00:09:01 d65c8cfc05b1: Waiting 00:09:01 2437ff75d9bd: Waiting 00:09:01 765212b225bb: Waiting 00:09:01 04944245beec: Verifying Checksum 00:09:01 04944245beec: Download complete 00:09:01 765212b225bb: Verifying Checksum 00:09:01 765212b225bb: Download complete 00:09:01 f23df028b6ca: Verifying Checksum 00:09:01 f23df028b6ca: Download complete 00:09:01 d65c8cfc05b1: Verifying Checksum 00:09:01 d65c8cfc05b1: Download complete 00:09:01 699f458cf7ca: Verifying Checksum 00:09:01 699f458cf7ca: Download complete 00:09:02 8998bd30e6a1: Verifying Checksum 00:09:02 8998bd30e6a1: Download complete 00:09:04 2437ff75d9bd: Verifying Checksum 00:09:06 8998bd30e6a1: Pull complete 00:09:06 04944245beec: Pull complete 00:09:07 699f458cf7ca: Pull complete 00:09:07 765212b225bb: Pull complete 00:09:08 f23df028b6ca: Pull complete 00:09:08 d65c8cfc05b1: Pull complete 00:09:24 2437ff75d9bd: Pull complete 00:09:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:24 prd-ubuntu20.04-docker-arm64-4c-16g-117011 does not seem to be running inside a container 00:09:24 $ 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/76 -v /w/workspace/device-mqtt-go/76:/w/workspace/device-mqtt-go/76:rw,z -v /w/workspace/device-mqtt-go/76@tmp:/w/workspace/device-mqtt-go/76@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 00:09:26 $ docker top 8180dcb2f685081692a56edbaf1db7f3e3394fcf80fb9acb3df99c5099f52105 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:27 ---> job-cost.sh 00:09:27 lf-activate-venv: SKIPPING 00:09:27 INFO: No Stack... 00:09:27 INFO: Retrieving Pricing Info for: v3-standard-4 00:09:28 INFO: Archiving Costs [Pipeline] sh 00:09:29 + cat /w/workspace/device-mqtt-go/76/archives/cost.csv 00:09:29 + cut -d, -f6 [Pipeline] lock 00:09:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] 00:09:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] did not exist. Created. 00:09:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:29 /w/workspace/device-mqtt-go/76@tmp/durable-c372012a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:09:29 + echo total: 0.10999999940395355 [Pipeline] stash 00:09:29 Warning: overwriting stash ‘stack-cost’ 00:09:29 Stashed 1 file(s) [Pipeline] } 00:09:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:30 $ docker stop --time=1 8180dcb2f685081692a56edbaf1db7f3e3394fcf80fb9acb3df99c5099f52105 00:09:31 $ docker rm -f 8180dcb2f685081692a56edbaf1db7f3e3394fcf80fb9acb3df99c5099f52105 [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 00:09:31 provisioning config files... 00:09:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8297031529701363946tmp [Pipeline] { [Pipeline] sh 00:09:32 + set +x 00:09:32 + curl -s https://codecov.io/bash 00:09:32 + bash -s -- 00:09:32 00:09:32 _____ _ 00:09:32 / ____| | | 00:09:32 | | ___ __| | ___ ___ _____ __ 00:09:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:09:32 | |___| (_) | (_| | __/ (_| (_) \ V / 00:09:32 \_____\___/ \__,_|\___|\___\___/ \_/ 00:09:32 Bash-1.0.6 00:09:32 00:09:32 00:09:32 ==> git version 2.25.1 found 00:09:32 ==> 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 00:09:32 Release-Date: 2020-01-08 00:09:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:09:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:09:32 ==> Jenkins CI detected. 00:09:32 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 00:09:32 project root: . 00:09:32 --> token set from env 00:09:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:09:32 ==> Running gcov in . (disable via -X gcov) 00:09:32 ==> Python coveragepy not found 00:09:32 ==> Searching for coverage reports in: 00:09:32 + . 00:09:32 -> Found 1 reports 00:09:32 ==> Detecting git/mercurial file structure 00:09:32 ==> Reading reports 00:09:32 + ./coverage.out bytes=17887 00:09:32 ==> Appending adjustments 00:09:32 https://docs.codecov.io/docs/fixing-reports 00:09:32 + Found adjustments 00:09:32 ==> Gzipping contents 00:09:32 4.0K /tmp/codecov.o58BDC.gz 00:09:32 ==> Uploading reports 00:09:32 url: https://codecov.io 00:09:32 query: branch=main&commit=b192367cebc099e9a9ef06706cd57f465297496d&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:09:32 -> Pinging Codecov 00:09:32 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=b192367cebc099e9a9ef06706cd57f465297496d&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:09:32 -> Uploading to 00:09:32 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7D719EC7BBE17E464838252E33014C33/b192367cebc099e9a9ef06706cd57f465297496d/f0e1a22d-bc97-483c-9ec1-a7e09a2ebf22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T000932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a962d88ad36898ce943204a8d7685b65c0dc4180eddfe7a75fbffcc68b86d497 00:09:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:32 Dload Upload Total Spent Left Speed 00:09:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 11528 --:--:-- --:--:-- --:--:-- 11570 00:09:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] } 00:09:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:09:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:09:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:33 00:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:09:33 df9b9388f04a: Pulling fs layer 00:09:33 52dc419b0ee2: Pulling fs layer 00:09:33 25bc292e5bac: Pulling fs layer 00:09:33 114826534d7a: Pulling fs layer 00:09:33 4657fd5d0bcf: Pulling fs layer 00:09:33 6ad1cebc031e: Pulling fs layer 00:09:33 114826534d7a: Waiting 00:09:33 8a3aa393b2d8: Pulling fs layer 00:09:33 6ad1cebc031e: Waiting 00:09:33 8a3aa393b2d8: Waiting 00:09:33 25bc292e5bac: Verifying Checksum 00:09:33 25bc292e5bac: Download complete 00:09:33 52dc419b0ee2: Verifying Checksum 00:09:33 52dc419b0ee2: Download complete 00:09:33 4657fd5d0bcf: Verifying Checksum 00:09:33 4657fd5d0bcf: Download complete 00:09:33 df9b9388f04a: Download complete 00:09:34 6ad1cebc031e: Verifying Checksum 00:09:34 6ad1cebc031e: Download complete 00:09:34 df9b9388f04a: Pull complete 00:09:34 52dc419b0ee2: Pull complete 00:09:34 25bc292e5bac: Pull complete 00:09:34 114826534d7a: Verifying Checksum 00:09:34 114826534d7a: Download complete 00:09:34 8a3aa393b2d8: Verifying Checksum 00:09:34 8a3aa393b2d8: Download complete 00:09:37 114826534d7a: Pull complete 00:09:37 4657fd5d0bcf: Pull complete 00:09:38 6ad1cebc031e: Pull complete 00:09:40 8a3aa393b2d8: Pull complete 00:09:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:40 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:09:42 $ docker top 3604a7a021d77054e6a5cdb057df2fdc315f6daf7d52aff24d6833f7025bafd7 -eo pid,comm [Pipeline] { [Pipeline] echo 00:09:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 00:09:42 + set -o pipefail 00:09:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 00:09:50 00:09:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 00:09:50 00:09:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/a02b9b24-ef3f-4b3d-bf40-e7fd2a4bc491 00:09:50 00:09:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:09:50 00:09:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:09:50 00:09:50 00:09:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:09:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:09:50 More details here: https://snyk.co/ue1NS [Pipeline] } 00:09:50 $ docker stop --time=1 3604a7a021d77054e6a5cdb057df2fdc315f6daf7d52aff24d6833f7025bafd7 00:09:53 $ docker rm -f 3604a7a021d77054e6a5cdb057df2fdc315f6daf7d52aff24d6833f7025bafd7 [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 00:09:53 + git log --format=format:%s -1 b192367cebc099e9a9ef06706cd57f465297496d [Pipeline] sh 00:09:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:54 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:09:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:54 $ docker top 2ba1fc78900d0553b3c198ec23df0ecb59071bfa8e002c70629a868d26de2a88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:54 [ssh-agent] Looking for ssh-agent implementation... 00:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:55 $ docker exec 2ba1fc78900d0553b3c198ec23df0ecb59071bfa8e002c70629a868d26de2a88 ssh-agent 00:09:55 SSH_AUTH_SOCK=/tmp/ssh-TQYt1f6nnBep/agent.33 00:09:55 SSH_AGENT_PID=39 00:09:55 Running ssh-add (command line suppressed) 00:09:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12959085990414270883.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12959085990414270883.key) 00:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:55 + git semver tag 00:09:55 2022-10-26 00:09:55,776 [run_tag] DEBUG tag force:False 00:09:55 2022-10-26 00:09:55,776 [check_head_tag] DEBUG check head tag 00:09:55 2022-10-26 00:09:55,777 [execute] INFO git cat-file --batch-check 00:09:55 2022-10-26 00:09:55,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:09:55 2022-10-26 00:09:55,781 [execute] INFO git cat-file --batch 00:09:55 2022-10-26 00:09:55,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:09:55 2022-10-26 00:09:55,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:09:55 2022-10-26 00:09:55,796 [execute] INFO git tag -a v2.3.0-dev.29 -m v2.3.0-dev.29 00:09:55 2022-10-26 00:09:55,796 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.29', '-m', 'v2.3.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:09:55 2022-10-26 00:09:55,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:09:55 2.3.0-dev.29 [Pipeline] } 00:09:55 $ docker exec --env ******** --env ******** 2ba1fc78900d0553b3c198ec23df0ecb59071bfa8e002c70629a868d26de2a88 ssh-agent -k 00:09:55 unset SSH_AUTH_SOCK; 00:09:55 unset SSH_AGENT_PID; 00:09:55 echo Agent pid 39 killed; 00:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:56 + git semver [Pipeline] } 00:09:56 $ docker stop --time=1 2ba1fc78900d0553b3c198ec23df0ecb59071bfa8e002c70629a868d26de2a88 00:09:57 $ docker rm -f 2ba1fc78900d0553b3c198ec23df0ecb59071bfa8e002c70629a868d26de2a88 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:09:58 00:09:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:09:58 0.23.1-centos7: Pulling from edgex-lftools 00:09:58 ab5ef0e58194: Pulling fs layer 00:09:58 9712f1f96733: Pulling fs layer 00:09:58 63f879dbbcfc: Pulling fs layer 00:09:58 0d9ebad4ef96: Pulling fs layer 00:09:58 e9a5061849ea: Pulling fs layer 00:09:58 d747dcd14b5f: Pulling fs layer 00:09:58 2de7ff778b66: Pulling fs layer 00:09:58 e9a5061849ea: Waiting 00:09:58 d747dcd14b5f: Waiting 00:09:58 2de7ff778b66: Waiting 00:09:58 0d9ebad4ef96: Waiting 00:09:58 9712f1f96733: Verifying Checksum 00:09:58 9712f1f96733: Download complete 00:09:58 63f879dbbcfc: Verifying Checksum 00:09:58 63f879dbbcfc: Download complete 00:09:59 e9a5061849ea: Verifying Checksum 00:09:59 e9a5061849ea: Download complete 00:09:59 0d9ebad4ef96: Verifying Checksum 00:09:59 0d9ebad4ef96: Download complete 00:09:59 ab5ef0e58194: Verifying Checksum 00:09:59 ab5ef0e58194: Download complete 00:09:59 d747dcd14b5f: Download complete 00:09:59 2de7ff778b66: Verifying Checksum 00:09:59 2de7ff778b66: Download complete 00:10:01 ab5ef0e58194: Pull complete 00:10:01 9712f1f96733: Pull complete 00:10:02 63f879dbbcfc: Pull complete 00:10:05 0d9ebad4ef96: Pull complete 00:10:05 e9a5061849ea: Pull complete 00:10:05 d747dcd14b5f: Pull complete 00:10:06 2de7ff778b66: Pull complete 00:10:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:06 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:10:09 $ docker top a37de49d8c51e606667cae2c5ef22fb964a459b9d5a9b4e18811e44c5b841310 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:10:09 provisioning config files... 00:10:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8286654012983180144tmp 00:10:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3353368570765325078tmp 00:10:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8737453929992312710tmp [Pipeline] { [Pipeline] echo 00:10:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:10:09 ---> sigul-configuration.sh 00:10:09 gpg: directory `/root/.gnupg' created 00:10:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:10:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:10:09 gpg: keyring `/root/.gnupg/secring.gpg' created 00:10:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:10:09 gpg: CAST5 encrypted data 00:10:09 gpg: encrypted with 1 passphrase 00:10:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:10:09 + mkdir /home/jenkins 00:10:09 + mkdir /home/jenkins/sigul [Pipeline] sh 00:10:10 + 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 00:10:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:10:10 ---> sigul-install.sh 00:10:10 Sigul already installed; skipping installation. [Pipeline] sh 00:10:10 + git tag --list 00:10:10 0.7.1 00:10:10 v1.0.0 00:10:10 v1.1.0 00:10:10 v1.1.1 00:10:10 v1.2.2 00:10:10 v1.3.0 00:10:10 v1.3.1 00:10:10 v2.0.0 00:10:10 v2.1.0 00:10:10 v2.1.1 00:10:10 v2.1.1-dev.1 00:10:10 v2.1.1-dev.2 00:10:10 v2.2.0 00:10:10 v2.2.1-dev.1 00:10:10 v2.2.1-dev.10 00:10:10 v2.2.1-dev.2 00:10:10 v2.2.1-dev.3 00:10:10 v2.2.1-dev.4 00:10:10 v2.2.1-dev.5 00:10:10 v2.2.1-dev.6 00:10:10 v2.2.1-dev.7 00:10:10 v2.2.1-dev.8 00:10:10 v2.2.1-dev.9 00:10:10 v2.3.0-dev.10 00:10:10 v2.3.0-dev.11 00:10:10 v2.3.0-dev.12 00:10:10 v2.3.0-dev.13 00:10:10 v2.3.0-dev.14 00:10:10 v2.3.0-dev.15 00:10:10 v2.3.0-dev.16 00:10:10 v2.3.0-dev.17 00:10:10 v2.3.0-dev.18 00:10:10 v2.3.0-dev.19 00:10:10 v2.3.0-dev.20 00:10:10 v2.3.0-dev.21 00:10:10 v2.3.0-dev.22 00:10:10 v2.3.0-dev.23 00:10:10 v2.3.0-dev.24 00:10:10 v2.3.0-dev.25 00:10:10 v2.3.0-dev.26 00:10:10 v2.3.0-dev.27 00:10:10 v2.3.0-dev.28 00:10:10 v2.3.0-dev.29 [Pipeline] sh 00:10:11 + lftools sign git-tag v2.3.0-dev.29 00:10:11 Signing Git tag with Sigul... 00:10:11 Signing v2.3.0-dev.29 [Pipeline] echo 00:10:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:10:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:10:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:10:12 $ docker stop --time=1 a37de49d8c51e606667cae2c5ef22fb964a459b9d5a9b4e18811e44c5b841310 00:10:13 $ docker rm -f a37de49d8c51e606667cae2c5ef22fb964a459b9d5a9b4e18811e44c5b841310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:10:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:14 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:14 $ docker top fc41071c1a480826f0306429a5b71e7d50f285e20b9548279fe39d3f30a33062 -eo pid,comm 00:10:14 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). 00:10:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:14 [ssh-agent] Looking for ssh-agent implementation... 00:10:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:14 $ docker exec fc41071c1a480826f0306429a5b71e7d50f285e20b9548279fe39d3f30a33062 ssh-agent 00:10:15 SSH_AUTH_SOCK=/tmp/ssh-85FhhsARWKen/agent.32 00:10:15 SSH_AGENT_PID=38 00:10:15 Running ssh-add (command line suppressed) 00:10:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1659210879056841772.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1659210879056841772.key) 00:10:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:15 + git semver bump pre 00:10:15 2022-10-26 00:10:15,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:15 2022-10-26 00:10:15,613 [bump_version] DEBUG bumping version:2.3.0-dev.29 on axis:pre with prefix:dev 00:10:15 2022-10-26 00:10:15,613 [bump_version] DEBUG bumped version:2.3.0-dev.30 00:10:15 2022-10-26 00:10:15,613 [write_version] DEBUG write version:2.3.0-dev.30 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 00:10:15 2022-10-26 00:10:15,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:15 2022-10-26 00:10:15,614 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:15 2022-10-26 00:10:15,616 [execute] INFO git cat-file --batch-check 00:10:15 2022-10-26 00:10:15,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:15 2022-10-26 00:10:15,622 [execute] INFO git cat-file --batch 00:10:15 2022-10-26 00:10:15,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:15 2022-10-26 00:10:15,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:15 2.3.0-dev.30 [Pipeline] } 00:10:15 $ docker exec --env ******** --env ******** fc41071c1a480826f0306429a5b71e7d50f285e20b9548279fe39d3f30a33062 ssh-agent -k 00:10:15 unset SSH_AUTH_SOCK; 00:10:15 unset SSH_AGENT_PID; 00:10:15 echo Agent pid 38 killed; 00:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:16 + git semver [Pipeline] } 00:10:16 $ docker stop --time=1 fc41071c1a480826f0306429a5b71e7d50f285e20b9548279fe39d3f30a33062 00:10:17 $ docker rm -f fc41071c1a480826f0306429a5b71e7d50f285e20b9548279fe39d3f30a33062 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:18 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:18 $ docker top 4e0ada6a34449da76e1b9ad8b33a7cdadd2200326371166968bdbd32f8d80d9e -eo pid,comm 00:10:18 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). 00:10:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:18 [ssh-agent] Looking for ssh-agent implementation... 00:10:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:19 $ docker exec 4e0ada6a34449da76e1b9ad8b33a7cdadd2200326371166968bdbd32f8d80d9e ssh-agent 00:10:19 SSH_AUTH_SOCK=/tmp/ssh-SKZai9h1beRf/agent.32 00:10:19 SSH_AGENT_PID=38 00:10:19 Running ssh-add (command line suppressed) 00:10:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13926181665514517717.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13926181665514517717.key) 00:10:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:19 + git semver push 00:10:19 2022-10-26 00:10:19,755 [run_push] DEBUG push 00:10:19 2022-10-26 00:10:19,756 [execute] INFO git cat-file --batch-check 00:10:19 2022-10-26 00:10:19,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:19 2022-10-26 00:10:19,761 [execute] INFO git rev-list 3fd976934f8ce95ab33a103874d08526db94190d -- 00:10:19 2022-10-26 00:10:19,761 [execute] DEBUG Popen(['git', 'rev-list', '3fd976934f8ce95ab33a103874d08526db94190d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:10:19 2022-10-26 00:10:19,769 [execute] INFO git fetch -v origin 00:10:19 2022-10-26 00:10:19,770 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:10:20 2022-10-26 00:10:20,350 [run_push] DEBUG no remote changes detected 00:10:20 2022-10-26 00:10:20,351 [execute] INFO git push origin semver 00:10:20 2022-10-26 00:10:20,351 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:10:21 2022-10-26 00:10:21,186 [run_push] DEBUG push all version tags 00:10:21 2022-10-26 00:10:21,186 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:10:21 2022-10-26 00:10:21,187 [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) 00:10:22 2022-10-26 00:10:21,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:22 2.3.0-dev.30 [Pipeline] } 00:10:22 $ docker exec --env ******** --env ******** 4e0ada6a34449da76e1b9ad8b33a7cdadd2200326371166968bdbd32f8d80d9e ssh-agent -k 00:10:22 unset SSH_AUTH_SOCK; 00:10:22 unset SSH_AGENT_PID; 00:10:22 echo Agent pid 38 killed; 00:10:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:22 + git semver [Pipeline] } 00:10:22 $ docker stop --time=1 4e0ada6a34449da76e1b9ad8b33a7cdadd2200326371166968bdbd32f8d80d9e 00:10:24 $ docker rm -f 4e0ada6a34449da76e1b9ad8b33a7cdadd2200326371166968bdbd32f8d80d9e [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 00:10:24 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 00:10:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:24 total 16 00:10:24 drwxr-xr-x 3 root root 4096 Oct 26 00:02 . 00:10:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 00:10 .. 00:10:24 drwxr-xr-x 2 root root 4096 Oct 26 00:02 cost 00:10:24 -rw-r--r-- 1 root root 85 Oct 26 00:02 cost.csv 00:10:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:24 total 16 00:10:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 00:02 . 00:10:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 00:10 .. 00:10:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 00:02 cost 00:10:24 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 00:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:10:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:26 ---> package-listing.sh 00:10:26 ++ tr '[:upper:]' '[:lower:]' 00:10:26 ++ facter osfamily 00:10:26 + OS_FAMILY=debian 00:10:26 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 00:10:26 + START_PACKAGES=/tmp/packages_start.txt 00:10:26 + END_PACKAGES=/tmp/packages_end.txt 00:10:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:26 + PACKAGES=/tmp/packages_start.txt 00:10:26 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:10:26 + PACKAGES=/tmp/packages_end.txt 00:10:26 + case "${OS_FAMILY}" in 00:10:26 + dpkg -l 00:10:26 + grep '^ii' 00:10:26 + '[' -f /tmp/packages_start.txt ']' 00:10:26 + '[' -f /tmp/packages_end.txt ']' 00:10:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:26 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:10:26 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 00:10:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 00:10:26 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 00:10:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:27 prd-ubuntu20.04-docker-8c-8g-117010 does not seem to be running inside a container 00:10:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:10:27 $ docker top f48ba8014ec0b1472b3ea2a944001a0057679afb965b5edae6f2733daf725ce9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:28 + mkdir -p /var/log/sysstat [Pipeline] sh 00:10:28 + ls /var/log/sa-host 00:10:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:28 provisioning config files... 00:10:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12004390597462375843tmp [Pipeline] { [Pipeline] echo 00:10:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:28 ---> create-netrc.sh [Pipeline] } 00:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:10:29 ---> python-tools-install.sh [Pipeline] echo 00:10:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:29 ---> sudo-logs.sh 00:10:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:10:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:29 ---> job-cost.sh 00:10:29 lf-activate-venv: SKIPPING 00:10:29 DEBUG: total: 0.2199999988079071 00:10:29 INFO: Retrieving Stack Cost... 00:10:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:30 INFO: Archiving Costs [Pipeline] echo 00:10:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:30 ---> logs-deploy.sh 00:10:30 lf-activate-venv: SKIPPING 00:10:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/76 00:10:30 INFO: archiving workspace using pattern(s): 00:10:31 Archives upload complete. 00:10:31 INFO: archiving logs to Nexus