Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1ae20365080d91ee65f801e150a6fed247e9201d 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-ssh130216401969583132.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2242432587554093373.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11246398895634732738.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6576504389923353418.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-ssh10152617783687407172.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 on ‘prd-ubuntu20.04-docker-8c-8g-7538’ Running on prd-ubuntu20.04-docker-8c-8g-7542 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 Avoid second fetch Checking out Revision 1ae20365080d91ee65f801e150a6fed247e9201d (main) 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 > 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 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#421)" > git rev-list --no-walk 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:05:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:05:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:05:11 ========================================================= 17:05:11 EdgeX Global Pipelines Version Info 17:05:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:05:12 ------------------- 17:05:12 stable info: 17:05:12 ------------------- 17:05:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:05:12 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:05:12 Message: update stable to v1.0.239 17:05:13 ------------------- 17:05:13 experimental info: 17:05:13 ------------------- 17:05:13 Commited By: **** collab-it+edgex@linuxfoundation.org 17:05:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:05:13 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ae2036 [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:13 provisioning config files... 17:05:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6585065148305487571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:14 ---> docker-login.sh 17:05:14 nexus3.edgexfoundry.org:10001 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10002 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10003 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10004 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 docker.io 17:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 ---> docker-login.sh ends [Pipeline] } 17:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:05:15 + git rev-list -1 --merges 1ae20365080d91ee65f801e150a6fed247e9201d~1..1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] echo 17:05:15 -----------> git rev-list -1 --merges 1ae20365080d91ee65f801e150a6fed247e9201d~1..1ae20365080d91ee65f801e150a6fed247e9201d 1ae20365080d91ee65f801e150a6fed247e9201d [false] [Pipeline] sh 17:05:16 + git log --format=format:%s -1 1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] echo 17:05:16 ========================================================= 17:05:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:05:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:16 + git log --format=format:%s -1 1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] echo 17:05:16 [semverPrep] GIT_COMMIT: 1ae20365080d91ee65f801e150a6fed247e9201d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#421) [Pipeline] echo 17:05:16 [semverPrep] This is not a build commit. [Pipeline] sh 17:05:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:05:16 + grep -v github /etc/ssh/ssh_known_hosts 17:05:16 + [ -e /tmp/ssh_known_hosts ] 17:05:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:05:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:05:16 + sudo tee -a /etc/ssh/ssh_known_hosts 17:05:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:17 17:05:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:17 0.1.4: Pulling from edgex-devops/py-git-semver 17:05:17 b85a868b505f: Pulling fs layer 17:05:17 e2be974225ed: Pulling fs layer 17:05:17 339a4e72a1f5: Pulling fs layer 17:05:17 988bab9f4d93: Pulling fs layer 17:05:17 1469e6f7b9e6: Pulling fs layer 17:05:17 eaf3925da568: Pulling fs layer 17:05:17 bab4dde63d76: Pulling fs layer 17:05:17 bde34c3a00c8: Pulling fs layer 17:05:17 b352a97aabf1: Pulling fs layer 17:05:17 4872d77fe225: Pulling fs layer 17:05:17 5851b861e8e6: Pulling fs layer 17:05:17 1469e6f7b9e6: Waiting 17:05:17 bde34c3a00c8: Waiting 17:05:17 4872d77fe225: Waiting 17:05:17 988bab9f4d93: Waiting 17:05:17 5851b861e8e6: Waiting 17:05:17 b352a97aabf1: Waiting 17:05:17 e2be974225ed: Download complete 17:05:17 988bab9f4d93: Verifying Checksum 17:05:17 988bab9f4d93: Download complete 17:05:17 1469e6f7b9e6: Verifying Checksum 17:05:17 1469e6f7b9e6: Download complete 17:05:17 eaf3925da568: Verifying Checksum 17:05:17 eaf3925da568: Download complete 17:05:17 339a4e72a1f5: Verifying Checksum 17:05:17 339a4e72a1f5: Download complete 17:05:17 bde34c3a00c8: Verifying Checksum 17:05:17 bde34c3a00c8: Download complete 17:05:17 b352a97aabf1: Download complete 17:05:17 4872d77fe225: Download complete 17:05:17 5851b861e8e6: Verifying Checksum 17:05:17 5851b861e8e6: Download complete 17:05:17 b85a868b505f: Verifying Checksum 17:05:17 b85a868b505f: Download complete 17:05:17 bab4dde63d76: Verifying Checksum 17:05:17 bab4dde63d76: Download complete 17:05:19 b85a868b505f: Pull complete 17:05:19 e2be974225ed: Pull complete 17:05:19 339a4e72a1f5: Pull complete 17:05:19 988bab9f4d93: Pull complete 17:05:20 1469e6f7b9e6: Pull complete 17:05:20 eaf3925da568: Pull complete 17:05:22 bab4dde63d76: Pull complete 17:05:22 bde34c3a00c8: Pull complete 17:05:22 b352a97aabf1: Pull complete 17:05:22 4872d77fe225: Pull complete 17:05:22 5851b861e8e6: Pull complete 17:05:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:22 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:05:22 $ 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 17:05:25 $ docker top c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 -eo pid,comm 17:05:25 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). 17:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:25 [ssh-agent] Looking for ssh-agent implementation... 17:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:25 $ docker exec c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 ssh-agent 17:05:25 SSH_AUTH_SOCK=/tmp/ssh-YynsNt3Tpbhz/agent.33 17:05:25 SSH_AGENT_PID=39 17:05:25 Running ssh-add (command line suppressed) 17:05:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1197403347753119181.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1197403347753119181.key) 17:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:25 + git tag --points-at HEAD [Pipeline] } 17:05:25 $ docker exec --env ******** --env ******** c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 ssh-agent -k 17:05:25 unset SSH_AUTH_SOCK; 17:05:25 unset SSH_AGENT_PID; 17:05:25 echo Agent pid 39 killed; 17:05:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:25 [ssh-agent] Looking for ssh-agent implementation... 17:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:26 $ docker exec c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 ssh-agent 17:05:26 SSH_AUTH_SOCK=/tmp/ssh-QafzTkeo1FbA/agent.71 17:05:26 SSH_AGENT_PID=77 17:05:26 Running ssh-add (command line suppressed) 17:05:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18362112817381743026.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18362112817381743026.key) 17:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:26 + git semver init 17:05:26 2022-10-10 17:05:26,734 [run_init] DEBUG init version:0.0.0 force:False 17:05:26 2022-10-10 17:05:26,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:05:26 2022-10-10 17:05:26,736 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:05:26 2022-10-10 17:05:26,736 [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) 17:05:27 2022-10-10 17:05:27,681 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 17:05:27 2022-10-10 17:05:27,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 17:05:27 2022-10-10 17:05:27,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:05:27 2022-10-10 17:05:27,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:05:27 2.3.0-dev.23 [Pipeline] } 17:05:27 $ docker exec --env ******** --env ******** c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 ssh-agent -k 17:05:27 unset SSH_AUTH_SOCK; 17:05:27 unset SSH_AGENT_PID; 17:05:27 echo Agent pid 77 killed; 17:05:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:28 + git semver [Pipeline] } 17:05:28 $ docker stop --time=1 c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 17:05:29 $ docker rm -f c3a4583a8735c9087ed237f04ae9c8ebf797fe998b53a017580c73f1c3d346d4 [Pipeline] // withDockerContainer [Pipeline] sh 17:05:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:05:30 Stashed 1 file(s) [Pipeline] echo 17:05:30 [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [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 17:05:30 provisioning config files... 17:05:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11228242361307269919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:30 ---> docker-login.sh 17:05:30 nexus3.edgexfoundry.org:10001 17:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:30 Configure a credential helper to remove this warning. See 17:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:30 17:05:30 Login Succeeded 17:05:30 nexus3.edgexfoundry.org:10002 17:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:30 Configure a credential helper to remove this warning. See 17:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:30 17:05:30 Login Succeeded 17:05:30 nexus3.edgexfoundry.org:10003 17:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:30 Configure a credential helper to remove this warning. See 17:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:30 17:05:30 Login Succeeded 17:05:30 nexus3.edgexfoundry.org:10004 17:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:30 Configure a credential helper to remove this warning. See 17:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:30 17:05:30 Login Succeeded 17:05:30 docker.io 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:31 Configure a credential helper to remove this warning. See 17:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:31 17:05:31 Login Succeeded 17:05:31 ---> docker-login.sh ends [Pipeline] } 17:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:31 ========================================================= 17:05:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:05:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:31 + 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 . 17:05:31 Sending build context to Docker daemon 6.148MB 17:05:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:05:31 Step 2/13 : FROM ${BASE} AS builder 17:05:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:05:31 2408cc74d12b: Pulling fs layer 17:05:31 ea60b727a1ce: Pulling fs layer 17:05:31 30c4a7721957: Pulling fs layer 17:05:31 370296b7ddb6: Pulling fs layer 17:05:31 7c6cee850709: Pulling fs layer 17:05:31 aa9baa53a306: Pulling fs layer 17:05:31 8b309c321861: Pulling fs layer 17:05:31 d8d76fd02f46: Pulling fs layer 17:05:31 fa31f396de31: Pulling fs layer 17:05:31 370296b7ddb6: Waiting 17:05:31 8b309c321861: Waiting 17:05:31 d8d76fd02f46: Waiting 17:05:31 fa31f396de31: Waiting 17:05:31 aa9baa53a306: Waiting 17:05:31 7c6cee850709: Waiting 17:05:31 30c4a7721957: Verifying Checksum 17:05:31 30c4a7721957: Download complete 17:05:31 ea60b727a1ce: Verifying Checksum 17:05:32 7c6cee850709: Verifying Checksum 17:05:32 7c6cee850709: Download complete 17:05:32 aa9baa53a306: Verifying Checksum 17:05:32 aa9baa53a306: Download complete 17:05:32 2408cc74d12b: Verifying Checksum 17:05:32 2408cc74d12b: Download complete 17:05:32 8b309c321861: Verifying Checksum 17:05:32 8b309c321861: Download complete 17:05:32 2408cc74d12b: Pull complete 17:05:32 ea60b727a1ce: Pull complete 17:05:32 30c4a7721957: Pull complete 17:05:32 fa31f396de31: Verifying Checksum 17:05:32 fa31f396de31: Download complete 17:05:32 370296b7ddb6: Verifying Checksum 17:05:32 370296b7ddb6: Download complete 17:05:32 d8d76fd02f46: Verifying Checksum 17:05:32 d8d76fd02f46: Download complete 17:05:37 370296b7ddb6: Pull complete 17:05:37 7c6cee850709: Pull complete 17:05:37 aa9baa53a306: Pull complete 17:05:37 8b309c321861: Pull complete 17:05:39 d8d76fd02f46: Pull complete 17:05:39 fa31f396de31: Pull complete 17:05:39 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 17:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:05:39 ---> cef68f9685f8 17:05:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:05:43 ---> Running in 6f68c854a1e0 17:05:43 Removing intermediate container 6f68c854a1e0 17:05:43 ---> d851a300dd20 17:05:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:05:43 ---> Running in bfdf7aed2188 17:05:43 Removing intermediate container bfdf7aed2188 17:05:43 ---> 81d3272fce34 17:05:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:05:43 ---> Running in 83166b19fb6b 17:05:44 Removing intermediate container 83166b19fb6b 17:05:44 ---> 6fcef924115d 17:05:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:05:44 ---> Running in 745517eb9f35 17:05:44 Removing intermediate container 745517eb9f35 17:05:44 ---> 4247872d374a 17:05:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:44 ---> Running in d64a061b6fb4 17:05:44 Removing intermediate container d64a061b6fb4 17:05:44 ---> f7c2e29c3eb7 17:05:44 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:05:44 ---> Running in d690468ded92 17:05:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:05:45 Still waiting to schedule task 17:05:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7541’ 17:05:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:05:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:05:46 (2/4) Installing libedit (20210910.3.1-r0) 17:05:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:05:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:05:46 Executing busybox-1.35.0-r13.trigger 17:05:46 OK: 216 MiB in 55 packages 17:05:47 Removing intermediate container d690468ded92 17:05:47 ---> ffb865334711 17:05:47 Step 9/13 : WORKDIR /device-mqtt-go 17:05:47 ---> Running in 299094075ca8 17:05:47 Removing intermediate container 299094075ca8 17:05:47 ---> 326901776eb4 17:05:47 Step 10/13 : COPY go.mod vendor* ./ 17:05:47 ---> 887db8190599 17:05:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:05:47 ---> Running in b93336ff442e 17:06:09 Removing intermediate container b93336ff442e 17:06:09 ---> 49b7de699b0a 17:06:09 Step 12/13 : COPY . . 17:06:09 ---> 1d5da1ec1b8c 17:06:09 Step 13/13 : RUN $MAKE 17:06:09 ---> Running in a9456fdb1a10 17:06:09 noop 17:06:09 Removing intermediate container a9456fdb1a10 17:06:09 ---> 8de532e64d8c 17:06:09 Successfully built 8de532e64d8c 17:06:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:09 + docker inspect -f . ci-base-image-x86_64 17:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:09 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:06:09 $ 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 17:06:10 $ docker top ad86a7d25ae742ab00e8c44eb091a48d73347708a74f24e42855ccb1faf42188 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:10 + go version 17:06:10 go version go1.18.3 linux/amd64 [Pipeline] } 17:06:10 $ docker stop --time=1 ad86a7d25ae742ab00e8c44eb091a48d73347708a74f24e42855ccb1faf42188 17:06:11 $ docker rm -f ad86a7d25ae742ab00e8c44eb091a48d73347708a74f24e42855ccb1faf42188 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:12 + docker inspect -f . ci-base-image-x86_64 17:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:12 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:06:12 $ 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 17:06:12 $ docker top b3f0d89156436196ded4028dc74b7a15978f05b930a35ecfff0baeeb993af30f -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 17:06:13 + make test 17:06:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:06:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:06:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:06:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 17:06:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:06:28 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." 17:06:28 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:06:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:06:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:06:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:06:32 $ docker stop --time=1 b3f0d89156436196ded4028dc74b7a15978f05b930a35ecfff0baeeb993af30f 17:06:34 $ docker rm -f b3f0d89156436196ded4028dc74b7a15978f05b930a35ecfff0baeeb993af30f [Pipeline] // withDockerContainer [Pipeline] sh 17:06:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:06:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:06:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:06:35 + ls -al . 17:06:35 total 184 17:06:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 17:06 . 17:06:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:05 .. 17:06:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 17:05 .dockerignore 17:06:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:06 .git 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:05 .github 17:06:35 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 17:05 .gitignore 17:06:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 17:05 .golangci.yml 17:06:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:05 .semver 17:06:35 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 17:05 Attribution.txt 17:06:35 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 17:05 CHANGELOG.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 17:05 Dockerfile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 17:05 GOVERNANCE.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:05 Jenkinsfile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 17:05 LICENSE 17:06:35 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 17:05 Makefile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 17:05 OWNERS.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 17:05 README.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 17:05 VERSION 17:06:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:05 bin 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:05 cmd 17:06:35 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 17:06 coverage.out 17:06:35 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 17:05 go.mod 17:06:35 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 17:05 go.sum 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:05 internal 17:06:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:05 mock 17:06:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:05 snap 17:06:35 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 17:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:36 + 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=1ae20365080d91ee65f801e150a6fed247e9201d --label arch=amd64 --label version=2.3.0-dev.23 . 17:06:36 Sending build context to Docker daemon 6.167MB 17:06:36 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:06:36 Step 2/25 : FROM ${BASE} AS builder 17:06:36 ---> 8de532e64d8c 17:06:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:06:36 ---> Running in ef26990174d1 17:06:36 Removing intermediate container ef26990174d1 17:06:36 ---> ffc3d3c906d5 17:06:36 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:06:36 ---> Running in 32c9a0b76c6a 17:06:36 Removing intermediate container 32c9a0b76c6a 17:06:36 ---> 2376f412202b 17:06:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:06:36 ---> Running in 1f818b0591c4 17:06:36 Removing intermediate container 1f818b0591c4 17:06:36 ---> 02d28e190ed8 17:06:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:06:36 ---> Running in 3c1b4aeb2684 17:06:36 Removing intermediate container 3c1b4aeb2684 17:06:36 ---> 14e4a2cb9906 17:06:36 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:36 ---> Running in f1529d2fb999 17:06:37 Removing intermediate container f1529d2fb999 17:06:37 ---> 1b893ac535a5 17:06:37 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:06:37 ---> Running in b1908a87cfd3 17:06:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:06:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:06:38 OK: 216 MiB in 55 packages 17:06:38 Removing intermediate container b1908a87cfd3 17:06:38 ---> 37b040e9d956 17:06:38 Step 9/25 : WORKDIR /device-mqtt-go 17:06:38 ---> Running in aa770c5185ef 17:06:38 Removing intermediate container aa770c5185ef 17:06:38 ---> 2656f9746208 17:06:38 Step 10/25 : COPY go.mod vendor* ./ 17:06:39 ---> f0d674fa56b5 17:06:39 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:06:39 ---> Running in 587efa687de7 17:06:39 Removing intermediate container 587efa687de7 17:06:39 ---> 197fde68d2c5 17:06:39 Step 12/25 : COPY . . 17:06:40 ---> 718002376b90 17:06:40 Step 13/25 : RUN $MAKE 17:06:40 ---> Running in e049a05062e6 17:06:40 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:07:02 Removing intermediate container e049a05062e6 17:07:02 ---> fdd7364da20e 17:07:02 Step 14/25 : FROM alpine:3.16 17:07:02 3.16: Pulling from library/alpine 17:07:02 213ec9aee27d: Pulling fs layer 17:07:02 213ec9aee27d: Verifying Checksum 17:07:02 213ec9aee27d: Download complete 17:07:02 213ec9aee27d: Pull complete 17:07:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:07:02 Status: Downloaded newer image for alpine:3.16 17:07:02 ---> 9c6f07244728 17:07:02 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:07:02 ---> Running in 8b5f4351afa1 17:07:02 Removing intermediate container 8b5f4351afa1 17:07:02 ---> 78435c40680f 17:07:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:07:02 ---> Running in a43b269d8e09 17:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:07:02 (1/6) Installing dumb-init (1.2.5-r1) 17:07:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:07:02 (3/6) Installing libsodium (1.0.18-r0) 17:07:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:07:02 (5/6) Installing libzmq (4.3.4-r0) 17:07:02 (6/6) Installing zeromq (4.3.4-r0) 17:07:02 Executing busybox-1.35.0-r17.trigger 17:07:02 OK: 8 MiB in 20 packages 17:07:02 Removing intermediate container a43b269d8e09 17:07:02 ---> 90ae4f82c214 17:07:02 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 17:07:02 ---> 69eafb3e6175 17:07:02 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 17:07:03 ---> 50972b91a41c 17:07:03 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:07:03 ---> 5c569f054b2a 17:07:03 Step 20/25 : EXPOSE 59982 17:07:03 ---> Running in eb29e8099c42 17:07:03 Removing intermediate container eb29e8099c42 17:07:03 ---> 4cf7dffcd619 17:07:03 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 17:07:03 ---> Running in 3dd6b98de269 17:07:03 Removing intermediate container 3dd6b98de269 17:07:03 ---> c15d3a81adbb 17:07:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:07:03 ---> Running in 7eb5473d47d4 17:07:03 Removing intermediate container 7eb5473d47d4 17:07:03 ---> 85a0851c2e24 17:07:03 Step 23/25 : LABEL arch=amd64 17:07:03 ---> Running in a540f70fced2 17:07:03 Removing intermediate container a540f70fced2 17:07:03 ---> 108bdf3e14e5 17:07:03 Step 24/25 : LABEL git_sha=1ae20365080d91ee65f801e150a6fed247e9201d 17:07:03 ---> Running in 22db61d2aa2a 17:07:03 Removing intermediate container 22db61d2aa2a 17:07:03 ---> 89f380a80d87 17:07:03 Step 25/25 : LABEL version=2.3.0-dev.23 17:07:03 ---> Running in d6cc19fe4deb 17:07:03 Removing intermediate container d6cc19fe4deb 17:07:03 ---> db42e96028fd 17:07:03 [Warning] One or more build-args [ARCH] were not consumed 17:07:03 Successfully built db42e96028fd 17:07:03 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:03 provisioning config files... 17:07:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12035861222009744187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:04 ---> docker-login.sh 17:07:04 nexus3.edgexfoundry.org:10001 17:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:04 Configure a credential helper to remove this warning. See 17:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:04 17:07:04 Login Succeeded 17:07:04 nexus3.edgexfoundry.org:10002 17:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:04 Configure a credential helper to remove this warning. See 17:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:04 17:07:04 Login Succeeded 17:07:04 nexus3.edgexfoundry.org:10003 17:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:04 Configure a credential helper to remove this warning. See 17:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:04 17:07:04 Login Succeeded 17:07:04 nexus3.edgexfoundry.org:10004 17:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:04 Configure a credential helper to remove this warning. See 17:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:04 17:07:04 Login Succeeded 17:07:04 docker.io 17:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:05 Configure a credential helper to remove this warning. See 17:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:05 17:07:05 Login Succeeded 17:07:05 ---> docker-login.sh ends [Pipeline] } 17:07:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:07:05 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:07:05 1ae20365080d91ee65f801e150a6fed247e9201d 17:07:05 latest 17:07:05 2.3.0-dev.23 17:07:05 1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:07:05 main 17:07:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d 17:07:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:07:05 7bf6379a2347: Preparing 17:07:05 a4758db0ed14: Preparing 17:07:05 4654c9644006: Preparing 17:07:05 7c13f9705873: Preparing 17:07:05 994393dc58e7: Preparing 17:07:05 994393dc58e7: Layer already exists 17:07:05 a4758db0ed14: Pushed 17:07:05 7bf6379a2347: Pushed 17:07:05 7c13f9705873: Pushed 17:07:08 4654c9644006: Pushed 17:07:08 1ae20365080d91ee65f801e150a6fed247e9201d: digest: sha256:8b49d2c50b13eb026fc9f7ee786946301286c2da0ce1b14ab4b29dba883614c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:07:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:07:09 7bf6379a2347: Preparing 17:07:09 a4758db0ed14: Preparing 17:07:09 4654c9644006: Preparing 17:07:09 7c13f9705873: Preparing 17:07:09 994393dc58e7: Preparing 17:07:09 994393dc58e7: Layer already exists 17:07:09 7c13f9705873: Layer already exists 17:07:09 7bf6379a2347: Layer already exists 17:07:09 a4758db0ed14: Layer already exists 17:07:09 4654c9644006: Layer already exists 17:07:09 latest: digest: sha256:8b49d2c50b13eb026fc9f7ee786946301286c2da0ce1b14ab4b29dba883614c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:09 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.23 17:07:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:07:09 7bf6379a2347: Preparing 17:07:09 a4758db0ed14: Preparing 17:07:09 4654c9644006: Preparing 17:07:09 7c13f9705873: Preparing 17:07:09 994393dc58e7: Preparing 17:07:09 7c13f9705873: Layer already exists 17:07:09 7bf6379a2347: Layer already exists 17:07:09 4654c9644006: Layer already exists 17:07:09 994393dc58e7: Layer already exists 17:07:09 a4758db0ed14: Layer already exists 17:07:09 2.3.0-dev.23: digest: sha256:8b49d2c50b13eb026fc9f7ee786946301286c2da0ce1b14ab4b29dba883614c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:07:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:07:10 7bf6379a2347: Preparing 17:07:10 a4758db0ed14: Preparing 17:07:10 4654c9644006: Preparing 17:07:10 7c13f9705873: Preparing 17:07:10 994393dc58e7: Preparing 17:07:10 994393dc58e7: Layer already exists 17:07:10 7bf6379a2347: Layer already exists 17:07:10 a4758db0ed14: Layer already exists 17:07:10 4654c9644006: Layer already exists 17:07:10 7c13f9705873: Layer already exists 17:07:10 1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23: digest: sha256:8b49d2c50b13eb026fc9f7ee786946301286c2da0ce1b14ab4b29dba883614c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 17:07:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:07:10 7bf6379a2347: Preparing 17:07:10 a4758db0ed14: Preparing 17:07:10 4654c9644006: Preparing 17:07:10 7c13f9705873: Preparing 17:07:10 994393dc58e7: Preparing 17:07:10 7c13f9705873: Layer already exists 17:07:10 a4758db0ed14: Layer already exists 17:07:10 994393dc58e7: Layer already exists 17:07:10 4654c9644006: Layer already exists 17:07:10 7bf6379a2347: Layer already exists 17:07:10 main: digest: sha256:8b49d2c50b13eb026fc9f7ee786946301286c2da0ce1b14ab4b29dba883614c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:10 ===================================================== [Pipeline] echo 17:07:10 taggedImages: 17:07:10 - nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d 17:07:10 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:07:10 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.23 17:07:10 - nexus3.edgexfoundry.org:10004/device-mqtt:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:07:10 - 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 17:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:11 17:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:11 latest: Pulling from edgex-lftools-log-publisher 17:07:11 5eb5b503b376: Pulling fs layer 17:07:11 5c69ac0246d0: Pulling fs layer 17:07:11 ec43610c2a17: Pulling fs layer 17:07:11 3a2ae6a8a46f: Pulling fs layer 17:07:11 33b1e0a273af: Pulling fs layer 17:07:11 5d3b04190fa2: Pulling fs layer 17:07:11 2f39f015ded8: Pulling fs layer 17:07:11 5d3b04190fa2: Waiting 17:07:11 3a2ae6a8a46f: Waiting 17:07:11 33b1e0a273af: Waiting 17:07:11 2f39f015ded8: Waiting 17:07:11 5c69ac0246d0: Download complete 17:07:11 3a2ae6a8a46f: Verifying Checksum 17:07:11 3a2ae6a8a46f: Download complete 17:07:11 33b1e0a273af: Verifying Checksum 17:07:11 33b1e0a273af: Download complete 17:07:11 5d3b04190fa2: Verifying Checksum 17:07:11 5d3b04190fa2: Download complete 17:07:11 ec43610c2a17: Verifying Checksum 17:07:11 ec43610c2a17: Download complete 17:07:11 5eb5b503b376: Download complete 17:07:12 2f39f015ded8: Download complete 17:07:13 5eb5b503b376: Pull complete 17:07:13 5c69ac0246d0: Pull complete 17:07:13 ec43610c2a17: Pull complete 17:07:13 3a2ae6a8a46f: Pull complete 17:07:14 33b1e0a273af: Pull complete 17:07:14 5d3b04190fa2: Pull complete 17:07:19 2f39f015ded8: Pull complete 17:07:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:19 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:07:19 $ 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 17:07:23 $ docker top d14b976a665a25c1b3f3a534cb9e4f504189e0b05fc305aa36af642ddc655a04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:23 ---> job-cost.sh 17:07:23 lf-activate-venv: SKIPPING 17:07:23 INFO: No Stack... 17:07:23 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:24 INFO: Archiving Costs [Pipeline] sh 17:07:24 + + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csvcut 17:07:24 -d, -f6 [Pipeline] lock 17:07:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] 17:07:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] did not exist. Created. 17:07:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:24 + echo total: 0.2199999988079071 [Pipeline] stash 17:07:24 Stashed 1 file(s) [Pipeline] } 17:07:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:24 $ docker stop --time=1 d14b976a665a25c1b3f3a534cb9e4f504189e0b05fc305aa36af642ddc655a04 17:07:25 $ docker rm -f d14b976a665a25c1b3f3a534cb9e4f504189e0b05fc305aa36af642ddc655a04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:08:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7545 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 17:08:29 Running in /w/workspace/device-mqtt-go/70 [Pipeline] { [Pipeline] checkout 17:08:29 Selected Git installation does not exist. Using Default 17:08:29 The recommended git tool is: NONE 17:08:35 using credential edgex-jenkins-ssh 17:08:35 Cloning the remote Git repository 17:08:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:08:35 > git init /w/workspace/device-mqtt-go/70 # timeout=10 17:08:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:08:35 > git --version # timeout=10 17:08:35 > git --version # 'git version 2.25.1' 17:08:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:08:35 Verifying host key using known hosts file 17:08:36 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. 17:08:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:08:38 Avoid second fetch 17:08:38 Checking out Revision 1ae20365080d91ee65f801e150a6fed247e9201d (main) 17:08:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:08:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:08:38 > git config core.sparsecheckout # timeout=10 17:08:38 > git checkout -f 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 17:08:38 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#421)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:08:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:08:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:08:39 Dload Upload Total Spent Left Speed 17:08:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 178k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 17:08:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:08:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:08:40 + sudo tee /etc/docker/daemon.new 17:08:40 { 17:08:40 "registry-mirrors": [ 17:08:40 "https://nexus3.edgexfoundry.org:10001" 17:08:40 ], 17:08:40 "bip": "10.250.0.254/24", 17:08:40 "hosts": [ 17:08:40 "tcp://0.0.0.0:5555", 17:08:40 "unix:///var/run/docker.sock" 17:08:40 ], 17:08:40 "mtu": 1458, 17:08:40 "selinux-enabled": true, 17:08:40 "seccomp-profile": "/etc/docker/seccomp.json" 17:08:40 } [Pipeline] sh 17:08:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:08:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:59 provisioning config files... 17:08:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/70@tmp/config12758173262498601194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:00 ---> docker-login.sh 17:09:00 nexus3.edgexfoundry.org:10001 17:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:00 Configure a credential helper to remove this warning. See 17:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:00 17:09:00 Login Succeeded 17:09:00 nexus3.edgexfoundry.org:10002 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 nexus3.edgexfoundry.org:10003 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 nexus3.edgexfoundry.org:10004 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 docker.io 17:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:02 Configure a credential helper to remove this warning. See 17:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:02 17:09:02 Login Succeeded 17:09:02 ---> docker-login.sh ends [Pipeline] } 17:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:02 ========================================================= 17:09:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:09:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:03 + 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 . 17:09:03 Sending build context to Docker daemon 3.176MB 17:09:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:09:03 Step 2/13 : FROM ${BASE} AS builder 17:09:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:09:03 b3c136eddcbf: Pulling fs layer 17:09:03 c0a3192eca97: Pulling fs layer 17:09:03 a050256f5b6f: Pulling fs layer 17:09:03 656be50a0ddc: Pulling fs layer 17:09:03 2bbca73fdf42: Pulling fs layer 17:09:03 656be50a0ddc: Waiting 17:09:03 f607e4fc86c3: Pulling fs layer 17:09:03 4d572c569a2c: Pulling fs layer 17:09:03 fcf976331f73: Pulling fs layer 17:09:03 2bbca73fdf42: Waiting 17:09:03 f607e4fc86c3: Waiting 17:09:03 4d572c569a2c: Waiting 17:09:03 fcf976331f73: Waiting 17:09:03 a050256f5b6f: Download complete 17:09:03 c0a3192eca97: Verifying Checksum 17:09:03 c0a3192eca97: Download complete 17:09:03 2bbca73fdf42: Verifying Checksum 17:09:03 2bbca73fdf42: Download complete 17:09:03 f607e4fc86c3: Verifying Checksum 17:09:03 f607e4fc86c3: Download complete 17:09:03 b3c136eddcbf: Download complete 17:09:04 b3c136eddcbf: Pull complete 17:09:05 fcf976331f73: Verifying Checksum 17:09:05 fcf976331f73: Download complete 17:09:05 c0a3192eca97: Pull complete 17:09:05 a050256f5b6f: Pull complete 17:09:06 4d572c569a2c: Verifying Checksum 17:09:06 4d572c569a2c: Download complete 17:09:07 656be50a0ddc: Verifying Checksum 17:09:07 656be50a0ddc: Download complete 17:09:19 656be50a0ddc: Pull complete 17:09:19 2bbca73fdf42: Pull complete 17:09:19 f607e4fc86c3: Pull complete 17:09:24 4d572c569a2c: Pull complete 17:09:27 fcf976331f73: Pull complete 17:09:27 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 17:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:09:27 ---> 3970a7415f9e 17:09:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:09:29 ---> Running in a848f7947e38 17:09:29 Removing intermediate container a848f7947e38 17:09:29 ---> 8e495c012326 17:09:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:09:29 ---> Running in c469c2c4856a 17:09:29 Removing intermediate container c469c2c4856a 17:09:29 ---> 79a1d89aa5a1 17:09:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:09:30 ---> Running in 5fd4fdf4cb47 17:09:30 Removing intermediate container 5fd4fdf4cb47 17:09:30 ---> a0c7ad0e3070 17:09:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:09:30 ---> Running in 46c95c08012b 17:09:30 Removing intermediate container 46c95c08012b 17:09:30 ---> dd4ec08d6f0c 17:09:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:30 ---> Running in 015931cb4ab4 17:09:32 Removing intermediate container 015931cb4ab4 17:09:32 ---> 11a17e989a2e 17:09:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:32 ---> Running in 89301b6cc453 17:09:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:09:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:09:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:09:36 (2/4) Installing libedit (20210910.3.1-r0) 17:09:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:09:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:09:36 Executing busybox-1.35.0-r13.trigger 17:09:36 OK: 226 MiB in 55 packages 17:09:37 Removing intermediate container 89301b6cc453 17:09:37 ---> efcb83e841a9 17:09:37 Step 9/13 : WORKDIR /device-mqtt-go 17:09:37 ---> Running in e8f8b6265b2c 17:09:38 Removing intermediate container e8f8b6265b2c 17:09:38 ---> 04915af34b7b 17:09:38 Step 10/13 : COPY go.mod vendor* ./ 17:09:38 ---> 118f1efcffbb 17:09:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:09:38 ---> Running in 0ba94bec7cb9 17:10:35 Removing intermediate container 0ba94bec7cb9 17:10:35 ---> b0c94afbfc3d 17:10:35 Step 12/13 : COPY . . 17:10:35 ---> 7353e023a3a2 17:10:35 Step 13/13 : RUN $MAKE 17:10:35 ---> Running in 7b19f8d7c1af 17:10:35 noop 17:10:35 Removing intermediate container 7b19f8d7c1af 17:10:35 ---> be5535d73e30 17:10:35 Successfully built be5535d73e30 17:10:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:35 + docker inspect -f . ci-base-image-arm64 17:10:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-7545 does not seem to be running inside a container 17:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/70 -v /w/workspace/device-mqtt-go/70:/w/workspace/device-mqtt-go/70:rw,z -v /w/workspace/device-mqtt-go/70@tmp:/w/workspace/device-mqtt-go/70@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 17:10:37 $ docker top bdac59c507624ad603f011fd6ce3e3a25039beefee1a85e4533edd21e7d6d2f7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:38 + go version 17:10:38 go version go1.18.3 linux/arm64 [Pipeline] } 17:10:38 $ docker stop --time=1 bdac59c507624ad603f011fd6ce3e3a25039beefee1a85e4533edd21e7d6d2f7 17:10:39 $ docker rm -f bdac59c507624ad603f011fd6ce3e3a25039beefee1a85e4533edd21e7d6d2f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:40 + docker inspect -f . ci-base-image-arm64 17:10:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:40 prd-ubuntu20.04-docker-arm64-4c-16g-7545 does not seem to be running inside a container 17:10:40 $ 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/70 -v /w/workspace/device-mqtt-go/70:/w/workspace/device-mqtt-go/70:rw,z -v /w/workspace/device-mqtt-go/70@tmp:/w/workspace/device-mqtt-go/70@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 17:10:41 $ docker top cc4e77ed3b02dfb0453c3c13c6e4f80b46cb2e77285ab348f43041495e5efe92 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:42 + git config --global --add safe.directory /w/workspace/device-mqtt-go/70 [Pipeline] fileExists [Pipeline] sh 17:10:43 + make test 17:10:43 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:10:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:12:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:12:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 17:12:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:12:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:12:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:12:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:12:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:12:43 ./bin/test-attribution-txt.sh [Pipeline] echo 17:12:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:12:44 $ docker stop --time=1 cc4e77ed3b02dfb0453c3c13c6e4f80b46cb2e77285ab348f43041495e5efe92 17:12:45 $ docker rm -f cc4e77ed3b02dfb0453c3c13c6e4f80b46cb2e77285ab348f43041495e5efe92 [Pipeline] // withDockerContainer [Pipeline] sh 17:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:12:46 Warning: overwriting stash ‘coverage-report’ 17:12:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:12:48 + ls -al . 17:12:48 total 180 17:12:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 17:10 . 17:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:08 .. 17:12:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 17:08 .dockerignore 17:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:08 .git 17:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:08 .github 17:12:48 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 17:08 .gitignore 17:12:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 17:08 .golangci.yml 17:12:48 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 17:08 Attribution.txt 17:12:48 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 17:08 CHANGELOG.md 17:12:48 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 17:08 Dockerfile 17:12:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 17:08 GOVERNANCE.md 17:12:48 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:08 Jenkinsfile 17:12:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 17:08 LICENSE 17:12:48 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 17:08 Makefile 17:12:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 17:08 OWNERS.md 17:12:48 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 17:08 README.md 17:12:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 17:05 VERSION 17:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:08 bin 17:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:08 cmd 17:12:48 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 17:12 coverage.out 17:12:48 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 17:08 go.mod 17:12:48 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 17:08 go.sum 17:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:08 internal 17:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:08 mock 17:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:08 snap 17:12:48 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 17:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:48 + 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=1ae20365080d91ee65f801e150a6fed247e9201d --label arch=arm64 --label version=2.3.0-dev.23 . 17:12:48 Sending build context to Docker daemon 3.194MB 17:12:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:12:48 Step 2/25 : FROM ${BASE} AS builder 17:12:48 ---> be5535d73e30 17:12:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:12:48 ---> Running in 74cc8abc98fb 17:12:49 Removing intermediate container 74cc8abc98fb 17:12:49 ---> 26bfd54fc334 17:12:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:49 ---> Running in 9b41137da824 17:12:49 Removing intermediate container 9b41137da824 17:12:49 ---> 9d0235464d3a 17:12:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:12:49 ---> Running in 7583cc69316d 17:12:50 Removing intermediate container 7583cc69316d 17:12:50 ---> 3c9d53145eb0 17:12:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:12:50 ---> Running in 2febbe6da160 17:12:50 Removing intermediate container 2febbe6da160 17:12:50 ---> 378dd4fe6737 17:12:50 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:50 ---> Running in a1ec9bd0e84c 17:12:53 Removing intermediate container a1ec9bd0e84c 17:12:53 ---> 0903e4912e53 17:12:53 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:53 ---> Running in bc5c5828cbe2 17:12:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:12:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:12:56 OK: 226 MiB in 55 packages 17:12:57 Removing intermediate container bc5c5828cbe2 17:12:57 ---> f92148baa5c2 17:12:57 Step 9/25 : WORKDIR /device-mqtt-go 17:12:57 ---> Running in 2e3f92f7168a 17:12:58 Removing intermediate container 2e3f92f7168a 17:12:58 ---> aa8160aaba7c 17:12:58 Step 10/25 : COPY go.mod vendor* ./ 17:12:58 ---> 43f4b533602c 17:12:58 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:58 ---> Running in fad2f13b27d0 17:13:01 Removing intermediate container fad2f13b27d0 17:13:01 ---> c1695dd19c82 17:13:01 Step 12/25 : COPY . . 17:13:01 ---> 26ea167d2c1d 17:13:01 Step 13/25 : RUN $MAKE 17:13:01 ---> Running in bd1bc5657d62 17:13:02 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:15:54 Removing intermediate container bd1bc5657d62 17:15:54 ---> bf74b173ae5b 17:15:54 Step 14/25 : FROM alpine:3.16 17:15:54 3.16: Pulling from library/alpine 17:15:54 9b18e9b68314: Pulling fs layer 17:15:54 9b18e9b68314: Verifying Checksum 17:15:54 9b18e9b68314: Download complete 17:15:54 9b18e9b68314: Pull complete 17:15:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:15:54 Status: Downloaded newer image for alpine:3.16 17:15:54 ---> a6215f271958 17:15:54 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:15:54 ---> Running in 78da3f0abca2 17:15:54 Removing intermediate container 78da3f0abca2 17:15:54 ---> cf301855e273 17:15:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:15:54 ---> Running in 95c80d5a2376 17:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:15:54 (1/6) Installing dumb-init (1.2.5-r1) 17:15:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:15:54 (3/6) Installing libsodium (1.0.18-r0) 17:15:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:15:54 (5/6) Installing libzmq (4.3.4-r0) 17:15:54 (6/6) Installing zeromq (4.3.4-r0) 17:15:54 Executing busybox-1.35.0-r17.trigger 17:15:54 OK: 8 MiB in 20 packages 17:15:54 Removing intermediate container 95c80d5a2376 17:15:54 ---> 064d63371eef 17:15:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 17:15:54 ---> 32df56c5ac8e 17:15:54 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 17:15:54 ---> adb627ee3208 17:15:54 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:15:54 ---> 81fc5feb9652 17:15:54 Step 20/25 : EXPOSE 59982 17:15:54 ---> Running in 0ef3bd4db8ba 17:15:54 Removing intermediate container 0ef3bd4db8ba 17:15:54 ---> 43645911f34a 17:15:54 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 17:15:54 ---> Running in 1222ea286a99 17:15:54 Removing intermediate container 1222ea286a99 17:15:54 ---> 008b683ac96b 17:15:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:15:54 ---> Running in aa15ec9e9243 17:15:54 Removing intermediate container aa15ec9e9243 17:15:54 ---> 77d87e98b1bc 17:15:54 Step 23/25 : LABEL arch=arm64 17:15:54 ---> Running in c53def6dc7a7 17:15:54 Removing intermediate container c53def6dc7a7 17:15:54 ---> 95bbad7b923d 17:15:54 Step 24/25 : LABEL git_sha=1ae20365080d91ee65f801e150a6fed247e9201d 17:15:54 ---> Running in 5eb5414fd67f 17:15:54 Removing intermediate container 5eb5414fd67f 17:15:54 ---> fabfcc2c4c53 17:15:54 Step 25/25 : LABEL version=2.3.0-dev.23 17:15:54 ---> Running in 23eab897a93e 17:15:54 Removing intermediate container 23eab897a93e 17:15:54 ---> 2bbd40676b4e 17:15:54 [Warning] One or more build-args [ARCH] were not consumed 17:15:54 Successfully built 2bbd40676b4e 17:15:54 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 17:15:54 provisioning config files... 17:15:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/70@tmp/config16021194340214521442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:54 ---> docker-login.sh 17:15:54 nexus3.edgexfoundry.org:10001 17:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:55 Configure a credential helper to remove this warning. See 17:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:55 17:15:55 Login Succeeded 17:15:55 nexus3.edgexfoundry.org:10002 17:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:55 Configure a credential helper to remove this warning. See 17:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:55 17:15:55 Login Succeeded 17:15:55 nexus3.edgexfoundry.org:10003 17:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:56 Configure a credential helper to remove this warning. See 17:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:56 17:15:56 Login Succeeded 17:15:56 nexus3.edgexfoundry.org:10004 17:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:56 Configure a credential helper to remove this warning. See 17:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:56 17:15:56 Login Succeeded 17:15:56 docker.io 17:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:57 Configure a credential helper to remove this warning. See 17:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:57 17:15:57 Login Succeeded 17:15:57 ---> docker-login.sh ends [Pipeline] } 17:15:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:57 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 17:15:57 1ae20365080d91ee65f801e150a6fed247e9201d 17:15:57 latest 17:15:57 2.3.0-dev.23 17:15:57 1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:15:57 main 17:15:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d 17:15:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:15:57 aefffe5ae793: Preparing 17:15:57 77d64aa1df10: Preparing 17:15:57 7b3ba1177b1e: Preparing 17:15:57 db73fccddc8f: Preparing 17:15:57 5d3e392a13a0: Preparing 17:15:57 5d3e392a13a0: Layer already exists 17:15:58 77d64aa1df10: Pushed 17:15:58 aefffe5ae793: Pushed 17:15:58 db73fccddc8f: Pushed 17:16:04 7b3ba1177b1e: Pushed 17:16:04 1ae20365080d91ee65f801e150a6fed247e9201d: digest: sha256:03c1f916227b0eb3f99f815a187f0d19069cae637f5edf5a06e689905c964a12 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:16:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:16:04 aefffe5ae793: Preparing 17:16:04 77d64aa1df10: Preparing 17:16:04 7b3ba1177b1e: Preparing 17:16:04 db73fccddc8f: Preparing 17:16:04 5d3e392a13a0: Preparing 17:16:04 5d3e392a13a0: Layer already exists 17:16:04 db73fccddc8f: Layer already exists 17:16:04 77d64aa1df10: Layer already exists 17:16:04 7b3ba1177b1e: Layer already exists 17:16:04 aefffe5ae793: Layer already exists 17:16:05 latest: digest: sha256:03c1f916227b0eb3f99f815a187f0d19069cae637f5edf5a06e689905c964a12 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.23 17:16:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:16:05 aefffe5ae793: Preparing 17:16:05 77d64aa1df10: Preparing 17:16:05 7b3ba1177b1e: Preparing 17:16:05 db73fccddc8f: Preparing 17:16:05 5d3e392a13a0: Preparing 17:16:05 db73fccddc8f: Layer already exists 17:16:05 7b3ba1177b1e: Layer already exists 17:16:05 5d3e392a13a0: Layer already exists 17:16:05 77d64aa1df10: Layer already exists 17:16:05 aefffe5ae793: Layer already exists 17:16:05 2.3.0-dev.23: digest: sha256:03c1f916227b0eb3f99f815a187f0d19069cae637f5edf5a06e689905c964a12 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:16:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:16:06 aefffe5ae793: Preparing 17:16:06 77d64aa1df10: Preparing 17:16:06 7b3ba1177b1e: Preparing 17:16:06 db73fccddc8f: Preparing 17:16:06 5d3e392a13a0: Preparing 17:16:06 77d64aa1df10: Layer already exists 17:16:06 5d3e392a13a0: Layer already exists 17:16:06 7b3ba1177b1e: Layer already exists 17:16:06 aefffe5ae793: Layer already exists 17:16:06 db73fccddc8f: Layer already exists 17:16:07 1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23: digest: sha256:03c1f916227b0eb3f99f815a187f0d19069cae637f5edf5a06e689905c964a12 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 17:16:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:16:07 aefffe5ae793: Preparing 17:16:07 77d64aa1df10: Preparing 17:16:07 7b3ba1177b1e: Preparing 17:16:07 db73fccddc8f: Preparing 17:16:07 5d3e392a13a0: Preparing 17:16:07 77d64aa1df10: Layer already exists 17:16:07 db73fccddc8f: Layer already exists 17:16:07 5d3e392a13a0: Layer already exists 17:16:07 7b3ba1177b1e: Layer already exists 17:16:07 aefffe5ae793: Layer already exists 17:16:08 main: digest: sha256:03c1f916227b0eb3f99f815a187f0d19069cae637f5edf5a06e689905c964a12 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:16:08 ===================================================== [Pipeline] echo 17:16:08 taggedImages: 17:16:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d 17:16:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:16:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.23 17:16:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1ae20365080d91ee65f801e150a6fed247e9201d-2.3.0-dev.23 17:16:08 - 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 17:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:08 17:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:09 arm64: Pulling from edgex-lftools-log-publisher 17:16:09 8998bd30e6a1: Pulling fs layer 17:16:09 04944245beec: Pulling fs layer 17:16:09 699f458cf7ca: Pulling fs layer 17:16:09 765212b225bb: Pulling fs layer 17:16:09 f23df028b6ca: Pulling fs layer 17:16:09 d65c8cfc05b1: Pulling fs layer 17:16:09 2437ff75d9bd: Pulling fs layer 17:16:09 765212b225bb: Waiting 17:16:09 d65c8cfc05b1: Waiting 17:16:09 f23df028b6ca: Waiting 17:16:09 2437ff75d9bd: Waiting 17:16:09 04944245beec: Verifying Checksum 17:16:09 04944245beec: Download complete 17:16:09 765212b225bb: Verifying Checksum 17:16:09 765212b225bb: Download complete 17:16:09 f23df028b6ca: Verifying Checksum 17:16:09 f23df028b6ca: Download complete 17:16:09 d65c8cfc05b1: Verifying Checksum 17:16:09 d65c8cfc05b1: Download complete 17:16:09 699f458cf7ca: Verifying Checksum 17:16:09 699f458cf7ca: Download complete 17:16:09 8998bd30e6a1: Verifying Checksum 17:16:09 8998bd30e6a1: Download complete 17:16:12 2437ff75d9bd: Verifying Checksum 17:16:12 2437ff75d9bd: Download complete 17:16:14 8998bd30e6a1: Pull complete 17:16:16 04944245beec: Pull complete 17:16:17 699f458cf7ca: Pull complete 17:16:17 765212b225bb: Pull complete 17:16:18 f23df028b6ca: Pull complete 17:16:18 d65c8cfc05b1: Pull complete 17:16:33 2437ff75d9bd: Pull complete 17:16:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:33 prd-ubuntu20.04-docker-arm64-4c-16g-7545 does not seem to be running inside a container 17:16:34 $ 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/70 -v /w/workspace/device-mqtt-go/70:/w/workspace/device-mqtt-go/70:rw,z -v /w/workspace/device-mqtt-go/70@tmp:/w/workspace/device-mqtt-go/70@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 17:16:36 $ docker top bb03ffc0913ee518fff5fbaf9ef5d65dfa8099ae642ffcff2f3f09a5cd647eb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:37 ---> job-cost.sh 17:16:37 lf-activate-venv: SKIPPING 17:16:37 INFO: No Stack... 17:16:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:16:38 INFO: Archiving Costs [Pipeline] sh 17:16:39 + + cutcat -d, /w/workspace/device-mqtt-go/70/archives/cost.csv -f6 17:16:39 [Pipeline] lock 17:16:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] 17:16:39 Resource [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] did not exist. Created. 17:16:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:40 /w/workspace/device-mqtt-go/70@tmp/durable-b0a7523c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:16:40 + echo total: 0.10999999940395355 [Pipeline] stash 17:16:40 Warning: overwriting stash ‘stack-cost’ 17:16:41 Stashed 1 file(s) [Pipeline] } 17:16:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:41 $ docker stop --time=1 bb03ffc0913ee518fff5fbaf9ef5d65dfa8099ae642ffcff2f3f09a5cd647eb8 17:16:42 $ docker rm -f bb03ffc0913ee518fff5fbaf9ef5d65dfa8099ae642ffcff2f3f09a5cd647eb8 [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 17:16:42 provisioning config files... 17:16:42 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14804406217392813871tmp [Pipeline] { [Pipeline] sh 17:16:43 + set +x 17:16:43 + curl -s https://codecov.io/bash 17:16:43 + bash -s -- 17:16:43 17:16:43 _____ _ 17:16:43 / ____| | | 17:16:43 | | ___ __| | ___ ___ _____ __ 17:16:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:16:43 | |___| (_) | (_| | __/ (_| (_) \ V / 17:16:43 \_____\___/ \__,_|\___|\___\___/ \_/ 17:16:43 Bash-1.0.6 17:16:43 17:16:43 17:16:43 ==> git version 2.25.1 found 17:16:43 ==> 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 17:16:43 Release-Date: 2020-01-08 17:16:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:16:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:16:43 ==> Jenkins CI detected. 17:16:43 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 17:16:43 project root: . 17:16:43 --> token set from env 17:16:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:16:43 ==> Running gcov in . (disable via -X gcov) 17:16:43 ==> Python coveragepy not found 17:16:43 ==> Searching for coverage reports in: 17:16:43 + . 17:16:43 -> Found 1 reports 17:16:43 ==> Detecting git/mercurial file structure 17:16:43 ==> Reading reports 17:16:43 + ./coverage.out bytes=17887 17:16:43 ==> Appending adjustments 17:16:43 https://docs.codecov.io/docs/fixing-reports 17:16:43 + Found adjustments 17:16:43 ==> Gzipping contents 17:16:43 4.0K /tmp/codecov.Kso3WW.gz 17:16:43 ==> Uploading reports 17:16:43 url: https://codecov.io 17:16:43 query: branch=main&commit=1ae20365080d91ee65f801e150a6fed247e9201d&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:43 -> Pinging Codecov 17:16:43 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=1ae20365080d91ee65f801e150a6fed247e9201d&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:43 -> Uploading to 17:16:43 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/1ae20365080d91ee65f801e150a6fed247e9201d/c2f7ada8-29ad-4bf2-9245-b2a8cea6b648.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T171643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5a31464363d944c48041c4ca5a3f50241656e4b9e6e64ef7295f6c613a841ff 17:16:43 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:43 Dload Upload Total Spent Left Speed 17:16:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13313 --:--:-- --:--:-- --:--:-- 13313 17:16:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] } 17:16:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:16:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:16:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:44 17:16:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:16:44 df9b9388f04a: Pulling fs layer 17:16:44 52dc419b0ee2: Pulling fs layer 17:16:44 25bc292e5bac: Pulling fs layer 17:16:44 114826534d7a: Pulling fs layer 17:16:44 4657fd5d0bcf: Pulling fs layer 17:16:44 6ad1cebc031e: Pulling fs layer 17:16:44 8a3aa393b2d8: Pulling fs layer 17:16:44 6ad1cebc031e: Waiting 17:16:44 8a3aa393b2d8: Waiting 17:16:44 4657fd5d0bcf: Waiting 17:16:44 25bc292e5bac: Verifying Checksum 17:16:44 25bc292e5bac: Download complete 17:16:44 52dc419b0ee2: Verifying Checksum 17:16:44 52dc419b0ee2: Download complete 17:16:44 4657fd5d0bcf: Verifying Checksum 17:16:44 4657fd5d0bcf: Download complete 17:16:44 df9b9388f04a: Verifying Checksum 17:16:44 df9b9388f04a: Download complete 17:16:45 6ad1cebc031e: Verifying Checksum 17:16:45 6ad1cebc031e: Download complete 17:16:45 df9b9388f04a: Pull complete 17:16:45 52dc419b0ee2: Pull complete 17:16:45 25bc292e5bac: Pull complete 17:16:45 114826534d7a: Verifying Checksum 17:16:45 114826534d7a: Download complete 17:16:45 8a3aa393b2d8: Verifying Checksum 17:16:45 8a3aa393b2d8: Download complete 17:16:49 114826534d7a: Pull complete 17:16:49 4657fd5d0bcf: Pull complete 17:16:49 6ad1cebc031e: Pull complete 17:16:51 8a3aa393b2d8: Pull complete 17:16:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:51 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:16:51 $ 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 17:16:55 $ docker top d5614b32a964e248ac11181723a50381742203b4acb0278990737e88825ea262 -eo pid,comm [Pipeline] { [Pipeline] echo 17:16:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 17:16:55 + set -o pipefail 17:16:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 17:17:00 17:17:00 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 17:17:00 17:17:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/6ccc7d8b-de94-4fb2-8f3a-ffcae26ccc87 17:17:00 17:17:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:17:00 17:17:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:17:00 17:17:01 17:17:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:17:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:17:01 More details here: https://snyk.co/ue1NS [Pipeline] } 17:17:01 $ docker stop --time=1 d5614b32a964e248ac11181723a50381742203b4acb0278990737e88825ea262 17:17:04 $ docker rm -f d5614b32a964e248ac11181723a50381742203b4acb0278990737e88825ea262 [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 17:17:05 + git log --format=format:%s -1 1ae20365080d91ee65f801e150a6fed247e9201d [Pipeline] sh 17:17:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:05 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:17:06 $ 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 17:17:06 $ docker top 13dcaa706828cda5490eafd704f260b6ea7196fa897b143faf0279123856368d -eo pid,comm 17:17:06 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). 17:17:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:06 [ssh-agent] Looking for ssh-agent implementation... 17:17:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:06 $ docker exec 13dcaa706828cda5490eafd704f260b6ea7196fa897b143faf0279123856368d ssh-agent 17:17:06 SSH_AUTH_SOCK=/tmp/ssh-FmXewC9PdYKV/agent.32 17:17:06 SSH_AGENT_PID=38 17:17:06 Running ssh-add (command line suppressed) 17:17:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2188029086258411602.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2188029086258411602.key) 17:17:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:07 + git semver tag 17:17:07 2022-10-10 17:17:07,275 [run_tag] DEBUG tag force:False 17:17:07 2022-10-10 17:17:07,275 [check_head_tag] DEBUG check head tag 17:17:07 2022-10-10 17:17:07,276 [execute] INFO git cat-file --batch-check 17:17:07 2022-10-10 17:17:07,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 17:17:07 2022-10-10 17:17:07,280 [execute] INFO git cat-file --batch 17:17:07 2022-10-10 17:17:07,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 17:17:07 2022-10-10 17:17:07,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:07 2022-10-10 17:17:07,294 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 17:17:07 2022-10-10 17:17:07,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 17:17:07 2022-10-10 17:17:07,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:07 2.3.0-dev.23 [Pipeline] } 17:17:07 $ docker exec --env ******** --env ******** 13dcaa706828cda5490eafd704f260b6ea7196fa897b143faf0279123856368d ssh-agent -k 17:17:07 unset SSH_AUTH_SOCK; 17:17:07 unset SSH_AGENT_PID; 17:17:07 echo Agent pid 38 killed; 17:17:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:07 + git semver [Pipeline] } 17:17:08 $ docker stop --time=1 13dcaa706828cda5490eafd704f260b6ea7196fa897b143faf0279123856368d 17:17:09 $ docker rm -f 13dcaa706828cda5490eafd704f260b6ea7196fa897b143faf0279123856368d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:17:09 17:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:17:09 0.23.1-centos7: Pulling from edgex-lftools 17:17:09 ab5ef0e58194: Pulling fs layer 17:17:09 9712f1f96733: Pulling fs layer 17:17:09 63f879dbbcfc: Pulling fs layer 17:17:09 0d9ebad4ef96: Pulling fs layer 17:17:09 e9a5061849ea: Pulling fs layer 17:17:09 0d9ebad4ef96: Waiting 17:17:09 d747dcd14b5f: Pulling fs layer 17:17:09 2de7ff778b66: Pulling fs layer 17:17:09 d747dcd14b5f: Waiting 17:17:09 e9a5061849ea: Waiting 17:17:09 9712f1f96733: Download complete 17:17:10 63f879dbbcfc: Verifying Checksum 17:17:10 63f879dbbcfc: Download complete 17:17:10 e9a5061849ea: Verifying Checksum 17:17:10 e9a5061849ea: Download complete 17:17:10 d747dcd14b5f: Verifying Checksum 17:17:10 d747dcd14b5f: Download complete 17:17:10 0d9ebad4ef96: Verifying Checksum 17:17:10 ab5ef0e58194: Verifying Checksum 17:17:10 ab5ef0e58194: Download complete 17:17:10 2de7ff778b66: Verifying Checksum 17:17:10 2de7ff778b66: Download complete 17:17:13 ab5ef0e58194: Pull complete 17:17:13 9712f1f96733: Pull complete 17:17:13 63f879dbbcfc: Pull complete 17:17:17 0d9ebad4ef96: Pull complete 17:17:17 e9a5061849ea: Pull complete 17:17:17 d747dcd14b5f: Pull complete 17:17:18 2de7ff778b66: Pull complete 17:17:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:17:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:18 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:17:18 $ 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 17:17:24 $ docker top af29c36e3aa24672c0a944e1a11c869374519c0826042f0a611abb05232a3b06 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:17:24 provisioning config files... 17:17:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16204288449868883771tmp 17:17:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2494591734436151297tmp 17:17:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6059408040854740997tmp [Pipeline] { [Pipeline] echo 17:17:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:17:24 ---> sigul-configuration.sh 17:17:24 gpg: directory `/root/.gnupg' created 17:17:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:17:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:17:24 gpg: keyring `/root/.gnupg/secring.gpg' created 17:17:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:17:24 gpg: CAST5 encrypted data 17:17:24 gpg: encrypted with 1 passphrase 17:17:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:17:25 + mkdir /home/jenkins 17:17:25 + mkdir /home/jenkins/sigul [Pipeline] sh 17:17:25 + 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 17:17:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:17:25 ---> sigul-install.sh 17:17:25 Sigul already installed; skipping installation. [Pipeline] sh 17:17:25 + git tag --list 17:17:25 0.7.1 17:17:25 v1.0.0 17:17:25 v1.1.0 17:17:25 v1.1.1 17:17:25 v1.2.2 17:17:25 v1.3.0 17:17:25 v1.3.1 17:17:25 v2.0.0 17:17:25 v2.1.0 17:17:25 v2.1.1 17:17:25 v2.1.1-dev.1 17:17:25 v2.1.1-dev.2 17:17:25 v2.2.0 17:17:25 v2.2.1-dev.1 17:17:25 v2.2.1-dev.10 17:17:25 v2.2.1-dev.2 17:17:25 v2.2.1-dev.3 17:17:25 v2.2.1-dev.4 17:17:25 v2.2.1-dev.5 17:17:25 v2.2.1-dev.6 17:17:25 v2.2.1-dev.7 17:17:25 v2.2.1-dev.8 17:17:25 v2.2.1-dev.9 17:17:25 v2.3.0-dev.10 17:17:25 v2.3.0-dev.11 17:17:25 v2.3.0-dev.12 17:17:25 v2.3.0-dev.13 17:17:25 v2.3.0-dev.14 17:17:25 v2.3.0-dev.15 17:17:25 v2.3.0-dev.16 17:17:25 v2.3.0-dev.17 17:17:25 v2.3.0-dev.18 17:17:25 v2.3.0-dev.19 17:17:25 v2.3.0-dev.20 17:17:25 v2.3.0-dev.21 17:17:25 v2.3.0-dev.22 17:17:25 v2.3.0-dev.23 [Pipeline] sh 17:17:26 + lftools sign git-tag v2.3.0-dev.23 17:17:26 Signing Git tag with Sigul... 17:17:26 Signing v2.3.0-dev.23 [Pipeline] echo 17:17:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:17:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:17:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:17:27 $ docker stop --time=1 af29c36e3aa24672c0a944e1a11c869374519c0826042f0a611abb05232a3b06 17:17:29 $ docker rm -f af29c36e3aa24672c0a944e1a11c869374519c0826042f0a611abb05232a3b06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:17:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:29 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:17:29 $ 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 17:17:30 $ docker top ec5575bbf338bdb363c057eb781b4dc093cfea5beeac1fd334b98d3335a055f7 -eo pid,comm 17:17:30 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). 17:17:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:30 [ssh-agent] Looking for ssh-agent implementation... 17:17:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:30 $ docker exec ec5575bbf338bdb363c057eb781b4dc093cfea5beeac1fd334b98d3335a055f7 ssh-agent 17:17:30 SSH_AUTH_SOCK=/tmp/ssh-e8w2VwoF7lml/agent.32 17:17:30 SSH_AGENT_PID=38 17:17:30 Running ssh-add (command line suppressed) 17:17:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14179800472690887632.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14179800472690887632.key) 17:17:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:30 + git semver bump pre 17:17:31 2022-10-10 17:17:31,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:31 2022-10-10 17:17:31,031 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev 17:17:31 2022-10-10 17:17:31,031 [bump_version] DEBUG bumped version:2.3.0-dev.24 17:17:31 2022-10-10 17:17:31,032 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 17:17:31 2022-10-10 17:17:31,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:31 2022-10-10 17:17:31,032 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:31 2022-10-10 17:17:31,033 [execute] INFO git cat-file --batch-check 17:17:31 2022-10-10 17:17:31,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:31 2022-10-10 17:17:31,038 [execute] INFO git cat-file --batch 17:17:31 2022-10-10 17:17:31,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:31 2022-10-10 17:17:31,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:31 2.3.0-dev.24 [Pipeline] } 17:17:31 $ docker exec --env ******** --env ******** ec5575bbf338bdb363c057eb781b4dc093cfea5beeac1fd334b98d3335a055f7 ssh-agent -k 17:17:31 unset SSH_AUTH_SOCK; 17:17:31 unset SSH_AGENT_PID; 17:17:31 echo Agent pid 38 killed; 17:17:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:31 + git semver [Pipeline] } 17:17:31 $ docker stop --time=1 ec5575bbf338bdb363c057eb781b4dc093cfea5beeac1fd334b98d3335a055f7 17:17:33 $ docker rm -f ec5575bbf338bdb363c057eb781b4dc093cfea5beeac1fd334b98d3335a055f7 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:33 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:17:33 $ 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 17:17:34 $ docker top 08c3dc79bd45fd2a8f8a822f9c4c87f705a9aacacfcdf3096ac7996e07e760b7 -eo pid,comm 17:17:34 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). 17:17:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:34 [ssh-agent] Looking for ssh-agent implementation... 17:17:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:34 $ docker exec 08c3dc79bd45fd2a8f8a822f9c4c87f705a9aacacfcdf3096ac7996e07e760b7 ssh-agent 17:17:34 SSH_AUTH_SOCK=/tmp/ssh-Mg6QioZYre5H/agent.32 17:17:34 SSH_AGENT_PID=38 17:17:34 Running ssh-add (command line suppressed) 17:17:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12777867478660081514.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12777867478660081514.key) 17:17:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:34 + git semver push 17:17:35 2022-10-10 17:17:34,967 [run_push] DEBUG push 17:17:35 2022-10-10 17:17:34,968 [execute] INFO git cat-file --batch-check 17:17:35 2022-10-10 17:17:34,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:35 2022-10-10 17:17:34,972 [execute] INFO git rev-list 905566e8c0aefba9c6b0d86c53514f41dd655bf5 -- 17:17:35 2022-10-10 17:17:34,972 [execute] DEBUG Popen(['git', 'rev-list', '905566e8c0aefba9c6b0d86c53514f41dd655bf5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:35 2022-10-10 17:17:34,980 [execute] INFO git fetch -v origin 17:17:35 2022-10-10 17:17:34,980 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:17:35 2022-10-10 17:17:35,599 [run_push] DEBUG no remote changes detected 17:17:35 2022-10-10 17:17:35,599 [execute] INFO git push origin semver 17:17:35 2022-10-10 17:17:35,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:36 2022-10-10 17:17:36,378 [run_push] DEBUG push all version tags 17:17:36 2022-10-10 17:17:36,378 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:17:36 2022-10-10 17:17:36,379 [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) 17:17:37 2022-10-10 17:17:37,331 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:17:37 2.3.0-dev.24 [Pipeline] } 17:17:37 $ docker exec --env ******** --env ******** 08c3dc79bd45fd2a8f8a822f9c4c87f705a9aacacfcdf3096ac7996e07e760b7 ssh-agent -k 17:17:37 unset SSH_AUTH_SOCK; 17:17:37 unset SSH_AGENT_PID; 17:17:37 echo Agent pid 38 killed; 17:17:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:37 + git semver [Pipeline] } 17:17:38 $ docker stop --time=1 08c3dc79bd45fd2a8f8a822f9c4c87f705a9aacacfcdf3096ac7996e07e760b7 17:17:39 $ docker rm -f 08c3dc79bd45fd2a8f8a822f9c4c87f705a9aacacfcdf3096ac7996e07e760b7 [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 17:17:40 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 17:17:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:17:40 total 16 17:17:40 drwxr-xr-x 3 root root 4096 Oct 10 17:07 . 17:17:40 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:17 .. 17:17:40 drwxr-xr-x 2 root root 4096 Oct 10 17:07 cost 17:17:40 -rw-r--r-- 1 root root 85 Oct 10 17:07 cost.csv 17:17:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:17:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:17:40 total 16 17:17:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:07 . 17:17:40 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:17 .. 17:17:40 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 17:07 cost 17:17:40 -rw-r--r-- 1 jenkins jenkins 85 Oct 10 17:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:17:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:17:41 ---> package-listing.sh 17:17:41 ++ facter osfamily 17:17:41 ++ tr '[:upper:]' '[:lower:]' 17:17:41 + OS_FAMILY=debian 17:17:41 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 17:17:41 + START_PACKAGES=/tmp/packages_start.txt 17:17:41 + END_PACKAGES=/tmp/packages_end.txt 17:17:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:17:41 + PACKAGES=/tmp/packages_start.txt 17:17:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 17:17:41 + PACKAGES=/tmp/packages_end.txt 17:17:41 + case "${OS_FAMILY}" in 17:17:41 + dpkg -l 17:17:41 + grep '^ii' 17:17:41 + '[' -f /tmp/packages_start.txt ']' 17:17:41 + '[' -f /tmp/packages_end.txt ']' 17:17:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:17:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 17:17:41 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 17:17:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 17:17:41 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 17:17:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:42 prd-ubuntu20.04-docker-8c-8g-7542 does not seem to be running inside a container 17:17:42 $ 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 17:17:42 $ docker top 0a55ca26eec5530655b85ca0593f27ef36fbd4409cda7b7ffabaee1557d3df62 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:43 + touch /tmp/pre-build-complete [Pipeline] sh 17:17:43 + mkdir -p /var/log/sysstat [Pipeline] sh 17:17:43 + ls /var/log/sa-host 17:17:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:43 provisioning config files... 17:17:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2382213882012457361tmp [Pipeline] { [Pipeline] echo 17:17:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:17:44 ---> create-netrc.sh [Pipeline] } 17:17:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:17:44 ---> python-tools-install.sh [Pipeline] echo 17:17:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:17:44 ---> sudo-logs.sh 17:17:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:17:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:17:44 ---> job-cost.sh 17:17:44 lf-activate-venv: SKIPPING 17:17:44 DEBUG: total: 0.2199999988079071 17:17:44 INFO: Retrieving Stack Cost... 17:17:45 INFO: Retrieving Pricing Info for: v3-standard-8 17:17:45 INFO: Archiving Costs [Pipeline] echo 17:17:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:17:46 ---> logs-deploy.sh 17:17:46 lf-activate-venv: SKIPPING 17:17:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/70 17:17:46 INFO: archiving workspace using pattern(s): 17:17:46 Archives upload complete. 17:17:46 INFO: archiving logs to Nexus